Webservice
Webservice
Page 1 of 10
Blogs
In SAP ERP landscape as well this sort of SOAP based publish-subscribe type integrations are becoming more common day by day.
However, with upgrade to Basis 7.01 SAP had guide-lined it's web based transaction SOAMANAGER to be THE tool for web-service creation and configuration. This article will explain some of the
key feature of SOAMANAGER.
2. WSADMIN: This transaction allows you to test the web-service and get the WSDL of the same.
You used to use the F8 button to test the webservice (opens WS Navigator web based tool). Also you used to get the WSDL of the web service from WSDL button.
However in basis 7.01, these transactions are obsolete.
http://weblogs.sdn.sap.com/pub/wlg/17964?page=last&x-maxdepth=0 1/28/2011
SAP Network Blog: SOA: Web-service expose and consume configuration with SOAMA... Page 2 of 10
Pre-requisites:
Check the system global setting:
Technical Config à System Global Setting à Reserve proxy setting
http://weblogs.sdn.sap.com/pub/wlg/17964?page=last&x-maxdepth=0 1/28/2011
SAP Network Blog: SOA: Web-service expose and consume configuration with SOAMA... Page 3 of 10
http://weblogs.sdn.sap.com/pub/wlg/17964?page=last&x-maxdepth=0 1/28/2011
SAP Network Blog: SOA: Web-service expose and consume configuration with SOAMA... Page 4 of 10
Apply selection.
Go to Configuration Tab and Edit.
http://weblogs.sdn.sap.com/pub/wlg/17964?page=last&x-maxdepth=0 1/28/2011
SAP Network Blog: SOA: Web-service expose and consume configuration with SOAMA... Page 5 of 10
http://weblogs.sdn.sap.com/pub/wlg/17964?page=last&x-maxdepth=0 1/28/2011
SAP Network Blog: SOA: Web-service expose and consume configuration with SOAMA... Page 6 of 10
From the Overview tab check the WSDL url for the Webservice:
http://<domainname>:<port>/sap/bc/srt/wsdl/bndg_3C58554BF1C2AA38E10000008297500C/wsdl11/allinone/ws_policy/document?sap-client=230
Now test the web-service in a 3rd party tool like SOAP UI.
In this particular case we are sending the PO info and getting back the corresponding tax info from Vertex.
In our case we are consuming this web-service from SNC (Supplier Network Collaboration).
http://weblogs.sdn.sap.com/pub/wlg/17964?page=last&x-maxdepth=0 1/28/2011
SAP Network Blog: SOA: Web-service expose and consume configuration with SOAMA... Page 7 of 10
Diagnosis
From SAP NetWeaver 7.1, logical ports are no longer administered in transaction LPCONFIG.
http://weblogs.sdn.sap.com/pub/wlg/17964?page=last&x-maxdepth=0 1/28/2011
SAP Network Blog: SOA: Web-service expose and consume configuration with SOAMA... Page 8 of 10
System Response
Transaction LPCONFIG will remain active for the administration of existing logical reports; any logical ports created with it will continue to
function. Transaction LPCONFIG must not be used to create logical ports for proxy classes generated in versions after SAP NetWeaver
2004s.
Procedure
From now on, use transaction SOAMANAGER. This transaction enables you to administer logical ports for proxy classes generated in SAP
NetWeaver 7.1 and earlier versions.
Important:
Logical ports created in transaction SOAMANAGER override logical ports created in transaction LPCONFIG. This means that, when two
logical ports with the same name exist, the logical port created in transaction SOAMANAGER will be used. This also applies to the behavior
of default logical ports. If transaction SOAMANAGER is used to create a default logical port for a particular proxy class, the default logical
port created for this class with transaction LPCONFIG loses its effect.
Port number: J2EE server port number of NWA
If you did not specify a J2EE user with password in transaction SOAMANAGER, the Execute action takes you to a J2EE login page, where
you need to enter the required J2EE authentication information:
User: J2EE user
Instead of the J2EE host name, you can specify an IP address (such as "10.18.208.188").
SOAMANAGER:
So we need to configure the logical port via SOAMANAGER
http://weblogs.sdn.sap.com/pub/wlg/17964?page=last&x-maxdepth=0 1/28/2011
SAP Network Blog: SOA: Web-service expose and consume configuration with SOAMA... Page 9 of 10
http://weblogs.sdn.sap.com/pub/wlg/17964?page=last&x-maxdepth=0 1/28/2011
SAP Network Blog: SOA: Web-service expose and consume configuration with SOA... Page 10 of 10
Shibaji Chandra Shibaji has more than six years of SAP experience mostly worked on integration areas, complex landscapes and SAP PI.
This topic has been blogged tens of times, and explained in hundreds of articles & help documents. Really tiring to see it being blogged even further. I think this makes it really hard for people
to have one good reference for the topic as a guide and harder to find a specific piece of data where a lot of info is just a copy of each other.
Hi Chandra,
In the sdn this concept has been already explained by other collegues with due examples.
Try out properly with configuration reqd for this SOA manager emphasis on wspublish.
Regards
chandra
http://weblogs.sdn.sap.com/pub/wlg/17964?page=last&x-maxdepth=0 1/28/2011