Skip to main content

"has multiple binding" error

2 replies [Last post]
Joined: 2006-02-15

I was working with the JAXWS (& MIME) example located in
which I copied also to the following URL for your ease.

I can generate the code using wsimport.
The problem is when I remove all the "claimForm.." related parts (element, msg, port, binding), it gives an error:

//"abstract operation "echoData" binding, part "data" has multiple binding."//

what does "claimForm" to do with "echoData"s MIME? I had the same error with a WSDL which worked fine with previous code generation tools but I get the same error with wsimport.

The following is a WSDL I created just recently and it also gives me the same error with "multiple binding".

Any suggestions would be appriciated.

Thanks in advance :)

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-06-10

I tried your wsdl at This wsdl is not quite right, in the binding section it tries to bind a wsdl:part to different set of binding. wsimport doesnt allow you to bind a wsdl:part to different binding. See WS- I AP 1.0 profile on this specific issue[1].

To correct it you should bindingyou r soapbind:body to specific part or to none using parts attribute. Here is the modified wsdl:binding section from your wsdl:

See the "parts" attribute on soap:body to indicate its not bound to any part.




Joined: 2006-02-15

thanks that worked great :)