Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Sending XML in a Rest based webservice

Explorer ,
Jan 10, 2013 Jan 10, 2013

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

TOPICS
ActionScript
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 10, 2013 Jan 10, 2013

use the sendAndLoad method of LoadVars.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 10, 2013 Jan 10, 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 10, 2013 Jan 10, 2013
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines