You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by Andrew Simpson <an...@speechworks.com> on 2002/01/10 20:12:21 UTC
SOAP logging to understand rpcroute/serializer problem
Do you know how I can find out more information about what's going wrong
here?
Details: soap2.2, Sun J2EE RI, using the Stateless session bean provider to
invoke a session bean method that returns the bean that I'd like to
serialize.
Everything works fine until I try to use my own serializer, then ...
HTTP/1.1 500 Internal Server Error
...
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server.Exception:</faultcode>
<faultstring>org/apache/soap/util/xml/Serializer</faultstring>
<faultactor>/soap/servlet/rpcrouter</faultactor>
</SOAP-ENV:Fault>
Things that work right:
1) soap deploy/undeploy works fine
2) invoking methods from a client works fine with standard apache
serializers
3) rpcrouter works fine if I refer to the standard apache bean serializer in
my deployment descriptor; the bean I'm encoding is returned in the XML to
the client.
4) soap can definitely find my serializer class, as if I change the
deployment descriptor to something incorrect, it complains that it can't
find it.
5) If I copy the apache bean serializer src code to my own class name,
import org.apache.soap.encoding.soapenc.*, and refer to it in the deployment
descriptor, I still get the same error. Again, soap can definitely find
this class.
Details: soap2.2, Sun J2EE RI, using the Stateless session bean provider to
invoke a session bean method that returns the bean that I'd like to
serialize.
Any suggestions of how to find out more about what's going wrong?
Thanks,
Andrew
________________________________________________________________________
Andrew Simpson, SpeechWorks International, Inc.
695 Atlantic Avenue, Boston, MA 02111, U.S.A.
Voice: +1 617 428 4444, Fax: +1 617 757 2211
andrew.simpson@speechworks.com http://www.speechworks.com