Scenario: jboss 4, xdoclet 1.2.3 I'm stuck with this problem.
I was able to deploy my ws on a EJB jar file using wseedoclet, what I'd like to do now is deploy the same ws into an existing web application (war file or directory, example 1000.myapp.war/).
I've created the ws endpoint during the ejb source creation ---- <ejbdoclet ...> .. <service-endpoint/> ... </ejbdoclet> ----
then I created the deployment files webservices.xml and jaxrpc-mapping.xml in the WEB-INF directory of the war directory, and the MyBean.wsdl file in WEB-INF/META-INF/wsdl directory. I've done this with
--- <wseedoclet> <deploymentdescriptor/> <jaxrpc-mapping/> <wsdl/> </wseedoclet> ---
Unfortunately, when I try to deploy this war jboss complains by saying: Cannot find servlet-link in port-component.
Am I getting something wrong?
Thanks in advance.
Giulio,
as you are connecting to an EJB based web service, and not a servlet based one, you need to put the WSDL, and other deployment descriptors in the same jar as the EJB. See http://www.jboss.org/wiki/Wiki.jsp?page=JBossWS for doing this with JBoss. You'll also find stuff about using servlets and EJBs as endpoints there.
-- cheers,
Bruce
Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:[EMAIL PROTECTED]
------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user