And what about exposing any JBI component as a web service by means of a 
ServiceMix binding component ?

Thank you for your help


"As Java implies platform independence, and
XML implies language independence, JXTA implies 
network independence."

B e r t r a n d   G o e t z m a n n
- - - - - - - - - - - - - - - - - - - - -
Sun Certified Developer for the Java 2 Platform
Sun Certified Enterprise Architect for J2EE Technology

<!-- O B J E C T  - E V E R Y W H E R E, sur Apache Cocoon -->
<site_web href=" www.object-everywhere.com "/>

LaSer-Symag
Tél. 04 92 91 34 00
www.symag.com


-----Message d'origine-----
De : Guillaume Nodet [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 24 octobre 2005 15:14
À : [email protected]
Objet : Re: [servicemix-user] POJO, WSDL and WebService

WSDL description of endpoints is not yet generalized in ServiceMix.
This is an ongoing work, and the main concerned components are pxe and jaxws 
for the moment.
For the other components, you have to provide the wsdl document yourself as it 
is not generated.

We are currently working on this, so if you have any need, this is the moment 
to say it :)

Cheers,
Guillaume Nodet

Goetzmann Bertrand wrote:

> To best understand ServiceMix in relation with the JBI specification, 
> I start a Spring JBI component with a Groovy component with the ID 
> "ServiceTest".
>
> I can get a ServiceEndpoint for this component by the code snippet 
> bellow :
>
> Component cmp = jbi.getComponent("ServiceTest"); PojoSupport ps = 
> (PojoSupport) jbi.getComponent("ServiceTest"); ServiceEndpoint se = 
> ps.getContext().getEndpoint(service,
> ps.getEndpoint());
>
> I want to get the WSDL description for this endpoint, but the 
> instruction :
>
> Document doc = cmp.getServiceDescription(se);
>
> returns the null reference !
>
> What I've missed ? Is there a way to get this information ?
>
>
> My final goal would be to expose a such component as a web service, so 
> any code client can invoke it localy or remotely. Is it possible with 
> one of the Binding Component supplied by Service Mix ? And also how 
> the WSDL description for the web service would be handled ?
>
> Thank you.
>
>
> /"As Java implies platform independence, and XML implies language 
> independence, JXTA implies network independence."/
>
> *B e r t r a n d   G o e t z m a n n*
> *- - - - - - - - - - - - - - - - - - - - -* Sun Certified Developer 
> for the Java 2 Platform Sun Certified Enterprise Architect for J2EE 
> Technology
>
> /<!-- O B J E C T  - E V E R Y W H E R E, sur Apache Cocoon// -->/ 
> <site_web href=" _www.object-everywhere.com_ 
> <file://www.object-everywhere.com> "/>
>
> *LaSer-Symag*
> Tél. 04 92 91 34 00
> _www.symag.com_ <file://www.symag.com>
>

Reply via email to