cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterjo...@apache.org
Subject svn commit: r477259 - in /incubator/cxf/trunk/distribution/src/main/release/samples/mtosi_1.1: README.TXT alarm_retrieval/README.TXT code_gen/README.TXT
Date Mon, 20 Nov 2006 17:10:59 GMT
Author: peterjones
Date: Mon Nov 20 09:10:58 2006
New Revision: 477259

URL: http://svn.apache.org/viewvc?view=rev&rev=477259
Log:
Added missing mtosi README.TXT.

Added:
    incubator/cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/README.TXT   (with
props)
    incubator/cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/code_gen/README.TXT
  (with props)
Modified:
    incubator/cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/README.TXT

Added: incubator/cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/README.TXT
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/README.TXT?view=auto&rev=477259
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/README.TXT (added)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/README.TXT Mon Nov
20 09:10:58 2006
@@ -0,0 +1,24 @@
+MTOSI 1.1 Samples
+=================
+=================
+
+mtosi_1.1 contains the following subdirectories:
+
+wsdl            - contains the mtosi 1.1 wsdls
+xsd             - contains the mtosi 1.1 schemas
+alarm_retrieval - contains a simple sample implementation of the 
+                  alarm_retrieval mtosi interface.  Please refer to
+                  the alarm_retrieval/README.txt for instructions to
+                  run that demo.
+code_gen        - contains targets for generating code for mtosi
+                  interfaces which do not have a sample implementation
+
+
+Going beyond the basic sample
+=============================
+
+You can use the alarm_retrieval demo as a template for implementing
+any of the other mtosi interfaces.  The code_gen directory
+demonstrates the wsdl2java targets needed to generate code for the
+remaining mtosi interfaces.
+

Propchange: incubator/cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/README.TXT
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/README.TXT
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/README.TXT
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/README.TXT?view=diff&rev=477259&r1=477258&r2=477259
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/README.TXT
(original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/README.TXT
Mon Nov 20 09:10:58 2006
@@ -1,10 +1,9 @@
-MTOSI FAULT DEMO (SOAP OVER HTTP)
-=================================
-=================================
-
-This code example demonstrates a simple cxf
-based client/server Web service implementing
-the MTOSI alarm retrieval service.
+MTOSI alarm_retrieval Demo (SOAP OVER HTTP)
+===========================================
+===========================================
+
+This code example demonstrates a simple cxf based client/server
+Web service implementing the MTOSI alarm retrieval service.
 
 
 Prerequisite
@@ -41,24 +40,25 @@
 What Happens When the Demo Runs
 ===============================
 
-When the server process starts, it opens an 
-HTTP connection on the TCP/IP port specified 
-by the location attribute within the port 
-specification.
-
-The client application has access to the 
-same WSDL file, from which it obtains the 
-connection information.  The client makes 
-asynchronous SOAP over HTTP requests against
-the Web service hosted by this server process.
-
-In the "fault" demo, the client invokes the
-getActiveAlarmsCount and the getActiveAlarms
-operations on the AlarmRetrieval interface.
-
-The client extracts data from the Alarm information
-resulting from the call to getActiveAlarms, and
-displays it in a formatted way:
+The server publishes it's endpoint which opens an HTTP connection on the
+TCP/IP port specified in the FaultServiceSOAP_HTTP.wsdl.
+
+The client application accesses this WSDL file, from which it obtains
+connection information.  Using this information, the client makes 
+asynchronous SOAP over HTTP requests against the Web service hosted by
+the server process.
+
+In the "alarm_retrieval" demo, the client invokes the getActiveAlarmsCount
+and the getActiveAlarms operations of the AlarmRetrieval interface.
+
+For the getActiveAlarms operation, the HeaderT part which is sent in the
+soap message header is used to communicate such things as the number of
+alarm responses expected/desired.  So, by setting the RequestedBatchSize
+in the HeaderT part, the client can indicate that it wishes the server to
+limit the number of alarm responses sent in the response.
+
+The client extracts data from the Alarm information resulting from the call
+to getActiveAlarms, and displays it in a formatted way:
 
   Alarm #0:
   - Notification ID: 0001239
@@ -72,11 +72,10 @@
   - Root Cause Alarm Indication: NO
   (...)
 
-See the following source for details on
-how the types conveyed by the messages
-are created and populated:
+See the following source for further details on the creation and population
+of the types conveyed by the messages:
 
-   - src/demo/fault/client/Client.java (client side)
-   - src/demo/fault/server/AlarmRetrievalImpl.java (server side)
+   - src/demo/client/Client.java (client side)
+   - src/demo/server/AlarmRetrievalImpl.java (server side)
 
 

Added: incubator/cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/code_gen/README.TXT
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/code_gen/README.TXT?view=auto&rev=477259
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/code_gen/README.TXT
(added)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/code_gen/README.TXT
Mon Nov 20 09:10:58 2006
@@ -0,0 +1,20 @@
+MTOSI 1.1 code_gen
+==================
+==================
+
+Generating code using ant
+-------------------------
+
+The build.xml file's generate.code target in this directory generates
+code for the remaining mtosi wsdl interfaces.
+
+From the samples/mtosi_1.1/code_gen directory, using either UNIX or
+Windows:
+
+  ant build
+
+To remove the generated code and .class files, run:
+
+  ant clean
+
+

Propchange: incubator/cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/code_gen/README.TXT
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/code_gen/README.TXT
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message