Skip to Content
Former Member
May 20, 2009 at 01:44 PM

Consuming SAP PI published Web Service



I'm searching last two days a solution to create a connection from Web Dynpro Java 7.1 to SAP PI Web Service, but without luck.

I was able to import and create the Adaptive Web Service Model without any problems, but when I start the application I get two types of error messages, depending on definition of logical destinations in model.

1. When I use destinations from metadata

DEFAULT_WS_METADATA_DEST - http://<host>:<port>/inspection.wsil.

ERROR: ProcessNewInstanceNotification_Out_Document

The published Web Service from SAP PI is available in Service Registry, it has also working endpoints - tested in WS navigator and Visual Composer, but it doesn't appears in the WSIL - is there a way how to publish this WSDL in the WSIL?

2. Second try was to not use logical destinations

ERROR: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://<host>:<port>/dir/wsdl?p=1_d8f7d1c6f1983d2998715bb7ea906324_binding"

I have tried to create this WSDL destination in Destination Template Management and also in Destinations (NWA -> Configuration Management -> Destinations), but without success.

What's wrong?

Andrej Dobak