Title: problem with transformating a soap-result

i all,

i have writing a small application with cocoon with the following
flow:

- open an input form - call a web-service - get the response from
the web-service - show the result as html after transforming with
an xsl template.

The input and calling the web-service runs very well. Also to get
the result from the web-service.
But after this i have very big problems with transforming the
result into html.

I am using an xsl Template to transform the soap-result an put
it out as html.
But nothing runs well and there is nothing to transform ec. nothing
match in the expected way.

Has anyone any idea?

----------------------------------------------------------------------------------------------------------------------
the soap-call looks as follows:

........
........
<soap:call url="" href="http://11.111.111.112/testpool/testpool.asmx">http://11.111.111.112/testpool/testpool.asmx" method="http://xxuri.org/testpool/testpool/Auskunft">
        <Auskunft xmlns="http://xxuri.org/testpool/testpool">
                <Query0400>
                        <util:get-source>
                                <util:param name="uri">cocoon://testanfrage.xml</util:param>
                        </util:get-source>
                </Query0400>
        </Auskunft>
</soap:call>
........
........

----------------------------------------------------------------------------------------------------------------------
the soap-result looks as follows:

<?xml version="1.0" encoding="ISO-8859-1"?>
<result xmlns:xsp="http://apache.org/xsp"
        xmlns:xsp-session="http://apache.org/xsp/session/2.0"
        xmlns:util="http://apache.org/xsp/util/2.0"
        xmlns:xscript="http://apache.org/xsp/xscript/1.0"
        xmlns:soap="http://apache.org/xsp/soap/3.0"
        xmlns:xsp-request="http://apache.org/xsp/request/2.0">
               
        <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
                        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                        xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                <soap:Body>
                        <AuskunftResponse xmlns="http://xxuri.org/testpool/testpool">
                                <AuskunftResult>
                                        &lt;?xml version="1.0" encoding="iso-8859-1"?&gt;
                                        &lt;datenuebermittlung.0401 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                                                                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                                                                    version="1.1" &gt;
                                                &lt;nachrichtenkopf&gt;
                                                ........
                                                ........
                                                ........
                                        &lt;/datenuebermittlung.0401&gt;
                                </AuskunftResult>
                        </AuskunftResponse>
                </soap:Body>
        </soap:Envelope>
</result>


Regards
Dirk

----------------------------------------
Dirk Skirde
Hessische Zentrale für Datenverarbeitung
Mainzer Strasse 50  Raum 009
65189 Wiesbaden
Tel.:  +49 611 340 1941
Fax:   +49 611 340 5941
EMail: [EMAIL PROTECTED]

Reply via email to