cancel
Showing results for 
Search instead for 
Did you mean: 

Slow response using Soap adapter

Former Member
0 Kudos

We have java code calling a web service on pi that is mapped to a web service on CRM.

PI 7.1, and the latest CRM release. I don't have much experience using PI. We have an integrated configuration set up that maps XML from and inbound request to a soap request exposed on CRM. this would be SalesOrderCRMCreateCheckQueryRespnose_in.

When I call the CRM web service it responds in 2 seconds. When I call via PI which maps a different request to that one and maps backa response it takes 10 seconds. The log shows the delay as follows between request message entering the adapter with user J2EE_GUEST and the next step. We simply cannot figure out why.

Time Stamp Type Description

2010-07-22 14:44:50 Information MP: entering1

2010-07-22 14:44:50 Information MP: processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean

2010-07-22 14:44:50 Information SOAP: request message entering the adapter with user SOAREMOTE

2010-07-22 14:44:50 Information SOAP: request message leaving the adapter (call)

2010-07-22 14:44:50 Information The application tries to send an XI message synchronously using connection SOAP_http://sap.com/xi/XI/System.

2010-07-22 14:44:50 Information Trying to put the message into the call queue.

2010-07-22 14:44:50 Information Message successfully put into the queue.

2010-07-22 14:44:50 Information The message was successfully retrieved from the call queue.

2010-07-22 14:44:50 Information The message status was set to DLNG.

2010-07-22 14:44:50 Information Executing request mapping "nuskin.com:GlobalSales/OM_SalesOrderCreation" (SWCV 889bd190c3df11de8ffcf9350a21f04d)

2010-07-22 14:44:50 Information Delivering to channel: SOAP_SALESORDER_CREATE_IN

2010-07-22 14:44:50 Information SOAP: request message entering the adapter with user J2EE_GUEST

2010-07-22 14:44:58 Information SOAP: completed the processing

2010-07-22 14:44:58 Information SOAP: continuing to response message fdffe018-95d1-11df-b0fc-0000121412ea

2010-07-22 14:44:58 Information The application sent the message synchronously using connection SOAP_http://sap.com/xi/XI/System. Returning to application.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member200962
Active Contributor
0 Kudos
When I call the CRM web service it responds in 2 seconds. When I call via PI which maps a different request to that one 
and maps backa response it takes 10 seconds.

1) Calling a service directly and through XI/ PI (or any other middleware) wont consume the same time.....there would be a time-lag when called through a middleware.

2) How much time is the processing time taken by the target web-service?

Regards,

Abhishek.

Former Member
0 Kudos

Hi Ron,

We cannot find the issue from this log. There might be several factors like are there any other messages in queue before this? If yes then it will execute them first and then your message. Else you can do a queue prioritization. Also depends upon which type of mapping you are using in pi and its complexity. You can also try skipping the soap sender communication channel to Java engine using this blog:

You can try any one of them and see does they make some difference?

Regards,

---Satish

Former Member
0 Kudos

Thanks for the reply. Since I am very new to PI I am not quite certain waht information to supply. I will take a look at this link.

This test is on a box, with this being the only active request at that time.

For this process there has been created custom messages in the ESB. The wsdl for the given call to CRM has been imported. A webservice is exposed from PI, and operational mapping for both a request and a response is done between these. Using SoapUI I have done the testing that resulted in results I explained.

Former Member
0 Kudos

All of our issues have been resolved with help of a consultant. thanks for the replies.