svn commit: r1032619 - in /axis/axis2/java/core/trunk/modules: jaxws-integration/test/org/apache/axis2/jaxws/dispatch/ jaxws/src/org/apache/axis2/jaxws/message/ metadata/src/org/apache/axis2/jaxws/des

2010-11-08 Thread barrettj
Author: barrettj
Date: Mon Nov  8 16:16:10 2010
New Revision: 1032619

URL: http://svn.apache.org/viewvc?rev=1032619&view=rev
Log:
AXIS2-4855.  Patch contributed by Phil Adams with some additional comments and 
test change by Jeff Barrett.  Change the JMS namespace to the value defined in 
the JMS spec.

Modified:

axis/axis2/java/core/trunk/modules/jaxws-integration/test/org/apache/axis2/jaxws/dispatch/SOAP12DispatchTest.java

axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/jaxws/message/Protocol.java

axis/axis2/java/core/trunk/modules/metadata/src/org/apache/axis2/jaxws/description/builder/MDQConstants.java

axis/axis2/java/core/trunk/modules/metadata/src/org/apache/axis2/jaxws/description/validator/EndpointDescriptionValidator.java

Modified: 
axis/axis2/java/core/trunk/modules/jaxws-integration/test/org/apache/axis2/jaxws/dispatch/SOAP12DispatchTest.java
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/jaxws-integration/test/org/apache/axis2/jaxws/dispatch/SOAP12DispatchTest.java?rev=1032619&r1=1032618&r2=1032619&view=diff
==
--- 
axis/axis2/java/core/trunk/modules/jaxws-integration/test/org/apache/axis2/jaxws/dispatch/SOAP12DispatchTest.java
 (original)
+++ 
axis/axis2/java/core/trunk/modules/jaxws-integration/test/org/apache/axis2/jaxws/dispatch/SOAP12DispatchTest.java
 Mon Nov  8 16:16:10 2010
@@ -149,7 +149,19 @@ public class SOAP12DispatchTest extends 
 /**
  * Test sending a SOAP 1.2 request in PAYLOAD mode using SOAP/JMS
  */
-public void testSOAP12JMSDispatchPayloadMode() throws Exception {
+/*
+ * This test was shown to be invalid by the changes made under Jira 
AXIS2-4855.  Basically, this test was passing 
+ * based on a bug in 
modules/jaxws/src/org/apache/axis2/jaxws/message/Protocol.java creating the 
protocol table.  
+ * There is only one JMS namespace defined by the JMS spec, and it is used 
for both SOAP11 and SOAP12.  Therefore, 
+ * when the SOAP12 protocol was registered after the SOAP11 protocol, it 
overwrote the previous value (since the namespace
+ * is used as the key).  
+ * 
+ * For a WSDL-based client or service, the SOAP version is determined by 
the SOAP namespace used on the
+ * binding.  For a WSDL-less client or service, there is no JMS 
spec-defined way to determine the difference.  For now
+ * JAX-WS will default to SOAP11, and SOAP12 is not registered as a 
protocol for the JMS namespace.  See AXIS2-4855
+ * for more information.
+ */
+public void _testSOAP12JMSDispatchPayloadMode() throws Exception {
 // Create the JAX-WS client needed to send the request
 Service service = Service.create(QNAME_SERVICE);
service.addPort(QNAME_PORT, MDQConstants.SOAP12JMS_BINDING, 
URL_ENDPOINT);

Modified: 
axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/jaxws/message/Protocol.java
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/jaxws/message/Protocol.java?rev=1032619&r1=1032618&r2=1032619&view=diff
==
--- 
axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/jaxws/message/Protocol.java
 (original)
+++ 
axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/jaxws/message/Protocol.java
 Mon Nov  8 16:16:10 2010
@@ -61,8 +61,12 @@ public enum Protocol {
 protocolMappings.put(SOAPBinding.SOAP12HTTP_BINDING, Protocol.soap12);
 protocolMappings.put(SOAPBinding.SOAP12HTTP_MTOM_BINDING, 
Protocol.soap12);
 protocolMappings.put(HTTPBinding.HTTP_BINDING, Protocol.rest);
-protocolMappings.put(MDQConstants.SOAP12JMS_BINDING, Protocol.soap12);
-protocolMappings.put(MDQConstants.SOAP12JMS_MTOM_BINDING, 
Protocol.soap12);
+// There is only one binding value declared by the spec; there is no 
differentiation
+// between SOAP11 and SOAP12, unlike HTTP.  This may be an issue in 
the spec.  However,
+// for now, since the values are the same, we can only register one 
protocol, so we 
+// use SOAP11 (above).  See Jira AXIS2-4855 for more information.
+//protocolMappings.put(MDQConstants.SOAP12JMS_BINDING, 
Protocol.soap12);
+//protocolMappings.put(MDQConstants.SOAP12JMS_MTOM_BINDING, 
Protocol.soap12);
 
 // Add each of the URLs with a "/" at the end for flexibility
 Map updates = new HashMap();

Modified: 
axis/axis2/java/core/trunk/modules/metadata/src/org/apache/axis2/jaxws/description/builder/MDQConstants.java
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/metadata/src/org/apache/axis2/jaxws/description/builder/MDQConstants.java?rev=1032619&r1=1032618&r2=1032619&view=diff
==
--- 
axis/axis2/java/core/trunk/module

svn commit: r1032681 - in /axis/axis2/java/core/trunk: modules/samples/quickstart/README.txt src/site/xdoc/docs/quickstartguide.xml

2010-11-08 Thread veithen
Author: veithen
Date: Mon Nov  8 19:56:01 2010
New Revision: 1032681

URL: http://svn.apache.org/viewvc?rev=1032681&view=rev
Log:
AXIS2-4055: Applied patch provided by Lasantha Ranaweera (documentation change 
only).

Modified:
axis/axis2/java/core/trunk/modules/samples/quickstart/README.txt
axis/axis2/java/core/trunk/src/site/xdoc/docs/quickstartguide.xml

Modified: axis/axis2/java/core/trunk/modules/samples/quickstart/README.txt
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/samples/quickstart/README.txt?rev=1032681&r1=1032680&r2=1032681&view=diff
==
--- axis/axis2/java/core/trunk/modules/samples/quickstart/README.txt (original)
+++ axis/axis2/java/core/trunk/modules/samples/quickstart/README.txt Mon Nov  8 
19:56:01 2010
@@ -8,7 +8,7 @@ source code kindly see this 'Axis2 Quick
 Introduction
 
 In this sample, we are deploying a POJO after writing a services.xml and
-creating an aar. We also test the gePrice and update methods using a browser.
+creating an aar. We also test the getPrice and update methods using a browser.
 
 Pre-Requisites
 ==

Modified: axis/axis2/java/core/trunk/src/site/xdoc/docs/quickstartguide.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/src/site/xdoc/docs/quickstartguide.xml?rev=1032681&r1=1032680&r2=1032681&view=diff
==
--- axis/axis2/java/core/trunk/src/site/xdoc/docs/quickstartguide.xml (original)
+++ axis/axis2/java/core/trunk/src/site/xdoc/docs/quickstartguide.xml Mon Nov  
8 19:56:01 2010
@@ -475,10 +475,10 @@ Framework (ADB), execute the following s
 following in the Axis2_HOME/samples/quickstartadb directory:
 
 (Windows)
-%AXIS2_HOME%\bin\WSDL2Java -uri resources\META-INF\StockQuoteService.wsdl -p 
samples.quickstart.service.adb -d adb -s -ss -sd -ssi -o build\service
+%AXIS2_HOME%\bin\wsdl2java -uri resources\META-INF\StockQuoteService.wsdl -p 
samples.quickstart.service.adb -d adb -s -ss -sd -ssi -o build\service
 
 (Linux)
-$AXIS2_HOME/bin/WSDL2Java -uri resources/META-INF/StockQuoteService.wsdl -p 
samples.quickstart.service.adb -d adb -s -ss -sd -ssi -o build/service
+$AXIS2_HOME/bin/wsdl2java -uri resources/META-INF/StockQuoteService.wsdl -p 
samples.quickstart.service.adb -d adb -s -ss -sd -ssi -o build/service
 
 
 Else, simply type ant generate.service in the
@@ -560,7 +560,7 @@ steps.
 following in the Axis2_HOME/samples/quickstartxmlbeans
 directory.
 
-%AXIS2_HOME%\bin\WSDL2Java -uri resources\META-INF\StockQuoteService.wsdl -p 
samples.quickstart.service.xmlbeans -d xmlbeans -s -ss -sd -ssi -o build\service
+%AXIS2_HOME%\bin\wsdl2java -uri resources\META-INF\StockQuoteService.wsdl -p 
samples.quickstart.service.xmlbeans -d xmlbeans -s -ss -sd -ssi -o build\service
 
 Else simply type ant generate.service in the
 Axis2_HOME/samples/quickstartxmlbeans directory.
@@ -839,7 +839,7 @@ following steps.
 Generate the client databings by typing the following in the
 Axis2_HOME/samples/quickstartadb directory:
 
-%AXIS2_HOME%\bin\WSDL2Java -uri resources\META-INF\StockQuoteService.wsdl -p 
samples.quickstart.clients -d adb -s -o build\client
+%AXIS2_HOME%\bin\wsdl2java -uri resources\META-INF\StockQuoteService.wsdl -p 
samples.quickstart.clients -d adb -s -o build\client
 
 Else, simply type ant generate.client in the
 Axis2_HOME/samples/quickstartadb directory.
@@ -924,7 +924,7 @@ following steps.
 Generate the databings by typing the following in the
 xmlbeansClient directory.
 
-%AXIS2_HOME%\bin\WSDL2Java -uri resources\META-INF\StockQuoteService.wsdl -p 
samples.quickstart.service.xmlbeans -d xmlbeans -s -o build\client
+%AXIS2_HOME%\bin\wsdl2java -uri resources\META-INF\StockQuoteService.wsdl -p 
samples.quickstart.service.xmlbeans -d xmlbeans -s -o build\client
 
 Else, simply type ant generate.client in the
 Axis2_HOME/samples/quickstartxmlbeans directory.




svn commit: r1032694 - /axis/axis2/java/core/trunk/src/site/xdoc/faq.xml

2010-11-08 Thread veithen
Author: veithen
Date: Mon Nov  8 20:41:11 2010
New Revision: 1032694

URL: http://svn.apache.org/viewvc?rev=1032694&view=rev
Log:
AXIS2-4109: Updated the site with the latest information about how to get 
nightly builds.

Modified:
axis/axis2/java/core/trunk/src/site/xdoc/faq.xml

Modified: axis/axis2/java/core/trunk/src/site/xdoc/faq.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/src/site/xdoc/faq.xml?rev=1032694&r1=1032693&r2=1032694&view=diff
==
--- axis/axis2/java/core/trunk/src/site/xdoc/faq.xml (original)
+++ axis/axis2/java/core/trunk/src/site/xdoc/faq.xml Mon Nov  8 20:41:11 2010
@@ -88,9 +88,13 @@ Axis2. What should I do?
 First make sure you go through the user guide and this FAQ. If
 you are using a released version of Axis2, then there is a
 possibility that your problem has already being fixed in the latest
-code. http://repository.apache.org/snapshots/org/apache/axis2/";>Download Axis2
-nightly builds and test again.
+code. Download Axis2 nightly builds and test again. You can download
+the complete snapshot distributions from our
+https://hudson.apache.org/hudson/job/Axis2/lastStableBuild/org.apache.axis2$distribution";>Hudson
+continuous integration server and individual JARs from our
+http://repository.apache.org/snapshots/org/apache/axis2/";>snapshot 
repository. The
+snapshot repository is also the best choice if you are using Maven to build 
your project.
+
 If the problem still persists, then try to search for your
 question in our http://marc.theaimsgroup.com/?l=axis-dev&r=1&w=2";>developer