Re: Silverlight Soap Request - How to handle MessageID (493 Views)
Reply
Frequent Advisor
liviya
Posts: 86
Registered: ‎12-05-2011
Message 1 of 6 (575 Views)
Accepted Solution

Silverlight Soap Request - How to handle MessageID

Hi,

 

I don't know how to handle messageID in silverlight_soap_request. This message is different for all soap requests. Even, I cannot find this messageID in server response to correlate. Below is the Silverlight soap request.

 

silverlight_soap_request("StepName=GetUserDetails", 
        "URL=https://xxxxxx.xxxx.xxxxx/"
        "xxxx.svc", 
        "SOAPEnvelope="
            "<s:Envelope xmlns:s=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:a=\"http://www.w3.org/2005/08/addressing\">"
                "<s:Header>"
                    "<a:Action s:mustUnderstand=\"0\">http://tempuri.org/IAuthenticationService/GetUserDetails</a:Action>"
                    "<a:MessageID>urn:uuid:3b0b011f-1086-467e-8230-293a20e38feb</a:MessageID>"
                    "<a:ReplyTo>"
                "<a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>"
                    "</a:ReplyTo>"
                    "<a:To s:mustUnderstand=\"0\">https://rxxxxxx.svc</a:To>"
                  "<a:To s:mustUnderstand="0">

                "</s:Header>"
                "<s:Body>"
                    "<GetUserDetails xmlns=\"http://tempuri.org/\">"
                        "<request xmlns:b=\"http://schemas.datacontract.org/2004/07/xxxxxx\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance...
                    "</GetUserDetails>"
                "</s:Body>"
            "</s:Envelope>", 
        "Snapshot=t2.inf", 
        "ResponseParam=response", 
        "UserHandlerName=LrBinaryEncodingHandler", 
        LAST);

 

Please suggest how I can handle this messageID.

 

Regards,

Deepak

 

Please use plain text.
HP Expert
vmanolova
Posts: 525
Registered: ‎05-24-2012
Message 2 of 6 (545 Views)

Re: Silverlight Soap Request - How to handle MessageID

[ Edited ]

Hi,

 

1. In snapshot layout go to the corresponding step.
2. In the request of the recording snapshot you should see urn:uuid:3b0b011f-1086-467e-8230-293a20e38feb 3. Switch to Response
4. There you can see the same value but it is not as Message ID. Most probably it will be "Relates To".

5. Double-click the value and you will see a window next to it will automatically go to the value.
5. Right-click the new place where you see the value located and select save value in parameter.

 

 

Kind regards,

 

HP Support
If you haven’t tried it yet, come and join us in our entitled forums at Support Customer Forums
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Please use plain text.
Frequent Advisor
liviya
Posts: 86
Registered: ‎12-05-2011
Message 3 of 6 (543 Views)

Re: Silverlight Soap Request - How to handle MessageID

Hi,

 

Thanks for your response.

 

I have done following things but there is no change in script.

 

We have to replace messageid with parameter?

 

Regards,

Deepak

Please use plain text.
HP Expert
vmanolova
Posts: 525
Registered: ‎05-24-2012
Message 4 of 6 (531 Views)

Re: Silverlight Soap Request - How to handle MessageID

Hi Deepak,

 

Could you please open a case with support and provide the script for review?

 

Kind regards,

Vesela

HP Support
If you haven’t tried it yet, come and join us in our entitled forums at Support Customer Forums
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Please use plain text.
Frequent Advisor
liviya
Posts: 86
Registered: ‎12-05-2011
Message 5 of 6 (506 Views)

Re: Silverlight Soap Request - How to handle MessageID

Hi,

 

After scripting on another machine, issue got resolved.

 

Regards,

Deepak

Please use plain text.
Occasional Contributor
Bikashchand
Posts: 6
Registered: ‎11-08-2012
Message 6 of 6 (493 Views)

Re: Silverlight Soap Request - How to handle MessageID

Hi,

Is that MessageID is generated  in other machine?

 

Thx

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation