RE: Re: WSDeploy error in case multipart input message

From: <>
Date: Fri, 18 Feb 2005 00:04:33 +0100


I am a colleague from Xavier and would like to thank you for the quick

I have anyhow some other questions:
- is this resttriction added by the JWSDP JAX-RPC implementation or is
it part of the WSDL 1.1 specs?
- I have seen that there are two styles for document/literal: wrapper
and non wrapper. For the wrapper you can give only one part per message.
I have not seen this restriction for the non-wrapper style. Isn't there
a workaround posible with the non-wrapper style?

Thx for the support,


-----Original Message-----
From: Anne Thomas Manes []
Sent: 17 February 2005 22:58
Subject: Re: WSDeploy error in case multipart input message


When using doc/literal, your input message must contain at most one body
part. If you need to input multiple parameters, then you need to define
a wrapper element that contains those parameters as a sequence of
elements. For example, edit your WSDL as follows:


                  <xsd:element name="createService">
                        <xsd:element name="userId" type="xsd:string"/>
                        <xsd:element name="serviceId"
        <wsdl:message name="inputCreateService">
                <wsdl:part name="parameters"


On Thu, 17 Feb 2005 07:41:33 -0800,
<> wrote:
> Hello, can anybody help us?
> We have an operation for which the input message contains 2 parts.
> As we need documentliteral, those parts are declare with an
> 'element'-attribute.
> When doing a wscompile (-features wsi,documentliteral) and wsdeploy
> (jwsdp1.4 or 1.5), this generates an error:
> -> [wsdeploy] error: generator error: internal error
> (should not happen): tie.generator.002 As a result, the generated
> web.xml is not correct and, as such, when we deploy the war on an
> application server, the service is not reachable...
> When we remove one of the 2 message parts, everything is ok!
> So, the problem we are facing is:
> How to compile a webservice with jwsdp, in documentliteral style, with

> an operation input message containing more than one part....
> I added an example wsdl in attach. Note: this wsdl is just an example
> to show the error (the structure is not optimal at all!!)
> Thanks for the multiple replies!
> Xavier
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

**** DISCLAIMER ****