In APM, if you go to http://APMserver:99/ITAMService/Service.asmx you will see a list of webservice supported operations.
If you then click on one of the operations, such as SearchAndSave, it will show you the format for the SOAP Request:
POST /ITAMService/Service.asmx HTTP/1.1
Host: caapm
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Header>
<AuthHeader xmlns="http://tempuri.org/">
<TicketId>string</TicketId>
</AuthHeader>
</soap12:Header>
<soap12:Body>
<SearchAndSave xmlns="http://tempuri.org/">
<RequestStream>base64Binary</RequestStream>
<DataStream>base64Binary</DataStream>
</SearchAndSave>
</soap12:Body>
</soap12:Envelope>
I have yet to find the documentation for the format of what goes into RequestStream and DataStream. Does anyone know where to find that or have an example? It appears to want it base64 encoded and I know how to do that.
Many thanks in advance.
------------------------------
Lindsay Estabrooks
Principal Consultant
IT-EDU Consultants
------------------------------