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: com.sap.engine.services.webservices.espbase.query.exceptions.ObjectNotExistsException: 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: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: 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.