You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Søren Dalby Larsen <sl...@saxotech.com> on 2006/11/01 10:30:16 UTC
Message description
Hi.
Where do I define the abstract messages that my SE can handle? Using the
maven SE archetype, it looks like messages are defined with SU's, but
how?
/Søren
Re: Message description
Posted by Søren Dalby Larsen <sl...@saxotech.com>.
Actually I'm trying to build my own SE from the maven tooling skeleton.
Then add one or more SU's to it - e.g. an HTTP provider, but get kind of
lost when I'm to describe the interface.
What I try to accomplish is: Building an SE (including at least one SU
packaged in a SA), describe it's interface and deploy it in SM.
Getting to it from e.g. SOAP would be next step.
/Søren
On Thu, 2006-11-02 at 14:47 +0100, Guillaume Nodet wrote:
> It depends on each component.
> The servicemix-jsr181 can generate one,
> servicemix-bpe will use the one from the bpel process,
> others need to be given the wsdl on the endpoint, but
> all components do not support that yet.
>
> Which component are you looking at ?
>
> On 11/2/06, Søren Dalby Larsen <sl...@saxotech.com> wrote:
> > Yeah, but what about non-jsr181 SU's? If they're not describing
> > endpoints in wsdl, then how are they doing it? Generating it from
> > something else? I seem to be missing the obvious here.
> >
> > /Søren
> >
> > On Thu, 2006-11-02 at 11:56 +0100, Guillaume Nodet wrote:
> > > Take a look at the wsdl-first example in servicemix distribution.
> > > The jsr181 SU uses an existing wsdl file for the endpoint description.
> > >
> > > On 11/2/06, Søren Dalby Larsen <sl...@saxotech.com> wrote:
> > > > Do I reference the wsdl file in the SU's xbean.xml file? I can see that
> > > > i then shows up in the generated jbi.xml file, but I'm unsure how to do
> > > > it correctly.
> > > >
> > > > I place the wsdl file in the src/main/resources directory. Could someone
> > > > provide a fictious example xbean.xml referencing a wsdl file?
> > > >
> > > > TIA
> > > >
> > > > /Søren
> > > >
> > > >
> > > >
> > > > On Wed, 2006-11-01 at 14:57 +0100, Guillaume Nodet wrote:
> > > > > The WSDL document describing an endpoint must be
> > > > > returned by the component in the getServiceDescription
> > > > > method [1].
> > > > > Using servicemix-common, the Endpoint should return
> > > > > a DOM document in the getDescription() method.
> > > > >
> > > > > [1] http://incubator.apache.org/servicemix/dist/servicemix-3.0-incubating/site/servicemix-jbi/apidocs/javax/jbi/component/Component.html#getServiceDescription(javax.jbi.servicedesc.ServiceEndpoint)
> > > > >
> > > > > On 11/1/06, Søren Dalby Larsen <sl...@saxotech.com> wrote:
> > > > > > Hi.
> > > > > >
> > > > > > Where do I define the abstract messages that my SE can handle? Using the
> > > > > > maven SE archetype, it looks like messages are defined with SU's, but
> > > > > > how?
> > > > > >
> > > > > > /Søren
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
>
Re: Message description
Posted by Guillaume Nodet <gn...@gmail.com>.
It depends on each component.
The servicemix-jsr181 can generate one,
servicemix-bpe will use the one from the bpel process,
others need to be given the wsdl on the endpoint, but
all components do not support that yet.
Which component are you looking at ?
On 11/2/06, Søren Dalby Larsen <sl...@saxotech.com> wrote:
> Yeah, but what about non-jsr181 SU's? If they're not describing
> endpoints in wsdl, then how are they doing it? Generating it from
> something else? I seem to be missing the obvious here.
>
> /Søren
>
> On Thu, 2006-11-02 at 11:56 +0100, Guillaume Nodet wrote:
> > Take a look at the wsdl-first example in servicemix distribution.
> > The jsr181 SU uses an existing wsdl file for the endpoint description.
> >
> > On 11/2/06, Søren Dalby Larsen <sl...@saxotech.com> wrote:
> > > Do I reference the wsdl file in the SU's xbean.xml file? I can see that
> > > i then shows up in the generated jbi.xml file, but I'm unsure how to do
> > > it correctly.
> > >
> > > I place the wsdl file in the src/main/resources directory. Could someone
> > > provide a fictious example xbean.xml referencing a wsdl file?
> > >
> > > TIA
> > >
> > > /Søren
> > >
> > >
> > >
> > > On Wed, 2006-11-01 at 14:57 +0100, Guillaume Nodet wrote:
> > > > The WSDL document describing an endpoint must be
> > > > returned by the component in the getServiceDescription
> > > > method [1].
> > > > Using servicemix-common, the Endpoint should return
> > > > a DOM document in the getDescription() method.
> > > >
> > > > [1] http://incubator.apache.org/servicemix/dist/servicemix-3.0-incubating/site/servicemix-jbi/apidocs/javax/jbi/component/Component.html#getServiceDescription(javax.jbi.servicedesc.ServiceEndpoint)
> > > >
> > > > On 11/1/06, Søren Dalby Larsen <sl...@saxotech.com> wrote:
> > > > > Hi.
> > > > >
> > > > > Where do I define the abstract messages that my SE can handle? Using the
> > > > > maven SE archetype, it looks like messages are defined with SU's, but
> > > > > how?
> > > > >
> > > > > /Søren
> > > > >
> > > >
> > > >
> > >
> >
> >
>
--
Cheers,
Guillaume Nodet
Re: Message description
Posted by Søren Dalby Larsen <sl...@saxotech.com>.
Yeah, but what about non-jsr181 SU's? If they're not describing
endpoints in wsdl, then how are they doing it? Generating it from
something else? I seem to be missing the obvious here.
/Søren
On Thu, 2006-11-02 at 11:56 +0100, Guillaume Nodet wrote:
> Take a look at the wsdl-first example in servicemix distribution.
> The jsr181 SU uses an existing wsdl file for the endpoint description.
>
> On 11/2/06, Søren Dalby Larsen <sl...@saxotech.com> wrote:
> > Do I reference the wsdl file in the SU's xbean.xml file? I can see that
> > i then shows up in the generated jbi.xml file, but I'm unsure how to do
> > it correctly.
> >
> > I place the wsdl file in the src/main/resources directory. Could someone
> > provide a fictious example xbean.xml referencing a wsdl file?
> >
> > TIA
> >
> > /Søren
> >
> >
> >
> > On Wed, 2006-11-01 at 14:57 +0100, Guillaume Nodet wrote:
> > > The WSDL document describing an endpoint must be
> > > returned by the component in the getServiceDescription
> > > method [1].
> > > Using servicemix-common, the Endpoint should return
> > > a DOM document in the getDescription() method.
> > >
> > > [1] http://incubator.apache.org/servicemix/dist/servicemix-3.0-incubating/site/servicemix-jbi/apidocs/javax/jbi/component/Component.html#getServiceDescription(javax.jbi.servicedesc.ServiceEndpoint)
> > >
> > > On 11/1/06, Søren Dalby Larsen <sl...@saxotech.com> wrote:
> > > > Hi.
> > > >
> > > > Where do I define the abstract messages that my SE can handle? Using the
> > > > maven SE archetype, it looks like messages are defined with SU's, but
> > > > how?
> > > >
> > > > /Søren
> > > >
> > >
> > >
> >
>
>
Re: Message description
Posted by Guillaume Nodet <gn...@gmail.com>.
Take a look at the wsdl-first example in servicemix distribution.
The jsr181 SU uses an existing wsdl file for the endpoint description.
On 11/2/06, Søren Dalby Larsen <sl...@saxotech.com> wrote:
> Do I reference the wsdl file in the SU's xbean.xml file? I can see that
> i then shows up in the generated jbi.xml file, but I'm unsure how to do
> it correctly.
>
> I place the wsdl file in the src/main/resources directory. Could someone
> provide a fictious example xbean.xml referencing a wsdl file?
>
> TIA
>
> /Søren
>
>
>
> On Wed, 2006-11-01 at 14:57 +0100, Guillaume Nodet wrote:
> > The WSDL document describing an endpoint must be
> > returned by the component in the getServiceDescription
> > method [1].
> > Using servicemix-common, the Endpoint should return
> > a DOM document in the getDescription() method.
> >
> > [1] http://incubator.apache.org/servicemix/dist/servicemix-3.0-incubating/site/servicemix-jbi/apidocs/javax/jbi/component/Component.html#getServiceDescription(javax.jbi.servicedesc.ServiceEndpoint)
> >
> > On 11/1/06, Søren Dalby Larsen <sl...@saxotech.com> wrote:
> > > Hi.
> > >
> > > Where do I define the abstract messages that my SE can handle? Using the
> > > maven SE archetype, it looks like messages are defined with SU's, but
> > > how?
> > >
> > > /Søren
> > >
> >
> >
>
--
Cheers,
Guillaume Nodet
Re: Message description
Posted by Søren Dalby Larsen <sl...@saxotech.com>.
Do I reference the wsdl file in the SU's xbean.xml file? I can see that
i then shows up in the generated jbi.xml file, but I'm unsure how to do
it correctly.
I place the wsdl file in the src/main/resources directory. Could someone
provide a fictious example xbean.xml referencing a wsdl file?
TIA
/Søren
On Wed, 2006-11-01 at 14:57 +0100, Guillaume Nodet wrote:
> The WSDL document describing an endpoint must be
> returned by the component in the getServiceDescription
> method [1].
> Using servicemix-common, the Endpoint should return
> a DOM document in the getDescription() method.
>
> [1] http://incubator.apache.org/servicemix/dist/servicemix-3.0-incubating/site/servicemix-jbi/apidocs/javax/jbi/component/Component.html#getServiceDescription(javax.jbi.servicedesc.ServiceEndpoint)
>
> On 11/1/06, Søren Dalby Larsen <sl...@saxotech.com> wrote:
> > Hi.
> >
> > Where do I define the abstract messages that my SE can handle? Using the
> > maven SE archetype, it looks like messages are defined with SU's, but
> > how?
> >
> > /Søren
> >
>
>
Re: Message description
Posted by Guillaume Nodet <gn...@gmail.com>.
The WSDL document describing an endpoint must be
returned by the component in the getServiceDescription
method [1].
Using servicemix-common, the Endpoint should return
a DOM document in the getDescription() method.
[1] http://incubator.apache.org/servicemix/dist/servicemix-3.0-incubating/site/servicemix-jbi/apidocs/javax/jbi/component/Component.html#getServiceDescription(javax.jbi.servicedesc.ServiceEndpoint)
On 11/1/06, Søren Dalby Larsen <sl...@saxotech.com> wrote:
> Hi.
>
> Where do I define the abstract messages that my SE can handle? Using the
> maven SE archetype, it looks like messages are defined with SU's, but
> how?
>
> /Søren
>
--
Cheers,
Guillaume Nodet