Skip to Content
0
Former Member
May 27, 2010 at 03:08 PM

Call SOAP Adapter from CE BPM failed

64 Views

Hi everyone,

i have just a problem calling a webservic on the PI 7.11 server from CE 7.2 BPM via SOAP adapter.

1. I've created a very simple scenario on the PI 7.11 Server using SOAP Adapter sender. I've gotten the WSDL URL from the Sender Agreement. It is like the following:

http://piserver:50000/dir/wsdl?p=sa/2e1cf474911939c89c0f5530b24c36f0

2. In the Service Registery of the CE server, I published this service manuelly. The SR created automactically endpoints (http,https) for me. I tested both. They worked very well. While publishing the service, I've also assigned it to the correct system, which has the type IS.

3. I've imported the wsdl into my BPM and assigned it to a automatic activity. I've also created a new service group for this service interface.

4. After deploying the BPM onto the CE server, I've created a new provider system with type IS. In the WS connectivity type, I entered the wsdl url from above again and the admin user on PI server for the Metadata User.

5. I've created a user in the "User Account Management" with connectivity type WS and entered the same user on the step 4 for the Metadata User, assigned this user to the provider system created on step 4.

6. In the "Application Communication", I assigned the provider system from step 4 to the serivce group created on the step 3.

7. Start the BPM and find out a very strange error message:

Error during SCA Processing

[EXCEPTION]

java.rmi.RemoteException: Could not process message for operation SI_SearchSalesOrder_outbound in web service plugin module.; nested exception is:

com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Invalid Response code (401). Server 2Fconet.de%2FSalesOrder> returned message . Http proxy info: none

I suppose that the metadata user is used to read the wsdl information form PI. For runtime processing maybe should also I provide a user. But I have no idea where I can configure the runtime user in the NWA.

Could some one give me some help on this position?

Thanks a lot in advance.

with best regards

Xiang