You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsif-user@ws.apache.org by Simon Solomon <b0...@FDS.com> on 2003/03/28 22:08:43 UTC

Soap Over JMS




Hi,

I am successfully using WSIF to execute SOAP over JMS.
However, when I use the same WSIFPort object to execute numerous
consecutive "wsifOperation.executeInputOnlyOperation"
method calls, I get the following exception

WSIF Jms support caught 'javax.jms.ResourceAllocationException: MQJMS2008:
failed to open MQ queue'

This happens when the execution count exceeds the "Maximum Open Handles"
settings in IBM
MQ Series.

Is there any way to get around this with out increasing the "Maximum Open
Handles" setting?

Configuration Information:
WSIF 2.0 Nightly build 3/21/03
IBM MQ Series 5.3 on WIN 2K
Soap Provider: WSIFDynamicProvider_ApacheAxis

Binding and Port Portion in WSDL:
<binding name='XTCP211JMS_SOAPServiceBinding' type
='tns:XTCP211JMS_PortType'>
  <soap:binding style='document' transport
='http://schemas.xmlsoap.org/soap/jms' />
  <operation name='Execute'>
   <soap:operation soapAction='http://soap.fsg.com/fedgate/RPC/XTCP211JMS'
style='document' />
   <input>
    <soap:body use='literal' namespace
='http://www.fds.com/schemas/XTCP211JMS' />
   </input>
  </operation>
 </binding>
 <service name='XTCP211JMS_Service'>
  <port name='XTCP211JMS_SOAPServicePort' binding
='tns:XTCP211JMS_SOAPServiceBinding'>
          <jms:address destinationStyle="queue"
              jndiDestinationName="MPSI_TEST_2"
              jndiConnectionFactoryName="MpsiConnectionFactory"
                    initialContextFactory
="com.sun.jndi.fscontext.RefFSContextFactory"
                 jndiProviderURL="file://C:/JNDIDirectory/mpsi">
          </jms:address>
  </port>
 </service>

Thanks

Simon Solomon
ssolomon@fds.com


SOAP Messages

Posted by Suresh <su...@vergiltech.com>.
Hi all,
        How do i retrieve SOAP messages using WSIF.I need to get the request
and response soap as string.In axis soap xml can be retreived using the
MessageContext, what must i do in WSIF do retrieve it.

thanks in advance

suresh