posted 19 years ago
hi everyone,
I am returning a custom data type from my webservice. At the same time when there is an error in the business process, I need to return an error message which is not part of the Response (custom data type).
How do i deal with this situation, and how can i implement this ? (My response data type and the error message format are different). I am using weblogic, so my serialization classes are generated by weblogic tools.
I tried setting the return type of my webservice to be java.lang.object and on my client side appropriately typecast it, but when i receive the response back on my client side, a serialization error is raised.
TIA
karthik