Returning Handmade XML from a Simple EJB -


I have created Eclipse EJB with a method that gives the string.

The string is an XML piece created from the DOM document.

When I call EJB as a web service, string is correct, but it is connected to CDATA tags around it. How can I avoid it and get the XML directly?

Thank you

  @WebService (serviceName = "XService", portName = "XPort", TargetNamespace = "http://here.com/x/ejb") @Stable (name = "X", mapped name = "ezb / XJNDI") @SOAPBinding (style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use public string compile (int input) {// build builds and Returns some XML in the form of a string}}   


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -