Forum Discussion

stollaire's avatar
stollaire
New Contributor
10 years ago

HP SM Local WSDL Consumption

Greetings, gurus!

 

I am attempting to load an HP Service Manager WDSL locally, as I don't yet have an internet connection to the ticketing system.

 

I've attempted the following:

 

http://h30499.www3.hp.com/t5/tkb/articleprintpage/tkb-id/hp_service_mgr_tkb/article-id/14

 

However, no matter what WSDL I use, I get errors when loading the WSDLs locally.

 

Example:

 

"StringType@common.xsd Not Found"

 

etc.

 

However, this IS defined in the local file, common.xsd I am using:

 

- <xs:complexType name="StringType">
- <xs:simpleContent>
- <xs:extension base="xs:string">
  <xs:attribute fixed="String" name="type" type="xs:string" use="required" />  
  <xs:attribute name="mandatory" type="xs:boolean" use="optional" />  
  <xs:attribute name="readonly" type="xs:boolean" use="optional" />  
  </xs:extension>
  </xs:simpleContent>
  </xs:complexType>

 

Any assistance would be appreciated!

 

~ Mike

 

  • nmrao's avatar
    nmrao
    Champion Level 3
    Have you tried placing both xsd and wsdl file in the same directory?
    • stollaire's avatar
      stollaire
      New Contributor

      They are in the same directory, and on my Linux workstation locally.

       

      The files themselves, and the directory PATH they are in have been chmod-ed to 777 as well.

      • nmrao's avatar
        nmrao
        Champion Level 3
        You may check or post first few lines from wsdl which show how the xsd is file imported in the wsdl? To see whether it is having relative path or absolute path of xsd file.