cancel
Showing results for 
Search instead for 
Did you mean: 

about WSDL in webservices

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Answers (1)

Answers (1)

nikhil_bose
Active Contributor
0 Kudos

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