This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Returning a JDOM Document in JAX-WS Issue

 
Mike London
Ranch Hand
Posts: 1158
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm trying to return a simple JDOM document from a JAX-WS Web Service, but I only get the root element, not the entire tree.

The same code in a standalone Java application works fine.

I've rebuilt the WSDL many times in the client and tried to return the root Element and the "document" as return types, but neither works.

--------------------

It seems that the "Document" object created in the client code from the WSDL from the server web service doesn't have the right JDOM type entities.

The server method is defined like this:



---------------------------

Here's the generated (from WSDL) Document class in the client. No concept of child nodes shown:



Confused.

Thanks,

-mike
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic