SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Oct 2008
    Location
    Hyderabad, India
    Posts
    5
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    xml objects in BEGIN_RESULT for webservices

    1. What version of LoadRunner (LR) or PerformanceCenter (PC) are you using? (specify which tool LR or PC)
    LR 9.0
    2. What is the protocol you are recording?
    SOAP

    2.1 If .NET, which version of .NET does the app require?
    .NET 2.0
    2.2 If .NET, which version of .NET do you have installed?
    .Net 2.0
    2.3 If OracleNCA with Oracle Forms Server, please list the version of Oracle Forms Server. You can get this info from the main Oracle Form when launched - Help -> About
    -NA-

    3. If HTML - are you using HTML-Advanced with URLs or,
    No

    4. If URL mode:
    - Concurrent groups, or
    - Without Concurrent groups?
    -NA-

    5. Which LoadRunner/PerformanceCenter feature (FPs) or service packs are you using?
    Not sure

    6. VuGen Recording - are you using Old or New Recording Engine?
    not sure. using the default one.

    7. What kind of LoadRunner license do you have -
    - Trial or Evaluation,
    - Subscription,
    - Perpetual,
    - Permanent/Unlimited, or
    - Virtual User days?

    Permanent

    8. If subscription, is subscription current or expired?
    -NA-

    9. What platform(s) (PCs) and Operating Systems (Windows-XP, etc.)? Include version and service packs (SP1 or 2, etc.)
    Windows server 2003 Ent Edition SP2

    10. If you have filed a service request with HP/Mercury, what have they told you at this point with respect to your issue?
    No.
    ----------------------
    I'm facing the problem while trying to access the results which are of object type.

    The thing is that the same object is being properly loaded to the response parameter.

    The error that I get is ExtractResultArg failure. Here is the extended log:

    Response parameter:

    Action.c(35): Notify: Saving Parameter "response = <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><CreateUserRespo nse xmlns="http://www.sumtotalsystems.com/sumtotal7/sumtotalws/UserManagement/"><CreateUserResult xmlns="http://www.sumtotalsystems.com/sumtotal7/sumtotalbo/"><Id>User:k.5233</Id><FirstName>Load</FirstName><LastName>Runner1</LastName><FirstNamePronounciation /><LastNamePronounciation /><MiddleName /><NameTitle /><NameSuffix /><JobTitle>Job Title0</JobTitle><UserNumber /><Username>LoadRunner1</Username><Password /><NtAccount /><StartDate><IsNull>true</IsNull><Value>0001-01-01T00:00:00</Value></StartDate><EndDate><IsNull>true</IsNull><Value>0001-01-01T00:00:00</Value></EndDate><LastReviewDate><IsNull>tru e</IsNull><Value>0001-01-01T00:00:00</Value></LastReviewDate><Note /><CompanyCode>COmP0</CompanyCode><UserCodeId>UserCode:k.4</UserCodeId><UserCode><Id>UserCode:k.4</Id><Name>Contract</Name></UserCode><UserStatusId>UserStatus:k.1</UserStatusId><UserStatus><Id>UserSt atus:k.1</Id><Name>Active</Name></UserStatus><PassportPUID /><RequiresConfirmation><IsNull>fals e</IsNull><Value>0</Value></RequiresConfirmation><DomainId>Domain:k.-1</DomainId><SecurityRoleId>SecurityRole:k.-1</SecurityRoleId><AutoPublishCalender>false </AutoPublishCalender><CanViewAllUsers>true </CanViewAllUsers><IsActive><IsNull>f alse</IsNull><Value>1</Value></IsActive><IsLoginEnabled>true</IsLoginEnabled><IsInternal>false</IsInternal><HasWebServiceAccess>false</HasWebServiceAccess><MustChangePassword>& lt;IsNull>false</IsNull><Value>1</Value></MustChangePassword><LanguagePreferenceId> UserLanguage:k.1</LanguagePreferenceId><LanguagePreference> <Id>UserLanguage:k.1</Id><Name>English (United States)</Name><LCID>1033</LCID><Status>true</Status></LanguagePreference><TimeZonePreferenceId> TimeZone:k.137</TimeZonePreferenceId><TimeZonePreference> <Id>TimeZone:k.137</Id><CountryCodeId>GQ</CountryCodeId><StandardTimeName>Western African Time</StandardTimeName><DaylightSavingTimeName> Western African Time</DaylightSavingTimeName><StandardTimeCode> WAT</StandardTimeCode><DaylightSavingTimeCode> WAT</DaylightSavingTimeCode><ObservesDaylightSavi ngTime>false</ObservesDaylightSavingTime></TimeZonePreference><AddressCity /><AddressCountry>USA</AddressCountry><AddressFax /><AddressPhone1>0</AddressPhone1><AddressPhone2>00</AddressPhone2><AddressState /><AddressStreet1 /><AddressStreet2 /><AddressPostalCode /><Email>abc@abc.com</Email><EmailFormat>0</EmailFormat><Url /><OptText1>nikhil1;//0</OptText1><OptText2>-1</OptText2><OptText3 /><OptText4 /><OptMemo1 /><OptDate1><IsNull>true</IsNull><Value>0001-01-01T00:00:00</Value></OptDate1><OptDate2><IsNull>true</IsNull><Value>0001-01-01T00:00:00</Value></OptDate2><OptYesNo>false</OptYesNo><OptMoney><IsNull>true</IsNull><Value>0</Value></OptMoney><OptInteger><IsNull>true&l t;/IsNull><Value>0</Value></OptInteger><OptFloat><IsNull>true&l t;/IsNull><Value>0</Value></OptFloat><ActivityAttempts xsi:nil="true" /><ActivityRegistrations xsi:nil="true" /><AcquiredSkills xsi:nil="true" /><RequiredActivities xsi:nil="true" /><RequiredSkills xsi:nil="true" /><RequiredCompetencies xsi:nil="true" /><MemberDomains xsi:nil="true" /><AcquiredCertifications xsi:nil="true" /><MemberJobs xsi:nil="true" /><MemberOrganizations xsi:nil="true" /></CreateUserResult></CreateUserResponse></soap:Body></soap:Envelope>\r\n"

    Error Log: <font color="red">
    Action.c(35): Error stack trace: at System.Xml.XmlElement..ctor(XmlName name, Boolean empty, XmlDocument doc)
    at System.Xml.XmlDocument.CreateElement(String prefix, String localName, String namespaceURI)
    at System.Xml.XmlDocument.CreateElement(String name)
    at Mercury.LR.LrWsNetClient.LrXmlSerializer.Serialize Complex(Object obj, String argName, XmlNode xmlResNode)
    at Mercury.LR.LrWsNetClient.LrXmlSerializer.Serialize (Object obj, String argName, XmlNode xmlResNode)
    at Mercury.LR.LrWsNetClient.LrXmlSerializer.Serialize (Object obj, String argName)
    at Mercury.LR.LrWsNetClient.ResultArgExtractor.Append ArgToXmlDoc(XmlDocument xmlDoc, Object argObj, String argName)
    at Mercury.LR.LrWsNetClient.ResultArgExtractor.Create XmlArgsDoc()
    at Mercury.LR.LrWsNetClient.ResultArgExtractor.Extrac tArgAsXml(String sArgPath)
    at Mercury.LR.LrWsNetClient.ResultArgExtractor.Extrac tArg(String sArgPath, Boolean IsSaveResultArgumentsAsIs)
    at Mercury.LR.LrWsNetClient.ProxyCreator.ExtractArg(S tring sArgPath)
    at Mercury.LR.LrWsNetClient.NetReplay.ExtractResultAr g(String sArgPath, Array&amp; barrArgValue)
    Action.c(35): Error: ExtractResultArg failure: The local name for elements or attributes cannot be null or an empty string..
    Action.c(35): Error: Web service call "CreateUser" execution failed
    Ending action Action.
    Ending iteration 1. </font>

  2. #2
    Junior Member
    Join Date
    Oct 2008
    Location
    Hyderabad, India
    Posts
    5
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: xml objects in BEGIN_RESULT for webservices

    Guys, please help on this query... this is critical for me.

  3. #3
    Moderator
    Join Date
    Aug 2001
    Location
    NC
    Posts
    6,018
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: xml objects in BEGIN_RESULT for webservices

    Please refer to your standard training material, your mentor and your product documentation for information on the topic "Correlation"
    James Pulley

    Replace ineffective offshore contracts, LoadRunnerByTheHour. Starting @ $19.95/hr USD.

    Put us to the test, skilled expertise is less expensive than you might imagine.

    Twitter: @LoadRunnerBTH @PerfBytes

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 03:06 PM.

Copyright BetaSoft Inc.