Absent Member.. JasonCantrell Absent Member..
Absent Member..
283 views

[OO Tip] How to use Web Services Wizard with external schemaLocation references

Problem:

When trying to import a Web Services Description Language (WSDL) from an internal application errors may be encountered if the web definition contains import references to non-local third party schema. The errors will often contain references to www.w3.org documents; however this is a red herring.

Solution:

 

When examining a .wsdl file, examine the file contents for lines similar to the following:

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

Anywhere the schemaLocation references a non-local file, the URL will need to be altered to simply contain the file name, example:

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

NOTE: This does not apply to any www.w3.org references - leave those unchanged.

Then obtain a copy of the target file (in this example that would be the Common.xsd from http://HPLABSERV57.nscorp.lab7.hp.com:13201/SM/7/ ) and place it in the same directory as the WSDL Wizard and the source .wsdl being imported.

With those changes in place the WSDL Wizard should be able to successfully import your custom .wsdl file.

 

Direct link to the document:

http://support.openview.hp.com/selfsolve/document/KM1039004

HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Labels (2)
0 Likes
2 Replies
jadda Absent Member.
Absent Member.

Re: [OO Tip] How to use Web Services Wizard with external schemaLocation references

Hi ,

 

 I would like to integrate HPOO with ServiceNow using Webeservices . I am aware of HPSM-HPOO integration and performed many times.  Can you Please tell  me list of files that need to collected to WSDL folder (i.e . from which we try consume WSDL) using below URL 

 

https://tcsdemo1.service-now.com/incident.do?WSDL#!

 

In HPSM we collect (common.xsd and xmlmime ) files , What are the files that need to be coolect here ? And If I want to integrate HPOO with 3rd party application which supports Web services integration , What kind of  files I need to collect?  

 

 Please suggest me this , This has been a big problem for me since many days 

 

 

Tags (2)
0 Likes
Absent Member.. JasonCantrell Absent Member..
Absent Member..

Re: [OO Tip] How to use Web Services Wizard with external schemaLocation references

Hello Jadda,

 

I am researching this for you and will post a reply shortly.

 

Kind Regards,

Jason

HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.