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

Thread: Unable to make any requests?

  1. #1

    Default Unable to make any requests?

    Hi,

    I am new to using web services in HP SM7,...

    I am currently using SoapUI and have loaded the ChangeManagement.wsdl file and have been attempting to make a request using the methods available such as

    RetrieveChanegList
    RetrieveChange (searching for test change C1)

    ..Also tried several of the Incident ones, but have not actually been able to get any results back as yet.

    I have increased the logging level and I can see it's connecting to the database.
    The results I get in the SoapUI are either a message saying something along the lines of;

    "RetrieveIncidentResponse massage="No (more) records found" return code="9"

    or I get no results with the following error in the log;

    5252( 5092) 02/22/2010 19:11:15 RTE D Parsing request document: <?xml version="1.0" encoding="utf-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/enve...P-ENV:Envelope>
    5252( 5092) 02/22/2010 19:11:15 RTE D Done parsing request document
    5252( 6120) 02/22/2010 19:11:28 JRTE I My client (840B3DB2DDEB4ADB486FBECCDFA8958E) has died, no heartbeat
    5252( 1064) 02/22/2010 19:11:28 JRTE I doShutdown -- iTermination Signal: 0
    5252( 1064) 02/22/2010 19:11:28 RTE I Thread termination in progress
    5252( 1064) 02/22/2010 19:11:28 RTE I User falcon has logged out and freed a Named license (1 out of a maximum 25)


    ...... I have tried a couple of other ones, which produces errors with the date fields,...if i remove these it then runs and gives on of the above errors?...


    Am I missing something?....... I thought just running the simple retrieve request would provide me with a list.

    Any help would be much appreciated....

    Thanks,

  2. #2
    Senior Member
    Join Date
    Apr 2006
    Location
    United States
    Posts
    178

    Default

    what does your soap message look like right before sending it?

  3. #3
    Senior Member
    Join Date
    Sep 2008
    Posts
    115

    Default

    Try doing the 'RetrieveChange' one, using this XML Put your own change number instead of C000009291

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://schemas.hp.com/SM/7" xmlns:com="http://schemas.hp.com/SM/7/Common" xmlns:xm="http://www.w3.org/2005/05/xmlmime">
    <soapenv:Header/>
    <soapenv:Body>
    <ns:RetrieveChangeRequest attachmentInfo="" attachmentData="" ignoreEmptyElements="true">
    <ns:model query="">
    <ns:keys query="">
    <!--Optional:-->
    <ns:ChangeNumber type="String" mandatory="" readonly="">C000009291</ns:ChangeNumber>
    </ns:keys>
    <ns:instance query="" uniquequery="" recordid="">
    </ns:instance>
    <!--Optional:-->
    <ns:messages>
    <!--Zero or more repetitions:-->
    <com:message severity="" module=""></com:message>
    </ns:messages>
    </ns:model>
    </ns:RetrieveChangeRequest>
    </soapenv:Body>
    </soapenv:Envelope>

  4. #4

    Talking

    Thanks for your responses,.. this forum is such a valuable source of info/help,...

    leonv... worked perfectly,....!

    I now have something I can work with,..many thanks for your help...

    I have been really struggling this last couple of days,..

    Thanks,

  5. #5
    Senior Member
    Join Date
    Sep 2008
    Posts
    115

    Default

    No problems. I've endured a frustrating few months with SM7's webservices. Good luck when you get to attachments I've found it difficult as well to translate the request from soapUI for use in programming languages, like PHP etc. It's just so finicky getting all the parameters exactly the way it wants them.

+ 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