/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/**
* The SOAP extension handler for WSDL.
*
* @author WS Development Team
*/
super(extensionHandlerMap);
}
return Constants.NS_WSDL_SOAP;
}
public boolean handleDefinitionsExtension(
Element e) {
"parsing.invalidExtensionElement",
e.getTagName(),
e.getNamespaceURI());
return false; // keep compiler happy
}
public boolean handleTypesExtension(
Element e) {
"parsing.invalidExtensionElement",
e.getTagName(),
e.getNamespaceURI());
return false; // keep compiler happy
}
return new SOAPBinding(location);
}
public boolean handleBindingExtension(
Element e) {
// NOTE - the "transport" attribute is required according to section 3.3 of the WSDL 1.1 spec,
// but optional according to the schema in appendix A 4.2 of the same document!
} else {
"parsing.invalidAttributeValue",
style);
}
}
// context.fireDoneParsingEntity(getBindingQName(), binding);
return true;
} else {
"parsing.invalidExtensionElement",
e.getTagName(),
e.getNamespaceURI());
return false; // keep compiler happy
}
}
public boolean handleOperationExtension(
Element e) {
if (soapAction != null) {
}
} else {
"parsing.invalidAttributeValue",
style);
}
}
// context.fireDoneParsingEntity(
// getOperationQName(),
// operation);
return true;
} else {
"parsing.invalidExtensionElement",
e.getTagName(),
e.getNamespaceURI());
return false; // keep compiler happy
}
}
public boolean handleInputExtension(
Element e) {
}
public boolean handleOutputExtension(
Element e) {
}
protected boolean handleMIMEPartExtension(
Element e) {
}
protected boolean handleInputOutputExtension(
Element e) {
} else {
"parsing.invalidAttributeValue",
use);
}
}
}
if (encodingStyle != null) {
}
}
// context.fireDoneParsingEntity(getBodyQName(), body);
return true;
} else {
return false; // keep compiler happy
}
}
private boolean handleHeaderElement(TWSDLExtensible parent, Element e, TWSDLParserContextImpl context) {
} else {
}
}
}
if (encodingStyle != null) {
}
}
if (messageAttr != null) {
}
break;
} else {
}
}
return true;
}
private void handleHeaderFaultElement(Element e, TWSDLParserContextImpl context, SOAPHeader header, String use, Element e2) {
} else {
}
}
if (namespace2 != null) {
}
if (encodingStyle2 != null) {
}
}
if (messageAttr2 != null) {
}
}
public boolean handleFaultExtension(
Element e) {
}
} else {
"parsing.invalidAttributeValue",
use);
}
}
}
if (encodingStyle != null) {
}
// context.fireDoneParsingEntity(getFaultQName(), fault);
return true;
// although SOAP spec doesn't define meaning of this extension; it is allowed
// to be here, so we have to accept it, not fail (bug 13576977)
} else {
"parsing.invalidExtensionElement",
e.getTagName(),
e.getNamespaceURI());
return false; // keep compiler happy
}
}
public boolean handleServiceExtension(
Element e) {
"parsing.invalidExtensionElement",
e.getTagName(),
e.getNamespaceURI());
return false; // keep compiler happy
}
public boolean handlePortExtension(
Element e) {
// context.fireDoneParsingEntity(getAddressQName(), address);
return true;
} else {
"parsing.invalidExtensionElement",
e.getTagName(),
e.getNamespaceURI());
return false; // keep compiler happy
}
}
public boolean handlePortTypeExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) {
"parsing.invalidExtensionElement",
e.getTagName(),
e.getNamespaceURI());
return false; // keep compiler happy
}
return SOAPConstants.QNAME_BODY;
}
return SOAPConstants.QNAME_HEADER;
}
return SOAPConstants.QNAME_HEADERFAULT;
}
return SOAPConstants.QNAME_OPERATION;
}
return SOAPConstants.QNAME_FAULT;
}
return SOAPConstants.QNAME_ADDRESS;
}
return SOAPConstants.QNAME_BINDING;
}
}