Hi,
I'm developing WerbService using xdoclet and it seems I'm missing something, because web-service.xml that I get is following:
<?xml version="1.0" encoding="UTF-8"?>
<!-- -->
<!-- This JBoss.Net Web Service Descriptor has been generated by XDoclet -->
<!-- and is brought to you by F. M. Brier, C. G. Jung and J. Essington -->
<!-- -->
<deployment
name="SimpleTest"
xmlns="http://xml.apache.org/axis/wsdd/"
targetNamespace="http://localhost/SimpleTest"
xmlns:simpleTest="http://localhost/SimpleTest"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<!-- The following are declarations of service endpoints targetted to
session beans -->
<!-- The following are typemappings for entity beans for implementing
the implicit web-service value-object pattern -->
<!-- The following are typemappings for bean-type value-objects -->
<!-- There follow merged custom web service descriptions -->
There is no endpoint declaration.
Here is my Bean code:
**
* @author gja
*@ejb.bean
* description = "Test - Session bean for general testing purposes"
* display-name = "SimpleTest"
* view-type = "remote"
* jndi-name = "SimpleTest"
* name = "SimpleTest"
* type = "Stateless"
* @jbossnet:web-service urn="SimpleTest" expose-all="true"
*/
public class SimpleTestBean implements SessionBean {
/** Entity context */
protected SessionContext sessionContext;
/** @ejb.interface-method view-type = "both"
* @jbossnet:web-method
*/
public String hello() {
return "HellO!";
}
...
What is missed?
Thank you