On Thu, Mar 15, 2012 at 10:34 PM, Stadelmann Josef
<josef.stadelm...@axa-winterthur.ch> wrote:
> I have successfully built on GF/Metro a Service and a Client using JAX-WS
> annotation and a local wsdl and xsd file.
>
> When I invoke the test page from NetBeans 7.1.1 I can see how the retrievers
> work and how a dynamic page gest established which works.
>
> After fine tuning the xsd I can see how images come done the line
>
> This all fine! And my Java JAX-WS and my .NET WCF Client work fine, thank
> you developers.
>
> BUT - Hase someone an idea how to best approach to migrate this service from
> Glasfish/Metro to Tomcat/Axis2-1.6.1 ?
>
> I have created under
>
> C:\Program Files\Apache Software Foundation\Apache Tomcat
> 6.0.26\webapps\axis2\WEB-INF\servicejars
>
> a servicejars directory into which I deploy FlowerService-1.0.jar
>
> where is the servicejar directory described in terms of Axis2 / JAX-WS
>
> I can see that in absence of a wsdl the JAXWSDeployer establishes wsdl
> information from the annotation
>
> 1.      issue: how does the directoy structire look like which makes JAX-WS
> Deployer find my explicitly deliverd wsdl first before it attemps to make
> wsdl info friom annotations?

   Refer to this [1]

>
> 2.      what is the proper wa to package such a jar?
>
> 3.      is there help of a maven archetype or maven artifact (plugin)?

At the moment there is no archetype for JAX-WS services. Axis2 JAX-WS
services expected to be usual .jar file.

>
> 4.      what is the best and most easy way to establish a JAX-WS service
> including an external WSDL / XSD File under axis2?

Refer to this [1]

>
> 5.      what role plays the service.xml?

Axis2 JAX-WS artifacts don't use service.xml or any meta data file
instead it scan for annotations and populate services. Also those .jar
file should be placed in the "serviceJars" directory not in 'services"
directory.

[1] - 
http://docs.oracle.com/javase/6/docs/api/javax/jws/WebService.html#wsdlLocation%28%29

Thanks !
>
> 6.      into which directory has the service.xml to be deployed when I
> deliver in fact a JAX-WS annotated Service as FlowerService.jar into
> servicejars directory?
>
> 7.      I have fine tuned my log4j.loggers to include one for
>
> 8.      please find my log4j.txt as attached
>
> 9.      looking at the log the jax-ws deployser and describers can not find
> anything wrong (my guess as I cant see any exceptions)  the service is
> deployed and I can ask for a WSDL. But looking at that wsdlm, I can see that
> they differe too much against the explicit deliverd wsdl, also I can not see
> any xsd addons I made.
>
> 10.     Catching a servicereference down with Visual Studio does not work
> either.
>
> Any help appreciated.
>
> Josef <<log4j.txt>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
> For additional commands, e-mail: java-user-h...@axis.apache.org



-- 
Sagara Gunathunga

Blog      - http://ssagara.blogspot.com
Web      - http://people.apache.org/~sagara/
LinkedIn - http://www.linkedin.com/in/ssagara

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to