public MarshallingPayloadWriter(String bindingName, String packageName) throws WsBindingException {
IBindingFactory factory;
try {
factory = BindingDirectory.getFactory(bindingName, packageName);
} catch (JiBXException e) {
throw new WsBindingException("Error accessing binding.", e);
}
m_marshaller = createMarshaller(factory);
m_namespaces = m_marshaller.getNamespaces();
}