NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: debzidoodle on July 05, 2014, 07:08:26 AM
-
Hi Bruce
I have a web service that returns a view. In my view is a date, I would like to format this date before it is sent. I do not seem to have access to the xml.AssignField procedure to do this though. Any way I can do this?
Thanks
Debra
-
The webServiceMethod template generates a "local object" called xml.
In your case you would need to
a) tell the webServiceMethod _not_ to generate the declaration and
b) add the xFiles Local object extension, being sure to name the object there
xml
(NOT MyXML1)
Then you will have access to all the derived methods.
The switch (for (a) above) is included in 8.18
Cheers
Bruce
-
Perfect, thank you!