OK, I've gotten a little further. I changed the CNTXT_PROVIDER_URL in StatelessEJBProvider from iiop://localhost:900 to localhost:1099 and the CNTXT_FACTORY_NAME from com.ibm.ejs.ns.jndi.CNInitialContextFactory to org.jnp.interfaces.NamingContextFactory. Now I get
javax.naming.ServiceUnavailableException: http. Root exception is java.net.UnknownHostException: http
Again, any and all help is much appreciated!
-----Original Message-----
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: JBoss and Apache SOAP
I recently installed JBoss and am fooling around with the Interest example provided. I am trying to expose the calculateCompoundInterest method as a SOAP service. My Deployment Descriptor looks like this:<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment" id="urn:interestExample">
<isd:provider type="org.apache.soap.providers.StatelessEJBProvider" scope="Application" methods="calculateCompoundInterest">
<isd:option key="JNDIName" value="interest/Interest"/>
<isd:option key="FullHomeInterfaceName" value="org.jboss.docs.interest.InterestHome" />
<isd:option key="ContextProviderURL" value="localhost:1099" />
<isd:option key="FullContextFactoryName" value="org.jnp.interfaces.NamingContextFactory" />
</isd:provider>
<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener>
</isd:service>
When I run my client to hit calculateCompoundInterest, I get an error saying "Unable to initialize context". Any ideas?
Thanks!
Do You Yahoo!?
Make international calls for as low as $0.04/minute with Yahoo! Messenger.