jaxws-guide which will address how to deploy jaxws web-service the snippet states: JAX-WS provides the <b>wsgen</b> and <b>wsimport</b> command-line tools for generating portable artifacts for JAX-WS Web services. When creating JAX-WS Web services, you can start with either a WSDL file or an implementation bean class. If you start with an implementation bean class, use the wsgen command-line tool to generate all the Web services server artifacts, including a WSDL file if requested. If you start with a WSDL file, use the wsimport command-line tool to generate all the Web services artifacts for either the server or the client. The wsimport command line tool processes the WSDL file with schema definitions to generate the portable artifacts, which include the service class, the service endpoint interface class, and the JAXB 2.0 classes for the corresponding XML schema.
not sure about the other question on declaring class attributes at axis2.xml level? pojoguidespring/META-INF/services.xml declaration states: <service name="SpringInit" class="sample.spring.service.SpringInit"> <description> This web service initializes Spring. </description> <parameter name="ServiceClass" >sample.spring.service.SpringInit</parameter> <parameter name="ServiceTCCL" >composite</parameter> parameter ServiceTCCL is a parameter of the service class and not axis perhaps you can elucidate the reasons for refactoring a service parameter to system level ? Martin Gainty ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: andreas.veit...@gmail.com > Date: Fri, 23 Apr 2010 16:27:24 +0200 > Subject: Re: Packaging and deploying a JAX-WS service > To: java-user@axis.apache.org > > Please vote for AXIS2-4611 ;-) > > Andreas > > On Fri, Apr 23, 2010 at 16:23, Dan H <hussdl1985-ax...@yahoo.de> wrote: > > I'm trying to deploy a JAX-WS Web Service that uses Hibernate, so I have to > > set the "ServiceTCCL" parameter to "composite". Otherwise the thread context > > classloader can't find org.hibernate.hql.ast.HqlToken. (unverified if > > setting ServiceTCCL will actually fix it but it's worth a try) > > > > It appears that this parameter can only be set in services.xml and not in > > axis2.xml. > > > > From the Axis2 documentation: > > > > "Axis2 provides two mechanisms for deploying JAX-WS services: > > > > The service may be packaged and deployed as an AAR, just like any other > > service within Axis2. Like with all AARs, a services.xml file containing the > > relevant metadata is required for the service to deploy correctly. > > The service may be packaged in a jar file and placed into the servicejars > > directory. The JAXWSDeployer will examine all jars within that directory and > > deploy those classes that have JAX-WS annotations which identify them as Web > > services." > > > > My questions: > > > > concerning 1. ===> How? What goes in services.xml when using JAX-WS and > > JAXB? Where do I find proper documentation for services.xml? > > concerning 2. ===> If there is no services.xml, how do I set parameters such > > as ServiceTCCL? > > > > Any help would be greatly appreciated. > > > > - Dan > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org > For additional commands, e-mail: java-user-h...@axis.apache.org > _________________________________________________________________ The New Busy is not the old busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3