axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Elenius <danel...@student.liu.se>
Subject RE: setEngineConfiguration, and the JXTA transport
Date Tue, 18 Mar 2003 08:43:43 GMT
I would be glad to help, but... which experience do you mean? The whole
"making a new transport plug-in for Axis" or "making a new
EngineConfigurationFactory"? And could you give me a pointer to where in
the wiki or docs this would go please?

Can I also take the opportunity to make a little plug for this JXTA-SOAP
project (soap.jxta.org). It's a JXTA transport for Axis. With it,
servers should be able to deploy their services on the normal HTTP
transport and JXTA simultaneously. My new code shows how to embed WSDL
into JXTA's module specification advertisements, and adds WSDL support
to JXTA-SOAP (among other things).

If anyone is interested, please subscribe to dev@soap.jxta.org 
(http://soap.jxta.org/servlets/ProjectMailingListList)
and drop a not there.

Regards,
/Daniel


On Tue, 2003-03-18 at 01:48, Davanum Srinivas wrote:
> Daniel,
> 
> A favor....Can you please document your experience either on Wiki
> (http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages) or submit patches to
existing
> documentation.
> 
> Thanks,
> dims
> 
> --- Daniel Elenius <danel698@student.liu.se> wrote:
> > Thanks a lot!
> > 
> > I did look at the javadoc for that method but I still don't understand
> > how it's done. Maybe because I know too little about classloaders etc...
> > 
> > But anyway, I got it to work using AxisProperties.setProperty()
> > 
> > /Daniel
> > 
> > 
> > On Mon, 2003-03-17 at 23:38, Douglas Bitting wrote:
> > > See the Javadocs for
> > org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(java.lang.Object).

> > Note, you can also use the
> > > following in place of the discovery mechanism:
> > > 
> > > AxisProperties.setProperty(EngineConfigurationFactory.SYSTEM_PROPERTY_NAME,...);
> > > 
> > > But, the discovery mechanism is perfered.
> > > 
> > > Hope this helps,
> > > --Doug
> > > 
> > > -----Original Message-----
> > > From: Daniel Elenius [mailto:danel698@student.liu.se]
> > > Sent: Monday, March 17, 2003 8:32 AM
> > > To: axis-dev@ws.apache.org
> > > Subject: Re: setEngineConfiguration
> > > 
> > > 
> > > I'm working on the JXTA transport for Axis (called JXTA-SOAP, see
> > > soap.jxta.org). It needs to provide its own config with its JXTA
> > > transport bindings, but I also want to use WSDL data to use the
> > > pre-filled createCall() things.
> > > 
> > > /daniel
> > > 
> > > On Mon, 2003-03-17 at 17:19, Davanum Srinivas wrote:
> > > > What's the actual problem? (for which you need to call setEngineConfiguration)
> > > > 
> > > > Thanks,
> > > > dims
> > > > --- Daniel Elenius <danel698@student.liu.se> wrote:
> > > > > In org.apache.axis.client.Service, there's a method called
> > > > > setEngineConfiguration(). I need something like this, but the problem,
> > > > > as pointed out in the comments to the method, is that the engine
> > > > > configuration is already set by all the constructors. How can I get
> > > > > around this problem without adding more constructors with an extra
> > > > > config parameter? Is there a solution planned for this?
> > > > > 
> > > > > /Daniel
> > > > > 
> > > > > 
> > > > > /**
> > > > >  * Set this Service's engine configuration.
> > > > >  *
> > > > >  * Note that since all of the constructors create the AxisClient
right
> > > > >  * now, this is basically a no-op.  Putting it in now so that we
can
> > > > > make
> > > > >  * lazy engine instantiation work, and not have to duplicate every
> > > > > single
> > > > >  * Service constructor with a EngineConfiguration argument.
> > > > >  *
> > > > >  * @param config the EngineConfiguration we want to use.
> > > > >  */
> > > > >  public void setEngineConfiguration(EngineConfiguration config) {
> > > > >      this.config = config;
> > > > >  }
> > > > > 
> > > > > 
> > > > > -- 
> > > > > Daniel Elenius <danel698@student.liu.se>
> > > > > 
> > > > 
> > > > 
> > > > =====
> > > > Davanum Srinivas - http://webservices.apache.org/~dims/
> > > > 
> > > > __________________________________________________
> > > > Do you Yahoo!?
> > > > Yahoo! Web Hosting - establish your business online
> > > > http://webhosting.yahoo.com
> > -- 
> > Daniel Elenius <danel698@student.liu.se>
> > 
> 
> 
> =====
> Davanum Srinivas - http://webservices.apache.org/~dims/
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
> http://platinum.yahoo.com
-- 
Daniel Elenius <danel698@student.liu.se>


Mime
View raw message