I'm having problems getting my first soap deployment working for me with
JBOSS.  I have the Interest EJB example deployed in JBOSS, and the soap.war
deployed as well.  The installation test works.  I'm able to invoke the EJB
using rmi from client code without problem.  The error pops when I try to
invoke using soap.

I think it may be the contextproviderUrl field in my descriptor file (see
bottom of file)... I wasn't sure what to use with jboss.  And I'm running
catalina in the same vm as jboss.

I get the following fault returned in my client code:
  Fault Code   = SOAP-ENV:Server
  Fault String = Unable to initialize context

and the server spits out the following:
[ERROR,Default] =============================================
[ERROR,Default] In TemplateProvider.locate()
[ERROR,Default] URI: urn:interestCalc
[ERROR,Default] DD.ServiceClass:
org.apache.soap.providers.StatelessEJBProvider
[ERROR,Default] DD.ProviderClass: interest/Interest
[ERROR,Default] Call.MethodName: calculateCompoundInterest
[INFO,Default] Naming Exception caught during InitialContext creation @
iiop://l
ocalhost:900


descriptor file:
<?xml version="1.0"?>
<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment";
             id="urn:interestCalc">
  <isd:provider type="org.apache.soap.providers.StatelessEJBProvider"
                scope="Application"
                methods="create calculateCompoundInterest">
    <isd:java class="interest/Interest"/>
    <isd:option key="FullHomeInterfaceName" value="InterestHome" />
    <isd:option key="ContextProviderURL" value="iiop://localhost:900" />
    <isd:option key="FullContextFactoryName"
value="com.ibm.ejs.ns.jndi.CNInitialContextFactory" />
  </isd:provider>

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




-----Original Message-----
From: Colin Saxton [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 4:19 AM
To: '[EMAIL PROTECTED]'
Subject: RE: sun j2ee ref impl and soap 2.2


Use JBoss instead! its free (www.jboss.org)


-----Original Message-----
From: Paul Baker [mailto:[EMAIL PROTECTED]]
Sent: 27 February 2002 23:18
To: [EMAIL PROTECTED]
Subject: sun j2ee ref impl and soap 2.2



Anyone have a receipe (or success story) to install soap 2.2 on the latest
j2ee ref implementation (1.3.1) from Sun?  I'm not having much luck
deploying the soap war file.

I'm new to soap, and relatively new to the deployment thing... if theres any
resource one could point me to I'd be grateful.

Regards,
Paul

Reply via email to