Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
New Contributor
toliver
Posts: 6
Registered: ‎02-13-2011
My Device: Not Specified

Problems calling wed service

Hello All.

 

When calling a web service, is there some way to force it to only use a standard HTTP Post format?

 

My app seems to be generating ServiceRequest calls half the time in the desktop app running under Flash builder Burritto. When running on the Playbook sim, it seems to always generate ServiceRequest calls.

 

Tim

 

Please use plain text.
Developer
UberschallSamsara
Posts: 922
Registered: ‎12-29-2010
My Device: PlayBook, Z10 LE, Dev Alpha C

Re: Problems calling wed service

[ Edited ]

See the Adobe docs for the URLRequest class - it sounds like maybe you want to set the method property of your URLRequest instance to be URLRequestMethod.POST ...

 

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/URLRequest.html#method

 

("The default value is URLRequestMethod.GET")

 

Edit: Sorry, I think I misunderstood the question ... I'm not familiar w/using the WebService class .... 

Please use plain text.