[jira] Updated: (AXIS-2026) wsdl2java does not generate array of wrappers for soapenc array nillable elements

2005-06-12 Thread Hans (JIRA)
 [ http://issues.apache.org/jira/browse/AXIS-2026?page=all ]

Hans updated AXIS-2026:
---

Attachment: patch_tested.txt

Submitted new patch. 

I ran all-tests and unfortunately still some functional failures but I don't 
think it is related to my fix (probably something environmental):
All other tests were successfull.


The following tests have functional failures:
testSimpleString
testStringWithApostrophes
testStringWithEntities
testStringWithRawEntities
testStringWithLeadingAndTrailingSpaces
testWhitespace
testFrenchAccents
testFrenchAccents2
testGermanUmlauts
testWelcomeUnicode

all these test failed with the following error:

Error while compiling: jwsClasses\jws\EchoHeaders.java

AxisFault
faultCode: {http://xml.apache.org/axis/}Server.compileError
faultSubcode:
faultString: Error while compiling: jwsClasses\jws\EchoHeaders.java
faultActor:
faultNode:
faultDetail:
{}Errors:Error compiling jwsClasses\jws\EchoHeaders.java:
Line 0, column 0: could not parse error message: Note: sun.tools.javac.Main has 
been deprecated.
jwsClasses\jws\EchoHeaders.java:21: Class javax.servlet.http.HttpServletRequest 
not found in import.
import javax.servlet.http.HttpServletRequest;
Error while compiling: jwsClasses\jws\EchoHeaders.java

 wsdl2java does not generate array of wrappers for soapenc array nillable 
 elements
 -

  Key: AXIS-2026
  URL: http://issues.apache.org/jira/browse/AXIS-2026
  Project: Apache Axis
 Type: Bug
   Components: WSDL processing
 Versions: current (nightly)
  Environment: JDK 1.4.2_06, Linux
 Reporter: Hans
 Assignee: Davanum Srinivas
  Attachments: diff.zip, patch.txt, patch_tested.txt, testcase_diff.zip

 For the following structure
 xsd:complexType name=StructureType
 xsd:all
 xsd:element name=fld type=s0:intarr minOccurs=0/
 /xsd:all
 /xsd:complexType
 xsd:complexType name=intarr
 xsd:complexContent
 xsd:restriction base=soapenc:Array
 xsd:sequence
 xsd:element name=element type=s:int
 nillable=true minOccurs=0 maxOccurs=unbounded/
 /xsd:sequence
 /xsd:restriction
 /xsd:complexContent
 /xsd:complexType
 wsdl2java from Axis 1.1 generates a Java Class like:
 class StructureType implements Serializable {
 private Integer[] fld;
 ...
 But with Axis 1.2 the following is generated:
 class StructureType implements Serializable {
 private int[] fld;
 ... 
 This is incorrect - type should be Integer[].
 I will have a go at creating a fix for this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Updated: (AXIS-2026) wsdl2java does not generate array of wrappers for soapenc array nillable elements

2005-06-07 Thread Hans (JIRA)
 [ http://issues.apache.org/jira/browse/AXIS-2026?page=all ]

Hans updated AXIS-2026:
---

Attachment: patch.txt

Attached new patch.txt.
Test failed because wrappers were also generated for arrays with element having 
minOccurs=0 which is incorrect.


 wsdl2java does not generate array of wrappers for soapenc array nillable 
 elements
 -

  Key: AXIS-2026
  URL: http://issues.apache.org/jira/browse/AXIS-2026
  Project: Axis
 Type: Bug
   Components: WSDL processing
 Versions: current (nightly)
  Environment: JDK 1.4.2_06, Linux
 Reporter: Hans
 Assignee: Davanum Srinivas
  Attachments: diff.zip, patch.txt, testcase_diff.zip

 For the following structure
 xsd:complexType name=StructureType
 xsd:all
 xsd:element name=fld type=s0:intarr minOccurs=0/
 /xsd:all
 /xsd:complexType
 xsd:complexType name=intarr
 xsd:complexContent
 xsd:restriction base=soapenc:Array
 xsd:sequence
 xsd:element name=element type=s:int
 nillable=true minOccurs=0 maxOccurs=unbounded/
 /xsd:sequence
 /xsd:restriction
 /xsd:complexContent
 /xsd:complexType
 wsdl2java from Axis 1.1 generates a Java Class like:
 class StructureType implements Serializable {
 private Integer[] fld;
 ...
 But with Axis 1.2 the following is generated:
 class StructureType implements Serializable {
 private int[] fld;
 ... 
 This is incorrect - type should be Integer[].
 I will have a go at creating a fix for this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Updated: (AXIS-2026) wsdl2java does not generate array of wrappers for soapenc array nillable elements

2005-06-01 Thread Hans (JIRA)
 [ http://issues.apache.org/jira/browse/AXIS-2026?page=all ]

Hans updated AXIS-2026:
---

Attachment: diff.zip

 wsdl2java does not generate array of wrappers for soapenc array nillable 
 elements
 -

  Key: AXIS-2026
  URL: http://issues.apache.org/jira/browse/AXIS-2026
  Project: Axis
 Type: Bug
   Components: WSDL processing
 Versions: current (nightly)
  Environment: JDK 1.4.2_06, Linux
 Reporter: Hans
  Attachments: diff.zip

 For the following structure
 xsd:complexType name=StructureType
 xsd:all
 xsd:element name=fld type=s0:intarr minOccurs=0/
 /xsd:all
 /xsd:complexType
 xsd:complexType name=intarr
 xsd:complexContent
 xsd:restriction base=soapenc:Array
 xsd:sequence
 xsd:element name=element type=s:int
 nillable=true minOccurs=0 maxOccurs=unbounded/
 /xsd:sequence
 /xsd:restriction
 /xsd:complexContent
 /xsd:complexType
 wsdl2java from Axis 1.1 generates a Java Class like:
 class StructureType implements Serializable {
 private Integer[] fld;
 ...
 But with Axis 1.2 the following is generated:
 class StructureType implements Serializable {
 private int[] fld;
 ... 
 This is incorrect - type should be Integer[].
 I will have a go at creating a fix for this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Updated: (AXIS-2026) wsdl2java does not generate array of wrappers for soapenc array nillable elements

2005-06-01 Thread Hans (JIRA)
 [ http://issues.apache.org/jira/browse/AXIS-2026?page=all ]

Hans updated AXIS-2026:
---

Attachment: testcase_diff.zip

Shouldn't forget about the testcase...

 wsdl2java does not generate array of wrappers for soapenc array nillable 
 elements
 -

  Key: AXIS-2026
  URL: http://issues.apache.org/jira/browse/AXIS-2026
  Project: Axis
 Type: Bug
   Components: WSDL processing
 Versions: current (nightly)
  Environment: JDK 1.4.2_06, Linux
 Reporter: Hans
  Attachments: diff.zip, testcase_diff.zip

 For the following structure
 xsd:complexType name=StructureType
 xsd:all
 xsd:element name=fld type=s0:intarr minOccurs=0/
 /xsd:all
 /xsd:complexType
 xsd:complexType name=intarr
 xsd:complexContent
 xsd:restriction base=soapenc:Array
 xsd:sequence
 xsd:element name=element type=s:int
 nillable=true minOccurs=0 maxOccurs=unbounded/
 /xsd:sequence
 /xsd:restriction
 /xsd:complexContent
 /xsd:complexType
 wsdl2java from Axis 1.1 generates a Java Class like:
 class StructureType implements Serializable {
 private Integer[] fld;
 ...
 But with Axis 1.2 the following is generated:
 class StructureType implements Serializable {
 private int[] fld;
 ... 
 This is incorrect - type should be Integer[].
 I will have a go at creating a fix for this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira