HP Service Manager Knowledge Base
Showing results for 
Search instead for 
Do you mean 

Workaround for using SoapUi and SM WSDL’s without need to have an Internet

by on ‎11-30-2012 10:32 AM


Workaround for using SoapUi and SM WSDL’s without need to have an Internet:




−     Save the WSDL and Common.XSD files locally for:

•      http://machinename:servletport/SM/7/IncidentManagement.wsdl)

•      http://machinename:servletport/SM/7/Common.xsd)

−     Save the XSD file for xmlmime locally(you can save it locally and then –rename it’s extension from xml –to xsd ) in same folder as above, downloading from:

•      http://www.w3.org/2005/05/xmlmime



−     Edit the Local WSDL and the parameter schemaLocation into this file as:


•      From: schemaLocation=“http://machinename:servletport/SM/7/Common.xsd”

•      To: schemaLocation=“Common.xsd”


Find the second usage of the parameter schemaLocation and correct it, so you to have at the end like that:


<xs:import namespace="http://www.w3.org/2005/05/xmlmime" schemaLocation="xmlmime.xsd"/>


<xs:import namespace="http://schemas.hp.com/SM/7/Common" schemaLocation="Common.xsd"/>





Edit the Common xsd XML documents changing the schema location for Common xsd and xmlmime xsd.

•      From: schemaLocation=“http://www.w3.org/2005/05/xmlmime

•      To:schemaLocation=“xmlmime.xsd”

•     Consume the local copy of the WSDL Open SoapUI and create a new Project, with





If working with IM wsdl, below is example of retrieving Incident, that has attachment on it.If you copy and paste the code – PLEASE check in advance if the ID you need, has attached file. Take one that has an attachment.



<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">



      <ns:RetrieveIncidentRequest attachmentInfo="true" attachmentData="true">