Forums Register Login

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

+Pie Number of slices to send: Send
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)
+Pie Number of slices to send: Send
 

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
+Pie Number of slices to send: Send
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
We can walk to school together. And we can both read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 6006 times.
Similar Threads
Http 404 error while access through client application - web service axis.
Problem with Axis
HttpErrorCode : 500
Apache axis
How to resolve Axis Fault Error?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 06:15:43.