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


Reply With Quote

Bookmarks