This is the WSDL fragment befor change:

<wsdl:operation name="Subscribe">
        <wsdl-soap:operation
soapAction="http://ws.apache.org/muse/test/wsrf/Subscribe"; />
...

I changed it to:

<wsdl:operation name="Subscribe">
      <wsdl-soap:operation
soapAction="http://docs.oasis-open.org/wsn/bw-2/NotificationProducer/SubscribeRequest";
/>

The new soap action value is same as the actionMapping entry in the
services.xml.

Ramesh

On 12/10/06, Daniel Jemiolo <[EMAIL PROTECTED]> wrote:
what is exact patch you'd like us to make? right now we just have the
wsa:Action attributes in the operation messages.

Dan



"Ramesh Gurunathan" <[EMAIL PROTECTED]> wrote on 12/09/2006
12:28:37 PM:

> I found the cause of this issue. SOAP UI had set the HTTP header
> SOAPAction as "http://ws.apache.org/muse/test/wsrf/Subscribe";. This
> property overrode the addressing action property in the soap envelope,
> which led axis to throw InvalidAddressingHeader fault. I changed the
> operation/SOAP action in the WSDL to
>
"http://docs.oasis-open.org/wsn/bw-2/NotificationProducer/SubscribeRequest";
> and updated the WSDL definition in SOAP UI. It worked.
>
> I think the WsResource WSDL in Muse samples should be changed as
> above.  Any thoughts?
>
> Ramesh
>
> On 12/10/06, Ramesh Gurunathan <[EMAIL PROTECTED]> wrote:
> > Hello Ole,
> >
> > Thanks... I have gone past that problem but got a new one. After
> > changing the SOAP version to 1.2, I sent the same message but got the
> > below fault. Any ideas what is the invalid addressing header means ?
> >
> > Ramesh
> >
> > <soapenv:Envelope
> > xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";
> > xmlns:wsa="http://www.w3.org/2005/08/addressing";>
> >    <soapenv:Header>
> >       <wsa:ReplyTo>
> > <wsa:Address>http://www.w3.org/2005/08/addressing/none</wsa:Address>
> >       </wsa:ReplyTo>
> >
<wsa:MessageID>urn:uuid:4C3847F8ABFC1C129C116568069092111</wsa:MessageID>
> > <wsa:Action>http://www.w3.org/2005/08/addressing/fault</wsa:Action>
> >    </soapenv:Header>
> >    <soapenv:Body>
> >       <soapenv:Fault>
> >          <soapenv:Code>
> >             <soapenv:Value>soapenv:Sender</soapenv:Value>
> >             <soapenv:Subcode>
> > <soapenv:Value>wsa:InvalidAddressingHeader</soapenv:Value>
> >                <soapenv:Subcode>
> >                   <soapenv:Value>wsa:ActionMismatch</soapenv:Value>
> >                </soapenv:Subcode>
> >             </soapenv:Subcode>
> >          </soapenv:Code>
> >          <soapenv:Reason>
> >             <soapenv:Text xml:lang="en-US">A header representing a
> > Message Addressing Property is not valid and the message cannot be
> > processed</soapenv:Text>
> >          </soapenv:Reason>
> >          <soapenv:Detail>
> >             <Exception>org.apache.axis2.AxisFault: A header
> > representing a Message Addressing Property is not valid and the
> > message cannot be processed
> >         at org.apache.axis2.addressing.AddressingFaultsHelper.
> triggerAddressingFault(AddressingFaultsHelper.java:138)
> >         at org.apache.axis2.addressing.AddressingFaultsHelper.
> triggerActionMismatchFault(AddressingFaultsHelper.java:69)
> >         at org.apache.axis2.handlers.addressing.AddressingInHandler.
> extractActionInformation(AddressingInHandler.java:275)
> >         at org.apache.axis2.handlers.addressing.AddressingInHandler.
> extractAddressingInformation(AddressingInHandler.java:158)
> >         at org.apache.axis2.handlers.addressing.AddressingInHandler.
> invoke(AddressingInHandler.java:95)
> >         at org.apache.axis2.engine.Phase.invoke(Phase.java:378)
> >         at
org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:535)
> >         at
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:493)
> >         at org.apache.axis2.transport.http.HTTPTransportUtils.
> processHTTPPostRequest(HTTPTransportUtils.java:324)
> >         at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:234)
> >         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> >         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >         at org.apache.catalina.core.ApplicationFilterChain.
> internalDoFilter(ApplicationFilterChain.java:252)
> >         at org.apache.catalina.core.ApplicationFilterChain.
> doFilter(ApplicationFilterChain.java:173)
> >         at org.apache.catalina.core.StandardWrapperValve.
> invoke(StandardWrapperValve.java:213)
> >         at org.apache.catalina.core.StandardContextValve.
> invoke(StandardContextValve.java:178)
> >         at org.apache.catalina.core.StandardHostValve.
> invoke(StandardHostValve.java:126)
> >         at org.apache.catalina.valves.ErrorReportValve.
> invoke(ErrorReportValve.java:105)
> >         at org.apache.catalina.core.StandardEngineValve.
> invoke(StandardEngineValve.java:107)
> >         at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >         at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >         at org.apache.coyote.http11.
> Http11BaseProtocol$Http11ConnectionHandler.
> processConnection(Http11BaseProtocol.java:664)
> >         at org.apache.tomcat.util.net.PoolTcpEndpoint.
> processSocket(PoolTcpEndpoint.java:527)
> >         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.
> runIt(LeaderFollowerWorkerThread.java:80)
> >         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.
> run(ThreadPool.java:684)
> >         at java.lang.Thread.run(Unknown Source)</Exception>
> > <wsa:ProblemHeaderQName>wsa:Action</wsa:ProblemHeaderQName>
> >          </soapenv:Detail>
> >       </soapenv:Fault>
> >    </soapenv:Body>
> > </soapenv:Envelope>
> >
> >
> >
> > On 12/10/06, omatzura <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi!
> > >
> > > maybe you need to set the SOAP version to 1.2 in soapUI (select the
> > > interface and set in the properties table at bottom left), so the
correct
> > > http-headers are sent!?
> > >
> > > regards,
> > >
> > > /Ole
> > > eviware.com
> > >
> > >
> > > Ramesh Gurunathan wrote:
> > > >
> > > > Hi,
> > > >
> > > > I am using the Muse 2.0.0 release to test sending raw SOAP message
> > > > directly to the service instead of using Muse APIs. I am using
SOAP UI
> > > > (1.6 final) for the purpose of sending the messages to the server.
> > > > First I tried sending a notificatrion subscription. Below is the
> > > > request message, it is identical to that of Muse API. But I
received a
> > > > SOAP fault complaining that "Transport level information does not
> > > > match with SOAP Message namespace URI".
> > > >
> > > > Any help please?
> > > >
> > > > <soap:Envelope
xmlns:soap="http://www.w3.org/2003/05/soap-envelope";>
> > > >     <soap:Header>
> > > >         <wsa:To
> > > >
xmlns:wsa="http://www.w3.org/2005/08/addressing";>http://10.100.1.103:
> 8080/wsn-producer/services/WsResource</wsa:To>
> > > >         <wsa:Action
> > > >
xmlns:wsa="http://www.w3.org/2005/08/addressing";>http://docs.oasis-open.
> org/wsn/bw-2/NotificationProducer/SubscribeRequest</wsa:Action>
> > > >         <wsa:MessageID
> > > >
xmlns:wsa="http://www.w3.org/2005/08/addressing";>uuid:1b1d77f0-5fff-
> cfeb-9104-331ccd682320</wsa:MessageID>
> > > >         <wsa:From
xmlns:wsa="http://www.w3.org/2005/08/addressing";>
> > > >
> > > >
<wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
> > > >         </wsa:From>
> > > >     </soap:Header>
> > > >     <soap:Body>
> > > >         <wsnt:Subscribe
xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2";>
> > > >             <wsnt:ConsumerReference>
> > > >                 <wsa:Address
> > > >
xmlns:wsa="http://www.w3.org/2005/08/addressing";>http://10.100.1.103:
> 8080/wsn-consumer/services/consumer</wsa:Address>
> > > >             </wsnt:ConsumerReference>
> > > >         </wsnt:Subscribe>
> > > >     </soap:Body>
> > > > </soap:Envelope>
> > > >
> > > > Response:
> > > >
> > > > <soapenv:Envelope
> > > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> > > > xmlns:wsa="http://www.w3.org/2005/08/addressing";>
> > > >    <soapenv:Header>
> > > >       <wsa:ReplyTo>
> > > >
> > > >
<wsa:Address>http://www.w3.org/2005/08/addressing/none</wsa:Address>
> > > >       </wsa:ReplyTo>
> > > >
> > > >
<wsa:MessageID>urn:uuid:5E32E0D24F9701F4CA11656461619299</wsa:MessageID>
> > > >
> > > >
<wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action>
> > > >    </soapenv:Header>
> > > >    <soapenv:Body>
> > > >       <soapenv:Fault>
> > > >          <faultcode/>
> > > >          <faultstring>Transport level information does not match
with
> > > > SOAP Message namespace URI</faultstring>
> > > >          <detail>
> > > >             <Exception>org.apache.axis2.AxisFault: Transport level
> > > > information does not match with SOAP Message namespace URI; nested
> > > > exception is:
> > > >       org.apache.axiom.soap.SOAPProcessingException: Transport
level
> > > > information does not match with SOAP Message namespace URI
> > > >       at
> > > > org.apache.axis2.transport.http.HTTPTransportUtils.
> processHTTPPostRequest(HTTPTransportUtils.java:327)
> > > >       at
> > > >
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:234)
> > > >       at
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> > > >       at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > > >       at
> > > > org.apache.catalina.core.ApplicationFilterChain.
> internalDoFilter(ApplicationFilterChain.java:252)
> > > >       at
> > > > org.apache.catalina.core.ApplicationFilterChain.
> doFilter(ApplicationFilterChain.java:173)
> > > >       at
> > > > org.apache.catalina.core.StandardWrapperValve.
> invoke(StandardWrapperValve.java:213)
> > > >       at
> > > > org.apache.catalina.core.StandardContextValve.
> invoke(StandardContextValve.java:178)
> > > >       at
> > > >
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> > > >       at
> > > >
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> > > >       at
> > > >
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> > > >       at
> > > >
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> > > >       at
> > > >
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> > > >       at
> > > >
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.
> processConnection(Http11BaseProtocol.java:664)
> > > >       at
> > > >
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> > > >       at
> > > > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.
> runIt(LeaderFollowerWorkerThread.java:80)
> > > >       at
> > > >
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> > > >       at java.lang.Thread.run(Unknown Source)
> > > > Caused by: org.apache.axiom.soap.SOAPProcessingException:
Transport
> > > > level information does not match with SOAP Message namespace URI
> > > >       at
> > > > org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.
> identifySOAPVersion(StAXSOAPModelBuilder.java:141)
> > > >       at
> > > > org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.&lt;
> init>(StAXSOAPModelBuilder.java:106)
> > > >       at
> > > > org.apache.axis2.transport.http.HTTPTransportUtils.
> processHTTPPostRequest(HTTPTransportUtils.java:278)
> > > >       ... 17 more</Exception>
> > > >          </detail>
> > > >       </soapenv:Fault>
> > > >    </soapenv:Body>
> > > > </soapenv:Envelope>
> > > >
> > > >
---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > >
> > > --
> > > View this message in context:
http://www.nabble.com/Error-when-sending-
> raw-SOAP-message-for-notification-subscription-tf2784760.html#a7773499
> > > Sent from the Muse User mailing list archive at Nabble.com.
> > >
> > >
> > >
---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to