Class WSDLModeler
java.lang.Object
com.sun.tools.ws.processor.modeler.wsdl.WSDLModelerBase
com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler
- All Implemented Interfaces:
Modeler
The WSDLModeler processes a WSDL to create a Model.
- Author:
- WS Development Team
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.sun.tools.ws.processor.modeler.wsdl.WSDLModelerBase
WSDLModelerBase.ProcessSOAPOperationInfo -
Field Summary
Fields inherited from class com.sun.tools.ws.processor.modeler.wsdl.WSDLModelerBase
_bindingNameToPortMap, _faultTypeToStructureMap, _javaExceptions, document, errReceiver, forest, info, MESSAGE_HAS_MIME_MULTIPART_RELATED_BINDING, NULL_LOCATOR, OPERATION_HAS_VOID_RETURN_TYPE, options, parser, WSDL_PARAMETER_ORDER, WSDL_RESULT_PARAMETER -
Constructor Summary
ConstructorsConstructorDescriptionWSDLModeler(WsimportOptions options, ErrorReceiver receiver, MetadataFinder forest) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbuildJAXBModel(WSDLDocument wsdlDocument) Returns the top model of a Web Service.protected booleancreateJavaExceptionFromLiteralType(Fault fault, Port port, String operationName) protected voidcreateJavaInterfaceForPort(Port port, boolean isProvider) protected voidprotected voidcreateJavaMethodForOperation(Port port, Operation operation, JavaInterface intf) protected StringgetAsyncOperationName(Operation operation) protected StringgetClassName(Port port, String suffix) protected StringgetJavaNameForOperation(Operation operation) protected StringgetJavaNameOfSEI(Port port) protected Stringprotected JAXBModelBuilderprotected List<MessagePart>protected StringgetServiceInterfaceName(QName serviceQName, Service wsdlService) protected voidhandleLiteralSOAPFault(Response response, Set duplicateNames) protected voidhandleLiteralSOAPHeaders(Request request, Response response, Iterator headerParts, Set duplicateNames, List<String> definitiveParameterList, boolean processRequest) protected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanisSingleInOutPart(Set inputParameterNames, MessagePart outputPart) protected booleanprotected OperationprocessLiteralSOAPOperation(WSDLModeler.StyleAndUse styleAndUse) protected booleanprocessPort(Port wsdlPort, Service service, WSDLDocument document) protected voidprocessService(Service wsdlService, Model model, WSDLDocument document) protected Operationprotected static voidsetDocumentationIfPresent(ModelObject obj, Documentation documentation) protected booleansetMessagePartsBinding(WSDLModeler.StyleAndUse styleAndUse) protected booleansetMessagePartsBinding(SOAPBody body, Message message, WSDLModeler.StyleAndUse styleAndUse, boolean isInput) protected booleanvalidateWSDLBindingStyle(Binding binding) Methods inherited from class com.sun.tools.ws.processor.modeler.wsdl.WSDLModelerBase
applyPortMethodCustomization, error, findMessage, getAlternateMimeTypes, getAnyExtensionOfType, getDuplicateFaultNames, getExtensionOfType, getHeaderExtensions, getInputMessage, getLiteralJavaMemberName, getMessageParts, getMimeContentParts, getMimeContents, getMimeContents, getMimeParts, getOutputMessage, getQNameOf, getRequestNamespaceURI, getResponseNamespaceURI, getSOAPRequestBody, getSOAPResponseBody, getUniqueClassName, getUniqueName, isConflictingClassName, isConflictingStubClassName, isConflictingTieClassName, isProvider, isRequestMimeMultipart, isResponseMimeMultipart, isStyleAndPartMatch, makePackageQualified, tokenListContains, validateBodyParts, validateMimeParts, warning
-
Constructor Details
-
WSDLModeler
-
-
Method Details
-
buildModel
Description copied from interface:ModelerReturns the top model of a Web Service. May throw a ModelException if there is a problem with the model.- Returns:
- Model - the root Node of the model of the Web Service
-
processService
-
processPort
-
processSOAPOperation
-
processLiteralSOAPOperation
-
getAsyncOperationName
-
isAsync
-
handleLiteralSOAPHeaders
-
handleLiteralSOAPFault
-
setMessagePartsBinding
-
setMessagePartsBinding
protected boolean setMessagePartsBinding(SOAPBody body, Message message, WSDLModeler.StyleAndUse styleAndUse, boolean isInput) -
isConflictingPortClassName
- Overrides:
isConflictingPortClassNamein classWSDLModelerBase
-
isUnwrappable
protected boolean isUnwrappable() -
isSingleInOutPart
-
buildJAXBModel
-
getJavaPackage
-
createJavaInterfaceForProviderPort
-
createJavaInterfaceForPort
-
getServiceInterfaceName
-
getJavaNameOfSEI
-
createJavaMethodForOperation
-
createJavaExceptionFromLiteralType
-
isRequestResponse
protected boolean isRequestResponse() -
getAsynParameterOrder
-
getParameterOrder
-
getClassName
- Parameters:
port-suffix-- Returns:
- the Java ClassName for a port
-
isConflictingServiceClassName
- Overrides:
isConflictingServiceClassNamein classWSDLModelerBase
-
isConflictingExceptionClassName
- Overrides:
isConflictingExceptionClassNamein classWSDLModelerBase
-
getJAXBModelBuilder
-
validateWSDLBindingStyle
-
setDocumentationIfPresent
-
getJavaNameForOperation
-