Examples of addReferenceParameter()


Examples of org.apache.axis2.addressing.EndpointReference.addReferenceParameter()

     */
    public SOAPEnvelope genSubscriptionResponse(SynapseSubscription subscription) {
        SOAPEnvelope message = factory.getDefaultEnvelope();
        EndpointReference subscriptionManagerEPR =
                new EndpointReference(subscription.getSubManUrl());
        subscriptionManagerEPR.addReferenceParameter(new QName(EventingConstants.WSE_EVENTING_NS,
                EventingConstants.WSE_EN_IDENTIFIER, EventingConstants.WSE_EVENTING_PREFIX),
                subscription.getId());
        OMNamespace eventingNamespace = factory.createOMNamespace(EventingConstants.WSE_EVENTING_NS,
                EventingConstants.WSE_EVENTING_PREFIX);
        OMElement subscribeResponseElement = factory.createOMElement(
View Full Code Here

Examples of org.apache.axis2.addressing.EndpointReference.addReferenceParameter()

        if (referenceParam instanceof OMElement) {
          OMElement clonedElement = ((OMElement) referenceParam)
              .cloneOMElement();
          clonedElement.setText("false");
          newEPR.addReferenceParameter(clonedElement);
        }
      }
    }
   
    return newEPR;
View Full Code Here

Examples of org.apache.axis2.addressing.EndpointReference.addReferenceParameter()

        if (referenceParam instanceof OMElement) {
          OMElement clonedElement = ((OMElement) referenceParam)
              .cloneOMElement();
          clonedElement.setText("false");
          newEPR.addReferenceParameter(clonedElement);
        }
      }
    }
   
    return newEPR;
View Full Code Here

Examples of org.apache.axis2.addressing.EndpointReference.addReferenceParameter()

        if (callbackID != null) {
            if (fromEPR == null) {
                fromEPR = new EndpointReference(AddressingConstants.Final.WSA_ANONYMOUS_URL);
            }
            //FIXME: serialize callback ID to XML in case it is not a string
            fromEPR.addReferenceParameter(CALLBACK_ID_REFPARM_QN, callbackID.toString());
        }

        // set conversation ID for WS-Addressing header
        Object conversationId = parameters.getConversationID();
        if (conversationId != null) {
View Full Code Here

Examples of org.apache.axis2.addressing.EndpointReference.addReferenceParameter()

        if (conversationId != null) {
            if (fromEPR == null) {
                fromEPR = new EndpointReference(AddressingConstants.Final.WSA_ANONYMOUS_URL);
            }
            //FIXME: serialize conversation ID to XML in case it is not a string
            fromEPR.addReferenceParameter(CONVERSATION_ID_REFPARM_QN, conversationId.toString());
        }

        // add WS-Addressing header
        //FIXME: is there any way to use the Axis2 addressing support for this?
        if (fromEPR != null) {
View Full Code Here

Examples of org.apache.axis2.addressing.EndpointReference.addReferenceParameter()

        if (referenceParam instanceof OMElement) {
          OMElement clonedElement = ((OMElement) referenceParam)
              .cloneOMElement();
          clonedElement.setText("false");
          newEPR.addReferenceParameter(clonedElement);
        }
      }
    }
   
    return newEPR;
View Full Code Here

Examples of org.apache.axis2.addressing.EndpointReference.addReferenceParameter()

        if (referenceParam instanceof OMElement) {
          OMElement clonedElement = ((OMElement) referenceParam)
              .cloneOMElement();
          clonedElement.setText("false");
          newEPR.addReferenceParameter(clonedElement);
        }
      }
    }
   
    return newEPR;
View Full Code Here

Examples of org.apache.axis2.addressing.EndpointReference.addReferenceParameter()

        if (callbackID != null) {
            if (fromEPR == null) {
                fromEPR = new EndpointReference(AddressingConstants.Final.WSA_ANONYMOUS_URL);
            }
            //FIXME: serialize callback ID to XML in case it is not a string
            fromEPR.addReferenceParameter(CALLBACK_ID_REFPARM_QN, callbackID.toString());
        }

        // set conversation ID for WS-Addressing header
        Object conversationId = parameters.getConversationID();
        if (conversationId != null) {
View Full Code Here

Examples of org.apache.axis2.addressing.EndpointReference.addReferenceParameter()

        if (conversationId != null) {
            if (fromEPR == null) {
                fromEPR = new EndpointReference(AddressingConstants.Final.WSA_ANONYMOUS_URL);
            }
            //FIXME: serialize conversation ID to XML in case it is not a string
            fromEPR.addReferenceParameter(CONVERSATION_ID_REFPARM_QN, conversationId.toString());
        }

        // add WS-Addressing header
        //FIXME: is there any way to use the Axis2 addressing support for this?
        if (fromEPR != null) {
View Full Code Here

Examples of org.apache.axis2.addressing.EndpointReference.addReferenceParameter()

    OMNamespace namespace = factory.createOMNamespace("urn:wsrm:InteropOptions","rmi");
    OMElement acceptOfferElem = factory.createOMElement("acceptOffer",namespace);
    OMElement useOfferElem = factory.createOMElement("useOffer",namespace);
    acceptOfferElem.setText("false");
    useOfferElem.setText("false");
    toEPR.addReferenceParameter(acceptOfferElem);
    toEPR.addReferenceParameter(useOfferElem);
//    clientOptions.setManageSession(true); // without this reference params wont go.
    serviceClient.setTargetEPR(toEPR);
   
    clientOptions.setProperty(Options.COPY_PROPERTIES,new Boolean (true));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.