Apache SOAP samples
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Juan_Cardenas
Posted On:   Wednesday, February 6, 2002 07:42 PM

Do you guys know of some detailed SOAP examples using xdoclet.

Re: Apache SOAP samples

Posted By:   Ara_Abrahamian  
Posted On:   Friday, February 8, 2002 03:55 AM

See test.ejb.TellerBean in samples. Uses:



@soap:service urn="TellerService"



to identify the soap service, and relies on Apache SOAP 2.2's ejb providers to do the rest. The generated file goes to samplesuildweb estejbsoap-dds-TellerBean.xml. And in build.xml we have this line inside :







This example shows how to it with a stateless session bean. To use it with an ordinary bean, you have to expose each method as a soap method:



/**

* @soap:method

*/

public void myMethod(){}



For further details please refer to docs: docs/index.html->ejbdoclet->soap:service.



Ara.
About | Sitemap | Contact