Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting error while calling web service using VPN. Urgent!!

 
lakshmi desai
Greenhorn
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am calling a web service written in .NET from my java client. I have to access the web service through VPN.when I access the webservice through IE, it works fine and I can see the page.I am using cisco VPN client and when I connect to the VPN and run my client, it is giving me the below error:
Can somebody tell me what the problem is and what changes do i need to do? its urgent and I appreciate all the help.

Exception in thread "main" AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (404)Not Found
faultActor:
faultNode:
faultDetail:
{}:return code: 404
<html><head><title>Error</title></head><body>The system cannot find the file specified.
</body></html>
{http://xml.apache.org/axis/}HttpErrorCode:404

(404)Not Found
at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:218)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:1910)
at com.ess.vv.util.TestWeb.callUsingCustomEnvelope(TestWeb.java:153)
at com.ess.vv.util.TestWeb.main(TestWeb.java:57)
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13048
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when I access the webservice through IE, it works fine and I can see the page.I am using cisco VPN client and when I connect to the VPN and run my client, it is giving me the below error:


That 404 suggests to me that your client is not addressing the service properly. If this was my problem I would use TCPMON to see exactly what the client request looks like.

Bill
 
lakshmi desai
Greenhorn
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi william,

I have seen the SOAPRequest and it looks fine. The problem is that the web service that I am accessing is behind a firewall and that I need to connect to that using VPN connection. I connected to the VPN network and tried running the client. Is there a way to do this in a java client? Any inputs??

TIA
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic