This article is a little dated, but may help:

http://www.wso2.net/kb/90

Robert

On 12/2/06, Gul Onural <[EMAIL PROTECTED]> wrote:




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(WSInfoList.java:196)
at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:227)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:174)
at
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:219)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to