You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by da...@apache.org on 2006/06/30 14:52:36 UTC

svn commit: r418253 - in /webservices/muse/trunk: modules/muse-tools/src/org/apache/muse/tools/inspector/ modules/muse-wsdm-muws/ modules/muse-wsn/ modules/muse-wsrf/ samples/wsrf/config/

Author: danj
Date: Fri Jun 30 05:52:36 2006
New Revision: 418253

URL: http://svn.apache.org/viewvc?rev=418253&view=rev
Log:
Updates to documentation and small fix to build files that were made 
while the M1 build was created. The POM fix was related to the location 
of the .properties files in wsrf-impl and wsn-impl.

Modified:
    webservices/muse/trunk/modules/muse-tools/src/org/apache/muse/tools/inspector/ResourceInspector.java
    webservices/muse/trunk/modules/muse-wsdm-muws/pom-impl.xml
    webservices/muse/trunk/modules/muse-wsn/pom-impl.xml
    webservices/muse/trunk/modules/muse-wsrf/pom-impl.xml
    webservices/muse/trunk/samples/wsrf/config/services.xml

Modified: webservices/muse/trunk/modules/muse-tools/src/org/apache/muse/tools/inspector/ResourceInspector.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-tools/src/org/apache/muse/tools/inspector/ResourceInspector.java?rev=418253&r1=418252&r2=418253&view=diff
==============================================================================
--- webservices/muse/trunk/modules/muse-tools/src/org/apache/muse/tools/inspector/ResourceInspector.java (original)
+++ webservices/muse/trunk/modules/muse-tools/src/org/apache/muse/tools/inspector/ResourceInspector.java Fri Jun 30 05:52:36 2006
@@ -72,6 +72,14 @@
  * to reason about properties and their metadata. Its chief use is as the data 
  * model to the client generator that converts WSDL to a Java interface/class.
  * 
+ * The inspector can also be used in browser/explorer-like clients that do not 
+ * know anything about the resource interfaces they will communicate with ahead 
+ * of time. By providing a WSDL, a client can show (via UI) a user all of the 
+ * properties and operations that are available, as well as a list of what 
+ * parameters/return types to expect. The inspector can take care of converting 
+ * input parameter values into the proper SOAP messages based on the WSDL, and 
+ * then convert the response message back to the expected type. 
+ * 
  * @author Dan Jemiolo (danj)
  * @author Andrew Eberbach
  *
@@ -175,7 +183,7 @@
             String localName = paramXML[n].getAttribute(XsdUtils.NAME);
             parameterTypeNames[n] = new QName(targetNS, localName, "pfx");
             parameterSchemaTypes[n] = getSchemaType(paramXML[n]);
-            parameterTypes[n] = getJavaType(method.getParameterSchemaTypes()[n]);
+            parameterTypes[n] = getJavaType(parameterSchemaTypes[n]);
         }
         
         method.setParameterTypes(parameterTypes);

Modified: webservices/muse/trunk/modules/muse-wsdm-muws/pom-impl.xml
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsdm-muws/pom-impl.xml?rev=418253&r1=418252&r2=418253&view=diff
==============================================================================
--- webservices/muse/trunk/modules/muse-wsdm-muws/pom-impl.xml (original)
+++ webservices/muse/trunk/modules/muse-wsdm-muws/pom-impl.xml Fri Jun 30 05:52:36 2006
@@ -65,7 +65,7 @@
     <directory>build/jars</directory>
     <resources>
       <resource>
-        <directory>src</directory>
+        <directory>src-impl</directory>
         <includes>
         	<include>**/*.properties</include>
         </includes>

Modified: webservices/muse/trunk/modules/muse-wsn/pom-impl.xml
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsn/pom-impl.xml?rev=418253&r1=418252&r2=418253&view=diff
==============================================================================
--- webservices/muse/trunk/modules/muse-wsn/pom-impl.xml (original)
+++ webservices/muse/trunk/modules/muse-wsn/pom-impl.xml Fri Jun 30 05:52:36 2006
@@ -65,7 +65,7 @@
     <directory>build/jars</directory>
     <resources>
       <resource>
-        <directory>src</directory>
+        <directory>src-impl</directory>
         <includes>
         	<include>**/*.properties</include>
         </includes>

Modified: webservices/muse/trunk/modules/muse-wsrf/pom-impl.xml
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsrf/pom-impl.xml?rev=418253&r1=418252&r2=418253&view=diff
==============================================================================
--- webservices/muse/trunk/modules/muse-wsrf/pom-impl.xml (original)
+++ webservices/muse/trunk/modules/muse-wsrf/pom-impl.xml Fri Jun 30 05:52:36 2006
@@ -53,7 +53,7 @@
     <directory>build/jars</directory>
     <resources>
       <resource>
-        <directory>src</directory>
+        <directory>src-impl</directory>
         <includes>
         	<include>**/*.properties</include>
         </includes>

Modified: webservices/muse/trunk/samples/wsrf/config/services.xml
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/wsrf/config/services.xml?rev=418253&r1=418252&r2=418253&view=diff
==============================================================================
--- webservices/muse/trunk/samples/wsrf/config/services.xml (original)
+++ webservices/muse/trunk/samples/wsrf/config/services.xml Fri Jun 30 05:52:36 2006
@@ -2,19 +2,34 @@
 <serviceGroup>
 
 <service name="WsResource">
-    <description>This is the test WSRF resource type.</description>
+    <description>This is the Apache Muse router service.</description>
     <parameter name="ServiceClass" locked="false">org.apache.muse.core.platform.axis2.AxisIsolationLayer</parameter>
     <operation name="handleRequest">
         <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
         <actionMapping>http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata</actionMapping>
         <actionMapping>http://docs.oasis-open.org/wsrf/rlw-2/ImmediateResourceTermination/DestroyRequest</actionMapping>
         <actionMapping>http://docs.oasis-open.org/wsrf/rlw-2/ScheduledResourceTermination/SetTerminationTimeRequest</actionMapping>
-        <actionMapping>http://docs.oasis-open.org/wsrf/rpw-2/GetMultipleResourceProperties/GetMultipleResourcePropertiesRequest</actionMapping>
         <actionMapping>http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</actionMapping>
         <actionMapping>http://docs.oasis-open.org/wsrf/rpw-2/GetResourcePropertyDocument/GetResourcePropertyDocumentRequest</actionMapping>
+        <actionMapping>http://docs.oasis-open.org/wsrf/rpw-2/GetMultipleResourceProperties/GetMultipleResourcePropertiesRequest</actionMapping>
         <actionMapping>http://docs.oasis-open.org/wsrf/rpw-2/QueryResourceProperties/QueryResourcePropertiesRequest</actionMapping>
         <actionMapping>http://docs.oasis-open.org/wsrf/rpw-2/SetResourceProperties/SetResourcePropertiesRequest</actionMapping>
     </operation>
 </service>
+
+<service name="ServiceGroup">
+    <description>This is the Apache Muse router service.</description>
+    <parameter name="ServiceClass" locked="false">org.apache.muse.core.platform.axis2.AxisIsolationLayer</parameter>
+    <operation name="handleRequest">
+        <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+        <actionMapping>http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata</actionMapping>
+        <actionMapping>http://docs.oasis-open.org/wsrf/rlw-2/ImmediateResourceTermination/DestroyRequest</actionMapping>
+        <actionMapping>http://docs.oasis-open.org/wsrf/rlw-2/ScheduledResourceTermination/SetTerminationTimeRequest</actionMapping>
+        <actionMapping>http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</actionMapping>
+        <actionMapping>http://docs.oasis-open.org/wsrf/rpw-2/GetResourcePropertyDocument/GetResourcePropertyDocumentRequest</actionMapping>
+        <actionMapping>http://docs.oasis-open.org/wsrf/rpw-2/GetMultipleResourceProperties/GetMultipleResourcePropertiesRequest</actionMapping>
+    </operation>
+</service>
+
 
 </serviceGroup>



---------------------------------------------------------------------
To unsubscribe, e-mail: muse-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-commits-help@ws.apache.org