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:

-
  1. Make sure your WS Resource is deployed.
  2. open a command prompt and change directories to INSTALL_DIR/template/soapclient.xml.
  3. Run: ant -f soapclient.xml sendRequest -Durl=http://localhost:8080/wsrf/services/your_service -Dxml=./requests/QueryResourceProperties_allProps.soap -

    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:

  1. Using a text editor, open the log4j.properties file located in the WEB-INF/classes directory of the deployed Apache WSRF Web application.
  2. -
  3. Change the log level associated with the log4j.category.org.apache.ws package. For example: -log4j.category.org.apache.ws=DEBUG
  4. +
  5. Change the log level associated with all classes below the log4j.category.org.apache.ws package. For example: +log4j.category.org.apache.ws=DEBUG +
  6. Save the log4j.properties file.
  7. 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.
  8. + in its standard output. +
Modified: webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/deploy.xml URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/deploy.xml?rev=226449&r1=226448&r2=226449&view=diff ============================================================================== --- webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/deploy.xml (original) +++ webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/deploy.xml Fri Jul 29 17:53:00 2005 @@ -8,14 +8,14 @@
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 ).

@@ -33,7 +33,7 @@

Start Tomcat and verify that the service is deployed by going to - http://localhost:8080/wsrf/servlet/AxisServlet + http://localhost:8080/wsrf/services

@@ -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.

Modified: webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/metadata.xml URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/metadata.xml?rev=226449&r1=226448&r2=226449&view=diff ============================================================================== --- webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/metadata.xml (original) +++ webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/metadata.xml Fri Jul 29 17:53:00 2005 @@ -8,11 +8,9 @@
Introduction -

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:

  1. Using a text editor, open jndi-config.xml in the WEB-INF/classes directory.
  2. 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");

  3. -
  4. 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.In the metadata resource block, add a metadataConfig element that contains metadata configurations. The configuration includes a dialect + attribute that defines the type of the data (xsd, wsdl, etc...) and an identifier attribute that uniquely identifies a particular document and is typically a targetNamespace. The + following examples demonstrate five different methods of configuring where your metadata files are located. The files should be "reachable" at the configured locations. Modified: webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/singleton.xml URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/singleton.xml?rev=226449&r1=226448&r2=226449&view=diff ============================================================================== --- webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/singleton.xml (original) +++ webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/singleton.xml Fri Jul 29 17:53:00 2005 @@ -8,15 +8,15 @@
    Introduction -

    You can create a singleton service if only a single instance of a resource is required. If a service is a singleton, no resource ID is expected in the - WS-Addressing header. To create a singleton service, you must create a single instance of the resource in the generated home class and modify the deployed +

    You can create a singleton service if only a single instance of a resource is required. If a service is a singleton, no resource ID parameter is expected in the + header of requests sent to the service. To create a singleton service, you must create a single instance of the resource in the generated home class and modify the deployed jndi-config.xml file.

    Create a Single Instance -

    Resource instances are created in the service's home class. For a singleton, set the createInstance method to null. This ensures - that only a single instance of the resource is created. For example:

    +

    Resource instances are created in the service's home class. For a singleton, specify an identifier of null when you call createInstance(). This + ensures that only a single instance of the resource is created. For example:

    Modify the JNDI Configuration File -

    To update the JDNI configuration file for a singleton:

    +

    To update the JNDII configuration file for a singleton service:

    1. Using a text editor, open jndi-config.xml in the WEB-INF/classes directory.
    2. From the ]]> block, remove the resourceIdentifierReferenceParameterName parameter. Modified: webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/validate.xml URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/validate.xml?rev=226449&r1=226448&r2=226449&view=diff ============================================================================== --- webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/validate.xml (original) +++ webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/validate.xml Fri Jul 29 17:53:00 2005 @@ -8,20 +8,22 @@
      Introduction -

      All requests sent to the resource invocation framework are validated against any defined schemas. When validation fails, a fault that contains a detailed description of - exactly what is wrong with the XM is returned to the client. Request validation is performed using XMLBeans, which uses an in-memory - binary schema store. If the utmost performance is required, request validation can be disabled. -

      +

      All requests sent to the resource invocation framework are validated against any defined schemas types which have corresponding XMLBean classes located on the + classpath. When validation fails, a fault that contains a detailed description of exactly what is wrong with the XM is returned to the client. Request validation is performed using + XMLBeans, which uses an in-memory binary schema store. If the utmost performance is required, request validation can be disabled. +

      Disabling Schema Validation

      Schema validation is enabled by default. This means that all requests are validated. If you would like to disable this feature, you must set the - validateRequestXml property to false. The property must be set as a Java property before starting the container that is hosting Apache WSRF. - For example:

      + validateRequestXml system property to false. The property must be set as a Java property before starting the container that is hosting + Apache WSRF. For example:

      + -DvalidateRequestXml=false -

      If you are using Tomcat, you can set this property in the JAVA_OPTS variable before starting Tomcat. For example:

      +

      If you are using Tomcat, you can set this property in the JAVA_OPTS variable before starting Tomcat. For example:

      + set JAVA_OPTS=-DvalidateRequestXml=false - catalina.bat run + catalina.bat run
      Modified: webservices/wsrf/trunk/src/site/content/xdocs/release_notes.xml URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/site/content/xdocs/release_notes.xml?rev=226449&r1=226448&r2=226449&view=diff ============================================================================== --- webservices/wsrf/trunk/src/site/content/xdocs/release_notes.xml (original) +++ webservices/wsrf/trunk/src/site/content/xdocs/release_notes.xml Fri Jul 29 17:53:00 2005 @@ -1,19 +1,24 @@ - - - -
      - WSRF Release Notes -
      - -
      - Change History -

      TODO

      -
      -
      - Known Issues -

      TODO

      -
      - + +
      + WSRF Release Notes +
      + +
      + Change History +

      Changes since the 1.0 Beta release:

      +
        +
      • New and improved documentation including a Getting Started section and Developer Guide.
      • +
      • Updated Tutorial.
      • +
      +

      +
      +
      + Known Issues +
        +
      • TODO
      • +
      +
      +