Thanks Paul, that's great! I checked my wsdl and it has the TCP
trasnport...thanks for the hint.
You see I'm using my service consumer is using a service stub that was
created using WSDL2Java.
Is there a way I can instruct the stub to use the TCP port to communicate
with the service? When I do something like
MyStub stub = new MyStub("tcp://localhost:6060/axis2/services/MyService");
//I <file://i/> copied this from the wsdl
stub.operation();
throws an exception: AxisFault: The service cannot be found for the endpoint
reference.
Can I use the same stub to access the service through tcp transport?
Thanks
On Feb 7, 2008 12:37 PM, Paul Fremantle <[EMAIL PROTECTED]> wrote:
> You can't get the WSDL via TCP. The WSDL should be available via HTTP.
> If the tcp transport is correctly working, then there should be a tcp
> binding in the WSDL.
>
> The ability to get WSDL via ?wsdl is an HTTP feature.
>
> Paul
>
> On Feb 7, 2008 8:28 PM, h b <[EMAIL PROTECTED]> wrote:
> > Hello is it possible to generate a service stub when the service is
> using a
> > TCP transport? I don't seem to be able to do: WSDL2JAVA -uri
> > tcp://localhost:6060/axis2/services/myservice?wsdl.
> >
> > Thanks
>
>
>
> --
> Paul Fremantle
> Co-Founder and VP of Technical Sales, WSO2
> OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> [EMAIL PROTECTED]
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>