Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all articles
Browse latest Browse all 12134

Re: Load Runer test web servcies using soap version 1.2

$
0
0

Hi,

 

The response is using MTOM format, not SOAP format.

A MTOM format is sent with MIME message.

A MIME message contains:

+ MIME boundary

+ MIME header

+ SOAP message

 

Vugen is sending a SOAP request message, it expects a SOAP response come back. But server is sending a MTOM message comes back.

So, that is reason why it shows error “Response is not well-formed XML”.

Please try to correct the response message on the server.

 

In can you cannot change on the server, I have a workaround on this issue; please try to put this line:

       "UserHandlerName=LrWsAttachmentsHandler",

   in front of “BEGIN_ARGUMENTS,” of web_service_call

It looks like this:

web_service_call( "StepName=GetMovement_101",

        "SOAPMethod=MovementService|MovementServicePort|GetMovement",

        "ResponseParam=response",

        "Service=MovementService",

        "ExpectedResponse=SoapResult",

        "Snapshot=t1416568484.inf",

      "UserHandlerName=LrWsAttachmentsHandler",

        BEGIN_ARGUMENTS,

        "xml:GetMovementRequest="

            "<GetMovementRequest>"

                "<MovementId>06AACD3B-2B4D4-E36A-23EC-CC33838EE63</MovementId>"

                "<Verbosity>ALL</Verbosity>"

            "</GetMovementRequest>",

        END_ARGUMENTS,

        BEGIN_RESULT,

        END_RESULT,

        LAST);

 

This user handler will make the web service call to be able to accept a MTOM message.

Please try with it.

 

Thanks,

Phuong Nguyen

From HP LR Team


Viewing all articles
Browse latest Browse all 12134

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>