Class MethodMarshallerFactory


  • public class MethodMarshallerFactory
    extends Object
    The MethodMarshallerFactory creates a Doc/Lit Wrapped, Doc/Lit Bare or RPC Marshaller using SOAPBinding information
    • Method Detail

      • isDocLitWrappedPlus

        protected static boolean isDocLitWrappedPlus​(OperationDescription op)
        If an web service is created using wsgen, it is possible that the sei does not comply with the wrapped rules. For example, wsgen will allow header parameters and return values. In such cases we will use the DocLitWrappedPlus marshaller to marshal and unmarshal the xml in these extraordinary situations
        Parameters:
        op -
        Returns:
      • isDocLitBareMinimal

        protected static boolean isDocLitBareMinimal​(OperationDescription op,
                                                     ClassLoader cl)
        If a webservices is created without xjc, then there will be no ObjectFactory classes packaged with the webservice. In such cases, use the doc/lit bare minimal marshaller. This marshaller will use "by java type" marshalling/unmarshalling for primitives and Strings.
        Parameters:
        op -
        Returns:
      • isDocLitWrappedMinimal

        protected static boolean isDocLitWrappedMinimal​(OperationDescription op)
        If a web service is created without wsgen, it is possible that the wrapper elements are missing. In such cases, use the doc/lit wrapped minimal marshaller
        Parameters:
        op -
        Returns: