in mixins/om-mixins/src/main/java/org/apache/axiom/soap/impl/intf/SOAPHelper.java [56:116]
protected SOAPHelper(
SOAPVersion version,
String specName,
AxiomElementType<? extends AxiomSOAPEnvelope> envelopeType,
AxiomElementType<? extends AxiomSOAPHeader> headerType,
AxiomElementType<? extends AxiomSOAPHeaderBlock> headerBlockType,
AxiomElementType<? extends AxiomSOAPBody> bodyType,
AxiomElementType<? extends AxiomSOAPFault> faultType,
AxiomElementType<? extends AxiomSOAPFaultCode> faultCodeType,
AxiomElementType<? extends AxiomSOAPFaultReason> faultReasonType,
AxiomElementType<? extends AxiomSOAPFaultRole> faultRoleType,
AxiomElementType<? extends AxiomSOAPFaultDetail> faultDetailType,
String roleAttributeLocalName,
String relayAttributeLocalName) {
this.version = version;
namespace =
new OMNamespaceImpl(
version.getEnvelopeURI(), SOAPConstants.SOAP_DEFAULT_NAMESPACE_PREFIX);
this.specName = specName;
this.envelopeType = envelopeType;
this.headerType = headerType;
headerQName =
new QName(
version.getEnvelopeURI(),
SOAPConstants.HEADER_LOCAL_NAME,
SOAPConstants.SOAP_DEFAULT_NAMESPACE_PREFIX);
this.headerBlockType = headerBlockType;
this.bodyType = bodyType;
bodyQName =
new QName(
version.getEnvelopeURI(),
SOAPConstants.BODY_LOCAL_NAME,
SOAPConstants.SOAP_DEFAULT_NAMESPACE_PREFIX);
this.faultType = faultType;
faultQName =
new QName(
version.getEnvelopeURI(),
SOAPConstants.SOAPFAULT_LOCAL_NAME,
SOAPConstants.SOAP_DEFAULT_NAMESPACE_PREFIX);
this.faultCodeType = faultCodeType;
this.faultReasonType = faultReasonType;
this.faultRoleType = faultRoleType;
this.faultDetailType = faultDetailType;
mustUnderstandAttributeQName =
new QName(
version.getEnvelopeURI(),
SOAPConstants.ATTR_MUSTUNDERSTAND,
SOAPConstants.SOAP_DEFAULT_NAMESPACE_PREFIX);
roleAttributeQName =
new QName(
version.getEnvelopeURI(),
roleAttributeLocalName,
SOAPConstants.SOAP_DEFAULT_NAMESPACE_PREFIX);
relayAttributeQName =
relayAttributeLocalName == null
? null
: new QName(
version.getEnvelopeURI(),
relayAttributeLocalName,
SOAPConstants.SOAP_DEFAULT_NAMESPACE_PREFIX);
}