cancel
Showing results for 
Search instead for 
Did you mean: 

Acknowledgement in SOAP Sender

Former Member
0 Kudos

Hi All,

While testing wsdl through SOAP UI, PI is reponding back with following message.

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

   <SOAP:Header/>

   <SOAP:Body/>

</SOAP:Envelope>

Interface is asynchronous. As per my requirement, i don't expect any such message from Pi. Due to this message, SOAP UI is sending same message n number of times. Do i need to do some change on PI side so that this response response could not generate?

Thanks & Regards,

Ashish Agarwal

Accepted Solutions (0)

Answers (3)

Answers (3)

apu_das2
Active Contributor
0 Kudos

Hi,

When you are testing your wsdl using SOAPUI add the following in the last of your WSDL URL -

&&QualityOfService=ExactlyOnce

Thanks,

Apu

Former Member
0 Kudos

Hi Apu,

I have already configured this value in the field of &&QualityOfService. But, still i am getting same acknowledgment.

Thanks & Regards,

Ashish Agarwal

apu_das2
Active Contributor
0 Kudos

Hi Ashish,

Can you send me the URL you are using from SOAP UI.

Thanks,

Apu

former_member184948
Active Participant
0 Kudos

Have you also chosen "quality of service as exactly once  " in sender SOAP channel?

By default it is set as best effort .If so change it to EO.

engswee
Active Contributor
0 Kudos

Hi Ashish

This is the default behavior if you are sending Async messages via SOAP UI. It should not cause any issues because SOAP UI is intended just as a testing tool.

Are you using SOAP UI to do some automated testing? If yes, then the issue might be due to SOAP UI rather than PI.

When you eventually use a proper application to send the async messages, there won't be any response from PI as it is async.

Rgds

Eng Swee

0 Kudos

Hi Ashish,

have a look at note 856597 (FAQ for the SOAP adapter).

For asynchronous sender channels the following behaviour is described:

"When the message successfully accepted by the adapter, an HTTP 200 response with

an empty SOAP envelope or an HTTP 202 response message with no content is

returned."

We are also using some asynchronous SOAP sender channels and do not have any problems with those responses. I am not aware of any possibility to change this behaviour.

Best regards,

lars

Former Member
0 Kudos

Hi Lars,

I am getting with a line "message successfully accepted by the adapter". What do you mean by successfully accepted?

Regards,

Ashish

0 Kudos

Hi Ashish,

the information itself comes straight from the FAQ.

As far as I know a message is successfully accepted as soon as it is received by the communication channel and forwarded to the adapter framework. Other errors (like mapping or routing errors) might occur later but do not affect this behaviour; the message was still successfully accepted by the adapter.

Best regards,

lars

Former Member
0 Kudos

Hi Lars,

I am bit confused. If a message is successfully received by Pi, then will Pi send back http acknowledgment with such message or not.

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

   <SOAP:Header/>

   <SOAP:Body/>

</SOAP:Envelope>

Thanks & Regards,

Ashish Agarwal

0 Kudos

Hi Ashish,

yes. When a message is successfully received by an asynchronous SOAP sender adapter a response with an empty SOAP envelope (like the one shown in your last post) is returned to the client.

Best regards,

lars