if (!checkEquals(soapBody.getPrefix(), domBody.getPrefix()))
public SOAPFault addFault(QName faultCode, String faultString, Locale locale) throws SOAPException { if (hasFault()) throw new SOAPException(BundleUtils.getMessage(bundle, "AT_MOST_ONE_SOAPFAULT")); SOAPFaultImpl soapFault = new SOAPFaultImpl(getPrefix(), getNamespaceURI()); soapFault.setFaultCode(faultCode); soapFault.setFaultString(faultString, locale); addChildElement(soapFault); return soapFault; }
public SOAPFault addFault() throws SOAPException { if (hasFault()) throw new SOAPException(BundleUtils.getMessage(bundle, "AT_MOST_ONE_SOAPFAULT")); SOAPFaultImpl soapFault = new SOAPFaultImpl(getPrefix(), getNamespaceURI()); soapFault = (SOAPFaultImpl)addChildElement(soapFault); soapFault.setFaultCode(soapFault.getDefaultFaultCode()); return soapFault; }
public SOAPFault addFault(Name faultCode, String faultString) throws SOAPException { if (hasFault()) throw new SOAPException(BundleUtils.getMessage(bundle, "AT_MOST_ONE_SOAPFAULT")); SOAPFaultImpl soapFault = new SOAPFaultImpl(getPrefix(), getNamespaceURI()); soapFault = (SOAPFaultImpl)addChildElement(soapFault); soapFault.setFaultCode(faultCode); soapFault.setFaultString(faultString); return soapFault; }
public SOAPFault addFault(QName faultCode, String faultString) throws SOAPException { if (hasFault()) throw new SOAPException(BundleUtils.getMessage(bundle, "AT_MOST_ONE_SOAPFAULT")); SOAPFaultImpl soapFault = new SOAPFaultImpl(getPrefix(), getNamespaceURI()); soapFault = (SOAPFaultImpl)addChildElement(soapFault); soapFault.setFaultCode(faultCode); soapFault.setFaultString(faultString); return soapFault; }
public SOAPFault addFault(Name faultCode, String faultString, Locale locale) throws SOAPException { if (hasFault()) throw new SOAPException(BundleUtils.getMessage(bundle, "AT_MOST_ONE_SOAPFAULT")); SOAPFaultImpl soapFault = new SOAPFaultImpl(getPrefix(), getNamespaceURI()); soapFault.setFaultCode(faultCode); soapFault.setFaultString(faultString, locale); addChildElement(soapFault); return soapFault; }