Skip to Content
author's profile photo Former Member
Former Member

webservice

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Jan 07, 2008 at 05:06 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 07, 2008 at 01:01 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 07, 2008 at 06:22 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.