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... 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... 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