Skip to main content
August 1, 2012
Question

webservice returning a string

  • August 1, 2012
  • 1 reply
  • 353 views

dear team

     i am new to Mobile application. kindly help to resolve the following question

i have a webservice which will return a single value.

the format is

<?html version="1.0" encoding="utf-8" ?>

<stirng xmlns="http://tempuri.org/">HELLO WORLD</string>

this code is .net 2005 sample webservice return value.

i want to assing this value to a text box.

kindly help.

This topic has been closed for replies.

1 reply

August 1, 2012

i have used the following codes:

<fx:Declarations>

<s:WebService id="service1"

                         wsdl="http://localhost/service1/Service.asmx?wsdl"

                         load="service1.HelloWorld()"/>

</fx:Declarations>

<s:TextInput id="test" text="{service1.HelloWorld.lastResult}"/>

but i am not able to recive the value