You should be able to set that on the http endpoint. See http://servicemix.apache.org/servicemix-http.html#servicemix-http-Providerendpoint , there is a soapAction attribute that you should be able to set to "Notify".
On Wed, Apr 9, 2008 at 11:59 AM, yvdl <[EMAIL PROTECTED]> wrote: > > Hi > > I'm using the Servicemix WSN2005. > In my configuration I use the SM-WSN2005 Notification broker for filtering > and dispatching notifications to some subscribers. > One of my subscriber is a BPEL process (hosted by Oracle BPEL Engine). > When receiving a notification from one producer, and if the notification > has > to be forwarded to this subscriber, the HTTP message sent by the broker is > the following. > > Using TCPDUMP I see the following message sent by the Servicemix Broker: > > POST /orabpel/lbn/NotifConsumer/1.0 HTTP/1.0 > Content-Type: text/xml;charset=UTF-8 > Content-Length: 533 > User-Agent: Jakarta Commons-HttpClient/3.0 > Host: sany.spacebel.be > Cache-Control: max-age=259200 > Via: 1.0 HAVP, 1.1 havp-lge.spb.spacebel.be:3128 (squid/2.5 STABLE6) > Connection: close > > The problem is that the Oracle BPEL replies with the following message > (with > NO SOAP ACTION error) > > HTTP/1.1 500 Internal Server Error > X-Powered-By: Servlet 2.4; Tomcat-5.0.28/JBoss-3.2.6 (build: > CVSTag=JBoss_3_2_6.date=200410140106) > Content-Type: text/xml;charset=utf-8 > Date: Wed, 09 Apr 2008 09:40:12 GMT > Server: Apache-Coyote/1.1 > Connection: close > <soapenv:Envelope > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <soapenv:Body> > <soapenv:Fault> > <faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Client > NoSOAPAction</faultcode> > <faultstring>no SOAPAction header!</faultstring> > <detail> > <ns2:hostname > xmlns:ns2="http://xml.apache.org/axis/">sany.spacebel.be</ns2:hostname> > </detail> > </soapenv:Fault> > </soapenv:Body> > </soapenv:Envelope> > > Is it possible to "force" the setting of the SOAPAction field ? To the > string "Notify" as expected by my BPEL process. > > Regards > > YVDL > -- > View this message in context: > http://www.nabble.com/SM-WSN2005%3A-Broker-does-not-set-SOAPAction-field-value-tp16583522p16583522.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/
