Examples of addChildElement()


Examples of org.apache.axis.message.Detail.addChildElement()

      for ( int i = 0; i < details.length; i++ )
      {
         try
         {
            detail.addChildElement( SaajUtils.toSOAPElement( details[i] ) );
         }
         catch ( SOAPException e1 )
         {
            throw new JAXRPCException( e1.getLocalizedMessage(  ) );
         }
View Full Code Here

Examples of org.apache.axis.message.MessageElement.addChildElement()

                                                "parent",
                                                "parns",
                                                null,
                                                dc);
        Name c1 = new PrefixedQName("child1.names", "child1" ,"c1ns");
        SOAPElement child1 = parent.addChildElement(c1);
        SOAPElement child2 = parent.addChildElement("child2");
        SOAPElement child3 = parent.addChildElement("child3.names", "parns");
        SOAPElement child4 = parent.addChildElement("child4",
                                                    "c4ns",
                                                    "child4.names");
View Full Code Here

Examples of org.apache.axis.message.SOAPBody.addChildElement()

        mc.setProperty(MessageContext.TRANS_URL, "local");

        // create SOAP envelope
        SOAPEnvelope env = new SOAPEnvelope();
        SOAPBody body = (SOAPBody) env.getBody();
        body.addChildElement(new RPCElement("doSth"));
        Message reqMsg = new Message(env);
        mc.setRequestMessage(reqMsg);

        // invoke the engine and test if the fault contains everything as        
        try {
View Full Code Here

Examples of org.apache.axis.message.SOAPHeaderElement.addChildElement()

                                        .getPrefix(),
                                    RequestSecurityTokenResponse
                                        .TOKEN
                                        .getNamespaceURI());
                            rstr.addChild(tmpEle);
                            shSecElem.addChildElement(rstr);
                        }
                    }
                } else if (el.equals(RequestedProofToken.TOKEN)) {
                    SOAPPart sPart =
                        (org.apache.axis.SOAPPart) sm.getSOAPPart();
View Full Code Here

Examples of org.apache.juddi.datatype.response.DispositionReport.addChildElement()

       
        SOAPElement dispRpt = faultDetail.addChildElement("dispositionReport","",IRegistry.UDDI_V2_NAMESPACE);       
        dispRpt.setAttribute("generic",IRegistry.UDDI_V2_GENERIC);
        dispRpt.setAttribute("operator",Config.getOperator());
       
        SOAPElement result = dispRpt.addChildElement("result");
        result.setAttribute("errno",errno);
       
        SOAPElement errInfo = result.addChildElement("errInfo");
        errInfo.setAttribute("errCode",errCode);
        errInfo.setValue(errText);
View Full Code Here

Examples of org.apache.juddi.datatype.response.Result.addChildElement()

        dispRpt.setAttribute("operator",Config.getOperator());
       
        SOAPElement result = dispRpt.addChildElement("result");
        result.setAttribute("errno",errno);
       
        SOAPElement errInfo = result.addChildElement("errInfo");
        errInfo.setAttribute("errCode",errCode);
        errInfo.setValue(errText);
      }
      catch (Exception e) { // if we end up in here it's just NOT good.
        log.error("A serious error has occured while assembling the SOAP Fault.",e);
View Full Code Here

Examples of org.camunda.bpm.model.bpmn.instance.Definitions.addChildElement()

    definitions.getDomElement().registerNamespace("camunda", CAMUNDA_NS);
    modelInstance.setDefinitions(definitions);
    Process process = modelInstance.newInstance(Process.class);
    String processId = ModelUtil.getUniqueIdentifier(process.getElementType());
    process.setId(processId);
    definitions.addChildElement(process);
    return process.builder();
  }

  public static ProcessBuilder createProcess(String processId) {
    return createProcess().id(processId);
View Full Code Here

Examples of org.camunda.bpm.model.bpmn.instance.ExtensionElements.addChildElement()

    ExtensionElements extensionElements = element.getExtensionElements();
    if (extensionElements == null) {
      extensionElements = modelInstance.newInstance(ExtensionElements.class);
      element.setExtensionElements(extensionElements);
    }
    extensionElements.addChildElement(extensionElement);
    return myself;
  }
}
View Full Code Here

Examples of org.jboss.ws.core.soap.SOAPBodyImpl.addChildElement()

         ParameterMetaData retParameter = opMetaData.getReturnParameter();
         QName xmlName = retParameter.getXmlName();
         SOAPBodyImpl soapBody = (SOAPBodyImpl)resMessage.getSOAPBody();
         SOAPContentElement bodyElement = new SOAPBodyElementDoc(xmlName);
         bodyElement = (SOAPContentElement)soapBody.addChildElement(bodyElement);

         Source payload = (Source)epInv.getReturnValue();
         bodyElement.setXMLFragment(new XMLFragment(payload));

         return resMessage;
View Full Code Here

Examples of org.jmanage.webui.taglib.HtmlElement.addChildElement()

                graphConfig.getAttributesAsString());
        applet.addChildElement(param);

        param = new ParamElement(GraphAppletParameters.Y_AXIS_LABEL,
                graphConfig.getYAxisLabel());
        applet.addChildElement(param);

        if(graphConfig.getScaleFactor() != null){
            param = new ParamElement(GraphAppletParameters.SCALE_FACTOR,
                    graphConfig.getScaleFactor());
            applet.addChildElement(param);
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.