axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Detelin Yordanov (JIRA)" <>
Subject [jira] Created: (AXIS2-4009) Wrong namespace of response element when having multiple namespaces
Date Wed, 03 Sep 2008 15:31:44 GMT
Wrong namespace of response element when having multiple namespaces

                 Key: AXIS2-4009
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: adb
    Affects Versions: 1.4
         Environment: Axis2 1.4 (revision 677850 from 1.4 branch)
            Reporter: Detelin Yordanov

Hi guys,
  I'm having a simple service that echoes a custom class (BrowseResult2), which extends another
class in another package (BrowseResult1).
I deploy the service on Axis2 1.4 (revision 677850 from 1.4 branch), the wsdl is generated
fine, however when I invoke the service the returned response uses the namespace of the BrowseResult2
class for all elements, even for the ones that are declared within BrowseResult1 (which is
in another namespace).

Here is the request:

<soapenv:Envelope xmlns:soapenv="">
         <ns3:echoBrowseResult xmlns:ns3="">
            <ns3:browseResult xmlns:ns2="" xmlns:xsi=""
               <s1:field1 xmlns:s1="">field1</s1:field1>

And the faulty response:

<soapenv:Envelope xmlns:soapenv="">
      <ns:echoBrowseResultResponse xmlns:ns="">
         <ns:return type="org.tempuri.test.ns2.BrowseResult2" xmlns:ax22=""

As you can see field1 uses the namespace of field2 which is wrong, it should have been using instead.

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