Return-Path: Delivered-To: apmail-ws-juddi-cvs-archive@www.apache.org Received: (qmail 22029 invoked from network); 5 Jun 2009 21:19:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Jun 2009 21:19:58 -0000 Received: (qmail 87948 invoked by uid 500); 5 Jun 2009 21:20:10 -0000 Delivered-To: apmail-ws-juddi-cvs-archive@ws.apache.org Received: (qmail 87906 invoked by uid 500); 5 Jun 2009 21:20:10 -0000 Mailing-List: contact juddi-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list juddi-cvs@ws.apache.org Received: (qmail 87897 invoked by uid 99); 5 Jun 2009 21:20:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jun 2009 21:20:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jun 2009 21:20:05 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7372A2388908; Fri, 5 Jun 2009 21:19:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r782140 [4/6] - in /webservices/juddi/site/xref/org/apache/juddi: proxy/ registry/ registry/local/ transport/axis/ Date: Fri, 05 Jun 2009 21:19:41 -0000 To: juddi-cvs@ws.apache.org From: kstam@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090605211943.7372A2388908@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: webservices/juddi/site/xref/org/apache/juddi/registry/AdminService.html URL: http://svn.apache.org/viewvc/webservices/juddi/site/xref/org/apache/juddi/registry/AdminService.html?rev=782140&r1=782139&r2=782140&view=diff ============================================================================== --- webservices/juddi/site/xref/org/apache/juddi/registry/AdminService.html (original) +++ webservices/juddi/site/xref/org/apache/juddi/registry/AdminService.html Fri Jun 5 21:19:39 2009 @@ -6,83 +6,83 @@
-
-1   /*
-2    * Copyright 2001-2004 The Apache Software Foundation.
-3    * 
-4    * Licensed under the Apache License, Version 2.0 (the "License");
-5    * you may not use this file except in compliance with the License.
-6    * You may obtain a copy of the License at
-7    * 
-8    *      http://www.apache.org/licenses/LICENSE-2.0
-9    * 
-10   * Unless required by applicable law or agreed to in writing, software
-11   * distributed under the License is distributed on an "AS IS" BASIS,
-12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-13   * See the License for the specific language governing permissions and
-14   * limitations under the License.
-15   */
-16  package org.apache.juddi.registry;
-17  
-18  import java.util.TreeSet;
-19  
-20  import javax.servlet.ServletConfig;
-21  import javax.servlet.ServletException;
-22  
-23  import org.apache.juddi.IRegistry;
-24  import org.apache.juddi.error.FatalErrorException;
-25  import org.apache.juddi.error.RegistryException;
-26  import org.apache.juddi.error.UnsupportedException;
-27  import org.w3c.dom.Element;
-28  
-29  /***
-30   * @author Steve Viens (sviens@apache.org)
-31   */
-32  public class AdminService extends AbstractService 
-33  {
-34    // collection of valid operations
-35    private TreeSet operations = null;
-36  
-37    public void init(ServletConfig config) 
-38      throws ServletException
-39    {
-40      super.init(config); 
-41    	
-42    	operations = new TreeSet();
-43    	operations.add("get_registryinfo");
-44    	operations.add("find_publisher");
-45    	operations.add("get_publisherdetail");
-46    	operations.add("save_publisher");
-47    	operations.add("delete_publisher");
-48    }
-49    
-50    public void validateRequest(String operation,String version,Element uddiReq)
-51  		throws RegistryException
-52  	{
-53      // Grab the generic attribute value.  If one isn't 
-54      // specified or the value specified is not "1.0" then 
-55      // throw an exception (this value must be specified 
-56      // for all UDDI requests and the endpoint called only 
-57      // supports UDDI version 1.0 requests).
-58  
-59      if (version == null)
-60        throw new FatalErrorException("A jUDDI generic attribute " +
-61          "value was not found for UDDI request: "+operation+" (The " +
-62          "'generic' attribute must be present)");
-63      else if (!version.equals(IRegistry.JUDDI_V1_GENERIC))
-64        throw new UnsupportedException("Only jUDDI v1 requests " +
-65          "are currently supported. The generic attribute value " +
-66          "received was: "+version);
-67  
-68      if ((operation == null) || (operation.trim().length() == 0))
-69        throw new FatalErrorException("The jUDDI service operation " +
-70          "could not be identified.");
-71      else if (!operations.contains(operation.toLowerCase()))
-72      	throw new UnsupportedException("The operation "+operation+" is not " +
-73      			"supported by the jUDDI Admin API.");
-74  	}
-75  }
+
+1   /*
+2    * Copyright 2001-2004 The Apache Software Foundation.
+3    * 
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    * 
+8    *      http://www.apache.org/licenses/LICENSE-2.0
+9    * 
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  package org.apache.juddi.registry;
+17  
+18  import java.util.TreeSet;
+19  
+20  import javax.servlet.ServletConfig;
+21  import javax.servlet.ServletException;
+22  
+23  import org.apache.juddi.IRegistry;
+24  import org.apache.juddi.error.FatalErrorException;
+25  import org.apache.juddi.error.RegistryException;
+26  import org.apache.juddi.error.UnsupportedException;
+27  import org.w3c.dom.Element;
+28  
+29  /***
+30   * @author Steve Viens (sviens@apache.org)
+31   */
+32  public class AdminService extends AbstractService 
+33  {
+34    // collection of valid operations
+35    private TreeSet operations = null;
+36  
+37    public void init(ServletConfig config) 
+38      throws ServletException
+39    {
+40      super.init(config); 
+41    	
+42    	operations = new TreeSet();
+43    	operations.add("get_registryinfo");
+44    	operations.add("find_publisher");
+45    	operations.add("get_publisherdetail");
+46    	operations.add("save_publisher");
+47    	operations.add("delete_publisher");
+48    }
+49    
+50    public void validateRequest(String operation,String version,Element uddiReq)
+51  		throws RegistryException
+52  	{
+53      // Grab the generic attribute value.  If one isn't 
+54      // specified or the value specified is not "1.0" then 
+55      // throw an exception (this value must be specified 
+56      // for all UDDI requests and the endpoint called only 
+57      // supports UDDI version 1.0 requests).
+58  
+59      if (version == null)
+60        throw new FatalErrorException("A jUDDI generic attribute " +
+61          "value was not found for UDDI request: "+operation+" (The " +
+62          "'generic' attribute must be present)");
+63      else if (!version.equals(IRegistry.JUDDI_V1_GENERIC))
+64        throw new UnsupportedException("Only jUDDI v1 requests " +
+65          "are currently supported. The generic attribute value " +
+66          "received was: "+version);
+67  
+68      if ((operation == null) || (operation.trim().length() == 0))
+69        throw new FatalErrorException("The jUDDI service operation " +
+70          "could not be identified.");
+71      else if (!operations.contains(operation.toLowerCase()))
+72      	throw new UnsupportedException("The operation "+operation+" is not " +
+73      			"supported by the jUDDI Admin API.");
+74  	}
+75  }
 

- + Modified: webservices/juddi/site/xref/org/apache/juddi/registry/InquiryService.html URL: http://svn.apache.org/viewvc/webservices/juddi/site/xref/org/apache/juddi/registry/InquiryService.html?rev=782140&r1=782139&r2=782140&view=diff ============================================================================== --- webservices/juddi/site/xref/org/apache/juddi/registry/InquiryService.html (original) +++ webservices/juddi/site/xref/org/apache/juddi/registry/InquiryService.html Fri Jun 5 21:19:39 2009 @@ -6,88 +6,88 @@
-
-1   /*
-2    * Copyright 2001-2004 The Apache Software Foundation.
-3    * 
-4    * Licensed under the Apache License, Version 2.0 (the "License");
-5    * you may not use this file except in compliance with the License.
-6    * You may obtain a copy of the License at
-7    * 
-8    *      http://www.apache.org/licenses/LICENSE-2.0
-9    * 
-10   * Unless required by applicable law or agreed to in writing, software
-11   * distributed under the License is distributed on an "AS IS" BASIS,
-12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-13   * See the License for the specific language governing permissions and
-14   * limitations under the License.
-15   */
-16  package org.apache.juddi.registry;
-17  
-18  import java.util.TreeSet;
-19  
-20  import javax.servlet.ServletConfig;
-21  import javax.servlet.ServletException;
-22  
-23  import org.apache.juddi.IRegistry;
-24  import org.apache.juddi.error.FatalErrorException;
-25  import org.apache.juddi.error.RegistryException;
-26  import org.apache.juddi.error.UnsupportedException;
-27  import org.w3c.dom.Element;
-28  
-29  /***
-30   * @author Steve Viens (sviens@apache.org)
-31   */
-32  public class InquiryService extends AbstractService
-33  {
-34    // collection of valid operations
-35    private TreeSet operations = null;
-36  
-37    public void init(ServletConfig config) 
-38    	throws ServletException
-39  	{
-40    	super.init(config); 
-41    	
-42    	operations = new TreeSet();
-43    	operations.add("find_business");
-44    	operations.add("find_service");
-45    	operations.add("find_binding");
-46    	operations.add("find_tmodel");
-47    	operations.add("find_relatedbusinesses");
-48    	operations.add("get_businessdetail");
-49    	operations.add("get_businessdetailext");
-50    	operations.add("get_servicedetail");
-51    	operations.add("get_bindingdetail");
-52    	operations.add("get_tmodeldetail");
-53  	}
-54  
-55    public void validateRequest(String operation,String version,Element uddiReq)
-56  		throws RegistryException
-57  	{
-58      // If the value 
-59    	// specified is not "2.0" then throw an exception (this 
-60    	// value must be specified for all UDDI requests and 
-61    	// only version 2.0 UDDI requests are supported by 
-62    	// this endpoint).
-63  
-64    	if (version == null)
-65        throw new FatalErrorException("A UDDI generic attribute " +
-66          "value was not found for UDDI request: "+operation+" (The " +
-67          "'generic' attribute must be present)");
-68      else if (!version.equals(IRegistry.UDDI_V2_GENERIC))
-69        throw new UnsupportedException("Only UDDI v2 " +
-70          "requests are currently supported. The generic attribute value " +
-71          "received was: "+version);
-72  
-73      if ((operation == null) || (operation.trim().length() == 0))
-74        throw new FatalErrorException("The UDDI service operation " +
-75          "could not be identified.");
-76      else if (!operations.contains(operation.toLowerCase()))
-77      	throw new UnsupportedException("The operation "+operation+" is not " +
-78      			"supported by the UDDI version 2 Inquiry API.");
-79  	}
-80  }
+
+1   /*
+2    * Copyright 2001-2004 The Apache Software Foundation.
+3    * 
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    * 
+8    *      http://www.apache.org/licenses/LICENSE-2.0
+9    * 
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  package org.apache.juddi.registry;
+17  
+18  import java.util.TreeSet;
+19  
+20  import javax.servlet.ServletConfig;
+21  import javax.servlet.ServletException;
+22  
+23  import org.apache.juddi.IRegistry;
+24  import org.apache.juddi.error.FatalErrorException;
+25  import org.apache.juddi.error.RegistryException;
+26  import org.apache.juddi.error.UnsupportedException;
+27  import org.w3c.dom.Element;
+28  
+29  /***
+30   * @author Steve Viens (sviens@apache.org)
+31   */
+32  public class InquiryService extends AbstractService
+33  {
+34    // collection of valid operations
+35    private TreeSet operations = null;
+36  
+37    public void init(ServletConfig config) 
+38    	throws ServletException
+39  	{
+40    	super.init(config); 
+41    	
+42    	operations = new TreeSet();
+43    	operations.add("find_business");
+44    	operations.add("find_service");
+45    	operations.add("find_binding");
+46    	operations.add("find_tmodel");
+47    	operations.add("find_relatedbusinesses");
+48    	operations.add("get_businessdetail");
+49    	operations.add("get_businessdetailext");
+50    	operations.add("get_servicedetail");
+51    	operations.add("get_bindingdetail");
+52    	operations.add("get_tmodeldetail");
+53  	}
+54  
+55    public void validateRequest(String operation,String version,Element uddiReq)
+56  		throws RegistryException
+57  	{
+58      // If the value 
+59    	// specified is not "2.0" then throw an exception (this 
+60    	// value must be specified for all UDDI requests and 
+61    	// only version 2.0 UDDI requests are supported by 
+62    	// this endpoint).
+63  
+64    	if (version == null)
+65        throw new FatalErrorException("A UDDI generic attribute " +
+66          "value was not found for UDDI request: "+operation+" (The " +
+67          "'generic' attribute must be present)");
+68      else if (!version.equals(IRegistry.UDDI_V2_GENERIC))
+69        throw new UnsupportedException("Only UDDI v2 " +
+70          "requests are currently supported. The generic attribute value " +
+71          "received was: "+version);
+72  
+73      if ((operation == null) || (operation.trim().length() == 0))
+74        throw new FatalErrorException("The UDDI service operation " +
+75          "could not be identified.");
+76      else if (!operations.contains(operation.toLowerCase()))
+77      	throw new UnsupportedException("The operation "+operation+" is not " +
+78      			"supported by the UDDI version 2 Inquiry API.");
+79  	}
+80  }
 

- + Modified: webservices/juddi/site/xref/org/apache/juddi/registry/PublishService.html URL: http://svn.apache.org/viewvc/webservices/juddi/site/xref/org/apache/juddi/registry/PublishService.html?rev=782140&r1=782139&r2=782140&view=diff ============================================================================== --- webservices/juddi/site/xref/org/apache/juddi/registry/PublishService.html (original) +++ webservices/juddi/site/xref/org/apache/juddi/registry/PublishService.html Fri Jun 5 21:19:39 2009 @@ -6,95 +6,95 @@
-
-1   /*
-2    * Copyright 2001-2004 The Apache Software Foundation.
-3    * 
-4    * Licensed under the Apache License, Version 2.0 (the "License");
-5    * you may not use this file except in compliance with the License.
-6    * You may obtain a copy of the License at
-7    * 
-8    *      http://www.apache.org/licenses/LICENSE-2.0
-9    * 
-10   * Unless required by applicable law or agreed to in writing, software
-11   * distributed under the License is distributed on an "AS IS" BASIS,
-12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-13   * See the License for the specific language governing permissions and
-14   * limitations under the License.
-15   */
-16  package org.apache.juddi.registry;
-17  
-18  import java.util.TreeSet;
-19  
-20  import javax.servlet.ServletConfig;
-21  import javax.servlet.ServletException;
-22  
-23  import org.apache.juddi.IRegistry;
-24  import org.apache.juddi.error.FatalErrorException;
-25  import org.apache.juddi.error.RegistryException;
-26  import org.apache.juddi.error.UnsupportedException;
-27  import org.apache.juddi.registry.AbstractService;
-28  import org.w3c.dom.Element;
-29  
-30  /***
-31   * @author Steve Viens (sviens@apache.org)
-32   */
-33  public class PublishService extends AbstractService
-34  {
-35    // collection of valid operations
-36    private TreeSet operations = null;
-37  
-38    public void init(ServletConfig config) 
-39    	throws ServletException
-40  	{
-41    	super.init(config);   	
-42    	
-43    	operations = new TreeSet();
-44    	operations.add("get_authtoken");
-45    	operations.add("get_registeredinfo");
-46    	operations.add("discard_authtoken");
-47    	operations.add("save_business");
-48    	operations.add("save_service");
-49    	operations.add("save_binding");
-50    	operations.add("save_tmodel");
-51    	operations.add("delete_business");
-52    	operations.add("delete_service");
-53    	operations.add("delete_binding");
-54    	operations.add("delete_tmodel");
-55    	operations.add("add_publisherassertions");
-56    	operations.add("set_publisherassertions");
-57    	operations.add("get_publisherassertions");
-58    	operations.add("delete_publisherassertions");
-59    	operations.add("get_assertionstatusreport");
-60  	}
-61  
-62    public void validateRequest(String operation,String version,Element uddiReq)
-63  		throws RegistryException
-64  	{
-65      // If the value 
-66    	// specified is not "2.0" then throw an exception (this 
-67    	// value must be specified for all UDDI requests and 
-68    	// only version 2.0 UDDI requests are supported by 
-69    	// this endpoint).
-70  
-71    	if (version == null)
-72        throw new FatalErrorException("A UDDI generic attribute " +
-73          "value was not found for UDDI request: "+operation+" (The " +
-74          "'generic' attribute must be present)");
-75      else if (!version.equals(IRegistry.UDDI_V2_GENERIC))
-76        throw new UnsupportedException("Only UDDI v2 " +
-77          "requests are currently supported. The generic attribute value " +
-78          "received was: "+version);
-79  
-80      if ((operation == null) || (operation.trim().length() == 0))
-81        throw new FatalErrorException("The UDDI service operation " +
-82          "could not be identified.");
-83      else if (!operations.contains(operation.toLowerCase()))
-84      	throw new UnsupportedException("The operation "+operation+" is not " +
-85      			"supported by the UDDI version 2 Publish API.");
-86  	}
-87  }
+
+1   /*
+2    * Copyright 2001-2004 The Apache Software Foundation.
+3    * 
+4    * Licensed under the Apache License, Version 2.0 (the "License");
+5    * you may not use this file except in compliance with the License.
+6    * You may obtain a copy of the License at
+7    * 
+8    *      http://www.apache.org/licenses/LICENSE-2.0
+9    * 
+10   * Unless required by applicable law or agreed to in writing, software
+11   * distributed under the License is distributed on an "AS IS" BASIS,
+12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+13   * See the License for the specific language governing permissions and
+14   * limitations under the License.
+15   */
+16  package org.apache.juddi.registry;
+17  
+18  import java.util.TreeSet;
+19  
+20  import javax.servlet.ServletConfig;
+21  import javax.servlet.ServletException;
+22  
+23  import org.apache.juddi.IRegistry;
+24  import org.apache.juddi.error.FatalErrorException;
+25  import org.apache.juddi.error.RegistryException;
+26  import org.apache.juddi.error.UnsupportedException;
+27  import org.apache.juddi.registry.AbstractService;
+28  import org.w3c.dom.Element;
+29  
+30  /***
+31   * @author Steve Viens (sviens@apache.org)
+32   */
+33  public class PublishService extends AbstractService
+34  {
+35    // collection of valid operations
+36    private TreeSet operations = null;
+37  
+38    public void init(ServletConfig config) 
+39    	throws ServletException
+40  	{
+41    	super.init(config);   	
+42    	
+43    	operations = new TreeSet();
+44    	operations.add("get_authtoken");
+45    	operations.add("get_registeredinfo");
+46    	operations.add("discard_authtoken");
+47    	operations.add("save_business");
+48    	operations.add("save_service");
+49    	operations.add("save_binding");
+50    	operations.add("save_tmodel");
+51    	operations.add("delete_business");
+52    	operations.add("delete_service");
+53    	operations.add("delete_binding");
+54    	operations.add("delete_tmodel");
+55    	operations.add("add_publisherassertions");
+56    	operations.add("set_publisherassertions");
+57    	operations.add("get_publisherassertions");
+58    	operations.add("delete_publisherassertions");
+59    	operations.add("get_assertionstatusreport");
+60  	}
+61  
+62    public void validateRequest(String operation,String version,Element uddiReq)
+63  		throws RegistryException
+64  	{
+65      // If the value 
+66    	// specified is not "2.0" then throw an exception (this 
+67    	// value must be specified for all UDDI requests and 
+68    	// only version 2.0 UDDI requests are supported by 
+69    	// this endpoint).
+70  
+71    	if (version == null)
+72        throw new FatalErrorException("A UDDI generic attribute " +
+73          "value was not found for UDDI request: "+operation+" (The " +
+74          "'generic' attribute must be present)");
+75      else if (!version.equals(IRegistry.UDDI_V2_GENERIC))
+76        throw new UnsupportedException("Only UDDI v2 " +
+77          "requests are currently supported. The generic attribute value " +
+78          "received was: "+version);
+79  
+80      if ((operation == null) || (operation.trim().length() == 0))
+81        throw new FatalErrorException("The UDDI service operation " +
+82          "could not be identified.");
+83      else if (!operations.contains(operation.toLowerCase()))
+84      	throw new UnsupportedException("The operation "+operation+" is not " +
+85      			"supported by the UDDI version 2 Publish API.");
+86  	}
+87  }
 

- + --------------------------------------------------------------------- To unsubscribe, e-mail: juddi-cvs-unsubscribe@ws.apache.org For additional commands, e-mail: juddi-cvs-help@ws.apache.org