Want to get rid of Google Ads, click here.
+ Reply to Thread
Results 1 to 4 of 4

Thread: Help required while consuming the WSDL file at HPSM

  1. #1
    Junior Member dukestanley's Avatar
    Join Date
    Jan 2008
    Posts
    23

    Default Help required while consuming the WSDL file at HPSM

    When I try to consume a wsdl file using RUN WSDL to JS utility at HPSM7.11. I am getting an error as below. WSDL request failed with exception doHTTPRequest failed.

    Can someone tell me how to get rid of this error and generate the proxy javascript code.

  2. #2
    Senior Member glg's Avatar
    Join Date
    Aug 2004
    Location
    Chicago, IL, USA
    Posts
    715

    Default

    are you able to open a browser window to the url and get wsdl without any login screen or popup or anything like that?

    The error sounds like it failed contacting the web server.

    Or were you trying to just put in a filename on your local machine? That won't work, needs to be a url accessible to your SC server.

  3. #3
    Junior Member dukestanley's Avatar
    Join Date
    Jan 2008
    Posts
    23

    Default

    Actually the url is a kind of http://exampleservices.asmx?wsdl. I was able to load the WSDL at my browser, however when I try to consume that the HPSM processess for more time and says WSDL2JS Succeeded. I am not getting that final screen where you need to add the proxy javascript to your script library.

  4. #4
    Junior Member
    Join Date
    May 2008
    Posts
    24

    Default

    Can you clarify a little? It sounds like you get "WSDL2JS Succeeded" but you also get this error message "WSDL request failed with exception doHTTPRequest failed."

    Does your browser have any proxy information? IE has Tools > Internet Options > Connections > LAN Settings. If so, you will need to tell SM to use a proxy to retrieve the wsdl. The best practices doc says this:

    ---------------
    Is it possible to consume Web Services in Service Manager
    through a proxy server?
    It is possible to consume Web Services through a proxy server in Service Manager 7. The following
    parameters have to be added to the sm.ini file for the Web Service to be able to connect through a
    proxy.
    – JVMOptionX:-Dhttp.proxyHost=proxyserver.domain.company.com
    – JVMOptionY:-Dhttp.proxyPort=<port number, eg. 8088>
    The X and Y represent two consecutive numbers. The first JVMOption in the sm.ini will be number1,
    the next will be number 2, etc. If these two are the only JVMOptions in your sm.ini, they will be:
    – JVMOption1:-Dhttp.proxyHost=proxyserver.domain.company.com

    --------------

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts