You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by Andy Cutright <An...@borland.com> on 2003/08/06 10:43:05 UTC

[juddi-Developers] save_publisher interface

i'm probably missing something here. i'm looking at the save_publisher
interface, trying to tie that into the uddi4j test suite (and build out
the samples directory) .. i'm seeing i need to write code something like
this: 

	// uncompiled pseudo code ... 

      AuthToken token = proxy.get_authToken("someuser");
      Publisher publisher = new Publisher("pubID", "name");
      SavePublisher savePublisher = new
SavePublisher(token.getAuthInfoString(), publisher);
      proxy.execute(savePublisher);

there's an AuthToken required in this exchange, so doesn't that require
an already established publisher? is there a bootstrap issue? 

cheers,
andy 



RE: [juddi-Developers] save_publisher interface

Posted by Steve Viens <sv...@attbi.com>.
Not really a bootstrap issue... 

I was thinking that only a publisher with administrative priv's would
be able to create another publisher. This seems right to me.

Steve

-----Original Message-----
From: juddi-developers-admin@lists.sourceforge.net
[mailto:juddi-developers-admin@lists.sourceforge.net] On Behalf Of Andy
Cutright
Sent: Wednesday, August 06, 2003 11:42 AM
To: juddi-developers@lists.sourceforge.net
Subject: [juddi-Developers] save_publisher interface


i'm probably missing something here. i'm looking at the save_publisher
interface, trying to tie that into the uddi4j test suite (and build out
the samples directory) .. i'm seeing i need to write code something like
this: 

	// uncompiled pseudo code ... 

      AuthToken token = proxy.get_authToken("someuser");
      Publisher publisher = new Publisher("pubID", "name");
      SavePublisher savePublisher = new
SavePublisher(token.getAuthInfoString(), publisher);
      proxy.execute(savePublisher);

there's an AuthToken required in this exchange, so doesn't that require
an already established publisher? is there a bootstrap issue? 

cheers,
andy 


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01
/01
_______________________________________________
juddi-developers mailing list juddi-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/juddi-developers