on 06-06-2008 12:38 PM
Hi all,
I want to create a web service out of a normal ABAP function module. I have found web service help pages @ SAP help, I also was able to create the web service via WS wizard. But, as far as I know web services (i.e. their WDSL definition) differ between document or RPC style, also between literal or encoded use.
Now, my question, how can I set these options when creating the web service?
Thanks in advance!
Kind regards, Matthias
PS: I have found this page, that describes it theoretically, but gives no practical solution to my problem:
Hi,
The following article should help you,
Cheers,
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gaurav,
thanks for this link. It has some nice info on how to create a WS from within SAP, but it does not answer my q
question. Where can I set, whether the WS
*) uses Document or RPC style, and
*) has literal or encoded use
If it's not possible to choose these options at WS creation for myself, it would at least be very helpful to find out what settings have been choosen automatically by the WS wizard.
Kind regards, Matthias
hi matthias,
the wsdl is created dynamically and the soap runtime on ABAP WAS understands both document and rpc.
to decide which kind of service you want to have you can pass ...&style=document/rpc... int the WSDL URL to get either a document style WSDL or a RPC one. the encoding is set implicitly as far as I know, and it is literal for document and (I guess) encoded for RPC (haven't checked the latter, but just try it once).
my 2 cents, anton
Matthias,
Once you have created the Webservice from SAP, and try to generate the WSDL, it will prompt for the two options, whether you wanna download RPC style or Document Style.
try this way go to Transaction WSADMIN, select to Webservice you required click Webservice Home Page. select required option in the popup, default will be document style.
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.