How to create a WSDL / webservice:
1. Create RFC enabled function.
2. Create webservice:
a. SE37 -> Utilities -> more Utilities -> create webservice -> from function module
b. Follow the on-screen prompts (give the service a name, usually the same name as FM; X-Mapping der Namen; SOAP Application: soap:runtime:rfc:710; Profie: PRF_DT_IF_SEC_NO; X-Deploy Service)
3. Create WSDL:
a. /nSOAMANAGER -> Application and Scenario Communication
b. -> Single Service Administration
c. -> Search for your service -> Select it and click apply
d. -> Open WSDL document for selected binding, change WSDL Format to"Standard"
e. Save XML locally (this is the WSDL)
4. Maintain service:
a. /nSICF -> enter “service name” -> execute
b. Double click on lowest node and setup “logon data”
5. Test using SOAPUI
a. Download SOAPUI freeware and install
b. File -> New soapUI Project
c. Enter “Project Name” and location your WSDL saved in step 3.e -> ok
d. Open up request -> update XML with input -> click green arrow to run
Change function module / webservice:
6. If you have made changes to the interface of your FM:
a. SE80 -> Edit Object -> Enterprise Services
b. -> enter service name in Service Definition
c. -> change -> activate
7. Repeat steps 3-5.
No comments:
Post a Comment