Package com.eviware.soapui.impl.wsdl.support.wsrm

Examples of com.eviware.soapui.impl.wsdl.support.wsrm.WsrmUtils


      // ((WsdlRequest)wsdlRequest).getEndpoint();
      SoapVersion soapVersion = operation.getInterface().getSoapVersion();
      String identifier = ( ( WsdlRequest )wsdlRequest ).getWsrmConfig().getSequenceIdentifier();
      long msgNumber = ( ( WsdlRequest )wsdlRequest ).getWsrmConfig().getLastMessageId();

      content = new WsrmUtils( content, soapVersion, context ).createNewWSReliableMessagingRequest(
          ( WsdlRequest )wsdlRequest, httpMethod, identifier, msgNumber, wsdlRequest.getEndpoint() );
      if( content != null )
        context.setProperty( BaseHttpRequestTransport.REQUEST_CONTENT, content );
    }
  }
View Full Code Here


    }

    if( container.getWsrmConfig().isWsrmEnabled() )
    {
      WsdlInterface iface = request.getOperation().getInterface();
      WsrmUtils utils = new WsrmUtils( iface.getSoapVersion() );
      utils.closeSequence( request.getEndpoint(), iface.getSoapVersion(), request.getWsrmConfig()
          .getVersionNameSpace(), request.getWsrmConfig().getUuid(), request.getWsrmConfig()
          .getSequenceIdentifier(), 1l, request.getOperation() );
    }
  }
View Full Code Here

  {
    WsrmContainer container = ( WsrmContainer )submit.getRequest();
    if( container.getWsrmConfig().isWsrmEnabled() )
    {
      WsdlInterface iface = request.getOperation().getInterface();
      WsrmUtils utils = new WsrmUtils( iface.getSoapVersion() );

      WsrmSequence sequence = utils.createSequence( request.getEndpoint(), iface.getSoapVersion(), request
          .getWsrmConfig().getVersionNameSpace(), request.getWsrmConfig().getAckTo(), 0l, request.getOperation(),
          ( ( WsdlRequest )submit.getRequest() ).getWsaConfig().getTo() );

      request.getWsrmConfig().setSequenceIdentifier( sequence.getIdentifier() );
      request.getWsrmConfig().setUuid( sequence.getUuid() );
View Full Code Here

            // ((WsdlRequest)wsdlRequest).getEndpoint();
            SoapVersion soapVersion = operation.getInterface().getSoapVersion();
            String identifier = ((WsdlRequest) wsdlRequest).getWsrmConfig().getSequenceIdentifier();
            long msgNumber = ((WsdlRequest) wsdlRequest).getWsrmConfig().getLastMessageId();

            content = new WsrmUtils(content, soapVersion).createNewWSReliableMessagingRequest(
                    (WsdlRequest) wsdlRequest, identifier, msgNumber, wsdlRequest.getEndpoint());
            if (content != null) {
                context.setProperty(BaseHttpRequestTransport.REQUEST_CONTENT, content);
            }
        }
View Full Code Here

            }
        }

        if (container.getWsrmConfig().isWsrmEnabled()) {
            WsdlInterface iface = request.getOperation().getInterface();
            WsrmUtils utils = new WsrmUtils(iface.getSoapVersion());
            utils.closeSequence(request.getEndpoint(), iface.getSoapVersion(), request.getWsrmConfig()
                    .getVersionNameSpace(), request.getWsrmConfig().getUuid(), request.getWsrmConfig()
                    .getSequenceIdentifier(), 1l, request.getOperation());
        }
    }
View Full Code Here

    public boolean beforeSubmit(Submit submit, SubmitContext context) {
        WsrmContainer container = (WsrmContainer) submit.getRequest();
        if (container.getWsrmConfig().isWsrmEnabled()) {
            WsdlInterface iface = request.getOperation().getInterface();
            WsrmUtils utils = new WsrmUtils(iface.getSoapVersion());

            WsrmSequence sequence = utils.createSequence(request.getEndpoint(), iface.getSoapVersion(), request
                    .getWsrmConfig().getVersionNameSpace(), request.getWsrmConfig().getAckTo(), 0l, request.getOperation(),
                    ((WsdlRequest) submit.getRequest()).getWsaConfig().getTo(), request.getWsrmConfig().getOfferEndpoint());

            request.getWsrmConfig().setSequenceIdentifier(sequence.getIdentifier());
            request.getWsrmConfig().setUuid(sequence.getUuid());
View Full Code Here

TOP

Related Classes of com.eviware.soapui.impl.wsdl.support.wsrm.WsrmUtils

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.