You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "nadir amra (JIRA)" <ax...@ws.apache.org> on 2008/11/14 17:18:44 UTC

[jira] Resolved: (AXISCPP-1060) xsd:anyType as input or output with -wunwrapped generated bad code.

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

nadir amra resolved AXISCPP-1060.
---------------------------------

    Resolution: Fixed

Will close when I generate a test case.

> xsd:anyType as input or output with -wunwrapped  generated bad code. 
> ---------------------------------------------------------------------
>
>                 Key: AXISCPP-1060
>                 URL: https://issues.apache.org/jira/browse/AXISCPP-1060
>             Project: Axis-C++
>          Issue Type: Bug
>          Components: WSDL processing - Doc
>    Affects Versions: current (nightly)
>            Reporter: nadir amra
>             Fix For: current (nightly)
>
>
> If WSDL has something like the following:
>     <schema targetNamespace="http://dom.w3c.org" xmlns="http://www.w3.org/2001/XMLSchema">
>       <import namespace="http://schemas.xmlsoap.org/soap/encoding/" /> 
>       <element name="in" nillable="true" type="xsd:anyType" /> 
>       <element name="out" nillable="true" type="xsd:anyType" /> 
>     </schema>
> ...
>   <wsdl:message name="VertexVersionResponse">
>     <wsdl:part element="tns1:out" name="out" /> 
>   </wsdl:message>
>   <wsdl:message name="VertexVersionRequest">
>     <wsdl:part element="tns1:in" name="in" /> 
>   </wsdl:message>
> The code that is generated is something like the following (this is for C code but something similar happens for C++):
> extern Xsdc__anyType version(AXISCHANDLE pStub);
> First, the output type should be xsdc__anyType.  Then the input is ignored when input is xsd:anyType.  

-- 
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org