NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: peterH on June 10, 2014, 12:55:07 AM
-
There's an option for setting xml tags on the incoming parameters in a ws method, but it doesn't seem like they're being picked up and used by the program.
Must I use field names that correspond to the tag names set by the client or am I missing something here?
Peter
-
which build are you on Peter? There have been some updates to this in recent builds.
cheers
Bruce
-
Sorry, it's 8.16
You can easily reproduce: add a parameter to dbCustomer in web77 and give it an xml tag. The only place the tag is being picked up is in the GenerateHelp routine.
Peter
-
Hi Bruce,
Did you get a chance to look into this?
Peter
-
yes, but I haven't completed the fix yet.
-
Hi Peter,
>> There's an option for setting xml tags on the incoming parameters in a ws method, but it doesn't seem like they're being picked up and used by the program.
it depends on the type. This is for Table, Queue and Group types. For basic (string etc) types the variable name must match the incoming xml. More specifically the variable's "External Name" (if it exists) must match. So if, for example, you have a local variable then either name it the same as the XML or set the External name the same as the XML.
Cheers
Bruce
-
Hi Bruce,
Yes, that's what I've done to make it work.
Thanks
Peter