protected SOAPEnvelope getSaajEnvelope() { return getSaajElement(); }
@Override public SoapHeader getHeader() { if (header == null) { try { SOAPHeader saajHeader = getSaajEnvelope().getHeader(); if (saajHeader != null) { if (saajHeader.getElementQName().getNamespaceURI() .equals(SoapVersion.SOAP_11.getEnvelopeNamespaceUri())) { header = new SaajSoap11Header(saajHeader); } else { header = new SaajSoap12Header(saajHeader); } } else { header = null; } } catch (SOAPException ex) { throw new SaajSoapHeaderException(ex); } } return header; }
public SoapEnvelope getEnvelope() { if (envelope == null) { try { SOAPEnvelope saajEnvelope = getImplementation().getEnvelope(getSaajMessage()); envelope = new SaajSoapEnvelope(saajEnvelope, langAttributeOnSoap11FaultString); } catch (SOAPException ex) { throw new SaajSoapEnvelopeException(ex); } } return envelope; }
public SoapBody getBody() { if (body == null) { try { SOAPBody saajBody = getImplementation().getBody(getSaajEnvelope()); if (getImplementation().getName(saajBody).getNamespaceURI() .equals(SoapVersion.SOAP_11.getEnvelopeNamespaceUri())) { body = new SaajSoap11Body(saajBody, langAttributeOnSoap11FaultString); } else { body = new SaajSoap12Body(saajBody); } } catch (SOAPException ex) { throw new SaajSoapBodyException(ex); } } return body; }
@Override public SoapHeader getHeader() { if (header == null) { try { SOAPHeader saajHeader = getSaajEnvelope().getHeader(); if (saajHeader != null) { if (saajHeader.getElementQName().getNamespaceURI() .equals(SoapVersion.SOAP_11.getEnvelopeNamespaceUri())) { header = new SaajSoap11Header(saajHeader); } else { header = new SaajSoap12Header(saajHeader); } } else { header = null; } } catch (SOAPException ex) { throw new SaajSoapHeaderException(ex); } } return header; }
@Override public SoapEnvelope getEnvelope() { if (envelope == null) { try { SOAPEnvelope saajEnvelope = getSaajMessage().getSOAPPart().getEnvelope(); envelope = new SaajSoapEnvelope(saajEnvelope, langAttributeOnSoap11FaultString); } catch (SOAPException ex) { throw new SaajSoapEnvelopeException(ex); } } return envelope; }
public SoapHeader getHeader() { if (header == null) { try { SOAPHeader saajHeader = getImplementation().getHeader(getSaajEnvelope()); if (saajHeader != null) { if (getImplementation().getName(saajHeader).getNamespaceURI() .equals(SoapVersion.SOAP_11.getEnvelopeNamespaceUri())) { header = new SaajSoap11Header(saajHeader); } else { header = new SaajSoap12Header(saajHeader); } } else { header = null; } } catch (SOAPException ex) { throw new SaajSoapHeaderException(ex); } } return header; }
@Override public SoapHeader getHeader() { if (header == null) { try { SOAPHeader saajHeader = getSaajEnvelope().getHeader(); if (saajHeader != null) { if (saajHeader.getElementQName().getNamespaceURI() .equals(SoapVersion.SOAP_11.getEnvelopeNamespaceUri())) { header = new SaajSoap11Header(saajHeader); } else { header = new SaajSoap12Header(saajHeader); } } else { header = null; } } catch (SOAPException ex) { throw new SaajSoapHeaderException(ex); } } return header; }
@Override public SoapEnvelope getEnvelope() { if (envelope == null) { try { SOAPEnvelope saajEnvelope = getSaajMessage().getSOAPPart().getEnvelope(); envelope = new SaajSoapEnvelope(saajEnvelope, langAttributeOnSoap11FaultString); } catch (SOAPException ex) { throw new SaajSoapEnvelopeException(ex); } } return envelope; }
protected SOAPEnvelope getSaajEnvelope() { return getSaajElement(); }
@Override public SoapBody getBody() { if (body == null) { try { SOAPBody saajBody = getSaajEnvelope().getBody(); if (saajBody == null) { throw new SaajSoapBodyException("SAAJ SOAP message has no body"); } if (saajBody.getElementQName().getNamespaceURI() .equals(SoapVersion.SOAP_11.getEnvelopeNamespaceUri())) { body = new SaajSoap11Body(saajBody, langAttributeOnSoap11FaultString); } else { body = new SaajSoap12Body(saajBody); } } catch (SOAPException ex) { throw new SaajSoapBodyException(ex); } } return body; }
@Override public SoapEnvelope getEnvelope() { if (envelope == null) { try { SOAPEnvelope saajEnvelope = getSaajMessage().getSOAPPart().getEnvelope(); envelope = new SaajSoapEnvelope(saajEnvelope, langAttributeOnSoap11FaultString); } catch (SOAPException ex) { throw new SaajSoapEnvelopeException(ex); } } return envelope; }
protected SOAPEnvelope getSaajEnvelope() { return getSaajElement(); }
@Override public SoapBody getBody() { if (body == null) { try { SOAPBody saajBody = getSaajEnvelope().getBody(); if (saajBody == null) { throw new SaajSoapBodyException("SAAJ SOAP message has no body"); } if (saajBody.getElementQName().getNamespaceURI() .equals(SoapVersion.SOAP_11.getEnvelopeNamespaceUri())) { body = new SaajSoap11Body(saajBody, langAttributeOnSoap11FaultString); } else { body = new SaajSoap12Body(saajBody); } } catch (SOAPException ex) { throw new SaajSoapBodyException(ex); } } return body; }
protected SOAPEnvelope getSaajEnvelope() { return getSaajElement(); }
@Override public SoapBody getBody() { if (body == null) { try { SOAPBody saajBody = getSaajEnvelope().getBody(); if (saajBody == null) { throw new SaajSoapBodyException("SAAJ SOAP message has no body"); } if (saajBody.getElementQName().getNamespaceURI() .equals(SoapVersion.SOAP_11.getEnvelopeNamespaceUri())) { body = new SaajSoap11Body(saajBody, langAttributeOnSoap11FaultString); } else { body = new SaajSoap12Body(saajBody); } } catch (SOAPException ex) { throw new SaajSoapBodyException(ex); } } return body; }