Class WSDLModeler101
- java.lang.Object
-
- com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase
-
- com.sun.xml.rpc.processor.modeler.wsdl.WSDLModeler101
-
- All Implemented Interfaces:
Modeler
public class WSDLModeler101 extends WSDLModelerBase
WSDLModeler for JAXRPC version 1.0.1- Author:
- JAX-RPC Development Team
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase
WSDLModelerBase.ProcessSOAPOperationInfo, WSDLModelerBase.WSDLExceptionInfo
-
-
Field Summary
-
Fields inherited from class com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase
_faultTypeToStructureMap, _javaExceptions, _javaTypes, hSet, info, MESSAGE_HAS_MIME_MULTIPART_RELATED_BINDING, parser
-
-
Constructor Summary
Constructors Constructor Description WSDLModeler101(WSDLModelInfo modelInfo, Properties options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancreateJavaException(Fault fault, Port port, String operationName)protected ExtensiongetAnyExtensionOfType(Extensible extensible, Class type)Only JAXRPC SI 1.1.2 and onwards support wsdl mime extension and swaref.protected StringgetFaultName(String faultPartName, String soapFaultName, String bindFaultName, String faultMessageName)bug fix: 4884736 Returns soapbinding:fault name.protected ListgetMessageParts(SOAPBody body, Message message, boolean isInput)JAXRPC 1.0.1 doesn't support optional parts in a WSDL documentprotected SchemaAnalyzerBasegetSchemaAnalyzerInstance(WSDLDocument document, WSDLModelInfo _modelInfo, Properties _options, Set _conflictingClassNames, JavaSimpleTypeCreator _javaTypes)Gets the appropriate Schema Analyzer for the wsdlprotected voidhandleLiteralSOAPFault(Response response, Set duplicateNames)protected booleanisBoundToMimeContent(MessagePart part)protected booleanisBoundToSOAPBody(MessagePart part)protected voidprocessHeaderFaults(SOAPHeader header, WSDLModelerBase.ProcessSOAPOperationInfo info, Response response, Set duplicateNames)Overridden this method, 1.0.1 does not process header faultprotected ListprocessParameterOrder(Set inputParameterNames, Set outputParameterNames, StringBuffer resultParameterName)protected OperationprocessSOAPOperationRPCLiteralStyle()JAXRPC 1.0.1 doesn't support RPC/Literalprotected voidsetUnwrapped(LiteralStructuredType type)-
Methods inherited from class com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase
addParameterToStructures, buildModel, checkNotWsdlElement, checkNotWsdlRequired, createJavaExceptionFromLiteralType, createJavaExceptionFromSOAPType, createJavaInterfaceForPort, createParentFault, createRelativeJavaExceptions, createSubfaults, findMessage, getDocumentationFor, getElementTypeToLiteralType, getEnvironment, getExceptionInfo, getExtensionOfType, getHeaderFaultSequenceType, getInputMessage, getJavaNameForOperation, getJavaNameOfPort, getJavaNameOfSEI, getLiteralJavaMemberName, getNonQualifiedNameFor, getOutputMessage, getQNameOf, getRequestNamespaceURI, getResponseNamespaceURI, getSchemaAnalyzer, getServiceInterfaceName, getSOAPRequestBody, getSOAPResponseBody, getStructureNamePrefix, getUniqueName, getUniqueParameterName, info, info, isConflictingClassName, isConflictingExceptionClassName, isConflictingPortClassName, isConflictingServiceClassName, isConflictingStubClassName, isConflictingTieClassName, isEquivalentLiteralStructures, isEquivalentSOAPStructures, isOperationDocumentLiteral, isRequestMimeMultipart, isResponseMimeMultipart, isSingleInOutPart, isStyleAndPartMatch, isUnwrappable, isUnwrappable, isWrapperType, makeNameUniqueInSet, makePackageQualified, makePackageQualified, makePackageQualified, makePackageQualified, postProcessSOAPOperation, processPort, processSearchSchemaOption, processService, processSOAPOperation, processSOAPOperationDocumentLiteralStyle, processSOAPOperationRPCEncodedStyle, setCurrentPort, setDocumentationIfPresent, setJavaOperationNameProperty, setSOAPUse, tokenListContains, typeHasNoWildcardElement, useExplicitServiceContextForDocLit, useExplicitServiceContextForRpcEncoded, useExplicitServiceContextForRpcLit, verifyParameterType, verifyResultType, warn, warn, warn, warn
-
-
-
-
Constructor Detail
-
WSDLModeler101
public WSDLModeler101(WSDLModelInfo modelInfo, Properties options)
- Parameters:
modelInfo-options-
-
-
Method Detail
-
processSOAPOperationRPCLiteralStyle
protected Operation processSOAPOperationRPCLiteralStyle()
JAXRPC 1.0.1 doesn't support RPC/Literal- Overrides:
processSOAPOperationRPCLiteralStylein classWSDLModelerBase- Returns:
- null
-
setUnwrapped
protected void setUnwrapped(LiteralStructuredType type)
- Overrides:
setUnwrappedin classWSDLModelerBase
-
getMessageParts
protected List getMessageParts(SOAPBody body, Message message, boolean isInput)
JAXRPC 1.0.1 doesn't support optional parts in a WSDL document- Overrides:
getMessagePartsin classWSDLModelerBase- Parameters:
body- request or response body, represents soap:bodymessage- Input or output message, equivalent to wsdl:message- Returns:
- iterator over MessagePart
-
processParameterOrder
protected List processParameterOrder(Set inputParameterNames, Set outputParameterNames, StringBuffer resultParameterName)
- Overrides:
processParameterOrderin classWSDLModelerBase
-
handleLiteralSOAPFault
protected void handleLiteralSOAPFault(Response response, Set duplicateNames)
- Overrides:
handleLiteralSOAPFaultin classWSDLModelerBase
-
getFaultName
protected String getFaultName(String faultPartName, String soapFaultName, String bindFaultName, String faultMessageName)
bug fix: 4884736 Returns soapbinding:fault name. If null then gives warning for wsi R2721 and uses wsdl:fault name.- Overrides:
getFaultNamein classWSDLModelerBase- Parameters:
faultPartName- - to be used by versions < 1.1soapFaultName-bindFaultName-faultMessageName-- Returns:
- faultPartName
-
getSchemaAnalyzerInstance
protected SchemaAnalyzerBase getSchemaAnalyzerInstance(WSDLDocument document, WSDLModelInfo _modelInfo, Properties _options, Set _conflictingClassNames, JavaSimpleTypeCreator _javaTypes)
Description copied from class:WSDLModelerBaseGets the appropriate Schema Analyzer for the wsdl- Specified by:
getSchemaAnalyzerInstancein classWSDLModelerBase- Returns:
- the schema analyzer
-
createJavaException
protected boolean createJavaException(Fault fault, Port port, String operationName)
- Overrides:
createJavaExceptionin classWSDLModelerBase
-
processHeaderFaults
protected void processHeaderFaults(SOAPHeader header, WSDLModelerBase.ProcessSOAPOperationInfo info, Response response, Set duplicateNames)
Overridden this method, 1.0.1 does not process header fault
-
getAnyExtensionOfType
protected Extension getAnyExtensionOfType(Extensible extensible, Class type)
Only JAXRPC SI 1.1.2 and onwards support wsdl mime extension and swaref.
-
isBoundToSOAPBody
protected boolean isBoundToSOAPBody(MessagePart part)
- Overrides:
isBoundToSOAPBodyin classWSDLModelerBase- Returns:
- true
-
isBoundToMimeContent
protected boolean isBoundToMimeContent(MessagePart part)
- Overrides:
isBoundToMimeContentin classWSDLModelerBase- Returns:
- false
-
-