You do the right thing it seems, but you have a problem of mismatch between the info of the xbean.xml and your request. In the xml, the service is a QName, which means there is a prefix mapped to a URI and a name. So try with the following:
<http:endpoint xmlns:tns="http://xmlns.oracle.com" service="tns:NotifConsumer" endpoint="NotifConsumer" .. /> and in the request: <add:Address>endpoint:http://xmlns.oracle.com/NotifConsumer/NotifConsumer</add:Address> On Mon, Apr 28, 2008 at 11:27 AM, yvdl <[EMAIL PROTECTED]> wrote: > > Guillaume, > > It is still not clear to me why it does not work > > I use the following subscription request > > > <soapenv:Envelope > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:b="http://docs.oasis-open.org/wsn/b-2" > xmlns:add="http://www.w3.org/2005/08/addressing"> > <soapenv:Header/> > <soapenv:Body> > <b:Subscribe> > <b:ConsumerReference> > > > <add:Address>endpoint=http://xmlns.oracle.com/NotifConsumer/NotifConsumer</add:Address> > > </b:ConsumerReference> > <b:Filter> > <b:TopicExpression > Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple"> > myTopic > </b:TopicExpression> > </b:Filter> > </b:Subscribe> > </soapenv:Body> > </soapenv:Envelope> > > and the following xbean.xml file > > <http:endpoint service="http://xmlns.oracle.com/NotifConsumer/NotifConsumer" > > endpoint="http://xmlns.oracle.com/NotifConsumer/NotifConsumer" > > role="provider" > > locationURI="http://sany.spacebel.be/orabpel/lbn/NotifConsumer/1.0" > soap="true" > soapVersion="1.1" > soapAction="Notify" > > > wsdlResource="http://sany.spacebel.be/orabpel/lbn/NotifConsumer/1.0/NotifConsumer?wsdl"/> > > but the notification message is forwarded by thje SMIX broker without the > SOAPACTION filed to xmlns.oracle.com and not to sany.spacebel.be. > > Can you tell me what is wrong in my setup? > > thanks > > YVDL > > > > gnodet wrote: > > > > Good. Then try the address field uri to the value gave you and it > > should work even better: > > service:http://xmlns.oracle.com/NotifConsumer/NotifConsumer > > > > > > -- > View this message in context: > http://www.nabble.com/SM-WSN2005%3A-Broker-does-not-set-SOAPAction-field-value-tp16583522p16935308.html > > > Sent from the ServiceMix - User mailing list archive at Nabble.com. > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/
