Hi,

The generated stub uses the end point reference (URL) given in the WSDL.
Check whether it is the required one in the generated stub code.  The stub
uses that EPR when you create a stub instance. If it is not the correct one,
there is a stub class constructor which takes a given EPR.

Also if you are using a proxy to access outside Internet, you have to give
the proxy settings to the stub.
( 2. Proxy Authenticaion at Runtime. In client or stub in
http://wso2.org/library/161)

Upul


On 10/19/07, Nathan Hook <[EMAIL PROTECTED]> wrote:
>
>
> We're using axis2-1.3 and our generated stub is not connection to any
> remote services.  We are able to get our stub to connect to a local web
> service, but not a remote webservice.
>
> SoapUI is able to connect to the remote webservice using the exact same
> wsdl file.
>
> Is there a setting that we need to be aware of for our generated stub to
> get it to connect to a remote webservice?
>
> Here is the command we used to generate our stub:
>
> C:\>%AXIS2_HOME%\bin\WSDL2Java -uri .wsdl -p  -d adb -s
>
>
> We also created a generic commons httpclient and it connected to the
> remote webservice too.
>
> An friendly advice or direction is appreciated.
>
> Thank you for your time.
> _________________________________________________________________
> Boo!Scare away worms, viruses and so much more! Try Windows Live OneCare!
>
> http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to