You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ke...@apache.org on 2007/01/05 14:17:47 UTC
svn commit: r493023 - in
/webservices/axis2/branches/java/WSDL_2_0/modules/kernel/src/org/apache/axis2/description:
AxisBinding.java WSDL20ToAxisServiceBuilder.java WSDL2Constants.java
Author: keithc
Date: Fri Jan 5 05:17:46 2007
New Revision: 493023
URL: http://svn.apache.org/viewvc?view=rev&rev=493023
Log:
updated to use httpLocation
Modified:
webservices/axis2/branches/java/WSDL_2_0/modules/kernel/src/org/apache/axis2/description/AxisBinding.java
webservices/axis2/branches/java/WSDL_2_0/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java
webservices/axis2/branches/java/WSDL_2_0/modules/kernel/src/org/apache/axis2/description/WSDL2Constants.java
Modified: webservices/axis2/branches/java/WSDL_2_0/modules/kernel/src/org/apache/axis2/description/AxisBinding.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/WSDL_2_0/modules/kernel/src/org/apache/axis2/description/AxisBinding.java?view=diff&rev=493023&r1=493022&r2=493023
==============================================================================
--- webservices/axis2/branches/java/WSDL_2_0/modules/kernel/src/org/apache/axis2/description/AxisBinding.java (original)
+++ webservices/axis2/branches/java/WSDL_2_0/modules/kernel/src/org/apache/axis2/description/AxisBinding.java Fri Jan 5 05:17:46 2007
@@ -63,7 +63,9 @@
return obj;
}
- return null;
+ obj = WSDL20DefaultValueHolder.getDefaultValue(name);
+
+ return obj;
}
public QName getName() {
Modified: webservices/axis2/branches/java/WSDL_2_0/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/WSDL_2_0/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java?view=diff&rev=493023&r1=493022&r2=493023
==============================================================================
--- webservices/axis2/branches/java/WSDL_2_0/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java (original)
+++ webservices/axis2/branches/java/WSDL_2_0/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java Fri Jan 5 05:17:46 2007
@@ -20,6 +20,7 @@
import org.apache.woden.wsdl20.extensions.http.HTTPBindingOperationExtensions;
import org.apache.woden.wsdl20.extensions.http.HTTPBindingMessageReferenceExtensions;
import org.apache.woden.wsdl20.extensions.http.HTTPHeader;
+import org.apache.woden.wsdl20.extensions.http.HTTPLocation;
import org.apache.woden.wsdl20.extensions.soap.*;
import org.apache.woden.wsdl20.xml.*;
import org.apache.ws.commons.schema.XmlSchema;
@@ -508,7 +509,7 @@
axisBindingOperation.setProperty(WSDL2Constants.ATTR_WSOAP_MEP,
soapMep.toString());
}
- URI httpLocation = soapBindingOperationExtensions.getHttpLocation();
+ HTTPLocation httpLocation = soapBindingOperationExtensions.getHttpLocation();
if (httpLocation != null) {
axisBindingOperation.setProperty(WSDL2Constants.ATTR_WHTTP_LOCATION,
httpLocation.toString());
@@ -679,7 +680,8 @@
axisBindingOperation.setProperty(WSDL2Constants.ATTR_WHTTP_FAULT_SERIALIZATION, httpBindingOperationExtensions.getHttpFaultSerialization());
axisBindingOperation.setProperty(WSDL2Constants.ATTR_WHTTP_INPUT_SERIALIZATION, httpBindingOperationExtensions.getHttpInputSerialization());
- URI httpLocation = httpBindingOperationExtensions.getHttpLocation();
+ HTTPLocation httpLocation = httpBindingOperationExtensions.getHttpLocation();
+
if (httpLocation != null) {
axisBindingOperation.setProperty(WSDL2Constants.ATTR_WHTTP_LOCATION, httpLocation.toString());
}
Modified: webservices/axis2/branches/java/WSDL_2_0/modules/kernel/src/org/apache/axis2/description/WSDL2Constants.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/WSDL_2_0/modules/kernel/src/org/apache/axis2/description/WSDL2Constants.java?view=diff&rev=493023&r1=493022&r2=493023
==============================================================================
--- webservices/axis2/branches/java/WSDL_2_0/modules/kernel/src/org/apache/axis2/description/WSDL2Constants.java (original)
+++ webservices/axis2/branches/java/WSDL_2_0/modules/kernel/src/org/apache/axis2/description/WSDL2Constants.java Fri Jan 5 05:17:46 2007
@@ -52,6 +52,7 @@
String URI_HTTP_SOAP12 = "http://www.w3.org/2003/05/soap/bindings/HTTP";
String URI_HTTP_SOAP11 = "http://www.w3.org/2006/01/soap11/bindings/HTTP";
+ String URI_WSOAP_MEP = "http://www.w3.org/2003/05/soap/mep/soap-response/";
String ATTR_WSOAP_PROTOCOL = "wsoap:protocol";
String ATTR_WSOAP_VERSION = "wsoap:version";
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org