cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <D.Ski...@hzd.hessen.de>
Subject SOAP Problem
Date Tue, 26 Oct 2004 06:02:35 GMT
Hi,

i have a great Problem (i am devasted) with the result of an soap call. I using the folling
matcher:

<xscript:variable name="soapresult">
<soap:call url="http://11.111.111.111/datapool/datapool.asmx" method="http://tempuri.org/datapool/datapool/Auskunft">
  <m:Auskunft xmlns:m="http://tempuri.org/datapool/datapool">
    <m:sXMELDQuery0400>
      <util:get-source>
        <util:param name="uri">cocoon://EWO_Beta/testrequest.xml</util:param>
      </util:get-source>
    </m:sXMELDQuery0400>
  </m:Auskunft>
</soap:call>
</xscript:variable>

<xscript:variable name="stylesheet">
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:m="http://tempuri.org/datapool/datapool/Auskunft">
    <xsl:template match="/">
      <xsl:apply-templates/>
    </xsl:template>
    <xsl:template match="*">
      <xsl:copy>
        <xsl:copy-of select="@*|node()"/>
        <xsl:apply-templates/>
      </xsl:copy>
    </xsl:template>
  </xsl:stylesheet>
</xscript:variable>

<xscript:variable name="res">
  <xscript:transform name="soapresult" stylesheet="stylesheet"/>
</xscript:variable>


I am getting the soap result in the expected way, but i can't transform it. Every time
i am getting an error "Invalid byte 1 of 1-byte UTF-8 sequence." But it seems that every
characters i am getting from the soap result are encodet with utf-8.

Has anyone an idea or the same problem? Perhaps, did i make a mistake in handling a soap
call or am i going a wrong way with this?

Thanks for your reply!

Gruß 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: d.skirde@hzd.hessen.de

Mime
View raw message