Package org.eclipse.wst.wsdl.binding.soap

Examples of org.eclipse.wst.wsdl.binding.soap.SOAPFault


    // Is it worth being smarter?  Look for matching content first and create those which aren't found????
    List removeList = new ArrayList(bindingFault.getEExtensibilityElements());
    removeExtensebilityElements(bindingFault.getEExtensibilityElements(), removeList);

    SOAPFactory soapFactory = SOAPFactory.eINSTANCE;
    SOAPFault soapFault = soapFactory.createSOAPFault();
    soapFault.setUse((getUseOption(bindingFault) == USE_ENCODED) ? "encoded" : "literal");
    soapFault.setName(fault.getName());
    //  soapFault.setNamespaceURI(getNamespace(bindingFault));

    if (getUseOption(bindingFault) == USE_ENCODED && getStyleOption(bindingFault) == STYLE_RPC)
    {
      List encodingList = new BasicEList();
      encodingList.add("http://schemas.xmlsoap.org/soap/encoding/");
      soapFault.setEncodingStyles(encodingList);
    }

    bindingFault.addExtensibilityElement(soapFault);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.wst.wsdl.binding.soap.SOAPFault

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.