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.

Bug 177241 - CASA tester not generating correct input msg
Summary: CASA tester not generating correct input msg
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: JBI Test Driver (show other bugs)
Version: 6.x
Hardware: PC All
: P2 normal (vote)
Assignee: Jun Qian
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-19 13:41 UTC by Jun Qian
Modified: 2009-12-10 23:15 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jun Qian 2009-11-19 13:41:40 UTC
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.
Comment 1 Jun Qian 2009-11-19 13:48:19 UTC
This is a regression introduced in gfesbv22. It was introduced when fixing the StackOverflowError in PIX/PDQ project.
Comment 2 Jun Qian 2009-12-04 18:12:52 UTC
Fixed regression in gfesbv22 (75aac771bfc9).
Comment 3 nvramarao 2009-12-10 23:15:36 UTC
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.