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

Isuru Eranga Suriarachchi reassigned AXIS2-4022:
------------------------------------------------

    Assignee: Isuru Eranga Suriarachchi

> No namespace on xsi:type for generics under JAX-WS
> --------------------------------------------------
>
>                 Key: AXIS2-4022
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4022
>             Project: Axis2
>          Issue Type: Bug
>          Components: jaxws
>    Affects Versions: 1.4.1
>         Environment: Tomcat 5.5, jdk 1.5.0_13, Windows XP
>            Reporter: Kevin Ruland
>            Assignee: Isuru Eranga Suriarachchi
>         Attachments: source.tgz
>
>
> I created a simple class and exposed the web service using JAX-WS 
> annontations.  The wsdl & xsd generated looked ok, but the response messages 
> for methods which returned parametrized lists did not put a namespace on the 
> xsi type for the elements.  The resulting SOAP response document did not 
> validate against the xsd and could not be deserialized with an axis2 
> generated client (using adb).
> Attached is full example - client and server.
> The response document returned by the server from a call to the testC() 
> method is:
> <?xml version='1.0' encoding='UTF-8'?>
>    <soapenv:Envelope 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>       <soapenv:Body>
>          <dlwmin:testCResponse xmlns:dlwmin="http://server.hw.demo/";>
>             <return>
>                <list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="typeC">
>                   <aString>outp</aString>
>                   <aInt>0</aInt>
>                   <aBoolean>false</aBoolean>
>                </list>
>             </return>
>          </dlwmin:testCResponse>
>       </soapenv:Body>
>    </soapenv:Envelope>
> Note the xsi:type="typeC" attribute is incorrect and should be 
> xsd:type="dlwmin:typeC"
>  

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to