This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
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
It's not a secret anymore!