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

about WSDL in webservices

hi all,

there are RPC and DOCUMENT styles in WSDL.

when we need to use RPC and when we need to use DOCUMENT style in webservices scenario?

Kind Regards

kiran

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 01:33 PM

    Hi Kiran.

    You will have 4 options for the wsdl : Default, RPC, Document and RPC-Encoded.

    Using the RPC style is ok but it might lead to errors like APPLICATION ERROR etc., since it contains some extra funcitonality defined than the normal wsdl and the data format created by the RPC style might not match with the format expected by the web service.

    The better option here is to go with the Default style (it is almost same as Document).

    Regards,

    Hari.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 30, 2007 at 01:46 PM

    hi kiran,

    The Integration Builder enables you to import WSDL documents so that you can use the message definitions they contain. Provided certain preconditions are met, you can use the imported message definitions as external messages in other Integration Builder editors, and in proxy generation.

    proxy generation and the respective editors in the Integration Builder do not support the entire language range of XML schema and WSDL. For an overview of which language elements are supported.

    The Integration Builder expects external messages in document-style format. <b>However, you can still import WSDL documents in rpc-style format. The Integration Builder converts such documents into an equivalent WSDL document in document-style format. </b>

    refer:

    http://help.sap.com/saphelp_nw04s/helpdata/en/43/ce993b45cb0a85e10000000a1553f6/content.htm

    regards,

    nikhilbos

    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.