wood burning stoves 2.0*
The moose likes Web Services and the fly likes org.apache.axis2.description.ClientUtils inferOutTransport Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "org.apache.axis2.description.ClientUtils inferOutTransport " Watch "org.apache.axis2.description.ClientUtils inferOutTransport " New topic
Author

org.apache.axis2.description.ClientUtils inferOutTransport

K Srinivasan
Ranch Hand

Joined: Mar 08, 2010
Posts: 34
while hitting a webService i get the error:
E org.apache.axis2.description.ClientUtil inferOutTransport The system cannot infer the transport information from the URL

but the URL i am using is correct.
Any Ideas what the reason could be.

Thanks.
Naren Chivukula
Ranch Hand

Joined: Feb 03, 2004
Posts: 576

Hi Srinivasan,
Are you using SOAP1.2?

Can you post detailed problem description to understand your problem?

Go through this link to get better responses.


Cheers,
Naren
(OCEEJBD6, SCWCD5, SCDJWS, SCJP1.4 and Oracle SQL 1Z0-051)
K Srinivasan
Ranch Hand

Joined: Mar 08, 2010
Posts: 34
Hi Naren,
Yes, i am using SOAP 1.2 and Axis2 1.5.1
The call doesn't go out from the client . After i call the stub , i get this error.

What are the details, that you need , that could be of help ?

Thanks
Naren Chivukula
Ranch Hand

Joined: Feb 03, 2004
Posts: 576

1. Post detailed stack trace of the exception.
2. If possible, post your WSDL.
3. Have you tested your web service on the service side? Is it working for any other requests?
4. Have you tried testing your web service from SOAPUI?
5. Are you using same Axis2 API for your service and client?
K Srinivasan
Ranch Hand

Joined: Mar 08, 2010
Posts: 34
Naren Chivukula wrote:1. Post detailed stack trace of the exception.
2. If possible, post your WSDL.
3. Have you tested your web service on the service side? Is it working for any other requests?
4. Have you tried testing your web service from SOAPUI?
5. Are you using same Axis2 API for your service and client?


Hi,
THanks for your reply,
1. Theres nothing else in my logs (not sure if nothing is being logged into Axis2.log or there are not being made properly, i am looking into it as well)
2. Will not be able to post the wsdl
3. Ya, the web service works with SOAP UI and other applications.
5. Yes, the API is same.

K Srinivasan
Ranch Hand

Joined: Mar 08, 2010
Posts: 34
i added some system outs in the clientUtils class in axis2-kernel-1.5.jar
which shows that
the ac.getTransportOut(transport) returns null

ac.getTransportOut(transport) is in axis2-kernel-1.5.jar too
K Srinivasan
Ranch Hand

Joined: Mar 08, 2010
Posts: 34
a null pointer exception is being thrown at


in my stub
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: org.apache.axis2.description.ClientUtils inferOutTransport