cancel
Showing results for 
Search instead for 
Did you mean: 

webservice

Former Member
0 Kudos
47

In webservice scenario (/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1) author has created xsd for the soap response,can anybody explain me why it is required?? can't we create the data type with "getDistanceReturn" field directly ?? bcoz from the webservice message we can directly take the response.

Thanks

kumar

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

author has created xsd for the soap response,can anybody explain me why it is required??

It is mentioned "At my first try i used the messages getDistanceRequest and getDistanceResponse in my mapping but later found out that it wasnt the message structure that the webservice expected." Usually wsdl contain both the request n respond structure. But the wsdl provided does not have this structure. So the xsd has to be imported.

can't we create the data type with "getDistanceReturn" field directly ??

Yes. It is also possible

Regards,

Prateek

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi palnati kumar,

It is not necessary that you should follow the exact way that the author mentioned. You can use the WSDL to complete your scenario in a running condition. The way the author described too will lead to to finish the scenario.

regards

Vinod

ravi_raman2
Active Contributor
0 Kudos

palnati,

What will the response be to your request....How do you plan to recieve it in XI and map the elements, before you get the response as its a sync scenario.

Regards

Ravi Raman