Hi guys,

 

I have these settings and code.

 

 

proxy-config.xml:

 

<destination id="ws-netsuite">

        <properties>

 
<wsdl>https://webservices.netsuite.com/wsdl/v2008_1_0/netsuite.wsdl</wsdl>

            <soap>*</soap>

        </properties>

        <adapter ref="soap-proxy"/>

    </destination>

 

 

MXML:

 

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

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; layout="absolute">

 

<mx:WebService id="srv" destination="ws-netsuite" useProxy="true"
showBusyCursor="true"/>

      

      <mx:Text x="212" y="206" text="Username"/>

      <mx:TextInput x="289" y="204" id="username"/>

      <mx:Text x="212" y="236" text="Password"/>

      <mx:TextInput x="289" y="234" id="password" displayAsPassword="true"/>

      

      <mx:Button label="Login" click="srv.login()" x="289" y="264"/>

      

</mx:Application>

 

*       Ignore the other stuff, my problem is just related to the click
event handler. 

 

Problem is that whenever I click the button, nothing happens. I mean it
should trigger a web services request.

 

Right now, I'm not setting a parameter for the login operation so it should
throw an error in the SOAP response.

 

I was just testing the connectivity.

 

Any kind of help will be appreciated. Thank you.

 

Reply via email to