Webservice Error:More than one message named X was specified
 
            
                
                    dlauwers                
                
                    Member Posts: 127                
            
                        
            
                    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: ](*,)
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 !
Thanks for your effort and time.
Have a nice day
Danny
                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 !

Thanks for your effort and time.
Have a nice day
Danny
0                
            Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 322 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions