You have to read this guide[1] too. Since this service packaged as a .jar
archive it should deploy in a directory called "servicejars" not
"services". In your case you can create a following directory and copy your
.jar file there. HTH

C:\axis2-1.6.1\repository\servicejars\jaxws-addressbook-1.6.1.jar

[1] -
http://axis.apache.org/axis2/java/core/docs/jaxws-guide.html#DeployService

Thanks !

2012/1/25 IKEDA TOMOKAZU <tom...@live.jp>

>  Dear Sir
> Now, I just started practice axis2 programming using samples inside
> axis2-1.6.1-bin.zip but some trouble happened.
>
> Bellow C:\axis2-1.6.1\samples
>
> databinding
> faulthandling
> java_first_jaxws
> jaxws-addressbook
> jaxws-calculator
> jaxws-dynamic
> jaxws-interop
> jaxws-samples
> jaxws-version
> mtom
> pojo
> pojoguide
> pojoguidespring
> quickstart
> quickstartadb
> quickstartaxiom
> quickstartjibx
> quickstartxmlbeans
>
> these buid way is maven for jax2-*, and ant for except these. but if
> build using maven ( pom.xml ) for jaxws-addressbook, etc..
> but it seems to need "services.xml".  For example like bellow messages.
>
> < div>[ERROR] The jaxws-addressbookr-1.6.1.jar service, which is not
> valid, caused The services.xml
>  file cannot be found for the service:
> C:\axis2-1.6.1\repository\services\jaxws-addressbook-1.6.1.jar
>
> How can we generate this each service.xml and include to each .jar ?
>
> --
> TOMO
>



-- 
Sagara Gunathunga

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

Reply via email to