Hey Maya,
OMElement is your problem I think. As part of this JAX-RPC compliance, you cannot send/return a few types of data. This includes types like List, Document etc.
I think your OMElement class internally contains atleast one such member of non-compliant data type.
Here's what I did to just to prove myself the same.
1) I created a class named SomeClass which was the return type of my web service method. This SomeClass had a single int member. The service was created without any warning
2) I added a List<
String> member to SomeClass. And voila! Got a warning while creating the service!
Please go through
SOAP String and
SOAP payload posts. Please see this too -
List
To get through this problem, you would have to change you data to acceptable types. E.g. :- List to Array.
Thanks.