Your SAS programs, embedded in web apps and elsewhere

The wrong IP address in WSDL when making a web service by web service maker

Reply
New Contributor
Posts: 4

The wrong IP address in WSDL when making a web service by web service maker

I was following the http://support.sas.com/resources/papers/proceedings10/015-2010.pdf to deploy a stored process as generated web services. The WSDL was generated as paper said, but it also put a ip as soap adress in the WSDL as below.







Unfortunately our server have multiple network adaptors, and the IP which picked by web service maker in WSDL isn't the correct one which opened for client access. Is there any way to change it to domain name?
SAS Super FREQ
Posts: 304

Re: The wrong IP address in WSDL when making a web service by web service maker

I asked around, and this is the answer I got:

Set this property in the Axis2 configuration file:

[pre]myhost.com[/pre]

It's located in sas.wip.services.ear/sas.biws.war/WEB-INF/conf/axis2.xml

It will use the specified DNS name instead of the IP address.



Vince DelGobbo
SAS R&D
New Contributor
Posts: 4

Re: The wrong IP address in WSDL when making a web service by web service maker

It works and Thanks!

I also got a sas notes about this issue. Just share as below.
http://support.sas.com/kb/35/885.html
Occasional Contributor
Posts: 9

The wrong IP address in WSDL when making a web service by web service maker

I had the same issue, and just found this topic.

Davel, when you fixed this issue, did you just update the configuration file or went through all the steps in "http://support.sas.com/kb/35/885.html" (redeploy 4 ear files)?

thanks, William

Ask a Question
Discussion stats
  • 3 replies
  • 1013 views
  • 0 likes
  • 3 in conversation