axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "indika priyantha kumara (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-1239) By invoking web service using generated stub for a WSDL which contain message element that have type "xsd:anyType" did not work as expected
Date Tue, 26 Sep 2006 10:10:50 GMT
By invoking web service using generated stub for a WSDL which contain  message element that
have type  "xsd:anyType" did not work as expected 
----------------------------------------------------------------------------------------------------------------------------------------------

                 Key: AXIS2-1239
                 URL: http://issues.apache.org/jira/browse/AXIS2-1239
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: databinding
            Reporter: indika priyantha kumara
         Attachments: BaseDataTypesRpcLit.wsdl

By invoking web service using generated stub for a WSDL which contain input message element
as 
<wsdl:message name="IBaseDataTypesRpcLit_RetObject_InputMessage">
<wsdl:part name="inObject" type="xsd:anyType"/>
</wsdl:message> 

 and contains out message element as 
<wsdl:message name="IBaseDataTypesRpcLit_RetObject_OutputMessage">
<wsdl:part name="RetObjectResult" type="xsd:anyType"/>
</wsdl:message>

did not work as expect.

The monitored messages by tcpmon
Request message 

<?xml version='1.0' encoding='UTF-8'?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
      <soapenv:Header />
      <soapenv:Body>
         <ns2:RetObject xmlns:ns2="http://tempuri.org/">
            <dummy>true</dummy>	
         </ns2:RetObject>
      </soapenv:Body>
   </soapenv:Envelope>

Expected request message
<?xml version='1.0' encoding='UTF-8'?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
      <soapenv:Header />
      <soapenv:Body>
         <ns2:RetObject xmlns:ns2="http://tempuri.org/">
	<inObject>
            	<dummy>true</dummy>	
	</inObject>
         </ns2:RetObject>
      </soapenv:Body>
   </soapenv:Envelope>

Out put message that  got
   Soap fault unexpected  sub element dummy

Out put expected

<?xml version='1.0' encoding='UTF-8'?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
      <soapenv:Header />
      <soapenv:Body>
         <ns2:RetObject xmlns:ns2="http://tempuri.org/">
	<RetObjectResult>
            	<dummy>true</dummy>	
	</RetObjectResult>
         </ns2:RetObject>
      </soapenv:Body>
   </soapenv:Envelope>
  

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message