Class WSDLModelerBase

  • All Implemented Interfaces:
    Modeler
    Direct Known Subclasses:
    WSDLModeler

    public abstract class WSDLModelerBase
    extends Object
    implements Modeler
    Author:
    WS Development Team Base class for WSDL->Model classes.
    • Method Detail

      • applyPortMethodCustomization

        protected void applyPortMethodCustomization​(Port port,
                                                    Port wsdlPort)
        Parameters:
        port -
        wsdlPort -
      • isProvider

        protected boolean isProvider​(Port wsdlPort)
      • getSOAPRequestBody

        protected SOAPBody getSOAPRequestBody()
      • isRequestMimeMultipart

        protected boolean isRequestMimeMultipart()
      • isResponseMimeMultipart

        protected boolean isResponseMimeMultipart()
      • getSOAPResponseBody

        protected SOAPBody getSOAPResponseBody()
      • getOutputMessage

        protected Message getOutputMessage()
      • getInputMessage

        protected Message getInputMessage()
      • getMessageParts

        protected List<MessagePart> getMessageParts​(SOAPBody body,
                                                    Message message,
                                                    boolean isInput)
        Parameters:
        body - request or response body, represents soap:body
        message - Input or output message, equivalent to wsdl:message
        Returns:
        iterator over MessagePart
      • getMimeContentParts

        protected List<MessagePart> getMimeContentParts​(Message message,
                                                        TWSDLExtensible ext)
        Parameters:
        message -
        Returns:
        MessageParts referenced by the mime:content
      • validateMimeParts

        protected boolean validateMimeParts​(Iterable<MIMEPart> mimeParts)
        Parameters:
        mimeParts -
      • isStyleAndPartMatch

        protected boolean isStyleAndPartMatch​(SOAPOperation soapOperation,
                                              MessagePart part)
        For Document/Lit the wsdl:part should only have element attribute and for RPC/Lit or RPC/Encoded the wsdl:part should only have type attribute inside wsdl:message.
      • getRequestNamespaceURI

        protected String getRequestNamespaceURI​(SOAPBody body)
      • getResponseNamespaceURI

        protected String getResponseNamespaceURI​(SOAPBody body)
      • getDuplicateFaultNames

        protected Set getDuplicateFaultNames()
      • validateBodyParts

        protected boolean validateBodyParts​(BindingOperation operation)
        Parameters:
        operation -
        Returns:
        true if operation has valid body parts
      • getLiteralJavaMemberName

        protected String getLiteralJavaMemberName​(Fault fault)
      • makePackageQualified

        protected String makePackageQualified​(String s)
      • getUniqueName

        protected String getUniqueName​(Operation operation,
                                       boolean hasOverloadedOperations)
      • tokenListContains

        protected static boolean tokenListContains​(String tokenList,
                                                   String target)
      • getUniqueClassName

        protected String getUniqueClassName​(String className)
      • isConflictingClassName

        protected boolean isConflictingClassName​(String name)
      • isConflictingServiceClassName

        protected boolean isConflictingServiceClassName​(String name)
      • isConflictingStubClassName

        protected boolean isConflictingStubClassName​(String name)
      • isConflictingTieClassName

        protected boolean isConflictingTieClassName​(String name)
      • isConflictingPortClassName

        protected boolean isConflictingPortClassName​(String name)
      • isConflictingExceptionClassName

        protected boolean isConflictingExceptionClassName​(String name)
      • warning

        protected void warning​(Entity entity,
                               String message)
      • error

        protected void error​(Entity entity,
                             String message)