-
1. Re: SOAP for server-client communication
fredj Sep 11, 2001 9:40 AM (in response to raheit00)Hello,
With the Apache SOAP 2.2 distribution, you just have to install it ( SOAP.WAR put in our Tomcat WebApp directory). After, just test the ejb samples provide with it. It's quite easy. The SOAP bridge to EJB server (provider) are for Session Beans (session and Stateless).
If you want an MDB provider we have write a simple provider for.
Here is a sample of deployment descriptor for a simple ping service.
<?xml version="1.0"?>
<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
id="urn:Ping">
<isd:provider type="org.apache.soap.providers.StatelessEJBProvider"
scope="Request"
methods="echo">
<isd:java class="Ping"/>
<isd:option key="FullHomeInterfaceName" value="com.mycompany.service.ping.PingHome"/>
<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>
Good luck !
FJ -
2. Re: SOAP for server-client communication
raheit00 Sep 12, 2001 4:00 AM (in response to raheit00)Thanks for your help,
I got it running. At first the ejb sample within the soap package. Now I will try my own ejb's.
Is it correct that the EJB's have to be in the JBOSS_CLASSPATH. They are already deployed to JBoss, looks like that that is not enough.
Thanks,
Ralph -
3. Re: SOAP for server-client communication
fredj Sep 12, 2001 9:30 AM (in response to raheit00)You'll have to put your .jars of the ejbs you want to deploy in the TOMCAT.BAT.
-
4. Re: SOAP for server-client communication
simons Sep 12, 2001 9:36 AM (in response to raheit00)Would You please be so kind to explain to me how You got the example up and running?
Would You please do it step-by-step, as I'm new to EJB and absolutely new to SOAP but have to do a similar job like yours?
thanks, michael -
5. Re: SOAP for server-client communication
raheit00 Sep 12, 2001 10:52 AM (in response to raheit00)I mailed my configuration to your mail address.
Ralph -
6. Re: SOAP for server-client communication
ericw Sep 26, 2001 3:43 PM (in response to raheit00)Would it be possible to mail me the same configuration files. I've been trying to get it to work and i'm just missing somthing.
Thanks -
7. Re: SOAP for server-client communication
joy Oct 3, 2001 9:03 AM (in response to raheit00)Please sent me an example of ZOAP server-client communication
Thanks.