You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ek...@apache.org on 2005/05/14 01:30:37 UTC
svn commit: r170107 [3/10] - in /incubator/beehive/trunk/samples:
controls-blank/src/pkg/ controls-db/src/dbControl/
controls-db/src/dbControl/util/ controls-spring/web/
controls-spring/web/WEB-INF/ controls-spring/web/WEB-INF/src/
controls-webservices-blank/ controls-webservices-blank/junit/
controls-webservices-blank/junit/test/ controls-webservices-blank/schemas/
netui-samples/ netui-samples/WEB-INF/src/
netui-samples/WEB-INF/src/org/apache/beehive/samples/controls/pets/
netui-samples/WEB-INF/src/org/apache/beehive/samples/netui/beans/
netui-samples/WEB-INF/src/shared/ netui-samples/resources/template/
netui-samples/ui/datagrid/ netui-samples/ui/popup/
netui-samples/ui/popup/getColorPopup/ netui-samples/ui/tree/
netui-samples/ui/tree/content/ netui-samples/validation/
petstoreWeb/src/org/apache/beehive/samples/petstore/controller/
petstoreWeb/src/org/apache/beehive/samples/petstore/controls/
petstoreWeb/src/org/apache/beehive/samples/petstore/controls/data/
petstoreWeb/src/org/apache/beehive/samples/petstore/controls/exceptions/
petstoreWeb/src/org/apache/beehive/samples/petstore/forms/
petstoreWeb/src/org/apache/beehive/samples/petstore/model/
petstoreWeb/test-src/org/apache/beehive/samples/petstore/test/
petstoreWeb/web/ petstoreWeb/web/WEB-INF/
petstoreWeb/web/WEB-INF/tags/beehive/petstore/
petstoreWeb/web/account/addresses/ petstoreWeb/web/account/create/
petstoreWeb/web/account/edit/ petstoreWeb/web/auth/
petstoreWeb/web/checkout/ petstoreWeb/web/search/ petstoreWeb/web/shop/
petstoreWeb/web/site/ petstoreWeb/web/webappRoot/ wsm-addressbook-enhanced/
wsm-addressbook-enhanced/WEB-INF/
wsm-addressbook-enhanced/WEB-INF/src-ws/web/
wsm-addressbook-enhanced/WEB-INF/src/
wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/
wsm-addressbook-fromWSDL/ wsm-addressbook-fromWSDL/WEB-INF/
wsm-addressbook-fromWSDL/WEB-INF/src/
wsm-addressbook-fromWSDL/WEB-INF/wsdl/ wsm-addressbook/
wsm-addressbook/WEB-INF/ wsm-addressbook/WEB-INF/src-ws/web/
wsm-addressbook/WEB-INF/src/
wsm-addressbook/WEB-INF/src/org/apache/beehive/sample/ wsm-blank/
wsm-blank/WEB-INF/ wsm-blank/WEB-INF/src-ws/web/ wsm-blank/WEB-INF/src/
wsm-employee/ wsm-employee/WEB-INF/
wsm-employee/WEB-INF/client-tests/org/apache/beehive/EmployeeDB/
wsm-employee/WEB-INF/src-ws/web/ wsm-employee/WEB-INF/src/
wsm-employee/WEB-INF/src/org/apache/beehive/sample/
wsm-petstore-dashboard/lib/ wsm-petstore-dashboard/src/
wsm-petstore-dashboard/src/ui/ wsm-samples/ wsm-samples/WEB-INF/
wsm-samples/WEB-INF/src-ws/web/complex/
wsm-samples/WEB-INF/src-ws/web/handlerchain/
wsm-samples/WEB-INF/src-ws/web/header/ wsm-samples/WEB-INF/src-ws/web/oneway/
wsm-samples/WEB-INF/src-ws/web/soapmessagehandlers/
wsm-samples/WEB-INF/src-ws/web/webmethod/
wsm-samples/WEB-INF/src-ws/web/webparam/
wsm-samples/WEB-INF/src-ws/web/webresult/
wsm-samples/WEB-INF/src-ws/web/webservice/
wsm-samples/WEB-INF/src-ws/web/xsdtypes/ wsm-samples/WEB-INF/src/
wsm-samples/WEB-INF/src/org/apache/beehive/sample/
wsm-samples/WEB-INF/src/web/header/
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/server-config.wsdd
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/server-config.wsdd?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/server-config.wsdd (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/server-config.wsdd Fri May 13 16:30:30 2005
@@ -1,51 +1,51 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
- <globalConfiguration>
- <parameter name="adminPassword" value="admin"/>
- <parameter name="disablePrettyXML" value="true"/>
- <parameter name="attachments.implementation" value="org.apache.axis.attachments.AttachmentsImpl"/>
- <parameter name="sendXsiTypes" value="true"/>
- <!--<parameter name="sendMultiRefs" value="true"/>-->
- <parameter name="sendXMLDeclaration" value="true"/>
- <requestFlow>
- <handler type="java:org.apache.beehive.wsm.axis.handlers.AnnotatedWebServiceDeploymentHandler">
- <parameter name="scope" value="session"/>
- </handler>
- <handler type="java:org.apache.axis.handlers.JWSHandler">
- <parameter name="scope" value="session"/>
- </handler>
- <!--<handler type="java:org.apache.axis.handlers.JWSHandler">
- <parameter name="scope" value="request"/>
- <parameter name="extension" value=".jwr"/>
- </handler>-->
- </requestFlow>
- </globalConfiguration>
- <handler name="LocalResponder" type="java:org.apache.axis.transport.local.LocalResponder"/>
- <handler name="URLMapper" type="java:org.apache.axis.handlers.http.URLMapper"/>
- <handler name="Authenticate" type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
- <service name="AdminService" provider="java:MSG">
- <parameter name="allowedMethods" value="AdminService"/>
- <parameter name="enableRemoteAdmin" value="false"/>
- <parameter name="className" value="org.apache.axis.utils.Admin"/>
- <namespace>http://xml.apache.org/axis/wsdd/</namespace>
- </service>
- <service name="Version" provider="java:RPC">
- <parameter name="allowedMethods" value="getVersion"/>
- <parameter name="className" value="org.apache.axis.Version"/>
- </service>
- <transport name="http">
- <requestFlow>
- <handler type="URLMapper"/>
- <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
- </requestFlow>
- <parameter name="qs:list" value="org.apache.axis.transport.http.QSListHandler"/>
- <parameter name="qs:wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/>
- <parameter name="qs:method" value="org.apache.axis.transport.http.QSMethodHandler"/>
- </transport>
- <transport name="local">
- <responseFlow>
- <handler type="LocalResponder"/>
- </responseFlow>
- </transport>
-</deployment>
-
+<?xml version="1.0" encoding="UTF-8"?>
+<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
+ <globalConfiguration>
+ <parameter name="adminPassword" value="admin"/>
+ <parameter name="disablePrettyXML" value="true"/>
+ <parameter name="attachments.implementation" value="org.apache.axis.attachments.AttachmentsImpl"/>
+ <parameter name="sendXsiTypes" value="true"/>
+ <!--<parameter name="sendMultiRefs" value="true"/>-->
+ <parameter name="sendXMLDeclaration" value="true"/>
+ <requestFlow>
+ <handler type="java:org.apache.beehive.wsm.axis.handlers.AnnotatedWebServiceDeploymentHandler">
+ <parameter name="scope" value="session"/>
+ </handler>
+ <handler type="java:org.apache.axis.handlers.JWSHandler">
+ <parameter name="scope" value="session"/>
+ </handler>
+ <!--<handler type="java:org.apache.axis.handlers.JWSHandler">
+ <parameter name="scope" value="request"/>
+ <parameter name="extension" value=".jwr"/>
+ </handler>-->
+ </requestFlow>
+ </globalConfiguration>
+ <handler name="LocalResponder" type="java:org.apache.axis.transport.local.LocalResponder"/>
+ <handler name="URLMapper" type="java:org.apache.axis.handlers.http.URLMapper"/>
+ <handler name="Authenticate" type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
+ <service name="AdminService" provider="java:MSG">
+ <parameter name="allowedMethods" value="AdminService"/>
+ <parameter name="enableRemoteAdmin" value="false"/>
+ <parameter name="className" value="org.apache.axis.utils.Admin"/>
+ <namespace>http://xml.apache.org/axis/wsdd/</namespace>
+ </service>
+ <service name="Version" provider="java:RPC">
+ <parameter name="allowedMethods" value="getVersion"/>
+ <parameter name="className" value="org.apache.axis.Version"/>
+ </service>
+ <transport name="http">
+ <requestFlow>
+ <handler type="URLMapper"/>
+ <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
+ </requestFlow>
+ <parameter name="qs:list" value="org.apache.axis.transport.http.QSListHandler"/>
+ <parameter name="qs:wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/>
+ <parameter name="qs:method" value="org.apache.axis.transport.http.QSMethodHandler"/>
+ </transport>
+ <transport name="local">
+ <responseFlow>
+ <handler type="LocalResponder"/>
+ </responseFlow>
+ </transport>
+</deployment>
+
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/accountFields.tag
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/accountFields.tag?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/accountFields.tag (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/accountFields.tag Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/catalogNav.tag
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/catalogNav.tag?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/catalogNav.tag (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/catalogNav.tag Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/categoryNavHeader.tag
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/categoryNavHeader.tag?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/categoryNavHeader.tag (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/categoryNavHeader.tag Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/copyright.tag
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/copyright.tag?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/copyright.tag (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/copyright.tag Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/footer.tag
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/footer.tag?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/footer.tag (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/footer.tag Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/headerMenu.tag
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/headerMenu.tag?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/headerMenu.tag (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/headerMenu.tag Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/orderSummary.tag
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/orderSummary.tag?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/orderSummary.tag (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/orderSummary.tag Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/productFavorites.tag
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/productFavorites.tag?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/productFavorites.tag (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/WEB-INF/tags/beehive/petstore/productFavorites.tag Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/account/addresses/Controller.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/account/addresses/Controller.java?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/account/addresses/Controller.java (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/account/addresses/Controller.java Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
/*
- * Copyright 2004 The Apache Software Foundation.
+ * Copyright 2004-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/account/addresses/createUpdate.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/account/addresses/createUpdate.jsp?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/account/addresses/createUpdate.jsp (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/account/addresses/createUpdate.jsp Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/account/addresses/listAddresses.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/account/addresses/listAddresses.jsp?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/account/addresses/listAddresses.jsp (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/account/addresses/listAddresses.jsp Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/account/create/Controller.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/account/create/Controller.java?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/account/create/Controller.java (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/account/create/Controller.java Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
/*
- * Copyright 2004 The Apache Software Foundation.
+ * Copyright 2004-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/account/create/create.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/account/create/create.jsp?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/account/create/create.jsp (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/account/create/create.jsp Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/account/edit/Controller.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/account/edit/Controller.java?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/account/edit/Controller.java (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/account/edit/Controller.java Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
/*
- * Copyright 2004 The Apache Software Foundation.
+ * Copyright 2004-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/account/edit/edit.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/account/edit/edit.jsp?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/account/edit/edit.jsp (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/account/edit/edit.jsp Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/account/edit/listOrders.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/account/edit/listOrders.jsp?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/account/edit/listOrders.jsp (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/account/edit/listOrders.jsp Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/auth/Controller.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/auth/Controller.java?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/auth/Controller.java (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/auth/Controller.java Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
/*
- * Copyright 2004 The Apache Software Foundation.
+ * Copyright 2004-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/auth/login.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/auth/login.jsp?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/auth/login.jsp (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/auth/login.jsp Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/auth/loginError.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/auth/loginError.jsp?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/auth/loginError.jsp (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/auth/loginError.jsp Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/checkout/Controller.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/checkout/Controller.java?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/checkout/Controller.java (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/checkout/Controller.java Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
/*
- * Copyright 2004 The Apache Software Foundation.
+ * Copyright 2004-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/checkout/confirm.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/checkout/confirm.jsp?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/checkout/confirm.jsp (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/checkout/confirm.jsp Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/checkout/newOrder.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/checkout/newOrder.jsp?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/checkout/newOrder.jsp (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/checkout/newOrder.jsp Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/checkout/viewCart.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/checkout/viewCart.jsp?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/checkout/viewCart.jsp (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/checkout/viewCart.jsp Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/checkout/viewOrder.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/checkout/viewOrder.jsp?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/checkout/viewOrder.jsp (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/checkout/viewOrder.jsp Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/help.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/help.jsp?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/help.jsp (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/help.jsp Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/index.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/index.jsp?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/index.jsp (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/index.jsp Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/search/Controller.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/search/Controller.java?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/search/Controller.java (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/search/Controller.java Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
/*
- * Copyright 2004 The Apache Software Foundation.
+ * Copyright 2004-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/search/index.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/search/index.jsp?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/search/index.jsp (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/search/index.jsp Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/shop/Controller.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/shop/Controller.java?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/shop/Controller.java (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/shop/Controller.java Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
/*
- * Copyright 2004 The Apache Software Foundation.
+ * Copyright 2004-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/shop/cart.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/shop/cart.jsp?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/shop/cart.jsp (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/shop/cart.jsp Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/shop/category.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/shop/category.jsp?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/shop/category.jsp (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/shop/category.jsp Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/shop/index.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/shop/index.jsp?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/shop/index.jsp (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/shop/index.jsp Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/shop/item.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/shop/item.jsp?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/shop/item.jsp (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/shop/item.jsp Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/shop/product.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/shop/product.jsp?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/shop/product.jsp (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/shop/product.jsp Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/site/emptyLeftNav.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/site/emptyLeftNav.jsp?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/site/emptyLeftNav.jsp (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/site/emptyLeftNav.jsp Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/site/template.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/site/template.jsp?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/site/template.jsp (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/site/template.jsp Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
<%--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/petstoreWeb/web/webappRoot/SharedFlow.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/petstoreWeb/web/webappRoot/SharedFlow.java?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/petstoreWeb/web/webappRoot/SharedFlow.java (original)
+++ incubator/beehive/trunk/samples/petstoreWeb/web/webappRoot/SharedFlow.java Fri May 13 16:30:30 2005
@@ -1,5 +1,5 @@
/*
- * Copyright 2004 The Apache Software Foundation.
+ * Copyright 2004-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/server-config.wsdd
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/server-config.wsdd?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/server-config.wsdd (original)
+++ incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/server-config.wsdd Fri May 13 16:30:30 2005
@@ -1,46 +1,46 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
- <globalConfiguration>
- <parameter name="adminPassword" value="admin"/>
- <parameter name="disablePrettyXML" value="true"/>
- <parameter name="attachments.implementation" value="org.apache.axis.attachments.AttachmentsImpl"/>
- <parameter name="sendXsiTypes" value="true"/>
- <parameter name="sendXMLDeclaration" value="true"/>
- <requestFlow>
- <handler type="java:org.apache.beehive.wsm.axis.handlers.AnnotatedWebServiceDeploymentHandler">
- <parameter name="scope" value="session"/>
- </handler>
- <handler type="java:org.apache.axis.handlers.JWSHandler">
- <parameter name="scope" value="session"/>
- </handler>
- </requestFlow>
- </globalConfiguration>
- <handler name="LocalResponder" type="java:org.apache.axis.transport.local.LocalResponder"/>
- <handler name="URLMapper" type="java:org.apache.axis.handlers.http.URLMapper"/>
- <handler name="Authenticate" type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
- <service name="AdminService" provider="java:MSG">
- <parameter name="allowedMethods" value="AdminService"/>
- <parameter name="enableRemoteAdmin" value="false"/>
- <parameter name="className" value="org.apache.axis.utils.Admin"/>
- <namespace>http://xml.apache.org/axis/wsdd/</namespace>
- </service>
- <service name="Version" provider="java:RPC">
- <parameter name="allowedMethods" value="getVersion"/>
- <parameter name="className" value="org.apache.axis.Version"/>
- </service>
- <transport name="http">
- <requestFlow>
- <handler type="URLMapper"/>
- <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
- </requestFlow>
- <parameter name="qs:list" value="org.apache.axis.transport.http.QSListHandler"/>
- <parameter name="qs:wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/>
- <parameter name="qs:method" value="org.apache.axis.transport.http.QSMethodHandler"/>
- </transport>
- <transport name="local">
- <responseFlow>
- <handler type="LocalResponder"/>
- </responseFlow>
- </transport>
-</deployment>
-
+<?xml version="1.0" encoding="UTF-8"?>
+<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
+ <globalConfiguration>
+ <parameter name="adminPassword" value="admin"/>
+ <parameter name="disablePrettyXML" value="true"/>
+ <parameter name="attachments.implementation" value="org.apache.axis.attachments.AttachmentsImpl"/>
+ <parameter name="sendXsiTypes" value="true"/>
+ <parameter name="sendXMLDeclaration" value="true"/>
+ <requestFlow>
+ <handler type="java:org.apache.beehive.wsm.axis.handlers.AnnotatedWebServiceDeploymentHandler">
+ <parameter name="scope" value="session"/>
+ </handler>
+ <handler type="java:org.apache.axis.handlers.JWSHandler">
+ <parameter name="scope" value="session"/>
+ </handler>
+ </requestFlow>
+ </globalConfiguration>
+ <handler name="LocalResponder" type="java:org.apache.axis.transport.local.LocalResponder"/>
+ <handler name="URLMapper" type="java:org.apache.axis.handlers.http.URLMapper"/>
+ <handler name="Authenticate" type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
+ <service name="AdminService" provider="java:MSG">
+ <parameter name="allowedMethods" value="AdminService"/>
+ <parameter name="enableRemoteAdmin" value="false"/>
+ <parameter name="className" value="org.apache.axis.utils.Admin"/>
+ <namespace>http://xml.apache.org/axis/wsdd/</namespace>
+ </service>
+ <service name="Version" provider="java:RPC">
+ <parameter name="allowedMethods" value="getVersion"/>
+ <parameter name="className" value="org.apache.axis.Version"/>
+ </service>
+ <transport name="http">
+ <requestFlow>
+ <handler type="URLMapper"/>
+ <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
+ </requestFlow>
+ <parameter name="qs:list" value="org.apache.axis.transport.http.QSListHandler"/>
+ <parameter name="qs:wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/>
+ <parameter name="qs:method" value="org.apache.axis.transport.http.QSMethodHandler"/>
+ </transport>
+ <transport name="local">
+ <responseFlow>
+ <handler type="LocalResponder"/>
+ </responseFlow>
+ </transport>
+</deployment>
+
Modified: incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src-ws/web/Service.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src-ws/web/Service.java?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src-ws/web/Service.java (original)
+++ incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src-ws/web/Service.java Fri May 13 16:30:30 2005
@@ -1,153 +1,153 @@
-package web;
-
-/*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
-
-import javax.xml.rpc.holders.CalendarHolder;
-import javax.xml.rpc.holders.StringHolder;
-
-import javax.jws.Oneway;
-import javax.jws.WebMethod;
-import javax.jws.WebParam;
-import javax.jws.WebResult;
-import javax.jws.WebService;
-
-import org.apache.beehive.sample.Address;
-import org.apache.beehive.sample.AddressBookImpl;
-import org.apache.beehive.sample.EnhancedAddressBook;
-import org.apache.beehive.sample.InvalidAddressException;
-import org.apache.beehive.sample.InvalidNameException;
-import org.apache.beehive.sample.Phone;
-import org.apache.beehive.sample.StateType;
-
-
-@WebService(
- targetNamespace="http://beehive.apache.org/enhancedaddressbook",
- serviceName="EnhancedAddressBook"
-)
-public class Service implements EnhancedAddressBook {
-
- private static String DEFAULT_NAME = "default";
-
- private EnhancedAddressBook addressBook;
-
- /**
- * Constructor.
- */
- public Service() {
- addressBook = new AddressBookImpl();
- try {
- addressBook.addEntry(
- DEFAULT_NAME,
- new Address(
- 10230,
- "NE Points Drive",
- "Kirkland",
- new StateType("WA"),
- 98033,
- new Phone(425, "555", "1234")
- )
- );
- }
- catch (InvalidNameException e) {
- throw new RuntimeException("cannot add entry to address book");
- }
- catch (InvalidAddressException e) {
- throw new RuntimeException("cannot add entry to address book");
- }
- }
-
- /**
- * Web method that adds an entry to the address book.
- * @param name The name under which the address is added to the address
- * book.
- * @param address The address to be added.
- * @throws InvalidNameException
- * @throws InvalidAddressException
- */
- @WebMethod
- public void addEntry(@WebParam (name="custom_name")String name, @WebParam (name="custom_address")Address address)
- throws InvalidNameException, InvalidAddressException
- {
- addressBook.addEntry(name, address);
- }
-
- /**
- * Web method that queries the address book.
- * @param name Name for which the address is returned.
- * @return Address for the passed in name.
- * @throws InvalidNameException
- */
- @WebMethod
- public Address getAddressFromName(@WebParam (name="custom_name") String name)
- throws InvalidNameException
- {
- return addressBook.getAddressFromName(name);
- }
-
- /**
- * Web method that queries the address book.
- * @param name Array of names for which the addresses are returned.
- * @return Array of addresses for the passed in names.
- * @throws InvalidNameException
- */
- @WebMethod
- public Address[] getAddressFromNames(@WebParam (name="custom_name") String[] name)
- throws InvalidNameException
- {
- return addressBook.getAddressFromNames(name);
- }
-
- /**
- * Simple Oneway web method that doesn't take any input params.
- */
- @WebMethod
- @Oneway
- public void oneWayWithNoParam() {
- return;
- }
-
- /**
- * Web method that takes one in/out param.
- * @param calendar In out parameter; its value is overwritten inside this
- * method.
- * @return A random string.
- */
- @WebMethod
- public String oneINOUTParamMethod (@WebParam (name="calendar", mode=WebParam.Mode.INOUT) CalendarHolder calendar) {
- return addressBook.oneINOUTParamMethod(calendar);
- }
-
- /**
- * Simple web method that doesn't take any input params.
- * @return A random string.
- */
- @WebMethod
- public String simpleNoParamMethod() {
- return "simpleNoParamMethod()";
- }
-
- /**
- * Simple method that is not exposed by the web service and can only be used
- * locally.
- * @return A random string.
- */
- public String notWebService() {
- return "notWebService()";
- }
+package web;
+
+/*
+ * Copyright 2004-2005 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+
+import javax.xml.rpc.holders.CalendarHolder;
+import javax.xml.rpc.holders.StringHolder;
+
+import javax.jws.Oneway;
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+
+import org.apache.beehive.sample.Address;
+import org.apache.beehive.sample.AddressBookImpl;
+import org.apache.beehive.sample.EnhancedAddressBook;
+import org.apache.beehive.sample.InvalidAddressException;
+import org.apache.beehive.sample.InvalidNameException;
+import org.apache.beehive.sample.Phone;
+import org.apache.beehive.sample.StateType;
+
+
+@WebService(
+ targetNamespace="http://beehive.apache.org/enhancedaddressbook",
+ serviceName="EnhancedAddressBook"
+)
+public class Service implements EnhancedAddressBook {
+
+ private static String DEFAULT_NAME = "default";
+
+ private EnhancedAddressBook addressBook;
+
+ /**
+ * Constructor.
+ */
+ public Service() {
+ addressBook = new AddressBookImpl();
+ try {
+ addressBook.addEntry(
+ DEFAULT_NAME,
+ new Address(
+ 10230,
+ "NE Points Drive",
+ "Kirkland",
+ new StateType("WA"),
+ 98033,
+ new Phone(425, "555", "1234")
+ )
+ );
+ }
+ catch (InvalidNameException e) {
+ throw new RuntimeException("cannot add entry to address book");
+ }
+ catch (InvalidAddressException e) {
+ throw new RuntimeException("cannot add entry to address book");
+ }
+ }
+
+ /**
+ * Web method that adds an entry to the address book.
+ * @param name The name under which the address is added to the address
+ * book.
+ * @param address The address to be added.
+ * @throws InvalidNameException
+ * @throws InvalidAddressException
+ */
+ @WebMethod
+ public void addEntry(@WebParam (name="custom_name")String name, @WebParam (name="custom_address")Address address)
+ throws InvalidNameException, InvalidAddressException
+ {
+ addressBook.addEntry(name, address);
+ }
+
+ /**
+ * Web method that queries the address book.
+ * @param name Name for which the address is returned.
+ * @return Address for the passed in name.
+ * @throws InvalidNameException
+ */
+ @WebMethod
+ public Address getAddressFromName(@WebParam (name="custom_name") String name)
+ throws InvalidNameException
+ {
+ return addressBook.getAddressFromName(name);
+ }
+
+ /**
+ * Web method that queries the address book.
+ * @param name Array of names for which the addresses are returned.
+ * @return Array of addresses for the passed in names.
+ * @throws InvalidNameException
+ */
+ @WebMethod
+ public Address[] getAddressFromNames(@WebParam (name="custom_name") String[] name)
+ throws InvalidNameException
+ {
+ return addressBook.getAddressFromNames(name);
+ }
+
+ /**
+ * Simple Oneway web method that doesn't take any input params.
+ */
+ @WebMethod
+ @Oneway
+ public void oneWayWithNoParam() {
+ return;
+ }
+
+ /**
+ * Web method that takes one in/out param.
+ * @param calendar In out parameter; its value is overwritten inside this
+ * method.
+ * @return A random string.
+ */
+ @WebMethod
+ public String oneINOUTParamMethod (@WebParam (name="calendar", mode=WebParam.Mode.INOUT) CalendarHolder calendar) {
+ return addressBook.oneINOUTParamMethod(calendar);
+ }
+
+ /**
+ * Simple web method that doesn't take any input params.
+ * @return A random string.
+ */
+ @WebMethod
+ public String simpleNoParamMethod() {
+ return "simpleNoParamMethod()";
+ }
+
+ /**
+ * Simple method that is not exposed by the web service and can only be used
+ * locally.
+ * @return A random string.
+ */
+ public String notWebService() {
+ return "notWebService()";
+ }
}
Modified: incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build-client.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build-client.xml?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build-client.xml (original)
+++ incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build-client.xml Fri May 13 16:30:30 2005
@@ -1,7 +1,7 @@
<?xml version="1.0" ?>
<!--
- Copyright 2004 The Apache Software Foundation
+ Copyright 2004-2005 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build.xml?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build.xml (original)
+++ incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/build.xml Fri May 13 16:30:30 2005
@@ -1,7 +1,7 @@
<?xml version="1.0" ?>
<!--
- Copyright 2004 The Apache Software Foundation
+ Copyright 2004-2005 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Modified: incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/log4j.properties
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/log4j.properties?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/log4j.properties (original)
+++ incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/log4j.properties Fri May 13 16:30:30 2005
@@ -1,20 +1,20 @@
-# Set root category priority to INFO and its only appender to CONSOLE.
-log4j.rootCategory=INFO, CONSOLE
-#log4j.rootCategory=INFO, CONSOLE, LOGFILE
-
-# Set the enterprise logger category to FATAL and its only appender to CONSOLE.
-log4j.logger.org.apache.axis.enterprise=FATAL, CONSOLE
-
-# CONSOLE is set to be a ConsoleAppender using a PatternLayout.
-log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
-log4j.appender.CONSOLE.Threshold=INFO
-log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
-log4j.appender.CONSOLE.layout.ConversionPattern=- %m%n
-
-# LOGFILE is set to be a File appender using a PatternLayout.
-log4j.appender.LOGFILE=org.apache.log4j.FileAppender
-log4j.appender.LOGFILE.File=axis.log
-log4j.appender.LOGFILE.Append=true
-log4j.appender.LOGFILE.Threshold=INFO
-log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
-log4j.appender.LOGFILE.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
+# Set root category priority to INFO and its only appender to CONSOLE.
+log4j.rootCategory=INFO, CONSOLE
+#log4j.rootCategory=INFO, CONSOLE, LOGFILE
+
+# Set the enterprise logger category to FATAL and its only appender to CONSOLE.
+log4j.logger.org.apache.axis.enterprise=FATAL, CONSOLE
+
+# CONSOLE is set to be a ConsoleAppender using a PatternLayout.
+log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
+log4j.appender.CONSOLE.Threshold=INFO
+log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
+log4j.appender.CONSOLE.layout.ConversionPattern=- %m%n
+
+# LOGFILE is set to be a File appender using a PatternLayout.
+log4j.appender.LOGFILE=org.apache.log4j.FileAppender
+log4j.appender.LOGFILE.File=axis.log
+log4j.appender.LOGFILE.Append=true
+log4j.appender.LOGFILE.Threshold=INFO
+log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
+log4j.appender.LOGFILE.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
Modified: incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/Address.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/Address.java?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/Address.java (original)
+++ incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/Address.java Fri May 13 16:30:30 2005
@@ -1,144 +1,144 @@
-package org.apache.beehive.sample;
-
-/*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
-
-import java.io.Serializable;
-
-public class Address implements Serializable
-{
- private static final long serialVersionUID = 1L;
- private int streetNum;
- private java.lang.String streetName;
- private java.lang.String city;
- private StateType state;
- private int zip;
- private Phone phoneNumber;
- // private Phone[] otherPhones;
-
-
- /**
- * @param streetNum
- * @param streetName
- * @param city
- * @param state
- * @param zip
- * @param phoneNumber
- */
- public Address(int streetNum, java.lang.String streetName,
- java.lang.String city, StateType state, int zip, Phone phoneNumber) {
- super();
- this.streetNum = streetNum;
- this.streetName = streetName;
- this.city = city;
- this.state = state;
- this.zip = zip;
- this.phoneNumber = phoneNumber;
- }
- /**
- *
- */
- public Address() {
- super();
- // TODO Auto-generated constructor stub
- }
- /**
- * @return Returns the city.
- */
- public java.lang.String getCity() {
- return city;
- }
- /**
- * @param city The city to set.
- */
- public void setCity(java.lang.String city) {
- this.city = city;
- }
- /**
- * @return Returns the phoneNumber.
- */
- public Phone getPhoneNumber() {
- return phoneNumber;
- }
- /**
- * @param phoneNumber The phoneNumber to set.
- */
- public void setPhoneNumber(Phone phoneNumber) {
- this.phoneNumber = phoneNumber;
- }
- /**
- * @return Returns the state.
- */
- public StateType getState() {
- return state;
- }
- /**
- * @param state The state to set.
- */
- public void setState(StateType state) {
- this.state = state;
- }
- /**
- * @return Returns the streetName.
- */
- public java.lang.String getStreetName() {
- return streetName;
- }
- /**
- * @param streetName The streetName to set.
- */
- public void setStreetName(java.lang.String streetName) {
- this.streetName = streetName;
- }
- /**
- * @return Returns the streetNum.
- */
- public int getStreetNum() {
- return streetNum;
- }
- /**
- * @param streetNum The streetNum to set.
- */
- public void setStreetNum(int streetNum) {
- this.streetNum = streetNum;
- }
- /**
- * @return Returns the zip.
- */
- public int getZip() {
- return zip;
- }
- /**
- * @param zip The zip to set.
- */
- public void setZip(int zip) {
- this.zip = zip;
- }
-
- /*--- jongjinchoi@apache.org. 2005-Mar-16. --
- * The array property in bean is not supported yet in wrapped/literal mode.
- * Added for later fix.
- public Phone[] getOtherPhones() {
- return otherPhones;
- }
-
- public void setOtherPhones(Phone[] phones) {
- otherPhones = phones;
- }
- -----*/
-}
+package org.apache.beehive.sample;
+
+/*
+ * Copyright 2004-2005 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+
+import java.io.Serializable;
+
+public class Address implements Serializable
+{
+ private static final long serialVersionUID = 1L;
+ private int streetNum;
+ private java.lang.String streetName;
+ private java.lang.String city;
+ private StateType state;
+ private int zip;
+ private Phone phoneNumber;
+ // private Phone[] otherPhones;
+
+
+ /**
+ * @param streetNum
+ * @param streetName
+ * @param city
+ * @param state
+ * @param zip
+ * @param phoneNumber
+ */
+ public Address(int streetNum, java.lang.String streetName,
+ java.lang.String city, StateType state, int zip, Phone phoneNumber) {
+ super();
+ this.streetNum = streetNum;
+ this.streetName = streetName;
+ this.city = city;
+ this.state = state;
+ this.zip = zip;
+ this.phoneNumber = phoneNumber;
+ }
+ /**
+ *
+ */
+ public Address() {
+ super();
+ // TODO Auto-generated constructor stub
+ }
+ /**
+ * @return Returns the city.
+ */
+ public java.lang.String getCity() {
+ return city;
+ }
+ /**
+ * @param city The city to set.
+ */
+ public void setCity(java.lang.String city) {
+ this.city = city;
+ }
+ /**
+ * @return Returns the phoneNumber.
+ */
+ public Phone getPhoneNumber() {
+ return phoneNumber;
+ }
+ /**
+ * @param phoneNumber The phoneNumber to set.
+ */
+ public void setPhoneNumber(Phone phoneNumber) {
+ this.phoneNumber = phoneNumber;
+ }
+ /**
+ * @return Returns the state.
+ */
+ public StateType getState() {
+ return state;
+ }
+ /**
+ * @param state The state to set.
+ */
+ public void setState(StateType state) {
+ this.state = state;
+ }
+ /**
+ * @return Returns the streetName.
+ */
+ public java.lang.String getStreetName() {
+ return streetName;
+ }
+ /**
+ * @param streetName The streetName to set.
+ */
+ public void setStreetName(java.lang.String streetName) {
+ this.streetName = streetName;
+ }
+ /**
+ * @return Returns the streetNum.
+ */
+ public int getStreetNum() {
+ return streetNum;
+ }
+ /**
+ * @param streetNum The streetNum to set.
+ */
+ public void setStreetNum(int streetNum) {
+ this.streetNum = streetNum;
+ }
+ /**
+ * @return Returns the zip.
+ */
+ public int getZip() {
+ return zip;
+ }
+ /**
+ * @param zip The zip to set.
+ */
+ public void setZip(int zip) {
+ this.zip = zip;
+ }
+
+ /*--- jongjinchoi@apache.org. 2005-Mar-16. --
+ * The array property in bean is not supported yet in wrapped/literal mode.
+ * Added for later fix.
+ public Phone[] getOtherPhones() {
+ return otherPhones;
+ }
+
+ public void setOtherPhones(Phone[] phones) {
+ otherPhones = phones;
+ }
+ -----*/
+}
Modified: incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/AddressBookImpl.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/AddressBookImpl.java?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/AddressBookImpl.java (original)
+++ incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/AddressBookImpl.java Fri May 13 16:30:30 2005
@@ -1,71 +1,71 @@
-package org.apache.beehive.sample;
-
-/*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
-
-
-import java.util.Hashtable;
-import java.util.Map;
-
-import javax.xml.rpc.holders.CalendarHolder;
-
-public class AddressBookImpl implements EnhancedAddressBook
-{
- private static Map<String, Address> addresses = new Hashtable<String, Address>();
-
- public void addEntry(String name, Address address) throws InvalidNameException, InvalidAddressException
- {
- System.out.println("addEntry is called." );
- this.addresses.put(name, address);
- }
-
- public Address getAddressFromName(String name) throws InvalidNameException
- {
- System.out.println("getAddressFromName is called.");
- return (Address) this.addresses.get(name);
- }
-
-
- public Address[] getAddressFromNames(String[] name) throws InvalidNameException{
- if(null == name) return null;
- Address[] result = new Address[name.length];
- for(int i=0; i< name.length; i++) {
- result[i] = getAddressFromName(name[i]);
- }
- return result;
- }
-
-
- public void oneWayWithNoParam() {
- return;
- }
-
-
- public String simpleNoParamMethod () {
- return "No Param method";
- }
-
- public String notWebService() {
- return "Not available through Web service";
- }
-
- public String oneINOUTParamMethod(CalendarHolder calendar) {
- return null;
- }
-
-}
+package org.apache.beehive.sample;
+
+/*
+ * Copyright 2004-2005 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+
+
+import java.util.Hashtable;
+import java.util.Map;
+
+import javax.xml.rpc.holders.CalendarHolder;
+
+public class AddressBookImpl implements EnhancedAddressBook
+{
+ private static Map<String, Address> addresses = new Hashtable<String, Address>();
+
+ public void addEntry(String name, Address address) throws InvalidNameException, InvalidAddressException
+ {
+ System.out.println("addEntry is called." );
+ this.addresses.put(name, address);
+ }
+
+ public Address getAddressFromName(String name) throws InvalidNameException
+ {
+ System.out.println("getAddressFromName is called.");
+ return (Address) this.addresses.get(name);
+ }
+
+
+ public Address[] getAddressFromNames(String[] name) throws InvalidNameException{
+ if(null == name) return null;
+ Address[] result = new Address[name.length];
+ for(int i=0; i< name.length; i++) {
+ result[i] = getAddressFromName(name[i]);
+ }
+ return result;
+ }
+
+
+ public void oneWayWithNoParam() {
+ return;
+ }
+
+
+ public String simpleNoParamMethod () {
+ return "No Param method";
+ }
+
+ public String notWebService() {
+ return "Not available through Web service";
+ }
+
+ public String oneINOUTParamMethod(CalendarHolder calendar) {
+ return null;
+ }
+
+}
Modified: incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/EnhancedAddressBook.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/EnhancedAddressBook.java?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/EnhancedAddressBook.java (original)
+++ incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/EnhancedAddressBook.java Fri May 13 16:30:30 2005
@@ -1,38 +1,38 @@
-package org.apache.beehive.sample;
-
-/*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
-import javax.xml.rpc.holders.StringHolder;
-import javax.xml.rpc.holders.CalendarHolder;
-public interface EnhancedAddressBook
-{
- void addEntry(java.lang.String name, Address address)throws InvalidNameException, InvalidAddressException;
- Address getAddressFromName(java.lang.String name)throws InvalidNameException;
- public Address[] getAddressFromNames(String[] name) throws InvalidNameException;
- public void oneWayWithNoParam();
- public String simpleNoParamMethod ();
- public String oneINOUTParamMethod (CalendarHolder calendar);
-
- /**
- * This method is not exposed by the Web Service and can only be used
- * locally.
- * @return A random string.
- */
- public String notWebService() ;
-
-}
+package org.apache.beehive.sample;
+
+/*
+ * Copyright 2004-2005 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+import javax.xml.rpc.holders.StringHolder;
+import javax.xml.rpc.holders.CalendarHolder;
+public interface EnhancedAddressBook
+{
+ void addEntry(java.lang.String name, Address address)throws InvalidNameException, InvalidAddressException;
+ Address getAddressFromName(java.lang.String name)throws InvalidNameException;
+ public Address[] getAddressFromNames(String[] name) throws InvalidNameException;
+ public void oneWayWithNoParam();
+ public String simpleNoParamMethod ();
+ public String oneINOUTParamMethod (CalendarHolder calendar);
+
+ /**
+ * This method is not exposed by the Web Service and can only be used
+ * locally.
+ * @return A random string.
+ */
+ public String notWebService() ;
+
+}
Modified: incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/InvalidAddressException.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/InvalidAddressException.java?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/InvalidAddressException.java (original)
+++ incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/InvalidAddressException.java Fri May 13 16:30:30 2005
@@ -1,23 +1,23 @@
-/*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
-package org.apache.beehive.sample;
-
-
-public class InvalidAddressException extends Exception {
-
-}
+/*
+ * Copyright 2004-2005 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+package org.apache.beehive.sample;
+
+
+public class InvalidAddressException extends Exception {
+
+}
Modified: incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/InvalidNameException.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/InvalidNameException.java?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/InvalidNameException.java (original)
+++ incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/InvalidNameException.java Fri May 13 16:30:30 2005
@@ -1,24 +1,24 @@
-/*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
-
-package org.apache.beehive.sample;
-
-
-public class InvalidNameException extends Exception {
-
-}
+/*
+ * Copyright 2004-2005 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+
+package org.apache.beehive.sample;
+
+
+public class InvalidNameException extends Exception {
+
+}
Modified: incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/Phone.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/Phone.java?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/Phone.java (original)
+++ incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/Phone.java Fri May 13 16:30:30 2005
@@ -1,88 +1,88 @@
-package org.apache.beehive.sample;
-
-/*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
-
-import java.io.Serializable;
-
-public class Phone implements Serializable
-{
- private static final long serialVersionUID = 1L;
-
- private int areaCode;
- private java.lang.String exchange;
- private java.lang.String number;
-
-
-
- /**
- * @param areaCode
- * @param exchange
- * @param number
- */
- public Phone(int areaCode, java.lang.String exchange,
- java.lang.String number) {
- super();
- this.areaCode = areaCode;
- this.exchange = exchange;
- this.number = number;
- }
- /**
- *
- */
- public Phone() {
- super();
- // TODO Auto-generated constructor stub
- }
- /**
- * @return Returns the areaCode.
- */
- public int getAreaCode() {
- return areaCode;
- }
- /**
- * @param areaCode The areaCode to set.
- */
- public void setAreaCode(int areaCode) {
- this.areaCode = areaCode;
- }
- /**
- * @return Returns the exchange.
- */
- public java.lang.String getExchange() {
- return exchange;
- }
- /**
- * @param exchange The exchange to set.
- */
- public void setExchange(java.lang.String exchange) {
- this.exchange = exchange;
- }
- /**
- * @return Returns the number.
- */
- public java.lang.String getNumber() {
- return number;
- }
- /**
- * @param number The number to set.
- */
- public void setNumber(java.lang.String number) {
- this.number = number;
- }
-}
+package org.apache.beehive.sample;
+
+/*
+ * Copyright 2004-2005 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+
+import java.io.Serializable;
+
+public class Phone implements Serializable
+{
+ private static final long serialVersionUID = 1L;
+
+ private int areaCode;
+ private java.lang.String exchange;
+ private java.lang.String number;
+
+
+
+ /**
+ * @param areaCode
+ * @param exchange
+ * @param number
+ */
+ public Phone(int areaCode, java.lang.String exchange,
+ java.lang.String number) {
+ super();
+ this.areaCode = areaCode;
+ this.exchange = exchange;
+ this.number = number;
+ }
+ /**
+ *
+ */
+ public Phone() {
+ super();
+ // TODO Auto-generated constructor stub
+ }
+ /**
+ * @return Returns the areaCode.
+ */
+ public int getAreaCode() {
+ return areaCode;
+ }
+ /**
+ * @param areaCode The areaCode to set.
+ */
+ public void setAreaCode(int areaCode) {
+ this.areaCode = areaCode;
+ }
+ /**
+ * @return Returns the exchange.
+ */
+ public java.lang.String getExchange() {
+ return exchange;
+ }
+ /**
+ * @param exchange The exchange to set.
+ */
+ public void setExchange(java.lang.String exchange) {
+ this.exchange = exchange;
+ }
+ /**
+ * @return Returns the number.
+ */
+ public java.lang.String getNumber() {
+ return number;
+ }
+ /**
+ * @param number The number to set.
+ */
+ public void setNumber(java.lang.String number) {
+ this.number = number;
+ }
+}
Modified: incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/StateType.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/StateType.java?rev=170107&r1=170106&r2=170107&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/StateType.java (original)
+++ incubator/beehive/trunk/samples/wsm-addressbook-enhanced/WEB-INF/src/org/apache/beehive/sample/StateType.java Fri May 13 16:30:30 2005
@@ -1,56 +1,56 @@
-package org.apache.beehive.sample;
-
-/*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * $Header:$
- */
-
-import java.io.Serializable;
-
-public class StateType implements Serializable
-{
- private static final long serialVersionUID = 1L;
- String state;
-
- /**
- *
- */
- public StateType() {
- super();
- // TODO Auto-generated constructor stub
- }
- /**
- * @param state
- */
- public StateType(String state) {
- super();
- this.state = state;
- }
- /**
- * @return Returns the state.
- */
- public String getState() {
- return state;
- }
-
- /**
- * Set the state
- * @param state state to set
- */
- public void setState(String state) {
- this.state = state;
- }
-}
+package org.apache.beehive.sample;
+
+/*
+ * Copyright 2004-2005 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+
+import java.io.Serializable;
+
+public class StateType implements Serializable
+{
+ private static final long serialVersionUID = 1L;
+ String state;
+
+ /**
+ *
+ */
+ public StateType() {
+ super();
+ // TODO Auto-generated constructor stub
+ }
+ /**
+ * @param state
+ */
+ public StateType(String state) {
+ super();
+ this.state = state;
+ }
+ /**
+ * @return Returns the state.
+ */
+ public String getState() {
+ return state;
+ }
+
+ /**
+ * Set the state
+ * @param state state to set
+ */
+ public void setState(String state) {
+ this.state = state;
+ }
+}