dude, thanks!

Been banging my head on my desk for a while on this.

Much obliged.

On 2/20/07, ashifsayani <[EMAIL PROTECTED]> wrote:

  I've got the same problem. I don't get the error though when I bypass
Cairngorm and just
call the WS directly. Did you get this resolved?

thanks,
Ashif


--- In [email protected] <flexcoders%40yahoogroups.com>, "John
Wilker" <[EMAIL PROTECTED]> wrote:
>
> 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
>




--
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

Reply via email to