cancel
Showing results for 
Search instead for 
Did you mean: 

soap xml payload

Former Member
0 Kudos

hi iam working on soap to rfc and i am using sap soap test client.

can any one send me the xml payload to test the sap test client using the data .

tahnks and regards

viju

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Vijender,

I hope SAP Test Client is ur Webservice client application.

Go to create SOAP request and it will ask for the WSDL file .

Browse ur WSDL file that you have created for ur Webservice and send SOAP request to the server.

Pravesh

VijayKonam
Active Contributor
0 Kudos

After importing your WSDL, you would need to paste you source XML in the testing application so that, it will be mapped to the target system and execute the RFC as needed..

VJ

Former Member
0 Kudos

vijendar ,

r u telling that u need some sample WSDL file to test ur soap client??

if so here is one WSDL....

<?xml version="1.0" encoding="UTF-8" ?>

<wsdl:definitions targetNamespace="http://webservices.imacination.com/distance/Distance.jws" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="http://webservices.imacination.com/distance/Distance.jws" xmlns:impl="http://webservices.imacination.com/distance/Distance.jws">

<wsdl:message name="getLongitudeResponse">

<wsdl:part name="getLongitudeReturn" type="xsd:double" />

</wsdl:message>

<wsdl:message name="getLongitudeRequest">

<wsdl:part name="zip" type="xsd:string" />

</wsdl:message>

<wsdl:message name="getLatitudeRequest">

<wsdl:part name="zip" type="xsd:string" />

</wsdl:message>

<wsdl:message name="getLatitudeResponse">

<wsdl:part name="getLatitudeReturn" type="xsd:double" />

</wsdl:message>

<wsdl:message name="getCityResponse">

<wsdl:part name="getCityReturn" type="xsd:string" />

</wsdl:message>

<wsdl:message name="getCityRequest">

<wsdl:part name="zip" type="xsd:string" />

</wsdl:message>

<wsdl:message name="getLocationResponse">

<wsdl:part name="getLocationReturn" type="xsd:string" />

</wsdl:message>

<wsdl:message name="getStateResponse">

<wsdl:part name="getStateReturn" type="xsd:string" />

</wsdl:message>

<wsdl:message name="getStateRequest">

<wsdl:part name="zip" type="xsd:string" />

</wsdl:message>

<wsdl:message name="getLocationRequest">

<wsdl:part name="zip" type="xsd:string" />

</wsdl:message>

<wsdl:message name="getDistanceResponse">

<wsdl:part name="getDistanceReturn" type="xsd:double" />

</wsdl:message>

<wsdl:message name="getDistanceRequest">

<wsdl:part name="fromZip" type="xsd:string" />

<wsdl:part name="toZip" type="xsd:string" />

</wsdl:message>

<wsdl:portType name="Distance">

<wsdl:operation name="getState" parameterOrder="zip">

<wsdl:input name="getStateRequest" message="impl:getStateRequest" />

<wsdl:output name="getStateResponse" message="impl:getStateResponse" />

</wsdl:operation>

<wsdl:operation name="getLocation" parameterOrder="zip">

<wsdl:input name="getLocationRequest" message="impl:getLocationRequest" />

<wsdl:output name="getLocationResponse" message="impl:getLocationResponse" />

</wsdl:operation>

<wsdl:operation name="getCity" parameterOrder="zip">

<wsdl:input name="getCityRequest" message="impl:getCityRequest" />

<wsdl:output name="getCityResponse" message="impl:getCityResponse" />

</wsdl:operation>

<wsdl:operation name="getDistance" parameterOrder="fromZip toZip">

<wsdl:input name="getDistanceRequest" message="impl:getDistanceRequest" />

<wsdl:output name="getDistanceResponse" message="impl:getDistanceResponse" />

</wsdl:operation>

<wsdl:operation name="getLatitude" parameterOrder="zip">

<wsdl:input name="getLatitudeRequest" message="impl:getLatitudeRequest" />

<wsdl:output name="getLatitudeResponse" message="impl:getLatitudeResponse" />

</wsdl:operation>

<wsdl:operation name="getLongitude" parameterOrder="zip">

<wsdl:input name="getLongitudeRequest" message="impl:getLongitudeRequest" />

<wsdl:output name="getLongitudeResponse" message="impl:getLongitudeResponse" />

</wsdl:operation>

</wsdl:portType>

<wsdl:binding name="DistanceSoapBinding" type="impl:Distance">

<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />

<wsdl:operation name="getState">

<wsdlsoap:operation soapAction="" />

<wsdl:input name="getStateRequest">

<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://DefaultNamespace" />

</wsdl:input>

<wsdl:output name="getStateResponse">

<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices.imacination.com/distance/Distance.jws" />

</wsdl:output>

</wsdl:operation>

<wsdl:operation name="getLocation">

<wsdlsoap:operation soapAction="" />

<wsdl:input name="getLocationRequest">

<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://DefaultNamespace" />

</wsdl:input>

<wsdl:output name="getLocationResponse">

<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices.imacination.com/distance/Distance.jws" />

</wsdl:output>

</wsdl:operation>

<wsdl:operation name="getCity">

<wsdlsoap:operation soapAction="" />

<wsdl:input name="getCityRequest">

<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://DefaultNamespace" />

</wsdl:input>

<wsdl:output name="getCityResponse">

<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices.imacination.com/distance/Distance.jws" />

</wsdl:output>

</wsdl:operation>

<wsdl:operation name="getDistance">

<wsdlsoap:operation soapAction="" />

<wsdl:input name="getDistanceRequest">

<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://DefaultNamespace" />

</wsdl:input>

<wsdl:output name="getDistanceResponse">

<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices.imacination.com/distance/Distance.jws" />

</wsdl:output>

</wsdl:operation>

<wsdl:operation name="getLatitude">

<wsdlsoap:operation soapAction="" />

<wsdl:input name="getLatitudeRequest">

<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://DefaultNamespace" />

</wsdl:input>

<wsdl:output name="getLatitudeResponse">

<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices.imacination.com/distance/Distance.jws" />

</wsdl:output>

</wsdl:operation>

<wsdl:operation name="getLongitude">

<wsdlsoap:operation soapAction="" />

<wsdl:input name="getLongitudeRequest">

<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://DefaultNamespace" />

</wsdl:input>

<wsdl:output name="getLongitudeResponse">

<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservices.imacination.com/distance/Distance.jws" />

</wsdl:output>

</wsdl:operation>

</wsdl:binding>

<wsdl:service name="DistanceService">

<wsdl:port name="Distance" binding="impl:DistanceSoapBinding">

<wsdlsoap:address location="http://webservices.imacination.com/distance/Distance.jws" />

</wsdl:port>

</wsdl:service>

</wsdl:definitions>

regards

BILL

Former Member
0 Kudos

HI,

You may take help from this blog

/people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i

following blogs may help u-

/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi

/people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine

Regards,

Akshay.

Message was edited by:

Akshay Jamgaonkar

former_member267355
Active Participant
0 Kudos

Hi,

You can generate WSDL for your RFC in Integration directory

Tools -> Define webservice.

You can use that to test soap client.

Regards,

Sakthi