From: Paul K. <pau...@ya...> - 2004-10-17 20:26:10
|
Mark, --- Mark Fuller <ami...@ya...> wrote: > I've used the v2 support from the CVS with 60a. It > works fine. I'll try it as distributed with the beta > of 65. Regarding v3 support, I haven't had access to a > v3 server until lately. But, from reading the v3 specs > I've got a feeling UDDI::Lite will need some > rethinking to handle some new features in v3. We'll > have to tackle that later. Not a big deal because v3 > servers like Systinet's should be able to handle v2 > and resolve the differences (like required fields in > v3). Just let us know what you think needs to be done/rethought. Given this I won't be implementing any changes in handling non-UDDI namespaces (to be used in v3) described here http://sourceforge.net/mailarchive/forum.php?thread_id=4204695&forum_id=34563 > I noticed the UDDI::Lite documentation Byrne posted > doesn't mention how to select v1, 2 or 3. Do you guys > want to update it to address the way the module was > changed? Or, do you want me to? I think the only > difference was the "use" pragma. As far as I remember it's a matter of using uddiversion parameter with 'use UDDI::Lite'. Either of us can come up with one or two examples showing that. It would be great if you could write a working example with a real v2 server. We probably need to move this thread to soaplite-devel list (cc-ed). Paul. |
From: Mark F. <mar...@ea...> - 2004-10-17 20:36:46
|
Byrne I think the only interface change is using "uddiversion => 2" on the "use" statement. Example: ============== my $uddi_server = 'http://uddi.microsoft.com/inquire'; use UDDI::Lite uddiversion => 2, # UDDI v2 +trace=>[qw(headers fault debug)], # displays raw UDDI messages (send/receive) +autodispatch => proxy => $uddi_server, import => 'UDDI::Data', import => ['UDDI::Lite' => ':find'] # import find method names ; =============== There may have also been a change to the importable labels. They are delete, auth, save, validate, find, get. Or, inquiry or publish (which import respective subsets of the preceeding). It should be noted that v3 support is incomplete. The problem with v3 is that the schema uses more non-UDDI namespaces. Accessing attributes and elements is not as automatic as v1 and v2. This began to be a problem in v2 when the language attribute was xml:lang. This wasn't too bad with just one attribute requiring special qualifiying on two elements (name and description). But, v3 is taking this to new levels. xml:lang occurs on more elements. And, other namespaces are being used (like "dsig" on the signiture *element*). There are some other things which I'm not sure how UDDI::Lite should or shouldn't try to handle. Like v3's new support for multi-queries into a single complex query. I remember something else stood out to me but I can't find it at the moment. (It was the XML feature which lets you specify the rules at validation time. I thought one of the methods had this.) Mark |
From: Mark F. <mar...@ea...> - 2004-10-17 20:52:16
Attachments:
inquirev2
|
----- Original Message ----- From: "Paul Kulchenko" <pau...@ya...> > >... It would be great if you could write a working > example with a real v2 server. Paul, I did write a working example which exercises *every* v2 inquiry method. The problem is, there was no good way I could think of to do this on any server (a real server) and know what the values are. It would have to start at the top (find_business) and drill its way down. That may not be a good example of each method since the example would be dependent upon the content of a server. It could take a lot of processing to get to a specific method a user wants to exercise. I opted for the ability to invoke a single method (API) with hard-coded values. Which means, the user would have to use a registry's UI to look up some values and plug them into the script. What I have would be easily modified into a "start from the top and drill down" script. I'm just not sure I would want an example like that if I were (as I am) the novice user. I'd rather the documentation say "go to a registry, look up some values and plug them into the script for the method you want to execute. At worst, its' just not going to find anything -- which is a good starting point to delve into why it didn't. I've attached the script and you're more than welcome to include it in the examples. I started to do a "publishv2" script. But, that got to be too tedious. I also felt it wouldn't be as useful since most people wouldn't have publish authority to any server. I figured if they could master inquiryv2, they could probably figure out how to inoke publishing calls. Maybe just an example of one publish to illustrate how to do authentication? I've got that. Mark |