NetTalk Central

Author Topic: WebServiceMethod documentation POST when QUEUE  (Read 3881 times)

walter.dasilva

  • Sr. Member
  • ****
  • Posts: 314
  • SOFTVALE
    • MSN Messenger - walter@softvale.com.br
    • View Profile
    • SOFTVALE
WebServiceMethod documentation POST when QUEUE
« on: June 23, 2014, 05:35:42 AM »
Hi Bruce,

If i create a WebServiceMethod for a FILE, NT show POST documentation like this

ID=value&CountryCode=value&ShipperCode=value&Name=value&Customer_Action=update

but if WSM for a QUEUE, NT is showing nothing.

Is this correct?

Regards,
Walter
Walter - SOFTVALE

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: WebServiceMethod documentation POST when QUEUE
« Reply #1 on: June 23, 2014, 07:14:32 AM »
Hi Walter,

yes. A Queue parameter contains multiple records, so it's not possible to pass that with a POST (or a gET for that matter). You must use one of the SOAP methods.

For a Table, in that specific case, of updating a single record, then the POST can be used.

cheers
Bruce

walter.dasilva

  • Sr. Member
  • ****
  • Posts: 314
  • SOFTVALE
    • MSN Messenger - walter@softvale.com.br
    • View Profile
    • SOFTVALE
Re: WebServiceMethod documentation POST when QUEUE
« Reply #2 on: June 23, 2014, 09:34:02 AM »
Hi Bruce,

Right, but, what about GROUP?

Cheers
Walter - SOFTVALE

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: WebServiceMethod documentation POST when QUEUE
« Reply #3 on: June 24, 2014, 03:11:09 AM »
A group should be ok in a POST or GET.

walter.dasilva

  • Sr. Member
  • ****
  • Posts: 314
  • SOFTVALE
    • MSN Messenger - walter@softvale.com.br
    • View Profile
    • SOFTVALE
Re: WebServiceMethod documentation POST when QUEUE
« Reply #4 on: June 24, 2014, 11:21:15 AM »
I´ve got it.

thanks.
Walter - SOFTVALE

walter.dasilva

  • Sr. Member
  • ****
  • Posts: 314
  • SOFTVALE
    • MSN Messenger - walter@softvale.com.br
    • View Profile
    • SOFTVALE
Re: WebServiceMethod documentation POST when QUEUE
« Reply #5 on: June 24, 2014, 11:25:55 AM »
You know,

I´m working in a android application (developed with Basic4Android) using Google Cloud Message. and nothing could be easier than make Server side using NT WebService.

Thanks a lot.
Walter - SOFTVALE