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
Super Contributor
Meghasanghvi
Posts: 306
Registered: ‎08-10-2010
My Device: Not Specified

Error : Webservice Call using SOAP in MXML

[ Edited ]

hi

i want to call webservice using SOAP i get the following error when i call the webservice

 

SOAPFault (Server): Server was unable to process request. ---> Object reference not set to an instance of an object. 

 

i set the request parameter as below

<s:WebService
            id="sampleService"
            wsdl="my wsdl URL "
            <s:smileysurprised:peration name="SignIn"  >
                <s:request>
                    <name>'megha sanghvi '</name>
                    <collage>'absc collage'</collage>
                    <id>8</id>
                    <passoword>'megha'</password>    
                </s:request>
                </s:smileysurprised:peration>
        </s:WebService>

 

now i call this by below line of code

 

 

<s:Button label ="Submit" x="425" y="400" height="60" width="180" click="sampleService.SignIn.send()"/>   

 

and it give above error.

 

if i change the click ="sampleService.SignIn" then i get the blank screen no error no message

 

so please anyone have knoweldge of MXML webservice can help me to do how to call the webservice

 

Thanks & Regards ,

Megha