|
Hi SOAP Users I'm real new to Apache SOAP and SOAP/XML in general so
forgive the basic questions. I have installed Apache SOAP and run some of the demo's,
all working fine. I am now trying to setup a SOAP rpc
service for an existing EJB installation I have running under JBoss and Tomcat. What is somewhat confusing is: -
The deployment descriptor for the
sample ejb has only one create method defined, what
about the hello() 'business' method, why
is it not in the descriptor? -
Where does one define the JNDI name
of your EJB, there's place to define the URL and factory for the JNDI but
no place for the JNDI name of the EJB. Anyway I deployed my SAOP service fine knowing there are
probably some errors in the deployment descriptor and get the following error: [ERROR,Default]
============================================= [ERROR,Default]
In TemplateProvider.locate() [ERROR,Default]
URI: urn:ContactManagement [ERROR,Default]
DD.ServiceClass: org.apache.soap.providers.StatelessEJBProvider [ERROR,Default]
DD.ProviderClass: com.jazzman.contact.ContactManagementBean [ERROR,Default]
Call.MethodName: getContacts [INFO,Default]
Exception caught: javax.naming.ServiceUnavailableException:
http [Root exception is java.net.UnknownHostException:
http] Here is my deployment descriptor <?xml
version="1.0"?> <isd:service
xmlns:isd="http://xml.apache.org/xml-soap/deployment"
id="urn:ContactManagement"> <isd:provider type="org.apache.soap.providers.StatelessEJBProvider"
scope="Application" methods="create getContacts addContact">
<isd:java
class="com.jazzman.contact.ContactManagementBean"/>
<isd:option
key="FullHomeInterfaceName" value="com.jazzman.contact.ContactManagementHome"/>
<isd:option
key="ContextProviderURL"
value="http://localhost:1099"/>
<isd:option
key="FullContextFactoryName" value="org.jnp.interfaces.NamingContextFactory"/> </isd:provider>
<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener> </isd:service> Any ideas what I'm doing wrong or where I can look for
answers. Thanks in advance. Andrew |
- RE: EJB & SOAP Nortje, Andrew
- RE: EJB & SOAP Gayatri Irani
- RE: EJB & SOAP Nortje, Andrew
- RE: EJB & SOAP Colin Saxton
