axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laxma Reddy Dendi <axis_...@yahoo.com>
Subject Re: newbie: wsdd problem
Date Sat, 10 Jul 2004 21:13:19 GMT
here is the tomcat log:

org.apache.axis.deployment.wsdd.WSDDException: Invalid
WSDD element 'service' (wanted 'deployment')
org.apache.axis.deployment.wsdd.WSDDException: Invalid
WSDD element 'service' (wanted 'deployment')
	at
org.apache.axis.deployment.wsdd.WSDDElement.validateCandidateElement(WSDDElement.java:116)
	at
org.apache.axis.deployment.wsdd.WSDDElement.<init>(WSDDElement.java:96)
	at
org.apache.axis.deployment.wsdd.WSDDDeployment.<init>(WSDDDeployment.java:218)
	at
org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java:104)
	at
org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:209)
	at
org.apache.axis.AxisEngine.init(AxisEngine.java:187)
	at
org.apache.axis.AxisEngine.<init>(AxisEngine.java:172)
	at
org.apache.axis.server.AxisServer.<init>(AxisServer.java:126)
	at
org.apache.axis.server.DefaultAxisServerFactory.createServer(DefaultAxisServerFactory.java:148)
	at
org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxisServerFactory.java:112)
	at
org.apache.axis.server.AxisServer.getServer(AxisServer.java:111)
	at
org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:221)
	at
org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:187)
	at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:785)
	at
javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
	at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
	at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
	at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
	at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
	at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
	at java.lang.Thread.run(Thread.java:534)
--- Laxma Reddy Dendi <axis_den@yahoo.com> wrote:
> Hi All,
>    I am having problems in deploying a web-service
> using wsdd.
>    I have compiled the following code and put the
> class file in tomcathome/webapps/axis and using the
> following wsdd file:
> ---------------------------------------
> public class SparePartPrice{
> 	public SparePartPrice(){
> 	}
> 
> 	public float getPrice(String partSKU){
> 		return (float)10.99;
> 	}
> }
> -------------------------------------------
> <deployment xmlns="http://xml.apache.org/axis/wsdd/"
> 
> 	   
>
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"
> 
> 	   
>
xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-Instance/">
> 	    
> 	<service name="SparePartPrice" provider="java:RPC"
> style="rpc">
> 		<parameter name="className"
> value="SparePartPrice"/>
> 		<parameter name="allowedMethods" value="*"/>
> 	</service>
> </deployment>
> ------------------------------------
> 
> when i run the following i am getting an error.
> 
> java org.apache.axis.client.AdminClient deploy.wsdd
> -lhttp://localhost:8080/axis/services/AdminService
> 
> error:
> Processing file deploy.wsdd
> Exception:: (500)Internal Server Error
> 
> please advice me. any help would be great.
> 
> thanks in advance
> 
> 
> 		
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We
> finish.
> http://promotions.yahoo.com/new_mail 
> 



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

Mime
View raw message