Mark,
      I am currently using a complete asynchronous implementation, there by
I do not need the replyTo
      destination to be set and I have my own "JMS message handler".
However, if I understand it correctly,
      the replyTo queue is set to a temporary queue by default, and you can
override is by calling the
      "setReplyToQueue(String replyTo)"  method on the WSIFJMSDestination
object or
      by setting a JMS property "JMSReplyTo" on the input section of the
binding operation. For example,
      in the following binding section, the reply to queue is set to
"MYTEST.QUEUE".

      <binding name="PutMessageSoapJmsBinding"
type="s0:PutMessageSoapJmsPortType">
            <soap:binding transport="http://schemas.xmlsoap.org/soap/jms";
style="document" />
            <operation name="put">
                  <soap:operation
soapAction="http://schema.sde.fds.com/mpsitest/info/put"; style="document"
/>
                        <input>
                              <soap:body use="literal" />
                              <jms:propertyValue name="JMSReplyTo"
                              type="s:string" value="MYTEST.QUEUE"

xmlns:jms="http://schemas.xmlsoap.org/wsdl/jms/"/>
                        </input>
            </operation>
      </binding>



Simon Solomon
[EMAIL PROTECTED]




                                                                           
             "Mark D. Hansen"                                              
             <[EMAIL PROTECTED]                                             
             om>                                                        To 
                                       <[EMAIL PROTECTED]>           
             05/06/2004 05:56                                           cc 
             PM                                                            
                                                                   Subject 
                                       RE: SOAP over JMS                   
             Please respond to                                             
             [EMAIL PROTECTED]                                             
                  he.org                                                   
                                                                           
                                                                           
                                                                           




Simon,

Thanks.  How are you handling replyTo destinations?  Since jms:address
gives no way to specify the replyTo destination, it seems like one is
forced to rely on some standard or convention to know where the web
service will send responses.

-- Mark

> -----Original Message-----
> From: Simon Solomon [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 27, 2004 3:55 PM
> To: [EMAIL PROTECTED]
> Subject: Re: SOAP over JMS
>
>
>
>
>
>
> Hi,
>
> I have been using WSIF's SOAP over JMS provider successfully
> for a while
> now.
> You can look at the attached sample wsdl that has Soap over
> Jms binding.
>
> Even though wsif provided an Axis transport for jms (
> org.apache.wsif.providers.soap.apacheaxis.WSIFJmsSender),
> I did create a custom Axis transport class that handles the jms
> read/writes.
>
> Sample WSDL
> (See attached file: JmsPutGet.wsdl)
>
> Hope this helps,
>
> Simon Solomon
> [EMAIL PROTECTED]
>
>
>
>
>
>              "Mark D. Hansen"
>
>              <[EMAIL PROTECTED]
>
>              om>
>           To
>                                        "WSIF (E-mail)"
>
>              04/27/2004 03:37
> <[EMAIL PROTECTED]>
>              PM
>           cc
>
>
>
>      Subject
>              Please respond to         SOAP over JMS
>
>              [EMAIL PROTECTED]
>
>                   he.org
>
>
>
>
>
>
>
>
>
>
>
>
>
> Can I use WSIF if I always want to use SOAP for my messaging
> protocol, but
> want to use different transports?  E.g., SOAP over HTTP, SOAP
> over JMS,
> SOAP over SMTP.
>
> I have a feeling that the answer is "Yes", but in the WSIF
> samples, the JMS
> example seems to be for the "native binding" approach - not
> using SOAP, but
> instead a WSDL extension binding input/output directly to JMS
> messages.
> I'm interested in the simpler case where you simply wrap SOAP in a JMS
> TextMessage and invoke normal SOAP-style web services, but use a
> JMS-provider as transport.
>
> Any ideas about this?  Is anyone still working on WSIF or has
> something
> else superceded it?
>
> Thanks,
>
> Mark
>


Reply via email to