Hi,
I've a problem to publishing a service with
axis, I build it like axis example and all is OK, I can to use the server like a
simple client....beautiful....
but now I
should change the style:
tipically using the usual deploy procedure
( java org.apache.axis.wsdl.WSDL2Java -o . -d
Session -s -S true -Nurn:WSG_Receiver PWMvsWSG.WSG_Receiver
wp_receiver.wsdl )
I've a wsdd like this:
<service name="WSG_Receiver"
provider="java:RPC" style="rpc"
use="literal">
<parameter name="wsdlTargetNamespace" value="urn:WSG_Receiver"/> <parameter name="wsdlServiceElement" value="PWMfromWSGService"/> <parameter name="wsdlServicePort" value="WSG_Receiver"/> <parameter name="className" value="PWMvsWSG.WSG_Receiver.WSG_ReceiverSoapBindingSkeleton"/> <parameter name="wsdlPortType" value="PWMfromWSG"/> <parameter name="allowedMethods" value="*"/> <parameter name="scope" value="Session"/> .... ....
I need to change the style from RPC to
DOCUMENT, I tried to modify the "wsdd" file as below:
<service name="WSG_Receiver"
provider="java:DOCUMENT" style="document"
use="literal">
<parameter name="wsdlTargetNamespace" value="urn:WSG_Receiver"/> <parameter name="wsdlServiceElement" value="PWMfromWSGService"/> <parameter name="wsdlServicePort" value="WSG_Receiver"/> <parameter name="className" value="PWMvsWSG.WSG_Receiver.WSG_ReceiverSoapBindingSkeleton"/> <parameter name="wsdlPortType" value="PWMfromWSG"/> <parameter name="allowedMethods" value="*"/> <parameter name="scope" value="Session"/> .... ....
than I published this interface, but at this time
when I try to connect to it using a browser ( to have the "wsdl" ),
it returns me this message:
Fault - ; nested exception is:
org.apache.axis.ConfigurationException: org.apache.axis.deployment.wsdd.WSDDException: No provider type matches QName '{http://xml.apache.org/axis/wsdd/providers/java}DOCUMENT' org.apache.axis.deployment.wsdd.WSDDException: No provider type matches QName '{http://xml.apache.org/axis/wsdd/providers/java}DOCUMENT' at org.apache.axis.deployment.wsdd.WSDDProvider.getInstance(WSDDProvider.java:205) at org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:446) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:310) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:296) at org.apache.axis.deployment.wsdd.WSDDDeployment.getService(WSDDDeployment.java:485) at org.apache.axis.configuration.FileProvider.getService(FileProvider.java:261) at org.apache.axis.AxisEngine.getService(AxisEngine.java:274) at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:309) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534) ... ...
All exception list is atacched.
I should to modify my java interface before the
deploy?
Have You some idea?
Tanks!
Alessandro
--------------------------------------------------------------------
CONFIDENTIALITY NOTICE This message and its attachments are addressed solely to the persons above and may contain confidential information. If you have received the message in error, be informed that any use of the content hereof is prohibited. Please return it immediately to the sender and delete the message. Should you have any questions, please contact us by replying to [EMAIL PROTECTED]. Thank you www.telecomitalia.it -------------------------------------------------------------------- |
- RE: axis problems - style="document" Alessandro Leonardi
- RE: axis problems - style="document" Greg Michalopoulos
- Re: axis problems - style="document" Enric Jaen
- how to set cookie in version 1.1 Daniel Amadei