WSDL containing array definitions causes trouble [message #183269] |
Mon, 27 November 2006 10:53 |
Michael Moser Messages: 914 Registered: July 2009 |
Senior Member |
|
|
I am trying to create a test-client (and later an application) for a
webservice that in its WSDL defines a couple of array-types, i.e. in the
WSDL header there is a namespace declaration
...
xmlns:soap11-enc=http://schemas.xmlsoap.org/soap/encoding/
...
and later in the WSDL there are a few type declararions like:
...
<complexType name="ArrayOfstring">
<complexContent>
<restriction base="soap11-enc:Array">
<attribute
ref="soap11-enc:arrayType"
wsdl:arrayType="string[]" />
</restriction>
</complexContent>
</complexType>
...
Obviously these array declarations cause later trouble, since when I
publish the generated client to geronimo V1.1 I get several error
messages "IWAB0182W: The Sample JSP client does not support the
following type: <type>[]", e.g. in the above case: "IWAB0182W: The
Sample JSP client does not support the following type:
java.lang.String[]".
How/where do I need to tweak the client creation so that it can handle
such array declarations???
Michael
|
|
|
Powered by
FUDForum. Page generated in 0.03417 seconds