• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
If somebody says you look familiar, tell them you are in porn. Or in these tiny ads:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic