axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nadir amra (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Created: (AXISCPP-1060) xsd:anyType as input or output with -wunwrapped generated bad code.
Date Fri, 14 Nov 2008 15:56:46 GMT
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


Mime
View raw message