Kamal,
If you are designing starting from WSDL, such as (I am using TIBCO EMS)...
<wsdl:binding name="ActionSoapJms" type="tns:ActionInterface">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/jms" />
<wsdl:operation name="Action">
<soap:operation
soapAction="urn:ejgallo:workflow:service:action/Action" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="Error">
<soap:fault name="Error" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="ActionMessageService">
<wsdl:port name="ActionSoapJmsPort"
binding="tns:ActionSoapJms">
<jms:address destinationStyle="queue"
messageType="text"
jndiProviderURL="tibjmsnaming://localhost:7222"
initialContextFactory="com.tibco.tibjms.naming.TibjmsInitialContextFactory"
jndiConnectionFactoryName="QueueConnectionFactory"
jndiDestinationName="ACTIONQUEUE">
<jms:propertyValue name="userid"
value="user"/>
<jms:propertyValue name="password"
value="password"/>
</jms:address>
</wsdl:port>
</wsdl:service>
(...where the ns 'jms' is http://schemas.xmlsoap.org/wsdl/jms/)
...the WSDL2Java code generator will handle it fine. I do get the message
"[codegen] INFO: A SOAP port was not found - picking a random port!" in my
Ant build, but the generated code looks pretty close (It's basically the same
as the HTTP transport equivalent, except there is no default URL specified in
the ActionMessageServiceStub constructor. Would be nice if it put some of my
jms:address info into my services.xml, but hey, I'm not going to push it
(grin)).
All you need to do from here is configure your axis2.xml and services.xml
correctly as per the doc below, and it should work for you.
Brennan Spies
Sr. Programmer Analyst
Shared Application Services
-----Original Message-----
From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 12, 2006 1:30 PM
To: [email protected]
Subject: Re: SOAP/JMS document
http://svn.apache.org/repos/asf/webservices/axis2/branches/java/1_1/xdocs/1_1
/jms-transport.html
On 10/12/06, Kang, Kamaljeet K. <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Is there a document regarding SOAP over JMS with Axis2?
>
> Thanks
>
> kamal
> ============================================================
> The information contained in this message may be privileged
> and confidential and protected from disclosure. If the reader
> of this message is not the intended recipient, or an employee
> or agent responsible for delivering this message to the
> intended recipient, you are hereby notified that any reproduction,
> dissemination or distribution of this communication is strictly
> prohibited. If you have received this communication in error,
> please notify us immediately by replying to the message and
> deleting it from your computer. Thank you. Tellabs
> ============================================================
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
---------------------------------------------------------------------
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]