I've got an app using Web Services. I make the WS call once and it's just fine, I make the same call again (any call. this happens with each WS in the app)
and I get an error. The RPC fault is FaultEvent fault=[RPC Fault faultString="Array of input arguments did not contain a required parameter at position 3" faultCode="Client.Input" faultDetail="null"] messageId=null type="fault" bubbles=false cancelable=true eventPhase=2] Here's the code in question. App services.mxml <mx:WebService id="orderService" wsdl=" http://localhost:8300/NameChange/Components/order.cfc?wsdl" fault=" event.token.faultHandler(event)" showBusyCursor="true"> <mx:operation name="CreateOrder" fault="event.token.faultHandler(event)" result="event.token.resultHandler(event)" makeObjectsBindable="false" /> <mx:operation name="OrderAddItem" fault="event.token.faultHandler(event)" result="event.token.resultHandler(event)" makeObjectsBindable="false" /> <mx:operation name="GetOrders" fault="event.token.faultHandler(event)" result="event.token.resultHandler(event)" makeObjectsBindable="false" resultFormat="object" /> <mx:operation name="GetOrderByID" fault="myFault(event)" result=" event.token.resultHandler(event)" makeObjectsBindable="false" /> <mx:operation name="RemoveItemFromOrder" fault=" event.token.faultHandler(event)" result="event.token.resultHandler(event)" makeObjectsBindable="false" /> </mx:WebService> my delegate public function getOrderByID(datasource:String, OrderID:Number):void { //Alert.show("Hello from the delegate:getOrderByID.", "DEBUG"); //var thisService:AbstractService = service.getService ("orderService"); var call:Object = OrderSvc.GetOrderByID(datasource, OrderID); call.resultHandler = responder.result call.faultHandler = responder.fault; } getorderby is the functionality I've been using to debug. I just can't seem to figure it out. As I said, when I load the app, hit this functionality, it works fine. Come back again, call the same functionality. I get the above error. Oh, CarGram :) app in case it matters. Thanks! J -- John Wilker Vice President Software Development/Writer Red Omega Solutions, Inc. www.johnwilker.com / www.red-omega.com "Everything changes, nothing remains without change." ~Buddha c.483 bc