NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: walter.dasilva on June 23, 2014, 05:35:42 AM

Title: WebServiceMethod documentation POST when QUEUE
Post by: walter.dasilva 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
Title: Re: WebServiceMethod documentation POST when QUEUE
Post by: Bruce 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
Title: Re: WebServiceMethod documentation POST when QUEUE
Post by: walter.dasilva on June 23, 2014, 09:34:02 AM
Hi Bruce,

Right, but, what about GROUP?

Cheers
Title: Re: WebServiceMethod documentation POST when QUEUE
Post by: Bruce on June 24, 2014, 03:11:09 AM
A group should be ok in a POST or GET.
Title: Re: WebServiceMethod documentation POST when QUEUE
Post by: walter.dasilva on June 24, 2014, 11:21:15 AM
I´ve got it.

thanks.
Title: Re: WebServiceMethod documentation POST when QUEUE
Post by: walter.dasilva 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.