SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 7 of 7
  1. #1
    Senior Member
    Join Date
    Jan 2005
    Posts
    394
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    WebService - LR 8.1

    Details
    ========
    1. What version of LoadRunner (LR) or PerformanceCenter (PC) are you using? (specify which LR or PC)
    LR 8.1
    2. What is the protocol you are recording?
    Web Service
    3. If HTML - are you using HTML-Advanced with URLs or,
    (substitute your answer here)
    4. URL mode with Concurrent groups, or
    (substitute your answer here)
    5. URL mode without Concurrent groups?
    (substitute your answer here)
    6. Which LoadRunner/PerformanceCenter feature or service packs are you using?
    FP 4
    7. What kind of LoadRunner license do you have - Subscription, Perpetual, Virtual User days, or Evaluation? (choose the one that fits your license model - (substitute your answer here))
    Permanent
    8. If subscription, is subscription current or expired?
    (substitute your answer here)
    9. What platform(s) and Operating Systems? Include version and service packs.
    Windows XP
    10. If you have filed a service request with Mercury, what have they told you at this point with respect to your issue?
    (substitute your answer here)

    I have given xml files with soap request. I dont have wsdl or url.
    I dont know where to start?

    Please provide some input or template to plug the xmls,
    with webservice protocol selected.

    I know i can use Web_custom_request() if i choose http protocol.
    So if choose i hve to use Soap request function?
    What is the format of that function i cant find that in help.

    Thanks for any input
    1. LR 9.5
    2. HTTP/HTML
    3. Yes
    4. - Concurrent groups,
    5. FP4
    6. New recording
    7. Permanent http/html 5000
    8. Permanent
    9. Windows-XP, SP2
    10. Not filed

  2. #2
    Senior Member
    Join Date
    May 2003
    Location
    USA
    Posts
    315
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: WebService - LR 8.1

    You can use soap_request or web_custom_request.
    If you decide to create your own WSDLs, you could use web_service_call.

    A couple of times I had to build webservice scripts from the xml with soap requests. It's not that difficult.
    I decided not to build my own wsdls and used soap_request method.

    Just use any of the soap_request examples available with loadrunner help as a template.
    Don't forget to add web_add_header("SOAPAction ....
    Also, be very careful with XML data in your script --it could get tricky. XML is not very forgiving if you don't format it correctly. Load runner has some built in tools to help you import xml data, try using them if you can.

  3. #3
    Senior Member
    Join Date
    Jan 2005
    Posts
    394
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: WebService - LR 8.1 -InvokeMethod failure

    thanks TedZlat.

    I used an URL to import wsdl. and created web_service_call()
    But now am getting the below error.

    <code>Error: InvokeMethod failure: Soap error:</code>

    Please let me know how to solve the issue.
    1. LR 9.5
    2. HTTP/HTML
    3. Yes
    4. - Concurrent groups,
    5. FP4
    6. New recording
    7. Permanent http/html 5000
    8. Permanent
    9. Windows-XP, SP2
    10. Not filed

  4. #4
    Senior Member
    Join Date
    May 2003
    Location
    USA
    Posts
    315
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: WebService - LR 8.1 -InvokeMethod failure

    Is it failing when you are tryinh to run the script ?
    Do you have any more details.

  5. #5
    Senior Member
    Join Date
    Jan 2005
    Posts
    394
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: WebService - LR 8.1 -InvokeMethod failure

    yes i do.

    Here is it:

    Action.c(4): Web service call "InquireRetailAccountsSuitability_102" started
    Action.c(4): Error: InvokeMethod failure: Soap error:
    Message: com.aaa.brokerage.ICSWS.Services.Messages.Parts.Ex ceptions.ServiceValidationException.
    Action.c(4): Error: Web service call "InquireRetailAccountsSuitability_102" execution failed
    1. LR 9.5
    2. HTTP/HTML
    3. Yes
    4. - Concurrent groups,
    5. FP4
    6. New recording
    7. Permanent http/html 5000
    8. Permanent
    9. Windows-XP, SP2
    10. Not filed

  6. #6
    Senior Member
    Join Date
    May 2003
    Location
    USA
    Posts
    315
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: WebService - LR 8.1 -InvokeMethod failure

    Hmmm...
    There could be a lot of reasons for this error.
    You could be missing a required parameter inside the envelope, XML could be formatted wrong, etc...
    You need to get more information about this error.

    Exceptions.ServiceValidationException tells me that exception was thrown when server was trying to validate your XML (possibly against XSD schema) it failed.

  7. #7
    Junior Member
    Join Date
    Apr 2007
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: WebService - LR 8.1 -InvokeMethod failure

    You can save the xml document as wsdl

 

 

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 10.71%
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 10:48 PM.

Copyright BetaSoft Inc.