axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gul Onural" <onu...@nortel.com>
Subject RE: Web axisService deployment faults
Date Sat, 02 Dec 2006 21:35:01 GMT

What I am looking for is the ability of deploying multiple versions of
the same service
in Axis2, without changing the name of the service. I want to be able to
change location 
of the service and namespace used in the wsdl.

My later post (Supporting multiple versions of the same service with
Axis2) 
has better explanation of this issue. 

Gul

-----Original Message-----
From: robert lazarski [mailto:robertlazarski@gmail.com] 
Sent: Saturday, December 02, 2006 12:25 PM
To: axis-user@ws.apache.org
Subject: Re: Web axisService deployment faults

This article is a little dated, but may help:

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

Robert

On 12/2/06, Gul Onural <onural@nortel.com> 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(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
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message