How to get a sample HPSM SOAP MESSAGE??

How to get a sample HPSM SOAP MESSAGE??
  • http://<servicemanagerserverhostname:portnumber>/SM/7/ConfigurationManagement.wsdl ??

    Is this what you are looking for ?

  • No. Actually i was Looking for sample SOAP requests which will be provided by HPSM to ServiceNow for incident creation and Attachment creation in ServiceNow. How to generate that sample Soap Message for incident. Can you pls help me out??

  • First - let's be clear on what you're asking.  You're not asking for help with HPSM.  You're asking for help with Service Now.

    So you've got two systems - HPSM and SNow - and you want to get them to talk to each other.  You want to take the data that is in a ticket in HPSM and send that data via SOAP to SNow.  Service Now doesn't care what the data looks like in HPSM, just like HPSM doesn't care what the data looks like in SNow.  Your request from HPSM has to be sent in the way that ServiceNow expects incoming data to look, and when they send data back to you, they need to send it in the way that HPSM expects it to look.

    So you' don't really need a sample of HPSM's SOAP request; you need an example of the expected ServiceNow SOAP Request, and that might be different depending on the specific instance of SNow you're communicating with.  So I'd start by asking the team that supports that SNow for a sample SOAP request

    Additionally, if you're unfamiliar with SOAP, I'd recommend getting a third-party tool like SOAP-UI (a free SOAP/REST/Testing software).  In SOAP UI, select File -> New SOAP Project and enter the URL of the Service Now endpoint where you'll be sending your data.  The system will use that endpoint to generate an XML document that should give some idea of what it will look like.  

    Additionally, sometimes it's easier to start with data you already understand.  So, in SOAP UI, create a new SOAP project and point it at your Service Manager instance (like http://<your server name>:13080/SM/7/IncidentManagement.wsdl)  SOAP UI will then load sample requests that look similar to what you're used to filling out in an HPSM Incident ticket.

  • First - let's be clear on what you're asking.  You're not asking for help with HPSM.  You're asking for help with Service Now.

    So you've got two systems - HPSM and SNow - and you want to get them to talk to each other.  You want to take the data that is in a ticket in HPSM and send that data via SOAP to SNow.  Service Now doesn't care what the data looks like in HPSM, just like HPSM doesn't care what the data looks like in SNow.  Your request from HPSM has to be sent in the way that ServiceNow expects incoming data to look, and when they send data back to you, they need to send it in the way that HPSM expects it to look.

    So you' don't really need a sample of HPSM's SOAP request; you need an example of the expected ServiceNow SOAP Request, and that might be different depending on the specific instance of SNow you're communicating with.  So I'd start by asking the team that supports that SNow for a sample SOAP request

    Additionally, if you're unfamiliar with SOAP, I'd recommend getting a third-party tool like SOAP-UI (a free SOAP/REST/Testing software).  In SOAP UI, select File -> New SOAP Project and enter the URL of the Service Now endpoint where you'll be sending your data.  The system will use that endpoint to generate an XML document that should give some idea of what it will look like.  

    Additionally, sometimes it's easier to start with data you already understand.  So, in SOAP UI, create a new SOAP project and point it at your Service Manager instance (like http://<your server name>:13080/SM/7/IncidentManagement.wsdl)  SOAP UI will then load sample requests that look similar to what you're used to filling out in an HPSM Incident ticket.

  • First - let's be clear on what you're asking.  You're not asking for help with HPSM.  You're asking for help with Service Now.

    So you've got two systems - HPSM and SNow - and you want to get them to talk to each other.  You want to take the data that is in a ticket in HPSM and send that data via SOAP to SNow.  Service Now doesn't care what the data looks like in HPSM, just like HPSM doesn't care what the data looks like in SNow.  Your request from HPSM has to be sent in the way that ServiceNow expects incoming data to look, and when they send data back to you, they need to send it in the way that HPSM expects it to look.

    So you' don't really need a sample of HPSM's SOAP request; you need an example of the expected ServiceNow SOAP Request, and that might be different depending on the specific instance of SNow you're communicating with.  So I'd start by asking the team that supports that SNow for a sample SOAP request

    Additionally, if you're unfamiliar with SOAP, I'd recommend getting a third-party tool like SOAP-UI (a free SOAP/REST/Testing software).  In SOAP UI, select File -> New SOAP Project and enter the URL of the Service Now endpoint where you'll be sending your data.  The system will use that endpoint to generate an XML document that should give some idea of what it will look like.  

    Additionally, sometimes it's easier to start with data you already understand.  So, in SOAP UI, create a new SOAP project and point it at your Service Manager instance (like http://<your server name>:13080/SM/7/IncidentManagement.wsdl)  SOAP UI will then load sample requests that look similar to what you're used to filling out in an HPSM Incident ticket.

  • This SOAP sample is not from an Out of Box system, so it won't be exactly what you need, but a SOAP request to create a ticket in HPSM will look something like this

    <soapenv:Envelope xmlns:soapenv="">schemas.xmlsoap.org/.../" xmlns:ns="">http://schemas.hp.com/SM/7" xmlns:com="">schemas.hp.com/.../Common" xmlns:xm="">www.w3.org/.../xmlmime">
       <soapenv:Header/>
       <soapenv:Body>
          <ns:CreateIncidentRequest attachmentInfo="?" attachmentData="?" ignoreEmptyElements="true" updateconstraint="-1">
             <ns:model>
                <ns:keys>
                   <ns:IncidentID></ns:IncidentID>
                </ns:keys>
                <ns:instance>
                   <ns:IncidentID type="String" mandatory="?" readonly="?"></ns:IncidentID>
                   <ns:Category type="String" mandatory="?" readonly="?">Incident</ns:Category>
                   <ns:Urgency type="String" mandatory="?" readonly="?">4</ns:Urgency>
                   <ns:PrimaryAssignmentGroup type="String" mandatory="?" readonly="?">SM Development and Support</ns:PrimaryAssignmentGroup>
                   <ns:ConfigurationItem type="String" mandatory="?" readonly="?">Unknown Device</ns:ConfigurationItem>
                   <ns:Description type="Array">
                         <ns:Description type="String" mandatory="?" readonly="?">this is a test line of description</ns:Description>
                   </ns:Description>
                   <ns:AssigneeName type="String" mandatory="?" readonly="?"></ns:AssigneeName>
                   <ns:JournalUpdates type="Array">
                         <ns:JournalUpdates type="String" mandatory="?" readonly="?"></ns:JournalUpdates>
                   </ns:JournalUpdates>
                   <ns:Symptom type="String" mandatory="?" readonly="?">This is the brief description</ns:Symptom>
                   <ns:Status type="String" mandatory="?" readonly="?"></ns:Status>
                   <ns:Area type="String" mandatory="?" readonly="?">Failure</ns:Area>
                   <ns:Subarea type="String" mandatory="?" readonly="?">Function or feature not working</ns:Subarea>
                   <ns:Impact type="String" mandatory="?" readonly="?">4</ns:Impact>
                   <ns:ContactName type="String" mandatory="?" readonly="?">Jennifer.Falcon</ns:ContactName>
                   <ns:Location type="String" mandatory="?" readonly="?"></ns:Location>
                   <ns:attachments>
                         <com:attachment xm:contentType="application/?" href="?" contentId="?" action="?" name="?" type="?" len="?" charset="?" upload.by="?" upload.date="?" attachmentType="?">cid:186512305782</com:attachment>
                   </ns:attachments>
                </ns:instance>
                <ns:messages>
                   <com:message type="String" mandatory="?" readonly="?" severity="?" module="?"></com:message>
                </ns:messages>
             </ns:model>
          </ns:CreateIncidentRequest>
       </soapenv:Body>
    </soapenv:Envelope>