Community

WSDL11Reader.java has problems w/ included WSDL

reply from Dave Siracusa in JBoss ESB Development - View the full discussion

Hi David

 

Right now it would drag in too many files and the project is  'mavenized'.

Is it okay if I write an article?  I could then de-identify the files and put togther a quickstart compatible project.

The article would demonstrate how to wrap any out-of-box action to handle action exceptions, perform config tweaks etc.

 

The xsl is below, it transforms the parent wsdl to make SOA-P happy.

 

Best,

Dave

 

<?xml version="1.0" encoding="utf-8"?>

xsl:stylesheet

xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

version="1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

 

<xsl:output method="xml" indent="yes"/>

<xsl:preserve-space elements="*"/>

 

<xsl:template match="wsdl:definitions">

 

<xsl:copy>

<xsl:copy-of select="@*"/>

<wsdl:types>

<xsd:schema targetNamespace="http://www.comapny.com/ybbp/api" elementFormDefault="qualified"/>

</wsdl:types>

<xsl:copy-of select="node()| comment()|text()"/>

</xsl:copy>

 

</xsl:template>

</

xsl:stylesheet>

 

xsl:stylesheet>

xsl:stylesheet>

 

 

 

 

 

 

 

 

 

Reply to this message by going to Community

Start a new discussion in JBoss ESB Development at Community