I have found a parameter in axis2.xml to change the service path and
changed the service path
to point to the directory that I want my service to be deployed.
However using Axis2 admin web page, looks like my service is still
deployed to the services directory,
not under services/0.1 directory as I want :
In axis2.xml I have changed the following :
<parameter name="servicePath"
locked="false">services/v0.1</parameter>
May be I should change my question, to be clear :
What else do I need to do to deploy my service to a custom repository
(not to the default repository).
My custom repository is :
/tomcat_inst_dir/webapps/axis2/WEB-INF/services/v0.1
Thanks
Gul
> _____________________________________________
> From: Onural, Gul (CAR:SI12)
> Sent: Saturday, December 02, 2006 12:13 PM
> To: [email protected]
> Subject: Web axisService deployment faults
>
>
> I have created a new directory called v0.1 under axis2's services
> directory and trying to deploy my
> service under this directory:
>
> /tomcat_inst_dir/webapps/axis2/WEB-INF/services/v0.1
>
> I have changed my service's wsdl file to point this new directory as
> location :
>
> <service name="MyService">
> <port name="MyServiceSOAPport"
> binding="tns:MyServiceSOAPBinding">
> <soap:address
> location="http://localhost/services/v0.1/MyService"/>
> </port>
> </service>
>
>
> The Axis2 deployment page now shows my service as a fault service and
> displays following error, down below.
>
> I also tried to invoke an operation on my service using my own client
> application (using target EPR as =
> http://localhost:8080/axis2/services/v0.1/MyService)
> and got "Service not found operation terminated !!" error.
>
> What else needs to be change so that I can deploy my service to
> somewhere else rather that default axis repository?
>
> Gul
>
> This Web axisService has deployment faults
> Error: org.apache.axis2.deployment.DeploymentException: Invalid
> service META-INF directory not found; nested exception is:
> org.apache.axis2.deployment.DeploymentException: Invalid service
> META-INF directory not found at
> org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs
> (ArchiveReader.java:255) at
> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine
> .java:513) at
> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoLi
> st.java:196) at
> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListen
> er.java:227) at
> org.apache.axis2.deployment.RepositoryListener.checkServices(Repositor
> yListener.java:174) at
> org.apache.axis2.deployment.RepositoryListener.startListener(Repositor
> yListener.java:219) at
> org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(Sc
> hedulerTask.java:61) at
> org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.
> java:68) at
> org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run
> (Scheduler.java:76) at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462) Caused by:
> org.apache.axis2.deployment.DeploymentException: Invalid service
> META-INF directory not found at
> org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs
> (ArchiveReader.java:244) ... 10 more
>
>