GeekInterview.com
Series: Subject: Topic:
Question: 38 of 225

How to add XML attribute to soapRequest from LoadRunner?

Hi



I would like to know the solution for the following Load Runner Problem.



Kindly look into the following Load Runner Action



Parent_Child_InsertOrUpdate()

{

relogin();



return web_service_call ("StepName=ParentInsertOrUpdate",

"SOAPMethod=Parent.Default.ParentInsertOrUpdate",

"ResponseParam=response",

"WSDL=D:/WSDL/Parent.wsdl",

"Snapshot=t1110448164.inf",

BEGIN_ARGUMENTS,

"xml:ListOfParent="



"ParentName"



""





"Text Data



"

"
"

"
",



END_ARGUMENTS,

BEGIN_RESULT,



END_RESULT,

LAST);



}



When I run this action, the XML parser ignores the attribute content. In the generated soapRequest, I found the element without attribute content.



Expected Result:

Text Data



Actual Result:

Text Data



Can anyone suggest me the solution how to include the attribute content in the soapRequest?
Asked by: rolemodel2k7 | Member Since Apr-2008 | Asked on: Apr 17th, 2008

View all questions by rolemodel2k7

This Question is not yet answered!

Related Open Questions

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.