Hi,
Can you paste the notification XML trace received by your client?  The
error indicates that the required <NotificationMessage> child element is
not found.

Also, are you trying to have your producer send a custom wsa:Action
value other than the ".../NotifyRequest" one sent by Muse, or have your
consumer handle a custom wsa:Action value?
-Vinh


-----Original Message-----
From: crapp [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 10, 2008 12:52 AM
To: [email protected]
Subject: Howto adjust value for wsa:Action?


Hello,

Our consumer receives WS-Notifications via Muse and Axis2. The producer
sends the notifications with the wsa:action attribute set to
'http://docs.oasis-open.org/wsn/bw-2/NotificationConsumer/Notify'

Our MUSE implementation currently listens for the wsa:action set to
'http://docs.oasis-open.org/wsn/bw-2/NotificationConsumer/NotifyRequest'
.

I saw that in the WSDL and in the services.xml this wsa:action needs to
be set. I did that, re-generated the sources of the client from WSDL and
compiled them. Now I am getting the below error on my consumer. What
else do I need to do to change the wsa:action attribute value on the
consumer side?a

INFO: There was an error while processing a request:

[ID = 'NoMessageContent'] The NotificationMessage XML does not have a
Message element. All messages must have a message payload associated
with them.

       
org.apache.muse.ws.notification.impl.SimpleNotificationMessage.<init>(Si
mpleNotificationMess
age.java:117)
       
org.apache.muse.ws.notification.impl.NotificationMessageSerializer.fromX
ML(NotificationMessa
geSerializer.java:46)
       
org.apache.muse.core.serializer.ArraySerializer.fromXML(ArraySerializer.
java:126)
       
org.apache.muse.core.routing.ReflectionMessageHandler.fromXML(Reflection
MessageHandler.java:
132)
 
org.apache.muse.core.SimpleResource.invoke(SimpleResource.java:368)
       
org.apache.muse.core.routing.SimpleResourceRouter.invoke(SimpleResourceR
outer.java:290)
       
org.apache.muse.core.platform.axis2.AxisIsolationLayer.invoke(AxisIsolat
ionLayer.java:136)
       
org.apache.muse.core.platform.axis2.AxisIsolationLayer.handleRequest(Axi
sIsolationLayer.java
:88)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
       
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        java.lang.reflect.Method.invoke(Method.java:597)
       
org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogi
c(RawXMLINOutMessage
Receiver.java:88)
       
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(Abst
ractInOutSyncMessage
Receiver.java:39)
        org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:493)
        18 more...
------------------------------------------


Regards,
Christian Rapp
--
View this message in context:
http://www.nabble.com/Howto-adjust-value-for-wsa%3AAction--tp17749755p17
749755.html
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]

Reply via email to