axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samisa Abeysinghe (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-3232) Code generated using jaxb databinding creates empty namespace in toOM(..) method
Date Sun, 19 Dec 2010 04:38:02 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-3232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Samisa Abeysinghe resolved AXIS2-3232.
--------------------------------------

    Resolution: Cannot Reproduce

No WSDL provided to verify the fix

> Code generated using jaxb databinding creates empty namespace in toOM(..) method
> --------------------------------------------------------------------------------
>
>                 Key: AXIS2-3232
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3232
>             Project: Axis2
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.3
>         Environment: Windows Vista, java 1.6
>            Reporter: Stan Zilberleyb
>            Assignee: Amila Chinthaka Suriarachchi
>
> 1. Generated code using following command: wsdl2java.bat -s -b -ns2p urn:com.workday/bsvc=interop.axis2
-o c:\workday\WorkdayMain\tools\WSTest\build\generated-jaxb -p interop.axis2 -d jaxbri -uri
c:\Workday\workdaymain\tools\wstest\build\wsdl\TestService.wsdl
> 2. Run unit test thah uses generated code. Received error: [ERROR] forceExpand: expected
element namespace Find_Employee_By_ID, found
> 3. Found following line of code in  method private org.apache.axiom.om.OMElement toOM(interop.axis2.FindEmployeeByIDType
param, boolean optimizeContent) 
>           org.apache.axiom.om.OMNamespace namespace = factory.createOMNamespace("", null);
> 4. Replace it with org.apache.axiom.om.OMNamespace namespace = factory.createOMNamespace("namespace",
"prefix");
> 5. Run test again. No errors.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message