• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Web Service

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
mooooooo ..... tiny ad ....
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic