000000ns2double ns2float0000000ns2float ns2int0ns2int

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: me="TestServicePortType"> <operation name="aBeanPortType"> <input message="tns:bBeanInput"/> </operation> </portType> <binding name="ServiceBinding" type="tns:TestServicePortType"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="aBeanPortType"> <soap:operation soapAction="" style="document"/> <input> <soap:body use="literal"/> </input> </operation> </binding> <service name="SimpleService"> <port binding="tns:ServiceBinding" name="ServiceBinding"> <soap:address location="http://tempuri.org" /> </port> </service> </definitions> ----------------------------------------------------------------------------------------------------------------------- When I build a stub using WSDL2Ws and then create a client as follows:- #include "TestServicePortType.hpp" void main() { TestServicePortType * pWS = new TestServicePortType( "http://localhost:port/WebService", APTHTTP1_1); SampleBean sSB; pWS->aBeanPortType( &sSB); delete pWS; } ----------------------------------------------------------------------------------------------------------------------- The request message produced by the stub is as follows:- POST /AxisBench/services/AxisBenchSoapImpl HTTP/1.1 Host: <localhost>:<port> Content-Type: text/xml; charset=UTF-8 SOAPAction: "" Content-Length: 679 <?xml version='1.0' encoding='utf-8' ?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Body> <ns1:aBeanElement xmlns:ns1="SimpleNonBaseType"> <aBean> <ns2:Time xsi:nil="true"></ns2:Time> <ns2:Boolean>false<...
View Full Document

Ask a homework question - tutors are online