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.
From Jason B: I have an input msg to a SOAP BC SU operation defined as <xsd:complexType name="LocationInfo"> <xsd:sequence> <xsd:element name="address" type="xsd:string"></xsd:element> <xsd:element name="city" type="xsd:string"></xsd:element> <xsd:element name="state" type="xsd:string"></xsd:element> </xsd:sequence> </xsd:complexType> <xsd:element name="location" type="tns:LocationInfo"></xsd:element> When I create a unit test from the below xsd snippet, the input msg appears as: <soapenv:Envelope xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:loc="http://xml.netbeans.org/schema/locationInfo"> <soapenv:Body> <loc:location> <loc:address>?string?</loc:address> <loc:city/> <loc:state/> </loc:location> </soapenv:Body> </soapenv:Envelope> Notice that two of the tags were not generated correctly. Its not a big issue but I'd like to know if its something specific about the way the input msg is defined or if something strange has been introduced in v2.2.
This is a regression introduced in gfesbv22. It was introduced when fixing the StackOverflowError in PIX/PDQ project.
Fixed regression in gfesbv22 (75aac771bfc9).
Verified in GFESBv2.2 Installer Build:20091210-0720 Product Version: NetBeans IDE 6.7.1 (Build 200911291800) Java: 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Userdir: C:\GlassFishESBv22\.netbeans\glassfishesb It is working fine now.