cancel
Showing results for 
Search instead for 
Did you mean: 

how to publish a SAP Web Service in SAP XI/PI 7.0

luis_cardonaolas
Explorer
0 Kudos

Hi,

First I've to say that I'n new in this deals with SAP Web Services and SAP XI/PI.

I've created a Web Service with TX SE80 using a standard BAPI.

I've created the Client Proxy with TX SE80.

I've created a Logical Port wiht TX LPCONFIG.

I've tried this is SOAMANAGER but I have this error...

"SRT Framework exception: Uninstantiated object "subject sidl service" in method IF_SRT_WSP_CONFIG_SIDL~CREATE_CLNT_CFG_FROM_WSDL_D of class CL_SRT_WSP_CONFIG_SIDL"

I would like to publish this service in my SAP XI/PI 7.0

How can I solve the error in SOAMANAGER?

How can I publish de SAP WS that I've created in SAP XI/PI?

Thanks a lot.

Waiting for your news.

Fernando.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

SRT Framework exception: Uninstantiated object "subject sidl service" in method

go to SICF transaction under /sap/bc/srt/wsil path, test the service and look for service provider you want to consume.

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/media/uuid/20eb3174-41ab-2a10-a383-907faf60ee...

you will have to point HTTP port and services of the XI/PI in the SOAMANAGER and also make sure you activate SICF settings also.

The link is constructed in the following way:

http://<host_name>:<port>/sap/bc/srt/wsil?sap-client=<sy-mandt>

or you can use transaction SICF then navigate to node /sap/bc/srt/wsil

and press "Test service" from the context menu.

In case there is a Service Registry in your system landscape to which the provider system is connected the profile-based endpoints could be found in that Service Registry as well.

you can follow note 1330545

/people/franklin.herbas/blog/2007/12/11/service-modeling-with-the-esr

/people/peter.mcnulty/blog/2008/02/04/service-implementation-in-abap

regards

nag

Former Member
0 Kudos

Hi Nag,

I got the same error and still do not know where the error is...

What about the service /sap/bc/srt/wsil ? My tab Logon Data is blank on my back-end system.

Should it point to my SAP PI system?

Also, what about the logical port name in SOAMANAGER? Where should I create it?

Where should it point to?

Thanks a lot!

Dimitri

Former Member
0 Kudos

Hi Dimitri,

I had the same problem:

"SRT Framework exception: Uninstantiated object "subject sidl service" in method IF_SRT_WSP_CONFIG_SIDL~CREATE_CLNT_CFG_FROM_WSDL_D of class CL_SRT_WSP_CONFIG_SIDL"

And by following Nags hints I got solution:

1, On the system where is your service provider, run transaction SICF

2, Execute this transaction

3, Go to node: default_host/sap/bc/srt/wsil

4, Right click on "wsil" -> choose "Test service" - web browser should open with XML definition of service

5, Find your service provider. In my case it looks like this:

<service>
<name>ZTEST_WS</name>
u2212
<wsdlNamespace>
urn:sap-com:document:sap:soap:functions:mc-style/service
</wsdlNamespace>
<wsdlName>service</wsdlName>
u2212
<wsdl>
<a href="http://xxx.yyy.com:8000/sap/bc/srt/wsdl/srvc_DF838C999AA282F18829001CC4D74176/wsdl11/service/ws_policy/document?sap-client=800" TARGET="test_blank">http://xxx.yyy.com:8000/sap/bc/srt/wsdl/srvc_DF838C999AA282F18829001CC4D74176/wsdl11/service/ws_policy/document?sap-client=800</a>
</wsdl>
</service>

5, Look for WSDL link -> in my case:

http://xxx.yyy.com:8000/sap/bc/srt/wsdl/srvc_DF838C999AA282F18829001CC4D74176/wsdl11/service/ws_policy/document?sap-client=800

I dont know why, but this link is different like WSDL link in service definition which I can see in SE80:

http://xxx.yyy.com:8000/sap/bc/srt/wsdl/sdef_ZTEST_WS/wsdl11/ws_policy/document?sap-client=800

6, Use this link (from "wsil") instead of link from SE80 in SOAMANAGER to create logical port

7, Yours logicall port should be created without errors.

My question - have anybody idea, why this links are different and why only that second one works?

Peter

hummel_christian
Explorer
0 Kudos

i know, thsi is already solved and last answer was in summer 2010..

about the url's

afaik for Security Reason (or what else..), SAP only accepts, i think MD5, encrypted URLS like

http....DF838C999AA282F18829001CC4D74176...

Direct URLs like

http.....sdef_ZTEST_WS...

no loger work.