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
New Developer
nkew
Posts: 6
Registered: ‎05-31-2011
My Device: Torch 9800
My Carrier: Vodafone UK

Access WSDL Web Service via ActionScript

Hi Everyone,

 

I'm looking to access a simple WSDL Web Service by pure Adobe ActionScript rather than MXML.

 

I know MXML and Flex would be the easiest route but I'm wondering if there's an efficient way to do this using ActionScript Mobile only?

 

Thanks

 

Nick

Please use plain text.
Contributor
galaxyprune
Posts: 45
Registered: ‎03-07-2011
My Device: Not Specified

Re: Access WSDL Web Service via ActionScript

Well, maybe I am not getting this. But can't you just construct the request (xml) as a string and send it to a endpoint? WSDL is only the description of the webservice. At its essence, you are just doint a http request by providing a input as a string that is formatted as xml. Can you explain what the issue is?

 

If you need to test the wsdl, i recommend soapUI. It will autogenerate a sample request from a WSDL. Maybe that's what you are looking for?

Please use plain text.
New Developer
nkew
Posts: 6
Registered: ‎05-31-2011
My Device: Torch 9800
My Carrier: Vodafone UK

Re: Access WSDL Web Service via ActionScript

Thanks for the reply.

 

Using Flex Mobile, I can simply add a reference to my SOAP web service and call it by name.

 

I just wondered if there was a way to do this using pure Actionscript.

 

Nick

Please use plain text.