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 ...
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 <[EMAIL PROTECTED]> 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