I have a problem with complex data types using the
Axis server with a client written in Delphi. Both
sides are generated from the same WSDL file.
Here is an example type from my WSDL file:
<xsd:complexType name="Logs">
<xsd:sequence>
<xsd:element name="LogEntry" type="xsd:string"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
Both the server and the client create a data structure
to hold an array of strings. However, when I try to
access the service, I get this error:
java.lang.IllegalArgumentException: argument type
mismatch on object "TestServiceSkeleton",
method name "logDump", tried argument types:
java.lang.String, java.lang.String,
[Ljava.lang.String;
I have the same problem when the complex type is a
struct, not an array (simple types work fine).
Everything works without problems when I generate both
the server and the client with WSDL2Java.
Any help would be appreciated.
Thanks,
Joe
PS: My return type is also a struct, but it works fine.
__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/