Re: Using unbounded sequences

From: Doug Kohlert <Doug.Kohlert_at_Sun.COM>
Date: Fri, 19 Mar 2004 10:09:37 -0800

Where did you get this WSDL from? I am not sure it is valid. I am
pretty sure that soap encoding requires the use of soap-encoded
arrays.. There is no work around for this type of WSDL.

Christof Strack wrote:

> Hi,
> I build a web service which uses as a value type the following type:
> <xsd:complexType name="TroubleTicketValueType">
> <xsd:sequence>
> <xsd:element name="value" type="xsd:string"
> minOccurs="1" maxOccurs="unbounded"/>
> </xsd:sequence>
> </xsd:complexType>
> When I process this with wscompile (rpc/encoded) I get an error
> message that this type is not supported.
> From the mailing list I've seen one option is to convert the sequence
> to an array. This is not an option for me since the schema has to stay
> fixed (compatability).
> What other options do I have? Is it possible to use JAXB together with
> JAX-RPC but still use rpc/encoded style?
> Regards Christof
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Doug Kohlert
Sun Microsystems, Inc.            
NOTICE:  This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy
all copies of the original message.
To unsubscribe, e-mail:
For additional commands, e-mail: