axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanoran Triamesh" <sanoran.triam...@gmail.com>
Subject Re: Invoking AXIS over Sockets
Date Mon, 04 Jun 2007 23:53:45 GMT
Got it working, so I answer my own questions.

The following changes made the TCPClient<>MyService example work. Here are
all the steps...

1) Builld the 'userguide' running ant and take the 'MyService.aar' and put
it in the services directory.
2) Find the 'TCPClient.java' example code and change the EPR from port 8080
to 6060 (since that is the default configuration in axis2.xml.
3) Edit the configuration file (axis2.xml) by uncommenting tcp receiver and
sender sections.
4) In TCPClient.java, add
      options.setUseSeparateListener(*false*);
    (not sure if that is default).
5) Add the addressing?.mar module to your client class path (just treat it
like a jar file).

Thanks
Sanoran







On 6/4/07, Sanoran Triamesh <sanoran.triamesh@gmail.com> wrote:
>
> hi,
>   I also want to use tcp transport. I followed the instructions as much as
> possible, and get the following error:
> *
>
> com.ctc.wstx.exc.WstxEOFException
> *: Unexpected EOF in prolog
> There are some details mentioned regarding 'how' the server is started and
> how some configurations may be ignored if the server is started manually. My
> server is running as a 'servlet' in tomcat ( axis2.war).
>   I would really appreciate if I could get the tcp sample to work.
>
> Thanks
> Sanoran
>
>
>
> On 5/31/07, Samisa Abeysinghe <samisa@wso2.com> wrote:
> >
> > vinay@rageframeworks.com wrote:
> >
> > >Hi
> > >I have AXIS over http but the client has requirement of using web
> > service over TCP/IP for performance point of view.
> > >What changes do I need to make call over TCP/IP ?
> > >Is there and example or tutorial to describe the same.
> > >
> > >
> > Axis2 has TCP support. http://ws.apache.org/axis2/1_2/tcp-transport.html
> >
> > Samisa...
> >
> > >Thanks.
> > >Vinay
> > >
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > >For additional commands, e-mail: axis-user-help@ws.apache.org
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>

Mime
View raw message