Return-Path:
Delivered-To: apmail-ws-wsrf-commits-archive@www.apache.org
Received: (qmail 59301 invoked from network); 30 Jul 2005 00:53:23 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199)
by minotaur.apache.org with SMTP; 30 Jul 2005 00:53:23 -0000
Received: (qmail 96795 invoked by uid 500); 30 Jul 2005 00:53:22 -0000
Delivered-To: apmail-ws-wsrf-commits-archive@ws.apache.org
Received: (qmail 96773 invoked by uid 500); 30 Jul 2005 00:53:22 -0000
Mailing-List: contact wsrf-commits-help@ws.apache.org; run by ezmlm
Precedence: bulk
List-Help:
List-Unsubscribe:
List-Post:
List-Id:
Reply-To: wsrf-dev@ws.apache.org
Delivered-To: mailing list wsrf-commits@ws.apache.org
Received: (qmail 96760 invoked by uid 500); 30 Jul 2005 00:53:22 -0000
Delivered-To: apmail-ws-wsrf-cvs@ws.apache.org
Received: (qmail 96757 invoked by uid 99); 30 Jul 2005 00:53:22 -0000
X-ASF-Spam-Status: No, hits=-9.8 required=10.0
tests=ALL_TRUSTED,NO_REAL_NAME
X-Spam-Check-By: apache.org
Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194)
by apache.org (qpsmtpd/0.29) with SMTP; Fri, 29 Jul 2005 17:53:11 -0700
Received: (qmail 59287 invoked by uid 65534); 30 Jul 2005 00:53:09 -0000
Message-ID: <20050730005309.59286.qmail@minotaur.apache.org>
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r226449 - in /webservices/wsrf/trunk/src: ./
site/content/xdocs/
site/content/xdocs/dev_guide/
Date: Sat, 30 Jul 2005 00:53:06 -0000
To: wsrf-cvs@ws.apache.org
From: jruzzi@apache.org
X-Mailer: svnmailer-1.0.2
X-Virus-Checked: Checked by ClamAV on apache.org
X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N
Author: jruzzi
Date: Fri Jul 29 17:53:00 2005
New Revision: 226449
URL: http://svn.apache.org/viewcvs?rev=226449&view=rev
Log:
ian edits
Modified:
webservices/wsrf/trunk/src/ReadMe.txt
webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/client.xml
webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/debug.xml
webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/deploy.xml
webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/metadata.xml
webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/singleton.xml
webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/validate.xml
webservices/wsrf/trunk/src/site/content/xdocs/release_notes.xml
Modified: webservices/wsrf/trunk/src/ReadMe.txt
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/ReadMe.txt?rev=226449&r1=226448&r2=226449&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/ReadMe.txt (original)
+++ webservices/wsrf/trunk/src/ReadMe.txt Fri Jul 29 17:53:00 2005
@@ -11,9 +11,6 @@
/examples/filesystem - used in the documentation Quick Demonstration and
Tutorial. It demonstrates creating a WS Resource.
-/examples/interop - used for an interoperability session conducted
-by the WSRF OASIS working group.
-
**************************************************************************
/template
Modified: webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/client.xml
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/client.xml?rev=226449&r1=226448&r2=226449&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/client.xml (original)
+++ webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/client.xml Fri Jul 29 17:53:00 2005
@@ -8,7 +8,7 @@
Introduction
-
Apache WSRF includes a lightweight SOAP client that is used to test your services. The client is invoked using an Ant script, which is located in
+
Apache WSRF includes a lightweight SOAP client that can be used to test your services. The client is invoked using an Ant script, which is located in
INSTALL_DIR/template/soapclient.xml. Request and response messages are viewed in the Ant output. This section explains how to use the client and
how to build request SOAP messages for the client.
@@ -17,23 +17,21 @@
The client reads a .soap file which contains the SOAP envelope to be sent. Examples of SOAP files are located in
INSTALL_DIR/examples/filesystem/requests/. Each file is named appropriately based on the operation it contains. Use these files as models when
creating your own .soap files. Make sure you modify the WS-Addressing header for the resource id to match the entry that is in the JNDI
- configuration file and the resource id number for the instance you would like to invoke. This has to do with the home's implementation of getInstance()
- and allows you to decide which instances are valid for sending requests.
+ configuration file and the resource id for the instance you would like to invoke. The id is used by the invocation framework to lookup a particular resource instance.
Running the Client
To invoke the script:
-
Make sure your WS Resource is deployed.
open a command prompt and change directories to INSTALL_DIR/template/soapclient.xml.
Run:
-
Where your_service represents your WS Resource endpoint name, and the script name should be the name (including the path) of your .soap file.
+
Where your_service represents your WS Resource endpoint name, and the script name should be the name (including the path) of your .soap file.
- You can add an entry to build.properties for url which will alleviate the need
+ You can add an entry to build.properties for the url property, which alleviates the need
to specify it on the command line.
Modified: webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/debug.xml
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/debug.xml?rev=226449&r1=226448&r2=226449&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/debug.xml (original)
+++ webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/debug.xml Fri Jul 29 17:53:00 2005
@@ -15,17 +15,21 @@
Changing Log Levels
-
Log4j uses the following log levels: DEBUG, INFO, WARN, ERROR, and FATAL. By default, Apache WSRF is configured to emit INFO messages. To see more
- detailed log messages, you must change the log level. The following example assumes Tomcat.
+
Log4j uses the following log levels: DEBUG, INFO, WARN, ERROR, and FATAL. By default, Apache WSRF is configured at the INFO level, which means messages logged
+ at INFO or higher level (i.e. INFO, WARN, ERROR, and FATAL) are included in the output. To see more
+ detailed log messages, you must change the log level. The following example assumes Tomcat.
+
To change the logging level:
Using a text editor, open the log4j.properties file located in the WEB-INF/classes directory of the deployed Apache WSRF Web application.
-
Change the log level associated with the log4j.category.org.apache.ws package. For example:
+
Change the log level associated with all classes below the log4j.category.org.apache.ws package. For example:
+
Save the log4j.properties file.
Restart Tomcat.
Log messages are displayed in Tomcat's standard output. If you are not using Tomcat, you may need to configure your Web container to include the output
- in its standard output.
+ in its standard output.
+
Introduction
-
The quickest way to deploy your WS Resource is to use the generated build scripts. The scripts compile and delploy your WS
- Resource to the Apache WSRF Web application, which is an Apache-Axis Web application. This section describes how to use the
- generated build scripts and also how the script works so you can build your own scripts.
+
The quickest way to deploy your WS-Resource is to use the generated build script. The script compiles and delploys your WS-Resource
+ to the Apache WSRF Web application, which is an Apache-Axis Web application. This section describes how to use the
+ generated build script and also how the script works so you can build your own script.
Using the generated build scripts
-
The Wsdl2Java tool generates an Ant build script that is used to compile and deploy your WS Resource. The script is located in the
- output directory under the subdirectory for you WS Resource (e.g., generated/
+
The Wsdl2Java tool generates an Ant build script that is used to compile and deploy your WS-Resource. The script is located in the
+ output directory under the subdirectory for your WS-Resource (e.g., generated/service_name).
@@ -92,17 +92,16 @@
alternative, you can use the following markers which are replaced at runtime:
-
$IP_ADDRESS$ - An attempt is made to determine the IP address at runtime. (Do not use on multi-homed systems).
-
$HOST_NAME$ - An attempt is made to determine the host name at runtime.
+
+ $IP_ADDRESS$ - An attempt is made to determine the IP address at runtime. (Do not use on multi-homed systems).
+
+ $HOST_NAME$ - An attempt is made to determine the host name at runtime.
The resourceIdentifierReferenceParameterName parameter represents the name of the WS-Addressing-header that is used to
- extract a unique resource identifier to lookup a specific WS resource instance. This value should be a QName that includes the local
- reference parameter name in the format
- {target namespace}qualified name of a reference parameter
- . If you omit
- this entry, it is assumed that the service is a
- SINGLETON
- service and no resource id is expected in the
+ extract a unique resource identifier to lookup a specific WS-Resource instance. This value should be a QName that includes the local
+ reference parameter name in the format {namespaceURI}localPart, where namesapaceURI and localPart are the namespace and URI and local
+ part of the qualified name of the reference paramater that should contain the resource identifier. If you omit this entry, it is assumed that the service is a
+ SINGLETON service and no resource id is expected in the
WS-Addressing headers.
Web services use metadata to describe what other endpoints need to know to interact with them. In particular, the metadata for a Web service includes the
- service's description (WSDL or schema). There are two operations that are not defined by the WSRF specification that can be used in your services to retrieve metadata
- about your services. The operations and messages are defined in the
- WS-Metadata Exchange specification defined by Microsoft and
- other industry contributors.
+
Web services may have various metadata associated with them (e.g. the WSDL for the service or a set of Topic Space documents). The
+ WS-MEXWS-Metadata Exchange specification (defined by Microsoft
+ and other industry contributors) defines operations that can be provided by services to allow clients to retrieve these metadata documents.
@@ -59,8 +57,8 @@
Modify the JNDI Configuration File
-
The JDNI configuration file must be modified to include a metadata resource for your service as well as configurations that define where your metadata files are located.
-
To update the JDNI configuration file to include metadata information:
+
The JNDI configuration file must be modified to include a metadata resource for your service as well as configurations that define where your metadata files are located.
+
To update the JNDI configuration file to include metadata information:
Using a text editor, open jndi-config.xml in the WEB-INF/classes directory.
Add the following JNDI resource block to the service, for which you would like to associate metadata:
@@ -68,11 +66,12 @@
]]>
The org.apache.ws.util.jndi.tools.MetadataConfigImpl object containing the metadata is available via JNDI using a Context lookup of
- wsrf/services/{sevice_name}/metadata - i.e. ctx.lookup("wsrf/services/sushi/metadata");
+ wsrf/services/{service_name}/metadata - i.e. ctx.lookup("wsrf/services/sushi/metadata");
-
In the metadata resource block, add a metadataConfig element that contains metadata configurations. The following examples demonstrate five different
- methods of configuring where your metadata files are located. The files should be "reachable" at the configured locations.