• Post Reply Bookmark Topic Watch Topic
  • New Topic

Web Service

 
Vaibhav Naikwade
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All !
I have developed a web service using Eclipse IDE and trying to test it,its working fine with Eclipse Web Service Launcher....I have develop a client also its working fine when i use IP address of server I mean i am getting response string but when i use server name...It gives me Fault string saying...

<faultcode>soapenv:Server.userException</faultcode>
<faultstring>java.net.UnknownHostException: [myserver name] </faultstring>


Can anybody help me our to resolve this problem.
[ July 16, 2007: Message edited by: Vaibhav Naikwade ]
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vaibhav ( WebV ),

Please check with the Javaranch's naming policy and change your name.

I think the host name to IP resolution is not taking place properly.
[ July 16, 2007: Message edited by: Rahul Bhattacharjee ]
 
vikram karne
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vaibhav

Using a Fully qualified domian name in place of the ip address should not cause any problem.

see the specs to make sure that these mappings are supported or not depending on the SOAP engine you are using in your application.

Regards
Vikram K
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!