I want to create a WSDL for Soap over JMS. When I try I am getting some ClassCastException . I want to generate the following WSDL.
I am creating the JMS registry like this. And using the SoapPort. Am using only JMSAddress. JMSExtensionRegistry registry = new JMSExtensionRegistry(); definition.setExtensionRegistry(registry) Which Extension registry should I use to generate Soap over JMS (and not native JMS)? ---------------------------------- <?xml version="1.0" encoding="UTF-8"?> <definitions name="ProductService" targetNamespace="http://www.ecerami.com/wsdl/ProductService.wsdl" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.ecerami.com/wsdl/ProductService.wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsd1="http://www.ecerami.com/schema" xmlns:jms="http://schemas.xmlsoap.org/soap/jms"> <message name="getProductRequest"> <part name="sku" type="xsd:string"/> </message> <message name="getProductResponse"> <part name="product" type="xsd1:product"/> </message> <portType name="Product_PortType"> <operation name="getProduct"> <input message="tns:getProductRequest"/> <output message="tns:getProductResponse"/> </operation> </portType> <binding name="Product_Binding" type="tns:Product_PortType"> <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/jms"/> <operation name="getProduct"> <soap:operation soapAction="urn:examples:productservice"/> <input> <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:examples:productservice" use="encoded"/> </input> <output> <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:examples:productservice" use="encoded"/> </output> </operation> </binding> <service name="Product_Service"> <port name="Product_Port" binding="tns:Product_Binding"> <jms:address destinationStyle="queue" jmsVendorURI="http://ibm.com/ns/mqseries" initialContextFactory="com.ibm.NamingFactory" jndiProviderURL="iiop://something:900/wherever" jndiConnectionFactoryName="orange" jndiDestinationName="fred"/> </port> </service> </definitions> ------------------------------- On Tue, 1 Feb 2005 10:32:48 +0200, Ofer Baranes <[EMAIL PROTECTED]> wrote: > facing this issue ,I change the > WSIFPort_ApacheAxis.makeNewAXISCall() method > to set a timeout to the Call object using the > WSIFProperties.getSyncTimeout() which is a grain > property in the wsif.properties. > > ofer > > -----Original Message----- > From: Aleksander Slominski [mailto:[EMAIL PROTECTED] > > Sent: Monday, January 31, 2005 7:57 PM > To: [email protected] > Subject: Re: Timeout setting > > Ioan Berbece wrote: > > > OK, thanks. Is this something considered for making available in the > > next version? > > > hi, > > i am not sure how it could be done in other way? the timeout is provider > > specific property and is not described in WSDL? > > what is the way you would like to see it working - described in WSDL? > > thanks, > > alek > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > *From:* Jacques-Olivier Goussard [mailto:[EMAIL PROTECTED] > > *Sent:* January 31, 2005 10:49 AM > > *To:* [email protected] > > *Subject:* RE: Timeout setting > > > > > > > > AFAIK, there is no way to set it other than casting the provider into > the > > > > axis provider and access the Call object directly: > > > > ((WSIFPort_ApacheAxis) m_port).getCall().setTimeout(itimeout); > > > > > > > > /jog > > > > -----Original Message----- > > *From:* Ioan Berbece [mailto:[EMAIL PROTECTED] > > *Sent:* Monday, January 31, 2005 10:43 AM > > *To:* [email protected] > > *Subject:* Timeout setting > > > > Hi, > > > > > > > > What is the way to adjust the timeout in a WSIF invocation? I > > particularly use WSIF with Axis 1.1 on http. I looked through the > > WSIF code and couldn't find something relevant. I have seen the > > use of a property in a file property to set the timeout for JMS. > > But I'm not sure whether that applies to http as well or there are > > other means through which this can be achieved. > > > > > > > > Thanks, > > > > IB > > > > > > > > -- > The best way to predict the future is to invent it - Alan Kay > > -- Regards, Kiran M.S
