Hi, Your WSDL does not have the correct definition of wsnt:Notify - if you look in the OASIS WSN WSDL file[1], you can find all of the correct wsdl:message and wsdl:operation elements that you should copy into your own WSDL. Be sure to copy the prefix/namespace declarations as well. Once you have a portType and binding that declares the Notify operation with the proper name, your consumer will know that wsnt:Notify messages are supported and you should start receiving the notifications.
[1] http://ws.apache.org/pubscribe/wsn.html - use WS-BaseNotification v1.2 Dan "Muni Reddy" <[EMAIL PROTECTED]> wrote on 07/06/2006 08:26:29 AM: > Hi Dan, > My notification consumer is not a WSDM compliant pubscribe consumer, it's a > normal webservice (deployed on axis) which implements notify () method. > > Can you direct me to what steps are required to make such a consumer capable > of receiving notifications automatically, if it is possible. > > Please find an attached wsdl file generated by Axis Java2WSDL tool. > > I appreciate your help in this matter. > > - Naga Muni Reddy > On 7/6/06, Daniel Jemiolo <[EMAIL PROTECTED]> wrote: > Did you base your notification consumer on the template consumer project > in pubscribe? Or is this your own project? There is probably a small error > in your WSDL (definition of the Notify operation) or deployment descriptor > (binding to the Java code that implements Notify) that is causing the > messages to be dropped. The pubscribe docs say that any > NotificationProducer will send its messages to the consumer's Notify > operation, so it must be a problem of deployment artifacts. If you can't > find the problem, sending your WSDL will be a good next step for finding > the problem. > > Thanks, > Dan > > > > "Muni Reddy" < [EMAIL PROTECTED]> wrote on 07/06/2006 07:38:38 AM: > > > Hi, > > > > I have one NotificationProducer web service(WSDM MUWS specifications > > compliant) and a NotificationConsumer as a general webservice (not WSDM > > compliant). I am able to subscribe for a topic, but the > NotificationProducer > > is not able to send notification to NotificationConsumer even when I > have a > > "notify" method defined in it. However, consumer can get the > notifications > > through "GetCurrentMessage" request but I want it to be sent > automatically > > by the NoificationProducer to this Consumer. > > 1) Is NotificationConsumer bound to be a Web Service that is WSDM MUWS > > compliant to receive notifications automatically? If not, please let me > know > > how to get notifications. > > > > Regards, > > Naga Muni Reddy.D > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -- > Regards, > Naga Muni Reddy.D [attachment "testSoap.wsdl" deleted by Daniel Jemiolo/Durham/IBM] > --------------------------------------------------------------------- > 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]
