Webservice Error:More than one message named X was specified

dlauwersdlauwers Member Posts: 127
edited 2010-08-30 in NAV Three Tier
NAV 2009 SP1 BE Classic - RTC

During a conversion from Classic client to RTC I am having problems with a certain form.
In this mainform we use a subform 4 times on different tabs each with different filters. It shows comments of different types, so we used 1 table to store all the comments with an extra type field and created 1 form that could be used as a subform multipletimes on the same mainform only with different filters.

The translation of the form to page works, no errors and the page also runs in the RTC (needs some layout fixes, but it runs), but when we publish this page as a web service, and we browse to the webservice we get the error: ](*,)
Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
Body
Fault
faultcode xmlns:a="urn:microsoft-dynamics-schemas/error">a:System.ArgumentException</faultcode> 
faultstring xml:lang="nl-BE">More than one message named 'Delete_WZC_Comment_Lines_SF' was specified. Each message must have a unique name.</faultstring> 
detail
string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">More than one message named 'Delete_WZC_Comment_Lines_SF' was specified. Each message must have a unique name.</string> 
detail
Fault
Body
Envelope

When we delete the PART on the page that holds this “subform” so that only 1 is left (there are 4 of these PARTS on the page), this error is gone and data is returned.
I guess I could solve the problem by creating 4 different forms so that the names of the PARTS are unique, but that seems a bit stupid ?
Is there another solution and can it be applied during Form Transformation ?

Hope you can give me some tips on how to solve this ! :wink:

Thanks for your effort and time.
Have a nice day
Danny
Sign In or Register to comment.