xfire does not properly convert to xmlbeans object
--------------------------------------------------
Key: XFIRE-848
URL: http://jira.codehaus.org/browse/XFIRE-848
Project: XFire
Issue Type: Bug
Components: XMLBeans
Affects Versions: 2.0
Environment: Windows XP, Spring 2.0, XmlBeans 2.1.0
Reporter: Chris Mathrusse
Assigned To: Dan Diephouse
Attachments: orderService.zip
I have a spring managed xfire webservice that takes and returns xmlobjects.
When i call my service from a client i can see that the request is received
correctly on the server, but the resulting xmlbeans object is not correct.
This was reported previously in XFIRE-413 but appears to not be fixed.
My XmlBeans object contains my document and namespace as it should but it also
contains the following namespaces:
"xmlns:soapenv"
"xmlns:xsi"
"xmlns:xsd"
Below is the root element of the document as received in my service
implementation class:
<q0:Pip3A4PurchaseOrderRequest
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:q0="http://it.sybase.com/rosettanet/pip3A4/v202/purchaseorder"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
As you can see the soap, xsi and xsd namespaces have all been added to the
document.
When accessing objects located under the root parent object or root node, the
data looks as follows:
<xml-fragment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:q0="http://it.sybase.com/rosettanet/pip3A4/v202/purchaseorder"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
The namespaces are still carried around. Short of removing these namespaces
manually there is no other solution that I can find. I beleive that XFire
should not be adding these additional namespaces but rather should be
preserving the document as recieved, contained within the SoapBody.
I;ve attached my generated XmlBeans as well as my service definition and
implementation, and the service declaration in hopes that you can reproduce it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email