I've been stuck on this for a while and haven't made much progress so I'm hoping someone can tell me what I'm missing.
I'm using the Ebay API and trying to use make the following method call, here is the XML from the API: <?xml version="1.0" encoding="utf-8"?> <SetStoreCategoriesRequest xmlns="urn:ebay:apis:eBLBaseComponents"> <!-- Standard Input Fields --> <ErrorLanguage <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.ErrorLanguage>> string <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/simpleTypes.html#string> </ErrorLanguage <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.ErrorLanguage>> <MessageID <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.MessageID>> string <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/simpleTypes.html#string> </MessageID <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.MessageID>> <Version <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.Version>> string <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/simpleTypes.html#string> </Version <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.Version>> <WarningLevel <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.WarningLevel>> WarningLevelCodeType <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/WarningLevelCodeType.html> </WarningLevel <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.WarningLevel>> <!-- Call-specific Input Fields --> <Action <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.Action>> StoreCategoryUpdateActionCodeType <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/StoreCategoryUpdateActionCodeType.html> </Action <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.Action>> <DestinationParentCategoryID <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.DestinationParentCategoryID>> long <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/simpleTypes.html#long> </DestinationParentCategoryID <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.DestinationParentCategoryID>> <ItemDestinationCategoryID <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.ItemDestinationCategoryID>> long <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/simpleTypes.html#long> </ItemDestinationCategoryID <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.ItemDestinationCategoryID>> <StoreCategories <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.StoreCategories>> StoreCustomCategoryArrayType <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/StoreCustomCategoryArrayType.html> <CustomCategory <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.StoreCategories.CustomCategory>> StoreCustomCategoryType <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/StoreCustomCategoryType.html> <CategoryID <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.StoreCategories.CustomCategory.CategoryID>> long <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/simpleTypes.html#long> </CategoryID <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.StoreCategories.CustomCategory.CategoryID>> <ChildCategory <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.StoreCategories.CustomCategory.ChildCategory>> StoreCustomCategoryType <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/StoreCustomCategoryType.html> </ChildCategory <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.StoreCategories.CustomCategory.ChildCategory>> <!-- ... more ChildCategory nodes here ... --> <Name <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.StoreCategories.CustomCategory.Name>> string <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/simpleTypes.html#string> </Name <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.StoreCategories.CustomCategory.Name>> <Order <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.StoreCategories.CustomCategory.Order>> int <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/simpleTypes.html#int> </Order <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.StoreCategories.CustomCategory.Order>> </CustomCategory <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.StoreCategories.CustomCategory>> <!-- ... more CustomCategory nodes here ... --> </StoreCategories <http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/SetStoreCategories.html#Request.StoreCategories>> </SetStoreCategoriesRequest> I can get the call to work until I get to the StoreCategories. If you look, those parameters are custom types that are being passed in. So I grabbed the StoreCustomCategoryArrayType and StoreCustomCategoryType class files and put them in the lib directory so I can try and load up those objects. For some reason trying to instantiate those 2 objects always fails. The package name is eBLBaseComponents.apis.ebay, so in the lib directory I created those folders and moved the class files into them. At that point I get an error that states The class must not be an interface or an abstract class. which it's not, so I'm not sure why it's complaining. I was initially building the request as follows to send into the web service call: categoryRequest = structNew(); categoryRequest.Action = "Add"; categoryRequest.version = variables.version; categoryRequest.StoreCategories = ArrayNew(1); categoryRequest.StoreCategories[1] = structNew(); categoryRequest.StoreCategories[1].CustomCategory = ArrayNew(1); categoryRequest.StoreCategories[1].CustomCategory[1] = structNew(); categoryRequest.StoreCategories[1].CustomCategory[1].CategoryID = 20; categoryRequest.StoreCategories[1].CustomCategory[1].ChildCategory = ""; categoryRequest.StoreCategories[1].CustomCategory[1].Name= "Ben Test 2"; categoryRequest.StoreCategories[1].CustomCategory[1].Order = 2; Does anyone have any ideas on how I can build this request? Thanks, Ben ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324090 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

