Yes, i think this is the best solution, and wirte a little client (RPCServiceClent) is not very complicated. Moreover, you can write a configurator to manage ip and port of your axis2 standalone. You can also add SSL with certificate if you want to give access only to your tomcat's webapp...
2008/6/16 Paul Fremantle <[EMAIL PROTECTED]>: > Lars > > What I mean is that you write a standard Axis2 client that is > expecting to communicate via SOAP/HTTP, using the URL > http://localhost:8595/...... then call it from within Tomcat. > > That's all! > > Paul > > On Mon, Jun 16, 2008 at 2:55 PM, Lars Ericsson <[EMAIL PROTECTED]> > wrote: > > Paul! > > > > > > > > I forget to say, that i have axis-plug-in in tomcat too!!? > > > > and i want to call axis-server from tomcat-axis-plug-in..... > > > > > > > > :) > > > > > > > > R. > > > > Lars > > > > ----- Original Message ---- > > From: Paul Fremantle <[EMAIL PROTECTED]> > > To: [email protected] > > Sent: Monday, June 16, 2008 3:50:36 PM > > Subject: Re: How call axis from tomcat > > > > If you have 2 JVMs you can *NOT* use the local option - you should use > > the standard network model. It will still be very fast because you are > > calling on localhost. > > > > Paul > > > > On Mon, Jun 16, 2008 at 2:31 PM, Lars Ericsson <[EMAIL PROTECTED]> > > wrote: > >> Thanks Paul! > >> > >> I'm more intersting on the secound option, could you explaine moer. > >> and i have two jwm.... > >> R > >> Lars > >> ----- Original Message ---- > >> From: Paul Fremantle <[EMAIL PROTECTED]> > >> To: [email protected] > >> Sent: Monday, June 16, 2008 3:26:06 PM > >> Subject: Re: How call axis from tomcat > >> > >> Lars > >> > >> You have two options. > >> > >> 1) You can just create a standard client for Axis2 and call that from > >> your Tomcat servlet. The servlet will open a socket to 8595 and call > >> Axis2. > >> > >> 2) Are the two systems running in the same process/JVM? If so there is > >> a local transport you can use to call directly without going through > >> the network. > >> > >> Paul > >> > >> On Mon, Jun 16, 2008 at 2:20 PM, Lars Ericsson <[EMAIL PROTECTED]> > >> wrote: > >>> Hi! > >>> > >>> My axis2, stand-alone, running on port 8595 and my tomcat is runinng on > >>> port > >>> 8080. > >>> > >>> For some resones i want to call myserver on axis-on port 8595 from > tomcat > >>> 8080. > >>> > >>> How is it possible? is there any documentation about this or? > >>> > >>> Thanks > >>> Lars > >>> > >> > >> > >> > >> -- > >> Paul Fremantle > >> Co-Founder and CTO, WSO2 > >> Apache Synapse PMC Chair > >> 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] > >> > >> > >> > > > > > > > > -- > > Paul Fremantle > > Co-Founder and CTO, WSO2 > > Apache Synapse PMC Chair > > 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] > > > > > > > > > > -- > Paul Fremantle > Co-Founder and CTO, WSO2 > Apache Synapse PMC Chair > 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] > >
