Skip to main content

Non unique body parts! In a port, as per BP 1.1 R2710. When using wsimport on a valid wsdl

3 replies [Last post]
vijayki
Offline
Joined: 2012-04-08
Points: 0

I have a valid wsdl and I am able to point to this using soapui and invoke the operations defined within it. But when I use wsimport to generate the client pointing to this wsdl it complains with the error

Non unique body parts! In a port, as per BP 1.1 R2710 operations must have unique operation signaure on the wire for successful dispatch. In port methodsEndpoint1, Operations "xxxxx" and "xxxxxx" have the same request body block. Try running wsimport with -extension switch, runtime will try to dispatch using SOAPAction

I have attached the wsdl content.Can someone help me with this issue?

AttachmentSize
wsdl.txt3.31 KB

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Glen Mazza

I'm not sure what the problem is here--could you clarify what your goal is?

Glen

On 04/08/2012 08:32 PM, forums@java.net wrote:
> I have a valid wsdl and I am able to point to this using soapui and
> invoke
> the operations defined within it. But when I use wsimport to generate the
> client pointing to this wsdl it complains with the error Non unique body
> parts! In a port, as per BP 1.1 R2710 operations must have unique
> operation
> signaure on the wire for successful dispatch. In port methodsEndpoint1,
> Operations "xxxxx" and "xxxxxx" have the same request body block. Try
> running
> wsimport with -extension switch, runtime will try to dispatch using
> SOAPAction I have attached the wsdl content.Can someone help me with this
> issue?
>

vijayki
Offline
Joined: 2012-04-08
Points: 0

Hi,

I am trying to build a java client using wsimport to communicate with the web service. When I provide this wsdl file to wsimport it complains with the exception.

snajper
Offline
Joined: 2004-10-01
Points: 0

Hi,
try using the -extension switch to allow this kind of wsdl to be
processed,
MartiNG

On 4/9/12 8:18 PM, forums@java.net wrote:
> Hi, I am trying to build a java client using wsimport to communicate
> with the
> web service. When I provide this wsdl file to wsimport it complains
> with the
> exception.
>