This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 6

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!