You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pubscribe-commits@ws.apache.org by sc...@apache.org on 2005/07/28 23:19:27 UTC

svn commit: r225888 - in /webservices/pubscribe/trunk/src/examples: consumer/build.xml consumer/consumer.wsdl consumer/epr/consumer.txt consumer/method_impls/consumerport_home_getInstance.txt consumer/readme.txt filesystem/epr/filesystem.txt

Author: scamp
Date: Thu Jul 28 14:19:24 2005
New Revision: 225888

URL: http://svn.apache.org/viewcvs?rev=225888&view=rev
Log: (empty)

Removed:
    webservices/pubscribe/trunk/src/examples/consumer/method_impls/consumerport_home_getInstance.txt
Modified:
    webservices/pubscribe/trunk/src/examples/consumer/build.xml
    webservices/pubscribe/trunk/src/examples/consumer/consumer.wsdl
    webservices/pubscribe/trunk/src/examples/consumer/epr/consumer.txt
    webservices/pubscribe/trunk/src/examples/consumer/readme.txt
    webservices/pubscribe/trunk/src/examples/filesystem/epr/filesystem.txt

Modified: webservices/pubscribe/trunk/src/examples/consumer/build.xml
URL: http://svn.apache.org/viewcvs/webservices/pubscribe/trunk/src/examples/consumer/build.xml?rev=225888&r1=225887&r2=225888&view=diff
==============================================================================
--- webservices/pubscribe/trunk/src/examples/consumer/build.xml (original)
+++ webservices/pubscribe/trunk/src/examples/consumer/build.xml Thu Jul 28 14:19:24 2005
@@ -56,12 +56,12 @@
           
      <delete dir="${tmp.dir}" />
  
-     <mkdir dir="${out.dir}/ConsumerPort/method_impls" />
-     <copy todir="${out.dir}/ConsumerPort/method_impls">
+     <mkdir dir="${out.dir}/consumer/method_impls" />
+     <copy todir="${out.dir}/consumer/method_impls">
         <fileset dir="${basedir}/method_impls"/>                
      </copy>
  
-     <copy todir="${out.dir}/ConsumerPort/src/java">
+     <copy todir="${out.dir}/consumer/src/java">
          <fileset dir="${basedir}/src"/>                
      </copy>
  

Modified: webservices/pubscribe/trunk/src/examples/consumer/consumer.wsdl
URL: http://svn.apache.org/viewcvs/webservices/pubscribe/trunk/src/examples/consumer/consumer.wsdl?rev=225888&r1=225887&r2=225888&view=diff
==============================================================================
--- webservices/pubscribe/trunk/src/examples/consumer/consumer.wsdl (original)
+++ webservices/pubscribe/trunk/src/examples/consumer/consumer.wsdl Thu Jul 28 14:19:24 2005
@@ -115,8 +115,8 @@
    <service name="ConsumerService">
       <!-- Note: the port name becomes the service name in the wsdd generated by Wsdl2Java -->
       <!-- *** Change the port name and the soap:address location below to reflect the desired endpoint URL *** -->
-      <port name="ConsumerPort" binding="tns:MySoapHttpBinding">
-         <soap:address location="http://localhost:8080/wsrf/services/Consumer" />
+      <port name="consumer" binding="tns:MySoapHttpBinding">
+         <soap:address location="http://localhost:8080/wsrf/services/consumer" />
       </port>
    </service>
 

Modified: webservices/pubscribe/trunk/src/examples/consumer/epr/consumer.txt
URL: http://svn.apache.org/viewcvs/webservices/pubscribe/trunk/src/examples/consumer/epr/consumer.txt?rev=225888&r1=225887&r2=225888&view=diff
==============================================================================
--- webservices/pubscribe/trunk/src/examples/consumer/epr/consumer.txt (original)
+++ webservices/pubscribe/trunk/src/examples/consumer/epr/consumer.txt Thu Jul 28 14:19:24 2005
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 
 <EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">
-   <Address>http://localhost:8080/pubscribe/services/ConsumerPort</Address>
+   <Address>http://localhost:8080/pubscribe/services/consumer</Address>
 </EndpointReference>
 

Modified: webservices/pubscribe/trunk/src/examples/consumer/readme.txt
URL: http://svn.apache.org/viewcvs/webservices/pubscribe/trunk/src/examples/consumer/readme.txt?rev=225888&r1=225887&r2=225888&view=diff
==============================================================================
--- webservices/pubscribe/trunk/src/examples/consumer/readme.txt (original)
+++ webservices/pubscribe/trunk/src/examples/consumer/readme.txt Thu Jul 28 14:19:24 2005
@@ -5,23 +5,21 @@
 1. run ant generate
 
 2. copy method parts from method_impls dir into the generated files
-3. copy the contents of src into the generated src dir
+3. cd to the generated/consumer dir
 
 4. Modify the ConsumerPort_jndi-config.xml jndi config file to remove the resourceIdentifierReferenceParameterName parameter...This service is a singleton.
 
 5. run ant compile deploy to deploy to tomcat
 
-6. copy the notifconsumer.jsp to the root of the pubscribe webapp
+6. copy the notifconsumer.jsp and epr directory to the root of the pubscribe webapp
 
-7. copy the epr directory to the root of the pubscribe webapp
+7. Make sure you've compiled/deployed the filesystem example.
 
-8. Make sure you've compiled/deployed the filesystem example.
+8. from the filesystem example copy the notifproducer.jsp and the epr directory to the pubscribe webapp
 
-9. from the filesystem example copy the notifproducer.jsp and the epr directory to the pubscribe webapp
+9. Modify the epr txt files as necessary for your environment in the pubscribe webapp/epr directory
 
-10. Modify the epr txt files as necessary for your environment in the pubscribe webapp/epr directory
+10. start tomcat
 
-11. start tomcat
-
-12. browse to http://localhost:8080/pubscribe/notifconsumer.jsp  and http://localhost:8080/pubscribe/notifproducer.jsp in separate browswers/tabs (urls may need to be modified)
+11. browse to http://localhost:8080/pubscribe/notifconsumer.jsp  and http://localhost:8080/pubscribe/notifproducer.jsp in separate browswers/tabs (urls may need to be modified)
 

Modified: webservices/pubscribe/trunk/src/examples/filesystem/epr/filesystem.txt
URL: http://svn.apache.org/viewcvs/webservices/pubscribe/trunk/src/examples/filesystem/epr/filesystem.txt?rev=225888&r1=225887&r2=225888&view=diff
==============================================================================
--- webservices/pubscribe/trunk/src/examples/filesystem/epr/filesystem.txt (original)
+++ webservices/pubscribe/trunk/src/examples/filesystem/epr/filesystem.txt Thu Jul 28 14:19:24 2005
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 
 <EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">
-   <Address>http://localhost:9081/pubscribe/services/Filesystem</Address>
+   <Address>http://localhost:8080/pubscribe/services/filesystem</Address>
    <ReferenceProperties>
       <svr:ResourceIdentifier xmlns:svr="http://ws.apache.org/resource/example/filesystem">/dev/vg00/lvol1</svr:ResourceIdentifier>
    </ReferenceProperties>