Loading ...
Sorry, an error occurred while loading the content.

Adding multiple binding to a uddi structure

Expand Messages
  • Richard Wainwright
    In UDDI::Lite I am trying to create a simple business entity structre with two bindingTemplate within bindingTemplates structure. Is there a
    Message 1 of 1 , Aug 12, 2003
    • 0 Attachment
      In UDDI::Lite I am trying to create a simple business entity structre with
      two bindingTemplate within bindingTemplates structure.

      Is there a $busent->bindingTemplates->add style method. I have searched all
      the examples given and in lists, but people only ever seem to register
      single binding services.

      Here is my code, with one bindingTemplate:

      ################# Start Code ###############################################
      my $auth = get_authToken({userID => 'juddi', cred => 'password'})->authInfo;
      my $busent = with businessEntity =>
      name("Business"),
      description("a business"),
      businessKey(''),
      businessServices with businessService =>
      name("service"),
      description("Your service"),
      serviceKey(''),
      bindingTemplates with bindingTemplate =>
      description("a binding"),
      accessPoint('http://url/accesspoint'),
      bindingKey(''),
      tModelInstanceDetails with tModelInstanceInfo =>
      description('Tmodel desc'),
      tModelKey(''),
      with overviewDoc =>
      description(''),
      overviewURL('http://localhost/ws/x.wsdl');

      $bus = save_business($auth, $busent);
      ################### end Code ###############################################

      So how would I go about adding another?

      I would appreciate any help offered.

      Richard, Guildford-UK

      ---
      Outgoing mail is certified Virus Free.
      Checked by AVG anti-virus system (http://www.grisoft.com).
      Version: 6.0.505 / Virus Database: 302 - Release Date: 30/07/2003
    Your message has been successfully submitted and would be delivered to recipients shortly.