AnsweredAssumed Answered

Need info on usage of "Allow duplicate specific transactions" in VSI for specific case

Question asked by SARTH_GUPTA on Oct 4, 2017
Latest reply on Oct 9, 2017 by SARTH_GUPTA

Hi Team,

 

I have a requirement in which I need to send a request 2 times and require 2 different responses in return.Hence I have used the option of "Allow duplicate specific transactions" in VSI.

 

However, in order to make it work, I need to send the exact request 2 times to get different configured responses .But my requirement is to send the below request :

 

When the below request with the same "ServiceNumber" comes, I need to send 2 different responses.The Transaction ID can change in the request when it comes for the second time.

 

But I am not able to get 2 different response because of change in the transaction ID.

So is there any way in which I can put a condition to check only ServiceNumber and if it is same, then send the different response for the second time.

Need your inputs.

 

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<GetSubscriberOverviewForESPRequest xmlns="http://services.kpn.com/GetSubscriberOverviewForESP">
<RequestHeader xmlns="http://services.kpn.com/xsd/common/1.0">
<TransactionId>sarthaktemtest10</TransactionId>
</RequestHeader>
<RequestBody>
<IdentifiedBy>
<ServiceNumber>31999999911</ServiceNumber>
</IdentifiedBy>
</RequestBody>
</GetSubscriberOverviewForESPRequest>
</SOAP:Body>
</SOAP:Envelope>

 

Thanks

Sarthak

Outcomes