A bit of research reveals that the generated WSDD (whatever WTP
generated) was... wrong!

The files that need fixing:
WebContent/WEB-INF/server-config.wsdd
WebContent/WEB-INF/PhoneServService/ksoap2/deploy.wsdd
WebContent/wsdl/PhoneServ.wsdd

The first two just needed the return type fixed and in the third I
changed the function return type + defined the complex return object.
I never wrote a WSDD before...
Then I republished the services.
But it still doesn't work. :(

"No serializer found for class ksoap2.ListViewItem in registry
[EMAIL PROTECTED]"

Some assistance would be lovely!

The modified files can be found at
http://svn.manageudaserver.com/portable/phoneServ/branch/060628nAxisReport/modifiedWSDD

On 6/30/06, Isaac Good <[EMAIL PROTECTED]> wrote:
This is my first post to this list...

I got TomCat 5.5 + Axis 1.4
I'm using the WTP 1.0.2 to do all the work for me.
And for the past month or so it worked beautifully.

My webservice is a class with 2 functions. These functions return
Classes I made.
If the 2 functions return the same Class, everything works.
If I change the return types to different class types, it stops working.
Find the code, WSDL etc etc at
http://svn.manageudaserver.com/portable/phoneServ/branch/060628nAxisReport/

The error message is ""No serializer found for class
ksoap2.ListViewItem in registry
[EMAIL PROTECTED]"

How do I fix this?
(Is this an Axis or WTP problem?)

Thanks!

------------------------------------------------------------------------------------------------------
Full error message:

28-Jun-2006 2:55:49 PM org.apache.axis.Message writeTo
SEVERE: java.io.IOException:
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:  faultString: java.io.IOException: No serializer found
for class ksoap2.ListViewItem in registry
[EMAIL PROTECTED]
 faultActor:  faultNode:  faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.io.IOException: No
serializer found for class ksoap2.ListViewItem in registry
[EMAIL PROTECTED]
at 
org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1505)
at 
org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:978)
at 
org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:799)
at org.apache.axis.message.RPCParam.serialize(RPCParam.java:208)
at org.apache.axis.message.RPCElement.outputImpl(RPCElement.java:433)
at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:139)
at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478)
at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
at org.apache.axis.Message.writeTo(Message.java:539)
at org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.java:902)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:777)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at 
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

{http://xml.apache.org/axis/}hostname:Elyse

java.io.IOException: No serializer found for class ksoap2.ListViewItem
in registry [EMAIL PROTECTED]
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:317)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
at org.apache.axis.Message.writeTo(Message.java:539)
at org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.java:902)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:777)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at 
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.IOException: No serializer found for class
ksoap2.ListViewItem in registry
[EMAIL PROTECTED]
at 
org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1505)
at 
org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:978)
at 
org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:799)
at org.apache.axis.message.RPCParam.serialize(RPCParam.java:208)
at org.apache.axis.message.RPCElement.outputImpl(RPCElement.java:433)
at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:139)
at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478)
at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
... 21 more



--
- Yitzchok Good

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

Reply via email to