« Return to Thread: Non unique body parts! ??

Re: Non unique body parts! ??

by Felipe Gaucho :: Rate this Message:

Reply to Author | View in Thread

humm.. what means I am forced to create a lot of messages with the
same content, just to sign the underneath technology to keep them
uniques :(  ..... ok.....

we are always trying some abstraction in WSDL, but sometimes it just
prove verbose..  +1 to support of WSDL 2.0 in this case ;)

On Tue, Jul 1, 2008 at 4:50 PM, Glen Mazza <glen.mazza@...> wrote:

>
> Read Note #1 here:  http://www.jroller.com/gmazza/date/20071019#notes
>
> HTH,
> Glen
>
>
> Felipe Gaucho wrote:
>>
>> I am defining a WSDL that import messages of another WSDL (reuse of
>> messages).., but the wsimport throws an warning: Non unique body
>> parts!
>>
>> is there a way to reuse messages without this warning ? can I ignore
>> the warning ?
>>
>> It seems the ID of the message is its contents and not it name.. is it
>> correct ?
>>
>> * the wsdl compiles fine but some operations are failing.. I didn't
>> have time to check if the reason i my messages reuse....
>>
>> For example:
>>
>>       <wsdl:portType name="CejugClassifiedsAdmin">
>>               <wsdl:operation name="CreateCategoryOperation">
>>                       <wsdl:input name="NewCategory" message="common-wsdl:Category" />
>>                       <wsdl:output ... />
>>               </wsdl:operation>
>>
>>               <wsdl:operation name="UpdateCategoryOperation">
>>                       <wsdl:input name="CategoryToMerge" message="common-wsdl:Category" />
>>                       <wsdl:output ... />
>>               </wsdl:operation>
>>           ........
>>
>>
>> [WARNING] 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 CejugClassifiedsAdmin, Operations
>> "UpdateAdvertisementTypeOperation" and
>> "CreateAdvertisementTypeOperation" have the same request body block
>> {http://cejug-classifieds.dev.java.net/metadata/common}AdvertisementType.
>> Method dispatching may fail, runtime will try to dispatch using
>> SOAPAction
>>
>> my ANT task:
>>
>>               <wsimport debug="true" verbose="${verbose}" keep="true"
>> extension="true" destdir="${generated.dir}"
>> package="${service.wsdl.generated.package}"
>> wsdl="${service.admin.wsdl}"
>> wsdllocation="${service.admin.wsdllocation}">
>>                       <produces dir="${generated.dir}"
>> includes="${service.wsdl.generated.package}/**/*.java" />
>>               </wsimport>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Non-unique-body-parts%21----tp18210827p18217683.html
> Sent from the Metro - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: Non unique body parts! ??