Hi !
Situation is quite simple:
I've Orion 1.5.2 and Apache Soap 2.2
I'm trying to access stateless EJB via SOAP and constantly get a error:
Client application says:
[SOAPException: faultCode=SOAP-ENV:Server; msg=Unable to initialize context]

Server says:
=============================================
In TemplateProvider.locate()
URI: urn:nuon
DD.ServiceClass: org.apache.soap.providers.StatelessEJBProvider
DD.ProviderClass: null
Call.MethodName: sayHello
Naming Exception caught during InitialContext creation @
iiop://localhost:900

My DeploymentDescriptor.xml
----------------------------
<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment";
             id="urn:nuon">
  <isd:provider type="org.apache.soap.providers.StatelessEJBProvider"
                scope="Application"
                methods="sayHello">
        <isd:option key="JNDIName" value="java:comp/env/ejb/HelloHome"/>
        <isd:option key="FullHomeInterfaceName" value="hello.ejb.HelloHome" />
        <isd:option key="ContextProviderURL"
value="ormi://localhost/hello-planet" />
        <isd:option key="FullContextFactoryName"
value="com.evermind.server.ApplicationClientInitialContextFactory" />
  </isd:provider>


<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListene
r>
</isd:service>

Thanks forehand.

Regards, Stepan.



Reply via email to