hi, creating a webservice is asynchronous, at least in as2, you will have to wait for the creation to complete. That probably doesnt solve your problem ,but is a prerequisite anyway
greetz JC On Tue, Apr 1, 2008 at 11:46 AM, Gert-Jan van der Wel <[EMAIL PROTECTED]> wrote: > Thanks for your suggestion, but it doesn't seem to work... > > Gert-Jan > > 2008/4/1, Jason Van Cleave <[EMAIL PROTECTED]>: > > > > > you can try and authenticate before you go to the page or hardcode your > > user/pass like > > > > var url:String = http://user:[EMAIL PROTECTED]; > > > > > > On Mon, Mar 31, 2008 at 11:32 AM, Gert-Jan van der Wel < > > [EMAIL PROTECTED]> wrote: > > > > > Hi everybody, > > > > > > I'm having some trouble with connecting to a SOAP web service from my > > > AS2 app. I need to log in on the web service to use it, but I don't > > > know when I should use the login/pass. I use this script: > > > > > > var service:WebService = new WebService( url ); > > > var call:PendingCall = service.doSomething(); > > > > > > call.onResult = function( result:XML ) { > > > trace( result ); > > > }; > > > call.onFault = function( fault:SOAPFault ) { > > > trace("Webservice fault: "+ fault.faultcode + "," + > > > fault.faultstring ); > > > } > > > > > > When I run it on my local machine there's no problem, but when I run > > > it from our server a html dialog appears and I get a SOAPFault. > > > > > > Any suggestions? > > > > > > Cheers, > > > Gert-Jan > > > > > > > > > > > > > > _______________________________________________ > > > Flashcoders mailing list > > > [email protected] > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > _______________________________________________ > > Flashcoders mailing list > > [email protected] > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > -- > Gert-Jan van der Wel > Co-Founder & CTO > > Floorplanner.com > +31 (0)10 281 0799 > +31 (0)6 1665 0338 > [EMAIL PROTECTED] > http://www.floorplanner.com > skype: gertjan-floorplanner > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

