This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Reproduced in build 070206. To reproduce the bug: - add the following xsd files into XSLT Module <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xml.netbeans.org/schema/newXMLSchema1" xmlns:tn1="http://xml.netbeans.org/schema/newXMLSchema1" elementFormDefault="qualified"> <xsd:element name="s" type="xsd:string"></xsd:element> </xsd:schema> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xml.netbeans.org/schema/newXMLSchema2" xmlns:tn2="http://xml.netbeans.org/schema/newXMLSchema2" elementFormDefault="qualified"> <xsd:element name="d" type="xsd:string"></xsd:element> </xsd:schema> - create a new WSDL file; - import both schemas in there; - select input element 's' annd output element 'd'; - use SOAP Binding Type/Document Literal subtype; - create XSLT Service as follows: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:ns="http://xml.netbeans.org/schema/newXMLSchema2"> <xsl:template match="/"> <xsl:element name="ns:d"> <xsl:value-of select="'abc'"/> </xsl:element> </xsl:template> </xsl:stylesheet> - add the XSLT Module into a new CA; - build, deploy, and test the CA Project. It doesn't work. The output is as follows: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <SOAP-ENV:Fault> <faultcode>SOAP-ENV:Server</faultcode> <faultstring>Failed to normalize input. Could not normalize message did not find any node matching the element name, e in the soap message Reported Cause: did not find any node matching the element name, e in the soap message</faultstring> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
checked the provided scenario. works OK for me.
Verified in build 070213_27.