I'm trying to create a dynamic client using the ServiceClient, but I'm wondering if there's an easy way to create the OMElement for the payload. I've got the WSDL, the service QName, PortType QName, operation name, etc. and JAXB objects as input. The tricky part is knowing whether or not to create a Wrapped style message or not. I noticed that in Axis2 there is a utility class, MethodMarshallerFactory and DocLitWrappedMethodMarshaller, that seems to handle this, however I don't have an easy way to create an OperationDescription as input. Does anyone know if there is another existing utility class or an easier way to do this? I'm looking to avoid writting code that parses through the WSDL to determine if it's wrapped/unwrapped and then creating the appropriate OMElement. It seems like this would be a common situation.
Thanks, Ben
