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

Thread: Documentation of web services API

  1. #1
    Junior Member
    Join Date
    Oct 2008
    Posts
    1

    Default Documentation of web services API

    Hello
    I am a newbie to both Service Center and web services. I've just managed to retrieve an incident from Service Centre for the first time but it took me way too long to figure out how to do it.

    I was trying to do what should be the simplest thing. Retrieve an incident for a given incidentID. I wrote a simple Java program to use the Java classes which are auto generated from the WSDL file. What I did wrongly was to nest the incident ID in the wrong place. I was using:

    Envelope
    Body
    RetrieveIncidentRequest
    model
    instance
    IncidentID

    To make it work you need:

    Envelope
    Body
    RetrieveIncidentRequest
    model
    keys
    IncidentID

    I feel like I have cracked a small part of a big puzzle. Presumably this is not intended to be a puzzle, it should be easy.

    I have a copy of HP’s document "Best Practices for Publishing and Consuming Web Services with ServiceCenter" but I have not found anything that describes the API other than the WSDL file. What documentation is there to help anyone understand how the Service Center web services APIs work ?

    At the moment I am predominantly interested in IncidentManagement.wsdl but I am sure I will move on to others as well.

    Thanks in advance, Vince
    Last edited by vincewebb; 2008-10-17 at 14:24.

  2. #2
    Junior Member
    Join Date
    Mar 2008
    Posts
    13

    Default

    You might want to check the Help Server.

    What I did was used a tool called SoapUI and played around with the SM7 WSDLs from there.

  3. #3
    Junior Member
    Join Date
    Feb 2008
    Location
    Toronto, Canada
    Posts
    11

    Default

    For me, the trick was to peruse the example code that is sent out with the application. It's not perfect but it at least shows you the order in which to do things..


    I have successfully created and updated incidents without issue, if you have any specific questions, let me know and i will see if i can assist.

    Good luck!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

Tags for this Thread

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