on 08-21-2012 1:59 PM
Hello Everybody,
I have created a RFC enabled functional module ("/abc0/Z_TEST") and created a "Enterprise Service" (syncron service provider) based on that. On default, the webservice operation is named "_abc0_Z_TEST" but I could change the external operation to "MaterialRequestMessage". If I test this webservice with SOAPUI, the request looks like this (simplified):
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
<soapenv:Header/>
<soapenv:Body>
<urn:MaterialRequestMessage>
<Parameter1>?</Parameter>
</urn:MaterialRequestMessage>
</soapenv:Body>
</soapenv:Envelope>
and the returned response from the server:
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Header/>
<soap-env:Body>
<n0:MaterialRequestMessageResponse xmlns:n0="urn:sap-com:document:sap:soap:functions:mc-style">
<EtNrResponse>?</EtNrResponse>
</n0:MaterialRequestMessageResponse>
</soap-env:Body>
</soap-env:Envelope>
I noticed that the returned xml has a "response" attached to the operation I have defined for the request operation. However, in SE80, I could only find the settings for the request but not for the response.
My question is, how can I change the response operation to be named "MaterialResponseMessage" instead of "MaterialRequestMessageResponse"?
I created a WSDL with the requirements and used the Wizard to create a service proxy. The proxy contains the correct operation names now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.