cancel
Showing results for 
Search instead for 
Did you mean: 

Increase in wait time of synchronous interface

Former Member
0 Kudos


I am working on HTTP to proxy synchronous interface on PI 7.3

PI uses communication channel with SOAP receiver adapter over XI protocol

Now I am facing below error in the interface while testing after 3minutes-

      com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message (INBOUND)expired

Can anyone please tell me how can I increase wait time in the channel.

I have tried adding the parameter name 'XMBWS.Timeout' and parameter value '30000' to increase wait time to 5minutes. But it didnot work.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

This is requirement in our project to have 5min wait time. So channel must be able to hold connection for duration of 5min.

Muniyappan
Active Contributor
0 Kudos

can you please explain about your project requirement? why to hold it for 5 mins.

Muniyappan
Active Contributor
0 Kudos

Try to find out why webservice is taking more time to send the response.

you may think of reducing no of records per call.

can you please explain bit more about what you are sending and what is expected to receive from web service.

one of my project we used to get the part details for part number from webservice. When tried to send 10000 parts in single call we got the timeout error. so we reduced it to 2000 and the error gone.

udo_martens
Active Contributor
0 Kudos

Hi Shwetha,

increasing the timeout for the soap receiver channel is not enough, becausea couple of applications are involved in the flow:

  • Sending application (http)
  • Sender adapter
  • PI adapter engine
  • PI integration engine

So you would need to increase more than one timeout, but this will cost you performance at all, because a work thread would be blocked for a longer intervall. Harish is right: The receiver system should response more quick.

/Udo

Harish
Active Contributor
0 Kudos

Hi Shwetha,

5 Min is very big time frame for sync connection. Please check in receiver system why the message is getting time out. Is it because of size or message or any other reason.

regards,

Harish

Former Member
0 Kudos

hi Harish,

Yes, for synchronous its very big time frame.

But Can I increase the wait time in communication channel with SOAP receiver adapter over XI protocol ?

Former Member
0 Kudos

Shwetha,

Set property of Service "XPI Adapter:

XI" within SAP NetWeaver Administrator -->xiadapter.inbound.timeout.default ---180000ms--(3 min)

Executing the below mentioned steps

1.(PI 7.3)

Goto NWA(PI 7.3)-->configuration-->Infrastructure-->Java System Properties-->goto Services tab-->find xiadapter--> u can increase value inbound.timeout.default

see the below screenshot :

2.

PI 7.0 & 7.1x

Please check point no 2.2.7 of the below doc:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c059d583-a551-2c10-e095-eb5d95e03...

.......

Mutti

Former Member
0 Kudos

hi Mutti,

Thank you for the reply.

But here wont it impact all the channels using the same adapter ? can't we have anything channel specific?