Class MethodMarshallerFactory
- java.lang.Object
-
- org.apache.axis2.jaxws.marshaller.factory.MethodMarshallerFactory
-
public class MethodMarshallerFactory extends Object
The MethodMarshallerFactory creates a Doc/Lit Wrapped, Doc/Lit Bare or RPC Marshaller using SOAPBinding information
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MethodMarshaller
getMarshaller(OperationDescription op, boolean isClient)
static MethodMarshaller
getMarshaller(OperationDescription op, boolean isClient, ClassLoader cl)
protected static boolean
isDocLitBare(OperationDescription op)
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.protected static boolean
isDocLitWrapped(OperationDescription op)
protected static boolean
isDocLitWrappedMinimal(OperationDescription op)
If a web service is created without wsgen, it is possible that the wrapper elements are missing.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.
-
-
-
Method Detail
-
getMarshaller
public static MethodMarshaller getMarshaller(OperationDescription op, boolean isClient)
-
getMarshaller
public static MethodMarshaller getMarshaller(OperationDescription op, boolean isClient, ClassLoader cl)
-
isDocLitBare
protected static boolean isDocLitBare(OperationDescription op)
-
isDocLitWrapped
protected static boolean isDocLitWrapped(OperationDescription op)
-
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:
-
-