Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Returning custom types

 
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic