Package org.apache.juddi.datatype.response

Examples of org.apache.juddi.datatype.response.BindingDetail


            catch (ClassCastException ce) {
                throw new UnexpectedObjectException();
            }
        }
        // Save ServiceBinding
        BindingDetail bd = null;
        try {
            bd = (BindingDetail) executeOperation(sbvect, "SAVE_SERVICE_BINDING");
        }
        catch (RegistryException e) {
            exceptions.add(new SaveException(e.getLocalizedMessage()));
            bulk.setStatus(JAXRResponse.STATUS_FAILURE);
            return bulk;
        }

        sbvect = bd.getBindingTemplateVector();
        for (int i = 0; sbvect != null && i < sbvect.size(); i++) {
            BindingTemplate bt = (BindingTemplate) sbvect.elementAt(i);
            coll.add(new KeyImpl(bt.getBindingKey()));
        }
        bulk.setCollection(coll);
View Full Code Here


      keyedRefVector.addElement(new KeyedReference("alpha","abcdefghi"));
      keyedRefVector.addElement(new KeyedReference("cff049d0-c460-40c2-91c7-aa2261123dc7","Yadda, Yadda, Yadda"));
      keyedRefVector.addElement(new KeyedReference("1775f0f8-cd47-451d-88da-73ce508836f3","blah, blah, blah"));
      categoryBag.setKeyedReferenceVector(keyedRefVector);

      BindingDetail detail = registry.findBinding(serviceKey,categoryBag,null,null,100);
      Vector bindings = detail.getBindingTemplateVector();
      if (bindings != null)
      {
        for (int i=0; i<bindings.size(); i++)
        {
          BindingTemplate binding = (BindingTemplate)bindings.elementAt(i);
View Full Code Here

TOP

Related Classes of org.apache.juddi.datatype.response.BindingDetail

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.