Helo Martin, the code is the example of savan from its svn. I attached the PublisherService WSDL. As far as i know it should have some ws-eventing information (import eventing schema, add EventSource=true attr on Port Type operations,etc)
Regards. 2007/11/27, Martin Gainty <[EMAIL PROTECTED]>: > > Please post relevant code and WSDL > > M- > > ----- Original Message ----- > *From:* Enrique Rodríguez Lasterra <[EMAIL PROTECTED]> > *To:* [email protected] > *Sent:* Tuesday, November 27, 2007 1:08 PM > *Subject:* Running Savan (WS-Eventing) Samples > > I can run the savan example with few little changes. But I have some > errors/doubts > > 1.- I can subscribe Listeners to Publisher, but when i ask for the > listener status i always get null. > > 2.-In the WSDL i don't see any namespace/import of ws-eventing, why? > > 3.- Publisher porttype should have the EventSource="true" attribute, isn't > it? > > There is no much information about savan and ws-eventing, so any help is > appreciated. > > Regards, Enrique. > > -- > _______________________________ > Enrique Rodriguez Lasterra > lasterra AT javahispano DOT org > http://www.javahispano.org > Asociación sin ánimo de lucro sobre java > Spanish non profit association about java > > -- _______________________________ Enrique Rodriguez Lasterra lasterra AT javahispano DOT org http://www.javahispano.org Asociación sin ánimo de lucro sobre java Spanish non profit association about java
<?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:ns0="http://eventing.sample" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://eventing.sample"> <wsdl:documentation>PublisherService</wsdl:documentation> <wsdl:types> <xs:schema xmlns:ns="http://eventing.sample" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://eventing.sample"> <xs:complexType name="Exception"> <xs:sequence> <xs:element minOccurs="0" name="Exception" nillable="true" type="xs:anyType"/> </xs:sequence> </xs:complexType> <xs:element name="Exception"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" name="Exception" nillable="true" type="ns:Exception"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="dummyMethod"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" name="dummyMethod" nillable="true" type="xs:anyType"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> </wsdl:types> <wsdl:message name="dummyMethodRequest"> <wsdl:part name="parameters" element="ns0:dummyMethod"/> </wsdl:message> <wsdl:message name="Exception"> <wsdl:part name="parameters" element="ns0:Exception"/> </wsdl:message> <wsdl:portType name="PublisherServicePortType"> <wsdl:operation name="dummyMethod"> <wsdl:input message="ns0:dummyMethodRequest" wsaw:Action="urn:dummyMethod"/> <wsdl:fault message="ns0:Exception" name="Exception" wsaw:Action="urn:dummyMethodException"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="PublisherServiceSOAP11Binding" type="ns0:PublisherServicePortType"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> <wsdl:operation name="dummyMethod"> <soap:operation soapAction="urn:dummyMethod" style="document"/> <wsdl:input> <soap:body use="literal"/> </wsdl:input> <wsdl:fault name="Exception"> <soap:fault use="literal" name="Exception"/> </wsdl:fault> </wsdl:operation> </wsdl:binding> <wsdl:binding name="PublisherServiceSOAP12Binding" type="ns0:PublisherServicePortType"> <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> <wsdl:operation name="dummyMethod"> <soap12:operation soapAction="urn:dummyMethod" style="document"/> <wsdl:input> <soap12:body use="literal"/> </wsdl:input> <wsdl:fault name="Exception"> <soap12:fault use="literal" name="Exception"/> </wsdl:fault> </wsdl:operation> </wsdl:binding> <wsdl:binding name="PublisherServiceHttpBinding" type="ns0:PublisherServicePortType"> <http:binding verb="POST"/> <wsdl:operation name="dummyMethod"> <http:operation location="PublisherService/dummyMethod"/> <wsdl:input> <mime:content type="text/xml" part="dummyMethod"/> </wsdl:input> </wsdl:operation> </wsdl:binding> <wsdl:service name="PublisherService"> <wsdl:port name="PublisherServiceSOAP11port_http" binding="ns0:PublisherServiceSOAP11Binding"> <soap:address location="http://localhost:8080/axis2/services/PublisherService"/> </wsdl:port> <wsdl:port name="PublisherServiceSOAP12port_http" binding="ns0:PublisherServiceSOAP12Binding"> <soap12:address location="http://localhost:8080/axis2/services/PublisherService"/> </wsdl:port> <wsdl:port name="PublisherServiceHttpport" binding="ns0:PublisherServiceHttpBinding"> <http:address location="http://localhost:8080/axis2/services/PublisherService"/> </wsdl:port> </wsdl:service> </wsdl:definitions>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
