2 Replies Latest reply on Aug 10, 2004 3:56 PM by efrinmn

    Exception:: Cannot invoke Call with null namespace URI for m

    ah123

      I'm getting this exception when I deploy my Session EJB to axis:

      Exception:: Cannot invoke Call with null namespace URI for method deployment

      This is deploy.wsdd file, could anyone tell me what am I missing?

      <?xml version="1.0" encoding="UTF-8"?>
      <deployment
      name="Axis"
      xmls="http://xml.apache.org/axis/wsdd/"
      targetNamespace="http://localhost:8080/axis/services/Axis"
      xmlns:java="http://xml.apache.org/axis/wsdd/providers/java>







      simple.session.WebService









        • 1. Re: Exception:: Cannot invoke Call with null namespace URI f
          ah123

          Sorry, this is the full file:


          <?xml version="1.0" encoding="UTF-8"?>
          <deployment
           name="Axis"
           xmls="http://xml.apache.org/axis/wsdd/"
           targetNamespace="http://localhost:8080/axis/services/Axis"
           xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
          
          <service name="Axis" provider="java:EJB">
          
           <parameter name="wsdlTargetNamespace" value="http://localhost:8080/axis/services/Axis"/>
           <parameter name="wsdlServicePort" value="Axis"/>
           <parameter name="wsdlPortType" value="RequestManager"/>
           <parameter name="wsdlServiceElement" value="RequestManagerService"/>
           <namespace>simple.session.WebService</namespace>
          
          
          <parameter name="beanJndiName" value="RequestManager"/>
          <parameter name="homeInterfaceName" value="simple.session.bean.RequestManagerHome"/>
          <parameter name="remoteInterfaceName" value="simple.session.bean.RequestManager"/>
          <parameter name="allowedMethods" value="test"/>
          <parameter name="jndiURL" value="jnp://localhost:1099"/>
          <parameter name="jndiContextClass" value="org.jnp.interfaces.NamingContextFactory"/>
          </service>
          </deployment>


          • 2. Re: Exception:: Cannot invoke Call with null namespace URI f
            efrinmn

            xmlns:Axis="http://localhost:8080/axis/services/Axis" after targetNamespace (line 5) maybe.....