DevTest Portal not resolving multiple operations for the same service URL

Document ID : KB000045901
Last Modified Date : 14/02/2018
Show Technical Document Details

Problem: 

We are trying to virtualize a service that has multiple operations under the same endpoint URL.  After stopping the recording only a single URI Rule is present, which means the virtual service attempts to respond in the same way regardless of the requests that we send to the virtual service. The Request is sent from Soap UI.

 This is how our request looks like:

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ren="http://pm.lmig.com/cl/RentalReservationLibrary/RentalReservationAPI">

--------

<soap:Header/>

 

Environment:  

All supported DevTest environments.

 

Cause: 

Missing a XML Tag.

We noticed that when sending the Request from Soap UI, it is missing the below tag.

<?xml version="1.0" ?>

As a result, during recording DevTest is not picking the correct DPH while creating the VS. It is picking the REST DPH instead of the Web services soap DPH and transactions are recorded as POST calls in the VSI.

 

Resolution:

Sent the Requests with the <xml> tag in the first line as shown below and it picks the WS Soap DPH and all the operations and arguments are created properly during recording. 

<?xml version="1.0" ?>

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ren="http://pm.lmig.com/cl/RentalReservationLibrary/RentalReservationAPI">

<soap:Header/>......

  

Additional Information:

 

Not applicable