Package org.apache.axiom.om

Examples of org.apache.axiom.om.OMElement.detach()


   
    //detach if already exist.
    OMElement elem = body.getFirstChildWithName(new QName(Sandesha2Constants.SPEC_2007_02.MC_NS_URI,
        Sandesha2Constants.WSRM_COMMON.MAKE_CONNECTION));
    if (elem!=null)
      elem.detach();
   
    toOMElement(body);
  }

  public Object fromOMElement(OMElement makeConnectionElement) throws OMException, AxisFault {
View Full Code Here


   
    //detach if already exist.
    OMElement elem = body.getFirstChildWithName(new QName(rmNamespaceValue,
        Sandesha2Constants.WSRM_COMMON.CREATE_SEQUENCE));
    if (elem!=null)
      elem.detach();
   
    toOMElement(body);
  }
 
  public boolean isNamespaceSupported (String namespaceName) {
View Full Code Here

   
    //detach if already exist.
    OMElement elem = body.getFirstChildWithName(new QName(namespaceValue,
        Sandesha2Constants.WSRM_COMMON.TERMINATE_SEQUENCE_RESPONSE));
    if (elem!=null)
      elem.detach();
   
    toOMElement(body);
  }
 
  public boolean isNamespaceSupported (String namespaceName) {
View Full Code Here

   
    //detach if already exist.
    OMElement elem = body.getFirstChildWithName(new QName(namespaceValue,
        Sandesha2Constants.WSRM_COMMON.CLOSE_SEQUENCE));
    if (elem!=null)
      elem.detach();
   
    toOMElement(body);
  }
 
  public boolean isNamespaceSupported (String namespaceName) {
View Full Code Here

   
    //detach if already exist.
    OMElement elem = body.getFirstChildWithName(new QName(rmNamespaceValue,
        Sandesha2Constants.WSRM_COMMON.CREATE_SEQUENCE_RESPONSE));
    if (elem!=null)
      elem.detach();
   
    toOMElement(body);
  }
 
  public boolean isNamespaceSupported (String namespaceName) {
View Full Code Here

   
    //detach if already exist.
    OMElement elem = body.getFirstChildWithName(new QName(namespaceValue,
        Sandesha2Constants.WSRM_COMMON.CLOSE_SEQUENCE_RESPONSE));
    if (elem!=null)
      elem.detach();
   
    toOMElement(body);
  }
 
  public boolean isNamespaceSupported (String namespaceName) {
View Full Code Here

   
    //detach if already exist.
    OMElement elem = body.getFirstChildWithName(new QName(namespaceValue,
        Sandesha2Constants.WSRM_COMMON.TERMINATE_SEQUENCE));
    if (elem!=null)
      elem.detach();
   
    toOMElement(body);
  }
 
  public boolean isNamespaceSupported (String namespaceName) {
View Full Code Here

            if (omElement == null) {
                throw new RuleServiceManagementException("Cannot create an XML representation for" +
                        " the file in the service : " + serviceName + ". File was :" + ruleFile,
                        log);
            }
            omElement.detach();
            return omElement;

        } catch (FileNotFoundException e) {
            throw new RuleServiceManagementException("Cannot find the file : " + ruleFile + " ," +
                    " belongs to rule service with name : " + serviceName, log);
View Full Code Here

        }
        Iterator it = serviceEndpointElement.getChildElements();
        while(it.hasNext()){
            OMElement next = (OMElement) it.next();
            if (next.getText().equals(endpointEnv + ":" + endpointUrl)) {
                next.detach();
                // now we are saving it to the registry.
                String serviceElementStr = serviceElement.toString();
                serviceResource.setContent(serviceElementStr.getBytes());
                registry.put(servicePath, serviceResource);
                break;
View Full Code Here

                bamCepUtils.invokeSoapClient(soapBodyElement, reference);
            }
        } else if (msgProcessType.equals("cep")) {

            String eprForReceivers;
            soapBodyElement.detach();
            if (nameSpaceURI.equals(BAMCepConstants.SERVER_URI)) {

                try {

                    eprForReceivers = BAMCepConfigure.getServerEprValue();
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.