failed to transform output from java to xml/soap

Viewed 23

Hi I am facing a problem when java give response and datapower need to transform the response to xml/soap it is failed to transform it. Does I'm missing something? cvc-particle 3.1: in element {http://schemas.xmlsoap.org/soap/envelope/}Body of type {http://schemas.xmlsoap.org/soap/envelope/}Body, found <a:Response> (in namespace http://gateway.xxx.xxx.xx/ws/), but next item should be any of [{http://schemas.xmlsoap.org/soap/envelope/}Fault, {http://gateway.xxx.xxx.xx/}Response]

THIS IS WHERE PROBLEM OCCUR, IT SEEMS LIKE THE TRANSROMATION CANNOT BE PERFORM. ERROR OCCUR THAT IF FOUND TAGGING found <a:Response> THAT CANNOT BE TRANSFORM

<!-- find and update all element's prefix with the namespace -->
<xsl:template match="*[contains(namespace-uri(),'http://gateway.xxx.xxx.xx/ws/')]">
    <xsl:element name="ws:{local-name()}">
        <xsl:apply-templates select="@*|node()"/>
    </xsl:element>
</xsl:template>
0 Answers
Related