Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Returning custom types

 
Kiran Kumar
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I'm trying to run an example of "returning custom types" from the O'Reilly's book, "Java and SOAP".
But I get the following SOAP fault when I try to run the client.
The call failed:
Fault Code = SOAP-ENV:Server
Fault String = java.lang.IllegalArgumentException: Unable to retrieve high property value: Class org.apache.soap.encoding.soapenc.BeanSerializer can not access a member of class urn:StockTrade.HighLow_ServerSide with modifiers public.
Can anyone please tell me what might have gone wrong?
Thanks,
Kiran
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using Apache Axis ?
if so check whether you have registered the StockTrade.HighLow_ServerSide class in the deployment descriptor.
 
Kiran Kumar
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using Apache SOAP 2.3.1 and I have provided the required <isd:Mappings> information in the Deployment Descriptor while deploying.
Thanks,
Kiran
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic