On Dec 6, 2013, at 2:14, Maxwell, Adam R <[email protected]> wrote:
> On Dec 5, 2013, at 17:01, Christiaan Hofman <[email protected]> wrote: > >>>> The code does not allow such a choice, it is either one or the other. Some >>>> of these strings are hard coded and put in global variables. >>> >>> It probably needs separate classes generated, then, based on a different >>> WSDL. Global variables. Yay. Yes, that’s exactly how wsdl2objc works. I actually generated the WokSearchLight.* files way back when, but never committed them because I didn’t support that service in my code. One used the WokSearchService prefix and one used the WokSearchServiceService prefix, so there wasn't any conflict. You can argue with the design, but it does do the job. At least in version 2.0, the outputs of WokSearch and WokSearchLite were so different that they would need their own interfaces for transforming the output into BibItem records. A simple switch of URLs would never work in practice. >> Yes, the WSDL seems to have changed as well. In particular, v3 seems to be >> very picky about the order of the elements in the XML (v2 seems not to >> bother about the order). Also, the returned records don't seem to be the >> same, so also the parsing from XML records to bibtex fields needs to change. > > I looked at the code briefly. I'm not sure the USGlobals object will play > well with multiple services, but it's definitely more involved than just > editing the endpoints. > > Also, I pulled the WSDLs and diffed them (append ?wsdl to the URL, but you > evidently already know that): > > curl http://search.webofknowledge.com/esti/wokmws/ws/WokSearch?wsdl > > wsdl3.xml > curl http://search.isiknowledge.com/esti/wokmws/ws/WokSearch?wsdl > wsdl2.xml > > curl http://search.webofknowledge.com/esti/wokmws/ws/WokSearchLite?wsdl > > wsdl3lite.xml > > Lots of changes from 3-2 and from 3 to 3Lite. If they've also changed the > records coming back, that really sucks; there's not much incentive to support > something that changes so drastically every year or two. Hmm, if that’s the case then it will probably take longer to do. I will probably get around to it eventually, but almost certainly not before the new year. I wouldn’t hold up the release waiting for version 3 compatibility, at least from me. Cheers, Colin ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ Bibdesk-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bibdesk-develop
