You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Guillaume Nodet <gn...@gmail.com> on 2006/08/22 16:24:56 UTC

Re: servicemix-bpe routing to non wsdl based endpoints

On 8/22/06, Roger Menday <r....@fz-juelich.de> wrote:
>
>
> Hi Guillaume,
>
> I am trying to follow your advice from the servicemix mailing list from
> April, regarding BPE sending of messages to non-wsdl endpoints.
>
> So, even if specify all the routing details in the sm: attributes of the
> bpel:invoke element, it still seems that I need the portType attribute,
> and from what I can tell from what BPE is telling me, I still need the
> wsdl file somewhere ...

True.
You need to write a wsdl for the target service and deploy it along the bpel
process, even if the target JBI endpoint does not expose any service.
This is needed for the bpel engine to work.
You can write a dummy PortType (not sure if you even need to define an
Operation).

>
> Thanks for any advice,
>
> Roger
>
>
> Guillaume Nodet wrote:
> > You can use something like the following
> >
> >     <invoke name="fault" partnerLink="LoanBrokerResponse"
> >               portType="tns:LoanBrokerAsyncCallback"
> >               operation="getLoanQuoteFaultCallback"
> >               inputVariable="fault"
> >               sm:mep="in-only"
> >               sm:service="urn:logicblaze:soa:loanbroker:LoanBrokerAsyncCallbackService" />
> >
> > Where sm prefix is mapped to "http://servicemix.apache.org/schemas/bpe/1.0".
> > This routes the jbi exchange to the service described by the
> > "LoanBrokerAsyncCallbackService" service name and
> > "urn:logicblaze:soa:loanbroker" namespace.  If your namespace looks
> > like "http://xxx", then the separator used should be "/".
> >
> > You can also specify the endpoint with sm:endpoint="xxx" attribute,
> > where the value of the attribute will be
> >    namespace sep serviceName sep endpoint
> >
> > The mapping is also described in
> > http://servicemix.org/servicemix-http#servicemix-http-wsa:To
> >
> > Cheers,
> > Guillaume Nodet
> >
> > On 4/20/06, Luan La <ll...@infocomp.com> wrote:
> >
> >> Hi,
> >>
> >> Just wondering if anyone knows how to route to non-wsdl based endpoints via
> >> BPEL (preferably using servicemix-bpe), without having to write the wsdl for
> >> it. An example is the trace component.
> >>
> >> I did eventually got this to work, but only after writing my own wsdl for
> >> the trace component.
> >>
> >> Thanks,
> >> Luan
> >>
> >>
> >>
> >
> >
>
>
>


-- 
Cheers,
Guillaume Nodet