I just uploaded a completely new version of the eBay Actionscript
library. Thanks so much to Charles for the initial prototypes that
helped us create this new version. I announced the new release at
360Flex this morning, and blogged about it on the eBay Developer blog:
http://ebaydeveloper.typepad.com/dev/2007/03/ebay_actionscri.html
There may be some crossdomain.xml file issues -- I'm looking into
that. I was able to get local versions running, but there may still be
some issues with the way we have the file setup. Let me know.
-Alan
See code below:
private function performGetSellerList():void{
trace("Sending request");
var now:Date = new Date();
var nowPlus30:Date = new Date(now.getTime() + ((1000 * 60 * 60 *
24)));
//var detailLevelType:String =
DetailLevelCodeType.ReturnAll._value;
var getSellerListReq:GetSellerListRequestType = new
GetSellerListRequestType();
//getSellerListReq.detailLevel = [DetailLevelCodeType.ReturnAll];;
getSellerListReq.sort = 1;
getSellerListReq.userID = "dbridel";
getSellerListReq.endTimeFrom = now;
getSellerListReq.endTimeTo = nowPlus30;
//getSellerListReq.pagination = new PaginationType();
//getSellerListReq.pagination.entriesPerPage = 10;
//getSellerListReq.pagination.pageNumber = 1;
// Perform the call to the eBay API by passing both the
RequestType
// object and the listener to run when the call returns.
var invoker:WebServiceInvoker = new WebServiceInvoker();
invoker.addEventListener(CallResponse.SUCCESS,
handleGetSellerListReturn);
invoker.addEventListener(CallResponse.FAILURE,
handleGetSellerListFailure);
invoker.addEventListener(CallError.CALL_TIMEOUT,
handleCallTimeout);
invoker.addEventListener(CallError.ERROR, handleCallError);
invoker.addEventListener(CallError.FAILURE, handleCallFailure);
invoker.addEventListener(CallError.IO_ERROR, handleIOError);
invoker.performCall(getSellerListReq);
}
Do you have any ideas why this is happening?
without the source code it is hard to try anything:-)
Thanks
Hilary