RE: 1.4: String[] translated to String in WSDL

2006-08-14 Thread Derek
Title: Message



Timothy:

Please 
file a JIRA for this. Axis should be capable of generating correct 
WSDL.

Thanks.

Derek

  
  -Original Message-From: Timothy Chan 
  [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 09, 2006 3:04 
  PMTo: axis-user@ws.apache.orgSubject: 1.4: String[] 
  translated to String in WSDL
  Hi everyone,I'd appreciate any insight on an issue I've 
  encountered. A String[] is being translated into a non-array String in 
  the WSDL. The result is an "argument type mismatch" error.More 
  specifically, I have a bean object that contains a String[] property. 
  During Ant build, Java2WSDL correctly produces a WSDL where the schema defines 
  this property as...  element name="items" 
   nillable="true"  
  type="impl:ArrayOf_xsd_string"/And WSDL2Java correctly produces 
  the .java w/ the String[] property.But when I deploy the project, the 
  Axis translates the property to a non-array String property so that the WSDL 
  defines the property as...  element name="items" 
   nillable="true"  
  type="xsd:string"/As a result, the client encounters the "argument 
  type mismatch" error when the server replies w/ a String[] but the client 
  expects a non-array String. I would appreciate any insight. 
  thx,-Tim


Re: 1.4: String[] translated to String in WSDL

2006-08-10 Thread Timothy Chan
Hey, I found a workaround! Just a reference for others. http://wiki.apache.org/ws/FrontPage/Axis/WsdlFile-Tim-- Forwarded message --
From: Timothy Chan [EMAIL PROTECTED]Date: Aug 9, 2006 3:00 PMSubject: 1.4: String[] translated to String in WSDL
To: axis-user@ws.apache.orgHi everyone,I'd appreciate any insight on an issue I've encountered. A String[] is being translated into a non-array String in the WSDL. The result is an argument type mismatch error.
More specifically, I have a bean object that contains a String[] property. During Ant build, Java2WSDL correctly produces a WSDL where the schema defines this property as...
  element name=items nillable=true type=impl:ArrayOf_xsd_string/And WSDL2Java correctly produces the .java w/ the String[] property.But when I deploy the project, the 
Axis translates the property to a non-array String property so that the WSDL defines the property as...
  element name=items nillable=true type=xsd:string/As a result, the client encounters the argument type mismatch error when the server replies w/ a String[] but the client expects a non-array String. I would appreciate any insight.
thx,-Tim




1.4: String[] translated to String in WSDL

2006-08-09 Thread Timothy Chan
Hi everyone,I'd appreciate any insight on an issue I've encountered. A String[] is being translated into a non-array String in the WSDL. The result is an argument type mismatch error.More specifically, I have a bean object that contains a String[] property. During Ant build, Java2WSDL correctly produces a WSDL where the schema defines this property as...
 element name=items  nillable=true  type=impl:ArrayOf_xsd_string/And WSDL2Java correctly produces the .java w/ the String[] property.But when I deploy the project, the Axis translates the property to a non-array String property so that the WSDL defines the property as...
 element name=items  nillable=true  type=xsd:string/As a result, the client encounters the argument type mismatch error when the server replies w/ a String[] but the client expects a non-array String. I would appreciate any insight.
thx,-Tim