axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Ruland (JIRA)" <>
Subject [jira] Created: (AXIS2-4022) No namespace on xsi:type for generics under JAX-WS
Date Wed, 10 Sep 2008 03:25:44 GMT
No namespace on xsi:type for generics under JAX-WS

                 Key: AXIS2-4022
             Project: Axis 2.0 (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
         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="">
         <dlwmin:testCResponse xmlns:dlwmin="http://server.hw.demo/">
               <list xmlns:xsi="" xsi:type="typeC">

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:
For additional commands, e-mail:

View raw message