Re: Big-Picture Question (Web Services, RegNow)



Hi,

Jonathan Wood wrote:
Thanks for the input. I'm contacting RegNow to see why this is not an option.

BTW, does anyone know of a way to return multiple fields from a Web service? I'm only able to see how to return a single field (the function's return value).

Thanks.

The constraints for web methods are exactly the same as for "normal" methods: One return value only, but it can be anything including array (if you have many "fields" of the same type), or an object including different properties.

All public properties/attributes of the returned object will be serialized and transmitted.

However, if you can, I recommend to keep it simple. First you'll avoid serialization problems, and second, remember that web services clients are not only C#, but could be anything, including JavaScript (it's quite easy to make a web service call using JavaScript). For example, instead of transmitting a DateTime object, why not transmit a string representation of that DateTime... you get the idea.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
.



Relevant Pages

  • Re: 1 Million users.. I cant Scale!!
    ... How are you transmitting your SMSs? ... SOAP web service interface, 1 other provides a REST based web service. ...
    (comp.lang.python)
  • Re: OWA 2007 Forms, Toolbars, and Send Message Customizations
    ... quite aware of the web service API, support situation, etc. ... Javascript was used to send in some querystring data into our ... app in OWA 2003. ...
    (microsoft.public.exchange.development)
  • RE: Listbox problem
    ... from what I can gather they are using AJAX to get client side javascript to ... call a web service. ... 'word%' type sql filtered search and would only return relevant rows as some ... Another option would be to have a popup window which allows you to search ...
    (microsoft.public.dotnet.framework.aspnet)
  • Secure WebService w/JavaScript Client
    ... I am currently calling a .Net web service from JavaScript on the client-side ... browser. ... Internet Explorer to call the web service using a soap request. ... service and still being able to do this with JavaScript on the client? ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Adding a webpart or script to a custom list view
    ... > add javascript to the view templates. ... > from a web service? ... I have some ideas on the holidays ... >> I do not see any way that you can do this using a calculated column. ...
    (microsoft.public.sharepoint.portalserver.development)

Loading