my dog learned polymorphism
The moose likes Web Services and the fly likes Getting error while calling web service using VPN. Urgent!! Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Getting error while calling web service using VPN. Urgent!!" Watch "Getting error while calling web service using VPN. Urgent!!" New topic
Author

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

lakshmi desai
Greenhorn

Joined: Feb 28, 2008
Posts: 16
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

Joined: Mar 22, 2000
Posts: 12327
    
    1
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


Java Resources at www.wbrogden.com
lakshmi desai
Greenhorn

Joined: Feb 28, 2008
Posts: 16
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Getting error while calling web service using VPN. Urgent!!
 
Similar Threads
HttpErrorCode : 500
How to resolve Axis Fault Error?
Problem with Axis
Http 404 error while access through client application - web service axis.
Apache axis