I'm running code that is essentially similar to the JAXM sample included
with AXIS but I am getting the exception below. This is the sort of
exception that I would expect to get whilst trying to cheat by using the
RPC methods to call document services and forgetting to set the
operation name.

How do I set an operation name for a JAXM call ?

javax.xml.soap.SOAPException: Cannot invoke Call with null namespace URI
for method null
        at
org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:99)
        at
au.com.moveit.ejb.integration.SOAPExportBean.export(SOAPExportBean.java:170)
        at
au.com.moveit.ejb.integration.AbstractExportBean.onMessage(AbstractExportBean.java:53)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:391)
        at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
        at
org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:88)
        at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:96)
        at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:176)
        at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:61)
        at
org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:100)
        at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:183)
        at
org.jboss.ejb.MessageDrivenContainer.invoke(MessageDrivenContainer.java:302)
        at
org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:631)
        at
org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:997)
        at
org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:238)
        at
org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:561)
        at
org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:377)
        at org.jboss.mq.SpySession.run(SpySession.java:252)
        at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:177)
        at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:655)
        at java.lang.Thread.run(Thread.java:479)




Reply via email to