Active TopicsActive Topics  Display List of Forum MembersMemberlist  CalendarCalendar  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin


 One Stop Testing ForumTesting Tools @ OneStopTestingLoadRunner @ OneStopTesting

Message Icon Topic: LR For Web Serivces - Problems with UInt32

Post Reply Post New Topic
Author Message
bond007
Newbie
Newbie


Joined: 30Mar2007
Online Status: Offline
Posts: 1
Quote bond007 Replybullet Topic: LR For Web Serivces - Problems with UInt32
    Posted: 30Mar2007 at 11:10pm
1.- 8.1
2.- Web Services Protocol
3.-
4.-
5.-
6.- Feature Pack 4
7.- Subscription
8.- Current
9.- Windows 2000 Pro SP4
10.-

Trying to load test a web serivce using the WSDL provided on the server. (IBM WAS).

The following function keeps failing:

web_service_call( "StepName=GetParty_102",
"SOAPMethod=PartyService.PartyPort.GetParty",
"ResponseParam=response",
"Service=PartyService",
"Snapshot=t1174961830.inf",
BEGIN_ARGUMENTS,
"xml:GetParty1=<GetParty1><control><requestId>1</requestId><requesterName>"
"James</requesterName><requesterLanguage>100</requesterLanguage><property>"
"<Property><name></name><Value></Value></Property></property><requesterLocale>"
"</requesterLocale><requesterRole><string></string></requesterRole></control>"
"<partyId>9711174373348222</partyId><partyType><code></code><Value></Value>"
"</partyType><inquiryLevel>1</inquiryLevel></GetParty1>",
END_ARGUMENTS,
BEGIN_RESULT,
END_RESULT,
LAST);

...because the party id is 16 digits (which shouldn't matter as its a string inside an xml request). LR gives the following:

Action.c(3): Error: InvokeMethod failure: Value was either too large or too small for a UInt32..
Action.c(3): Notify: Saving Parameter "response = "
Action.c(3): Error: Web service call "GetParty_102" execution failed

Its trying to pass it as an unsigned 32 bit int. I've tried everything to parameterise the xml to get party_id to be passed as a string but nothing is working. All necessary parameters are correct and included in the XML.

Please Help!



Post Resume: Click here to Upload your Resume & Apply for Jobs

IP IP Logged
jay@jay
Newbie
Newbie


Joined: 30Mar2007
Online Status: Offline
Posts: 15
Quote jay@jay Replybullet Posted: 30Mar2007 at 11:20pm
Hi Bond,

This should actually go in the LoadRunner forum.

My apologies for earlier asking for questions 3 - 5 as the answers are obvious.

Have you filed an SR with HP/Mercury? This certainly looks like a bug.

Max val for u32 is 4,294,967,295. So in this respect it might be a loadrunner bug, however...

Are you doing a web_reg_save_param or lr_xml_get_values?
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.234 seconds.
Vyom is an ISO 9001:2000 Certified Organization

© Vyom Technosoft Pvt. Ltd. All Rights Reserved.

Privacy Policy | Terms and Conditions
Job Interview Questions | Placement Papers | Free SMS | Freshers Jobs | MBA Forum | Learn SAP | Web Hosting