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 return complex typ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "return complex typ" Watch "return complex typ" New topic

return complex typ

argol diomolpol

Joined: Jun 05, 2007
Posts: 15
I want to return java class in web service but web service return null. This is what i have done.


I should do anything else please help. Thanks in advance for help
[ August 05, 2008: Message edited by: argol diomolpol ]
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
Where is the code that catches exceptions and reports them?

If this was my problem I would use TCPMON to examine the exact text of request and response. Client side code can easily hide the real problem.

argol diomolpol

Joined: Jun 05, 2007
Posts: 15
Whene i invoke web service in client i have java.lang.NullPointerException.
I ma using Jboss and i have uncomment logging SOAP messages. In this message there are values and this values are correct so somthing must be wrong with client but what?
I agree. Here's the link:
subject: return complex typ
It's not a secret anymore!