Highlighted
Absent Member.
Absent Member.
10307 views

How can you change the host/address in the wsdl?


By default, the gsoap/sbmappservices72.wsdl returns "http://localhost:80/gsoap/gsoap_ssl.d..." when you hit it remotely. This then blows up remote clients, as they try to use localhost instead of the actual hostname of the SBM server.

How does this get configured?

Thanks,

John
Tags (3)
0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.


John,

I'm assuming you're pulling the wsdl into soap ui or visual studio or something?

Most tools let you adjust the url after you import it but if not try saving the wsdl locally first. Edit it in notepad or something and at the very bottom of the code look for the url that says localhost and change it to be your sbm server. Now import that wsdl into the tool you're working with.
0 Likes
Highlighted
Absent Member.
Absent Member.


It's probably easier to change the client, you're correct. It just seems like odd default behavior.

Doing this in Suds (python), I can simply set:

client.set_options(location='http://sbappld29c01b/gsoap/gsoap_ssl....')

Thanks again.
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.