electric.soap.wsdl
Class SOAPWSDLFactory

java.lang.Object
  extended byelectric.soap.wsdl.SOAPWSDLFactory
All Implemented Interfaces:
ISOAPConstants, IWSDLConstants, IWSDLFactory

public class SOAPWSDLFactory
extends java.lang.Object
implements IWSDLFactory, ISOAPConstants, IWSDLConstants

SOAPWSDLFactory is responsible for the portions of WSDL related to the SOAP binding, see WSDL 1.1, section 3.2 "How the SOAP Binding Extends WSDL".

Author:
webMethods

Field Summary
 
Fields inherited from interface electric.soap.ISOAPConstants
ACTOR, ASYNC, BODY, DETAIL, ENCODING_STYLE, ENVELOPE, EXCEPTION, FAULT, FAULT_ACTOR, FAULT_CODE, FAULT_STRING, GET_SOAP_ACTOR, GET_SOAP_CODE, HEADER, MUST_UNDERSTAND, NEXT_ACTOR, OPTIMIZED_HEADER, SET_SOAP_ACTOR, SET_SOAP_CODE, SET_SOAP_DETAIL, SOAP_ACTION_HEADER, SOAP_BINDING, SOAP_ENCODING, SOAP_ENCODING_PREFIX, SOAP_ENVELOPE, SOAP_HTTP_TRANSPORT, SOAP_PREFIX, SOAP11_BINDING, SOAP11_ENCODING, SOAP11_ENVELOPE, SOAP12, SOAP12_BINDING, SOAP12_ENCODING, SOAP12_ENVELOPE, SOAP12_HTTP_CONTENT_TYPE, STACKTRACE, TME_PREFIX, UNDERSTOOD, XSD_PREFIX, XSI_PREFIX, XSI_SUFFIX
 
Fields inherited from interface electric.wsdl.IWSDLConstants
ADDRESS, BINDING, DEFINITIONS, DESCRIPTION, DOCUMENT, DOCUMENTATION, ELEMENT, ENCODED, ENCODING_STYLE, ENDPOINT, FAULT, FAULT_DETAIL, GET, GETPOST, HTTP, INPUT, LITERAL, LOCATION, MESSAGE, METHOD_NAMESPACE, MIME, NAME, NAMESPACE, OPERATION, OUTPUT, PARAMETER_ORDER, PARAMETERS, PART, PORT, PORT_TYPE, POST, RPC, SERVICE, SOAP, SOAP_ACTION, STYLE, TARGET_NAMESPACE, TARGET_NAMESPACE_PREFIX, TNS, TRANSPORT, TYPE, USE, VERB, WSDL_EXTENSION, WSDL_NAMESPACE, WSDL_PREFIX, WSDL_SOAP_NAMESPACE, WSDL_SOAP_PREFIX, WSDL_SOAP11_NAMESPACE, WSDL_SOAP11_PREFIX, WSDL_SOAP12_NAMESPACE, WSDL_SOAP12_PREFIX
 
Constructor Summary
SOAPWSDLFactory()
           
 
Method Summary
 void addPorts(WSDL wsdl, Service service, java.lang.String name, MethodDescriptor[] methods, XURL[] endpoints, Context context)
          Add wsdl:Port/soap:address and wsdl:Binding/soap:Binding objects matching the given set of Java methods.
 Binding newBinding(WSDL wsdl, java.lang.String targetNamespace, Element binding, java.lang.String bindingNamespace)
          Given a <soap:binding> element, parse it and add a GLUE object representing the binding to the given WSDL object.
 Port newPort(Service service, Element port)
           
static void startup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAPWSDLFactory

public SOAPWSDLFactory()
Method Detail

startup

public static void startup()

newBinding

public Binding newBinding(WSDL wsdl,
                          java.lang.String targetNamespace,
                          Element binding,
                          java.lang.String bindingNamespace)
                   throws WSDLException,
                          SchemaException
Given a <soap:binding> element, parse it and add a GLUE object representing the binding to the given WSDL object. If the given Element is not a soap:binding, ignore it.

Specified by:
newBinding in interface IWSDLFactory
Parameters:
wsdl -
targetNamespace -
binding -
Throws:
WSDLException
SchemaException

newPort

public Port newPort(Service service,
                    Element port)
             throws WSDLException,
                    SchemaException
Specified by:
newPort in interface IWSDLFactory
Parameters:
service -
port -
Throws:
WSDLException
SchemaException

addPorts

public void addPorts(WSDL wsdl,
                     Service service,
                     java.lang.String name,
                     MethodDescriptor[] methods,
                     XURL[] endpoints,
                     Context context)
              throws WSDLException,
                     SchemaException
Add wsdl:Port/soap:address and wsdl:Binding/soap:Binding objects matching the given set of Java methods.

Specified by:
addPorts in interface IWSDLFactory
Parameters:
wsdl -
service -
name -
methods -
endpoints -
context -
Throws:
WSDLException
SchemaException


copyright© 2001-2004 by webMethods All Rights Reserved.