Author: hiranya
Date: Tue Apr 26 06:06:17 2011
New Revision: 1096669
URL: http://svn.apache.org/viewvc?rev=1096669&view=rev
Log:
Fixing a minor issue in WSDL endpoint factory
Modified:
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/WSDLEndpointFactory.java
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/MessageHelper.java
Modified:
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/WSDLEndpointFactory.java
URL:
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/WSDLEndpointFactory.java?rev=1096669&r1=1096668&r2=1096669&view=diff
==============================================================================
---
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/WSDLEndpointFactory.java
(original)
+++
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/WSDLEndpointFactory.java
Tue Apr 26 06:06:17 2011
@@ -174,7 +174,7 @@ public class WSDLEndpointFactory extends
// check if a wsdl 2.0 document is supplied inline
OMElement descriptionElement = wsdlElement.getFirstChildWithName
- (new
QName(org.apache.axis2.namespace.Constants.NS_URI_WSDL11, "description"));
+ (new QName(WSDL2Constants.WSDL_NAMESPACE, "description"));
if (endpoint == null && descriptionElement != null) {
handleException("WSDL 2.0 Endpoints are currently not
supported.");
}
Modified:
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/MessageHelper.java
URL:
http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/MessageHelper.java?rev=1096669&r1=1096668&r2=1096669&view=diff
==============================================================================
---
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/MessageHelper.java
(original)
+++
synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/util/MessageHelper.java
Tue Apr 26 06:06:17 2011
@@ -105,8 +105,8 @@ public class MessageHelper {
* most of the attributes of the MC like opCtx and so on are still kept as
references. Otherwise
* there will be perf issues. But ..... this may reveal in some conflicts
in the cloned message
* if you try to do advanced mediations with the cloned message, in which
case you should
- * mannually get a clone of the changing part of the MC and set that
cloned part to your MC.
- * Changing the MC after doing that will solve most of the issues. (Note:
U dont have to worrie
+ * manually get a clone of the changing part of the MC and set that cloned
part to your MC.
+ * Changing the MC after doing that will solve most of the issues. (Note:
You don't have to worry
* about the SOAPEnvelope, it is a cloned copy and not a reference from
any other MC)
*
* @param mc - this will be cloned for getting an exact copy
@@ -211,7 +211,7 @@ public class MessageHelper {
while (itr.hasNext()) {
String key = (String) itr.next();
if (key != null) {
- // In a clustered environment, all the properties that need to
be relpicated,
+ // In a clustered environment, all the properties that need to
be replicated,
// are replicated explicitly by the corresponding Mediators
(Ex: throttle,
// cache), and therefore we should avoid any implicit
replication
newMC.setNonReplicableProperty(key,
ori.getPropertyNonReplicable(key));
@@ -273,8 +273,8 @@ public class MessageHelper {
* because this will be called for each and every message going out from
synapse. The parent
* of the cloning options object is kept as a reference.
*
- * @param options clonning object
- * @return clonned Options object
+ * @param options cloning object
+ * @return cloned Options object
*/
public static Options cloneOptions(Options options) {