dilbert
May-13-2005, 11:32 PM
Can anyone tell me why the following XML doesn't work: (I have replaced the starting < with ( so it wouldn't be stripped out in the forums, but otherwise untouched. It creates a category with a blank name, and the response comes back blank as well. but if i go to smugmug.com and login and view categories there is a new category listed in the drop down, with no name. this is driving me nuts, I posted earlier and never got a response (I did get the upload to work in perl finally).
Also worth noting, I can successfully create albums, including setting of options and it looks pretty much the same as below with extra params of course.
Any suggestions appreciated.
Thanks
[code]
(?xml version="1.0" encoding="UTF-8"?>
(methodCall>
(methodName>smugmug.categories.create
(/methodName>
(params>
(param>
(value>
(string>f3098bb8413a659011bbbbb03e25e8163
(/string>
(/value>
(/param>
(param>
(value>
(string>Test Category1
(/string>
(/value>
(/param>
(/params>
(/methodCall>
response
(?xml version="1.0" encoding="iso-8859-1"?>
(methodResponse>
(params>
(param>
(value>
(string/>
(/value>
(/param>
(/params>
(/methodResponse>
[\code]
Also worth noting, I can successfully create albums, including setting of options and it looks pretty much the same as below with extra params of course.
Any suggestions appreciated.
Thanks
[code]
(?xml version="1.0" encoding="UTF-8"?>
(methodCall>
(methodName>smugmug.categories.create
(/methodName>
(params>
(param>
(value>
(string>f3098bb8413a659011bbbbb03e25e8163
(/string>
(/value>
(/param>
(param>
(value>
(string>Test Category1
(/string>
(/value>
(/param>
(/params>
(/methodCall>
response
(?xml version="1.0" encoding="iso-8859-1"?>
(methodResponse>
(params>
(param>
(value>
(string/>
(/value>
(/param>
(/params>
(/methodResponse>
[\code]