definition,
NAME,
operationName);
if (operationSchema != null)
{
final OMFactory factory = OMAbstractFactory.getOMFactory();
// - collect all the namespaces
final Map<String, OMNamespace> namespaces = new HashMap<String, OMNamespace>();
final OMNamespace xsiNamespace = factory.createOMNamespace(XSI_NS, XSI_PREFIX);
namespaces.put(XSI_PREFIX, xsiNamespace);
final Collection<Schema> schemas = getSchemas(definition);
for (final Schema schema : schemas)
{
final String namespace = Axis2ClientUtils.getTargetNamespace(schema);
final String prefix = getNamespacePrefix(
definition,
namespace);
namespaces.put(prefix, factory.createOMNamespace(namespace, prefix));
}
operationOMElement =
getOMElement(
definition,