axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Les Gerads" <>
Subject Re: Bean serialization problem
Date Fri, 12 Jul 2002 16:07:14 GMT
Bean serialization problemDid you make sure it's in your wsdd? Something like:

    <beanMapping qname="wmns:PayResponse" xmlns:wmns="urn:YourService"

  ----- Original Message ----- 
  From: Michael Roytman 
  Sent: Friday, July 12, 2002 8:54 AM
  Subject: Bean serialization problem


  I have been playing with Axis beta2 (with Tomcat 4.0.4) for a couple of days. 
  I have deployed a simple webservice as jws file that returns my PayResponse bean. 
  I am having problems with bean serialization when calling a method, here is the trace from

  <html><head><title>Apache Tomcat/4.0.4 - Error report</title><STYLE><!--H1{font-family
: sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} BODY{font-family : sans-serif,Arial,Tahoma;color
: black;background-color : white;} B{color : white;background-color : #0086b2;} HR{color :
#0086b2;} --></STYLE> </head><body><h1>Apache Tomcat/4.0.4 - HTTP
Status 500 - Internal Server Error</h1><HR size="1" noshade><p><b>type</b>
Exception report</p><p><b>message</b> <u>Internal Server Error</u></p><p><b>description</b>
<u>The server encountered an internal error (Internal Server Error) that prevented it
from fulfilling this request.</u></p><p><b>exception</b> <pre>
No serializer found for class com.uls.cto.cardsafe.PayResponse in registry org.apache.axis.encoding.TypeMappingImpl@bc5596

  Generated WSDL looks fine, PayResponse bean is a complex type: 

  - <complexType name="PayResponse"> 
  - <sequence> 
  <element name="returnCode" type="xsd:int" /> 
  <element name="errorMessage" nillable="true" type="xsd:string" /> 
  <element name="txRefNumber" nillable="true" type="xsd:string" /> 

  I've looked through mailing list archives but still can't get it to work. 
  Any help is greatly appreciated. 

  Michael Roytman, Senior Software Engineer    
  UAL Loyalty Services            
  1375 E. Woodfield Rd, #300      Phone   847-969-8150 x 4515  
  Schaumburg, IL 60173    Fax     847-969-8164 

View raw message