Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Webservices with JBuilder

  Asked By: Rani    Date: Oct 11    Category: Java    Views: 1099

I m a new JBuilder 7.0 user .I got a wsdl from following
i add this wsdl in my project and generated wisard (wsdl to java in
jbuilder-->import wsdl wisard) this wisard have done all .it has
created a test class that to test the service when i run that test
class it gives exceptions and then i wrote a client for this it also
give me errors as follows .i think this is due to proxy .(i m behind
java.net.UnknownHostException: services.xmethods.net
at org.apache.axis.AxisFault.makeFault(AxisFault.java:115)
at org.apache.axis.transport.http.HTTPSender.invoke
at org.apache.axis.strategies.InvocationStrategy.visit
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:154)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:121)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:175)
at org.apache.axis.client.Call.invoke(Call.java:1780)
at org.apache.axis.client.Call.invoke(Call.java:1596)
at org.apache.axis.client.Call.invoke(Call.java:1515)
at org.apache.axis.client.Call.invoke(Call.java:1095)
at net.xmethods.www.CurrencyExchangeBindingStub.getRate
at net.xmethods.www.Client.main(Client.java:6)
Caused by: java.net.UnknownHostException: services.xmethods.net
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:143)
at java.net.Socket.connect(Socket.java:425)
at java.net.Socket.connect(Socket.java:375)
at java.net.Socket.<init>(Socket.java:290)
at java.net.Socket.<init>(Socket.java:118)
at org.apache.axis.transport.http.HTTPSender.invoke
... 10 more
Exception in thread "main"



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on Webservices with JBuilder Or get search suggestion and latest updates.