Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Web Services and the fly likes No Serializer found to serialize a 'org.w3c.dom.Element' - Web Services Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "No Serializer found to serialize a Watch "No Serializer found to serialize a New topic
Author

No Serializer found to serialize a 'org.w3c.dom.Element' - Web Services

Amrita Chawla
Greenhorn

Joined: Aug 19, 2005
Posts: 1
Hi
I am trying to run a method exposed as a web service in JDeveloper. This method should return Element type. However, it gives me the following error:

Servlet error: No Serializer found to serialize a 'org.w3c.dom.Element' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.

Has anyone encountered the same error... have a say on it?
Suhel Ahmed
Greenhorn

Joined: Aug 26, 2005
Posts: 1
This usually has to do with registering complex type mappings.
If this is a user defined type try out



this should resolve it.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: No Serializer found to serialize a 'org.w3c.dom.Element' - Web Services
 
Similar Threads
Using java.lang.Arraylist object in WSAD WebServices
is NS_URI_LITERAL_XML encoding language independent?
Issue accessing restful service
Object data type as parameter + Webservice + Tomcat
Can't return an Element in an RPC (despite having read the documentation)