cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erwin Burgstaller <...@knapp.com>
Subject Re: Cocoon2, SOAP: How to process xml-content?
Date Fri, 15 Mar 2002 13:47:04 GMT
On Fri, Mar 15, 2002 at 08:01:32AM +0100, Erwin Burgstaller wrote:
> Apache::SOAP. So I hope I will find how to configure the service to
> return an org.w3c.dom.Element, will I?

Ok, I've got the service to write:

[..]
<SOAP-ENV:Body>
<list_allResponse
SOAP-ENV:encodingStyle="http://xml.apache.org/xml-soap/literalxml">
<s-gensym12 xsi:type="xsd:string">&lt;?xml version="1.0"?&gt;
[..]

But that does not change anything.

Let me ask another question: Is it possible to get the output of a
function handled as xml?

For example:

-------
[..]

<xsp:logic>
	private String hello() {
	  return "&lt;result&gt;Hello&lt/result&gt;";
        }
</xsp:logic>

[..]

<xsp:expr>hello()</xsp:expr>
-------

Will result the text node handled to the next transformer as it is shown
in the function and not as: <result>Hello</result> while the generated
java code looks like: return "<result>Hello</result>".

Erwin


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message