File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Returning custom types Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Returning custom types" Watch "Returning custom types" New topic

Returning custom types

Kiran Kumar
Ranch Hand

Joined: Jan 06, 2003
Posts: 91
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?
Balaji Loganathan
author and deputy

Joined: Jul 13, 2001
Posts: 3150
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

Joined: Jan 06, 2003
Posts: 91
I'm using Apache SOAP 2.3.1 and I have provided the required <isd:Mappings> information in the Deployment Descriptor while deploying.
I agree. Here's the link:
subject: Returning custom types
Similar Threads
Basic SOAP fault question
handleFault() methods
web service exception handling..