cancel
Showing results for 
Search instead for 
Did you mean: 

Using XI WebService in CAF as external service with Logical Destination?

Former Member
0 Kudos

Hello,

I created a scenario WebService -> XI -> WebService in a PI7.1 system. I used the Web Service Wizard in order to generate a WSDL. If I test it in for example in XMLSpy it works fine.

We then imported this WSDL into CAF as external service. That also works.

But we would like to use a logical destination for that external service. Unfortunately there are only three types of Destinations possible: WSDL, WSIL and ServiceRegistry. But, the endpoint of the generated WSDL isn't a URL to a WSDL but to a MessageServletm like this:

"http://pwdf2655.wdf.sap.corp:55000/XISOAPAdapter/MessageServlet?channel=:SOAP_Call_Client:SOAP_Client&version=3.0&Sender.Service=SOAP_Call_Client&Interface=http%3A%2F%2Fsap.com%2Fcd%2Fbasfpoc%5EGLAccountPostingSync_Out"

How can I use logical Destibnations with such an Endpoint? We would need that logical Destinations in order to define user and Password.

Thanks and Best Regards

Katharina

Accepted Solutions (0)

Answers (2)

Answers (2)

katharina_seiz
Employee
Employee
0 Kudos

But it is only a local WSDL File on my desktop. ????

Best Regards

Katharina

ch_loos
Advisor
Advisor
0 Kudos

If the service doesn't provide a WSDL online (try the ?wsdl parameter after the endpoint address), you can simply put the WSDL file on a web server to make it accessible via HTTP.

katharina_seiz
Employee
Employee
0 Kudos

Good Idea. I tried that. I added the WSDL to a Web Module and deployed it with the CAF ear module. It is now available via: http://vmw2469.wdf.sap.corp:50000/testxi/GLAccountPostingSync_Out_PI71.wsdl

If I test it directly in WSNavigator it works fine, but if I map my CAF Service to the logical Destination which is also using that URL, I get the following error:

com.sap.engine.services.webservices.espbase.query.exceptions.TechnicalException: Deserializing WSDL stream http://vmw2469.wdf.sap.corp:50000/testxi/GLAccountPostingSync_Out_PI71.wsdl failed

If I try to find the service via the function "Search by Logical Destination" I get the following error:

Invalid content type while requesting http://vmw2469.wdf.sap.corp:50000/testxi/GLAccountPostingSync_Out_PI71.wsdl. Expected Content-type: text/xml, received Content-type: content/unknown, used user to connect: most

Has someone any idea what the problem could be?

Thanks and Best Regards

Katharina

Edited by: Katharina Seiz on Oct 6, 2008 6:32 PM

ch_loos
Advisor
Advisor
0 Kudos

What CE version are you using? I tested this service in a CE 7.1 WS Navigator via LD and it works fine.

ch_loos
Advisor
Advisor
0 Kudos

Hi Katharina,

just choose WSDL and enter the URL to the generated WSDL (same as you used to import into CAF), this should work fine.

Christian