[ http://issues.apache.org/jira/browse/AXISCPP-513?page=history ]
     
Adrian Dick closed AXISCPP-513:
-------------------------------

    Resolution: Fixed

Modified org.apache.axis.wsdl.wsdl2ws.cpp.literal.ClientStubWriter to detect if 
output param has no namespace, and to send in NULL to the serializer within the 
generated code.

> ManyTypeRefRoot testcase is failing
> -----------------------------------
>
>          Key: AXISCPP-513
>          URL: http://issues.apache.org/jira/browse/AXISCPP-513
>      Project: Axis-C++
>         Type: Bug
>   Components: WSDL processing
>     Versions: current (nightly)
>     Reporter: Adrian Dick
>     Assignee: Adrian Dick

>
> The generated stubs for ManyTypeRefRoot are producing an invalid message.
> The element 'types' should not be in a namespace, therefore should not have a 
> prefix.  Some servers will tolerate this, but others will reject the message, 
> giving a SOAP fault.
> The body of the message should be as follows:
>          <ns1:getInput xmlns:ns1="http://manytyperefroot.test.apache.org";>
>             <types>
>                <ns1:kind>Test type</ns1:kind>
>                <ns1:index>0</ns1:index>
>             </types>
>          </ns1:getInput>
> But it is currently:
>          <ns1:getInput xmlns:ns1="http://manytyperefroot.test.apache.org";>
>             <ns1:types>
>                <ns1:kind>Test type</ns1:kind>
>                <ns1:index>0</ns1:index>
>             </ns1:types>
>          </ns1:getInput>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to