Interesting catch.  I do have a soap:binding tag, but it doesn't have a
"style" attribute:

<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>

Maybe that could be it?
 

-----Original Message-----
From: Glen Mazza [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 09, 2007 8:54 PM
To: [email protected]
Subject: Re: "Cannot Infer Transport" Error

Just a guess, but in the below tutorial[1], do a search on the word
"transport" within listing #21 (on page 4.)  This is the code I see
there:

<wsdl:binding name="ClassifiedServiceBinding" 
                         type="tns:ClassifiedServicePortType">

  <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; 
                                                style="document" />

...

Do you have something like this in your wsdl?

Glen

[1]
http://www-128.ibm.com/developerworks/edu/ws-dw-ws-understand-web-servic
es2.html

Am Freitag, den 09.03.2007, 10:22 -0600 schrieb Asleson, Ryan:
>  
> Hello,
>  
> I'm attempting to use Apache Axis2 1.1.1 to create a web service 
> client for accessing remote web services. I am currently using 
> WebLogic 8.1's built in web service client, but I would like to 
> migrate away from this to Axis2.
>  
> I used the WSDL2Java tool from the command line to generate the client

> stubs from the WSDL.  So far, so good.  I know the WSDL is valid 
> because it's the same one I currently use in production using 
> WebLogic's web service client.
>  
> When I try to use the Axis2 generated stub to access the web service, 
> it fails with this message:
>  
> org.apache.axis2.AxisFault: No address information in EPR, cannot 
> infer transport
>  
> I did some web searching and EPR seems to to with endpoints, but I 
> don't know where to go from here.  According to the examples I should 
> just be able to generate the client stub and go from there, but it's 
> failing with this error.  Like I said, I know the WSDL is valid 
> because I currently use it in production.
>  
> Can anybody shed some light on what's going wrong here?
>  
> Thank you!!
> 
> 
> This e-mail message is being sent solely for use by the intended
> recipient(s) and may contain confidential information. Any 
> unauthorized review, use, disclosure or distribution is prohibited. If

> you are not the intended recipient, please contact the sender by phone

> or reply by e-mail, delete the original message and destroy all 
> copies. Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


This e-mail message is being sent solely for use by the intended recipient(s) 
and may contain confidential information.  Any unauthorized review, use, 
disclosure or distribution is prohibited.  If you are not the intended 
recipient, please contact the sender by phone or reply by e-mail, delete the 
original message and destroy all copies. Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to