I have updated the stubs using the latest wsdl and latest wsdl2objc. I can now also get the other operations to work. Though I am still not convinced whether we should document and support them, as I am not sure about their usefulness. For one thing, the search needs the ID rather than some search term, so that sounds more like something to use internally in a program rather than through some user input.
And aside about that UID. We currently put that (with the initial WOS: prefix stripped) in a field called Isi. As that is an obsolete name, shouldn't we change that to something like Wok, Wok-Id, Wok-Uid, or Uid? Any preferences? Also, I don't think we should strip the WOS: prefix, as now we actually support all databases (though I don't know whether the parsing will work as well for other DBs.) Christiaan On Apr 4, 2014, at 16:10, Reto Stöckli wrote: > > Reto > > Yes, now I remember. Colin had sent me the WSDL2ObjC code including the > stubs, but I've never used it. And yes, as you've guessed. In the > Authenticate and Search code I've only modified 2-3 lines (server name etc.). > Those changes that you are talking about were already there. > On Apr 4, 2014, at 4:07 PM, Christiaan Hofman wrote: > >> >> On Apr 4, 2014, at 14:14, Reto Stöckli wrote: >> >>> Christiaan >>> >>> I'm actually not sure what you are talking about. I have not modified any >>> XML data and not used the wsdl2objc code. I've simply modified the the >>> BDSKISIGroupServer.m, WOKSearchService.m, WOSMWSAuthenticaterService.m >>> codes. Can you be more specific? In WOKSearchService.m I have no variable >>> collectionFields in line 358. Which file are you referring to? >>> >>> Reto >>> >> >> If you don't understand what I am talking about, the WokSearchService and >> WOKMWSAuthenticateService code has been generated from the WSDL declarations >> using an app called WSDL2ObjC. I thought that you had regenerated this code >> using that app, rather than modify the existing code. >> >> So those changes I am talking about should have already been there. >> Apparently they were made by Colin? >> >> I wonder if we should still regenerate them, as there may be also some other >> changes you may have missed, in particular for the other operations beside >> search. I also guess if we want to regenerate the Lite code if we want to >> support that. >> >> Christiaan >> >>> On Apr 4, 2014, at 2:03 PM, Christiaan Hofman wrote: >>> >>>> Reto, can you explain something about the changes you made to the >>>> WokSearchService stubs? It seems to me that you removed all the namespace >>>> prefixes from the generated XML, any idea what this is about? I am a bit >>>> confused about the collectionFields, line 358, which is not consistent >>>> with the other fxes. Is that a mistake? There are also a few other places >>>> where the prefix is still added, shouldn't those be removed also? Maybe >>>> that's why some of the other operations don't work? BTW, which version of >>>> wsdl2objc did you use to generate the stubs? >>>> >>>> Christiaan >>>> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Bibdesk-develop mailing list >> Bibdesk-develop@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bibdesk-develop > > > ------------------------------------------------------------------------------ > _______________________________________________ > Bibdesk-develop mailing list > Bibdesk-develop@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bibdesk-develop Christiaan
------------------------------------------------------------------------------
_______________________________________________ Bibdesk-develop mailing list Bibdesk-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-develop