File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Error in acessing web service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Error in acessing web service" Watch "Error in acessing web service" New topic

Error in acessing web service

jim jjoh

Joined: May 02, 2011
Posts: 7

I am accessing a web service.
The only thing expose to me is WSDL.
I am using wsdl2java of axis2-1.5.6 for conversion.
My Client code is as follows

***Stub stub=new ***Stub ();
**request req =new **request();
stub.methodCall(req );

I am getting a run time exception as follows.
Exception in thread "main" org.apache.axis2.AxisFault:
The system cannot infer the transport information from the https1//****:portNum/*/*/*.asmx URL.

Can anybody suggest the reason for this.

I agree. Here's the link:
subject: Error in acessing web service
It's not a secret anymore!