public void register(SoapVersion version) { versions.put(version.getNamespace(), version); }
public void register(SoapVersion version) { versions.put(version.getNamespace(), version); }
org.apache.cxf.binding.soap.SoapMessage cxfSoapMessage = (org.apache.cxf.binding.soap.SoapMessage)message; String cxfNamespace = cxfSoapMessage.getVersion().getNamespace(); SOAPHeader soapHeader = soapMessage.getSOAPHeader(); String namespace = soapHeader == null ? null : soapHeader.getNamespaceURI();
public void writeAttribute(String uri, String local, String value) throws XMLStreamException { if (soapVersion.getNamespace().equals(uri) && (local.equals(soapVersion.getAttrNameMustUnderstand()) || local.equals(soapVersion.getAttrNameRole()))) { return; } super.writeAttribute(uri, local, value); }
public void writeAttribute(String prefix, String uri, String local, String value) throws XMLStreamException { if (soapVersion.getNamespace().equals(uri) && (local.equals(soapVersion.getAttrNameMustUnderstand()) || local.equals(soapVersion.getAttrNameRole()))) { return; } super.writeAttribute(prefix, uri, local, value); } public void writeAttribute(String uri, String local, String value) throws XMLStreamException {
public void writeAttribute(String uri, String local, String value) throws XMLStreamException { if (soapVersion.getNamespace().equals(uri) && (local.equals(soapVersion.getAttrNameMustUnderstand()) || local.equals(soapVersion.getAttrNameRole()))) { return; } super.writeAttribute(uri, local, value); }
public void writeAttribute(String prefix, String uri, String local, String value) throws XMLStreamException { if (soapVersion.getNamespace().equals(uri) && (local.equals(soapVersion.getAttrNameMustUnderstand()) || local.equals(soapVersion.getAttrNameRole()))) { return; } super.writeAttribute(prefix, uri, local, value); } public void writeAttribute(String uri, String local, String value) throws XMLStreamException {
String soapNamespace = message.getVersion().getNamespace(); if (detail == null) { Document doc = DOMUtils.getEmptyDocument();
String soapNamespace = message.getVersion().getNamespace(); if (detail == null) { Document doc = DOMUtils.getEmptyDocument();
String ns = message.getVersion().getNamespace(); String defaultPrefix = writer.getPrefix(ns); if (defaultPrefix == null) {
String ns = message.getVersion().getNamespace(); String defaultPrefix = writer.getPrefix(ns); if (defaultPrefix == null) {
String ns = message.getVersion().getNamespace(); String defaultPrefix = writer.getPrefix(ns); if (defaultPrefix == null) {
private void writeSoapAttributes() throws XMLStreamException { if (!firstDone) { firstDone = true; if (!StringUtils.isEmpty(soapHeader.getActor())) { super.writeAttribute(soapPrefix, soapVersion.getNamespace(), soapVersion.getAttrNameRole(), soapHeader.getActor()); } boolean mu = soapHeader.isMustUnderstand(); if (mu) { String mul = soapVersion.getAttrValueMustUnderstand(mu); super.writeAttribute(soapPrefix, soapVersion.getNamespace(), soapVersion.getAttrNameMustUnderstand(), mul); } } } public void writeStartElement(String arg0, String arg1, String arg2)
private void writeSoapAttributes() throws XMLStreamException { if (!firstDone) { firstDone = true; if (!StringUtils.isEmpty(soapHeader.getActor())) { super.writeAttribute(soapPrefix, soapVersion.getNamespace(), soapVersion.getAttrNameRole(), soapHeader.getActor()); } boolean mu = soapHeader.isMustUnderstand(); if (mu) { String mul = soapVersion.getAttrValueMustUnderstand(mu); super.writeAttribute(soapPrefix, soapVersion.getNamespace(), soapVersion.getAttrNameMustUnderstand(), mul); } } } public void writeStartElement(String arg0, String arg1, String arg2)
shead.setDirection(SoapHeader.Direction.DIRECTION_IN); String mu = elem.getAttributeNS(message.getVersion().getNamespace(), message.getVersion().getAttrNameMustUnderstand()); String act = elem.getAttributeNS(message.getVersion().getNamespace(), message.getVersion().getAttrNameRole());
shead.setDirection(SoapHeader.Direction.DIRECTION_IN); String mu = elem.getAttributeNS(message.getVersion().getNamespace(), message.getVersion().getAttrNameMustUnderstand()); String act = elem.getAttributeNS(message.getVersion().getNamespace(), message.getVersion().getAttrNameRole());
org.apache.cxf.binding.soap.SoapMessage cxfSoapMessage = (org.apache.cxf.binding.soap.SoapMessage)message; String cxfNamespace = cxfSoapMessage.getVersion().getNamespace(); SOAPHeader soapHeader = soapMessage.getSOAPHeader(); String namespace = soapHeader == null ? null : soapHeader.getNamespaceURI();
el.removeAttributeNS(soapVersion.getNamespace(), soapVersion.getAttrNameMustUnderstand()); el.removeAttributeNS(soapVersion.getNamespace(), soapVersion.getAttrNameRole());
xtw.writeStartElement(soapPrefix, soapVersion.getHeader().getLocalPart(), soapVersion.getNamespace()); } catch (XMLStreamException e) { throw new SoapFault(new org.apache.cxf.common.i18n.Message("XML_WRITE_EXC", BUNDLE),
xtw.writeStartElement(soapPrefix, soapVersion.getHeader().getLocalPart(), soapVersion.getNamespace()); } catch (XMLStreamException e) { throw new SoapFault(new org.apache.cxf.common.i18n.Message("XML_WRITE_EXC", BUNDLE),