Skip to main content
Participant
January 11, 2013
Question

Sending XML in a Rest based webservice

  • January 11, 2013
  • 1 reply
  • 1094 views

Hi,

How do i send the xml from flash in a rest based web service? I need to send a xml and get back the response from web service. How to specify the web service address in the action script? Since the web service is running in different machine and my flash is running on different machine. Please let me know ur thoughts/ideas.

Thanks

thilsen

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
January 11, 2013

use the sendAndLoad method of LoadVars.

thilAuthor
Participant
January 11, 2013

Thanks for ur reply. so how to specify the web server IP? I have a xml and needs to be send it to server to get the response.

Thanks

Senthil

kglad
Community Expert
Community Expert
January 11, 2013

check the sendAndLoad method of LoadVars.  the first parameter is the url of the web service.