Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to send JDOM over SOAP  RSS feed

 
Amit Goel
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ,
Cud i get a answer to a problem.

I wanted to know how to send a JDOM Element thru a SOAP Request.
The application throws an SOAPException

"I only know how to serailize an org.w3c.dom.Element".


Thanx,
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seems to me you have two choices:
1. Write your own serializer for JDOM elements following the code example in the Apache SOAP serializer.
2. Use the standard JAXP parser so you can get a org.w3c.dom.Element.
Bill
------------------
author of:
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!