And even though this is not exactly the same issue, I suspect that the reasons might be similar: http://forums.oracle.com/f
Main Topics
Browse All TopicsHi,
I have a J2EE (1.3) application having stateless session beans (EJB 2.0) exposed as bottom-up web service (SOAP 1.1, doc/literal wrapped) using RAD 7.5. Application server is WebSphere 7.0. Webservice client is a .NET based client.
One of the webservice is working fine, while in other, I am facing an issue that as soon as SOAP request hits the server, there is NullPointerException while deserializing its contents. I monitored the request through tcp/ip monitor and it seems to be fine. I tried sending the request through SOAP UI tool also, but I am getting the same exception. Also, tried custom package to namespace mappings.
Any help on this is appreciated.
Attachments:
1. SOAP request
2. Stack trace - occurs when request is sent first time
3. Stack trace - occurs during same successive requests
I am not able to attach the WSDL as of now, because I need to mask too much of the info in it, but if required I can put efforts and post it.
Thanks,
Vaibhav
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
And even though this is not exactly the same issue, I suspect that the reasons might be similar: http://forums.oracle.com/f
The problem is resolved in a strange manner. It was not an issue with soap request or wsdl.
Consider the 2 code snippets attached (earlier and now). Earlier, there was Vector which is now replaced by String[]. Reason being interoperability issues with webservice's .NET client. Earlier, the J2EE app was deployed in weblogic 8.1, and now it has to be in websphere 7.0.
Now, the problem occured due to the method getXyz(int i). Somehow the websphere runtime got confused because method name "getXyz" indicates that it is getter for property "xyz". But, since "xyz" is not of array type, the parameter (int i) caused confusion. There was no compile time issue, but there was NullPointerException at runtime during SOAP request deserialization. After commenting this method, the exception stopped occuring.
Business Accounts
Answer for Membership
by: VenabiliPosted on 2009-06-29 at 09:48:53ID: 24737838
It sounds like a badly formatted request... or one not matching the WSDL. Posting it might help - because without it, I doubt that anyone can help :(