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
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="urn:testsoap" xmlns:apachesoap="http://xml.apache.org/xml-soap"; xmlns:impl="urn:testsoap" xmlns:intf="urn:testsoap" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:tns2="http://wsnWSBaseNotification12Draft01.x06.x2004.wsn.docs.oasisOpen.org"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
<!--WSDL created by Apache Axis version: 1.3
Built on Oct 05, 2005 (05:23:37 EDT)-->

   <wsdl:message name="notifyRequest">

      <wsdl:part name="in0" type="xsd:anyType"/>

   </wsdl:message>

   <wsdl:message name="divResponse">

      <wsdl:part name="divReturn" type="xsd:double"/>

   </wsdl:message>

   <wsdl:message name="notifyResponse">

   </wsdl:message>

   <wsdl:message name="addResponse">

      <wsdl:part name="addReturn" type="xsd:double"/>

   </wsdl:message>

   <wsdl:message name="addRequest">

      <wsdl:part name="in0" type="xsd:double"/>

      <wsdl:part name="in1" type="xsd:double"/>

   </wsdl:message>

   <wsdl:message name="divRequest">

      <wsdl:part name="in0" type="xsd:double"/>

      <wsdl:part name="in1" type="xsd:double"/>

   </wsdl:message>

   <wsdl:message name="mulRequest">

      <wsdl:part name="in0" type="xsd:double"/>

      <wsdl:part name="in1" type="xsd:double"/>

   </wsdl:message>

   <wsdl:message name="mulResponse">

      <wsdl:part name="mulReturn" type="xsd:double"/>

   </wsdl:message>

   <wsdl:portType name="TestSoap">

      <wsdl:operation name="add" parameterOrder="in0 in1">

         <wsdl:input message="impl:addRequest" name="addRequest"/>

         <wsdl:output message="impl:addResponse" name="addResponse"/>

      </wsdl:operation>

      <wsdl:operation name="notify" parameterOrder="in0">

         <wsdl:input message="impl:notifyRequest" name="notifyRequest"/>

         <wsdl:output message="impl:notifyResponse" name="notifyResponse"/>

      </wsdl:operation>

      <wsdl:operation name="mul" parameterOrder="in0 in1">

         <wsdl:input message="impl:mulRequest" name="mulRequest"/>

         <wsdl:output message="impl:mulResponse" name="mulResponse"/>

      </wsdl:operation>

      <wsdl:operation name="div" parameterOrder="in0 in1">

         <wsdl:input message="impl:divRequest" name="divRequest"/>

         <wsdl:output message="impl:divResponse" name="divResponse"/>

      </wsdl:operation>

   </wsdl:portType>

   <wsdl:binding name="testsoapSoapBinding" type="impl:TestSoap">

      <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>

      <wsdl:operation name="add">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="addRequest">

            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="urn:testsoap" use="encoded"/>

         </wsdl:input>

         <wsdl:output name="addResponse">

            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="urn:testsoap" use="encoded"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="notify">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="notifyRequest">

            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="urn:testsoap" use="encoded"/>

         </wsdl:input>

         <wsdl:output name="notifyResponse">

            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="urn:testsoap" use="encoded"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="mul">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="mulRequest">

            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="urn:testsoap" use="encoded"/>

         </wsdl:input>

         <wsdl:output name="mulResponse">

            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="urn:testsoap" use="encoded"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="div">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="divRequest">

            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="urn:testsoap" use="encoded"/>

         </wsdl:input>

         <wsdl:output name="divResponse">

            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="urn:testsoap" use="encoded"/>

         </wsdl:output>

      </wsdl:operation>

   </wsdl:binding>

   <wsdl:service name="TestSoapService">

      <wsdl:port binding="impl:testsoapSoapBinding" name="testsoap">

         <wsdlsoap:address location="http://localhost:8080/axis/services/testsoap"/>

      </wsdl:port>

   </wsdl:service>

</wsdl:definitions>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to