You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by jk...@apache.org on 2008/02/09 02:02:47 UTC

svn commit: r620054 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java

Author: jkaputin
Date: Fri Feb  8 17:02:46 2008
New Revision: 620054

URL: http://svn.apache.org/viewvc?rev=620054&view=rev
Log:
Modified some Woden API calls to support changes introduced by WODEN-47:
getComponentExtensionsForNamespace(NS) changed to getComponentExtensionContext(NS)
isSafety() changed to isSafe() 

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java?rev=620054&r1=620053&r2=620054&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL20ToAxisServiceBuilder.java Fri Feb  8 17:02:46 2008
@@ -307,7 +307,7 @@
                     SOAPBindingExtensions soapBindingExtensions;
                     try {
                         soapBindingExtensions = (SOAPBindingExtensionsImpl) binding
-                                .getComponentExtensionsForNamespace(
+                                .getComponentExtensionContext(
                                         new URI(WSDL2Constants.URI_WSDL2_SOAP));
                     } catch (URISyntaxException e) {
                         throw new AxisFault("Soap Binding Extention not found");
@@ -393,7 +393,7 @@
         SOAPEndpointExtensions soapEndpointExtensions;
         try {
             soapEndpointExtensions = (SOAPEndpointExtensions) endpoint
-                    .getComponentExtensionsForNamespace(new URI(WSDL2Constants.URI_WSDL2_SOAP));
+                    .getComponentExtensionContext(new URI(WSDL2Constants.URI_WSDL2_SOAP));
         } catch (URISyntaxException e) {
             throw new AxisFault("HTTP Binding Extention not found");
         }
@@ -519,7 +519,7 @@
         SOAPBindingExtensions soapBindingExtensions;
         try {
             soapBindingExtensions = (SOAPBindingExtensionsImpl) binding
-                    .getComponentExtensionsForNamespace(new URI(WSDL2Constants.URI_WSDL2_SOAP));
+                    .getComponentExtensionContext(new URI(WSDL2Constants.URI_WSDL2_SOAP));
         } catch (URISyntaxException e) {
             throw new AxisFault("Soap Binding Extention not found");
         }
@@ -573,7 +573,7 @@
 
             try {
                 soapBindingFaultExtensions = (SOAPBindingFaultExtensions) bindingFault
-                        .getComponentExtensionsForNamespace(new URI(WSDL2Constants.URI_WSDL2_SOAP));
+                        .getComponentExtensionContext(new URI(WSDL2Constants.URI_WSDL2_SOAP));
             } catch (URISyntaxException e) {
                 throw new AxisFault("Soap Binding Extention not found");
             }
@@ -616,7 +616,7 @@
             SOAPBindingOperationExtensions soapBindingOperationExtensions;
             try {
                 soapBindingOperationExtensions = ((SOAPBindingOperationExtensions)
-                        bindingOperation.getComponentExtensionsForNamespace(
+                        bindingOperation.getComponentExtensionContext(
                                 new URI(WSDL2Constants.URI_WSDL2_SOAP)));
             } catch (URISyntaxException e) {
                 throw new AxisFault("Soap Binding Extention not found");
@@ -675,7 +675,7 @@
                 try {
                     soapBindingMessageReferenceExtensions =
                             (SOAPBindingMessageReferenceExtensions) bindingMessageReference
-                                    .getComponentExtensionsForNamespace(
+                                    .getComponentExtensionContext(
                                             new URI(WSDL2Constants.URI_WSDL2_SOAP));
                 } catch (URISyntaxException e) {
                     throw new AxisFault("Soap Binding Extention not found");
@@ -713,7 +713,7 @@
                 try {
                     soapBindingFaultReferenceExtensions =
                             (SOAPBindingFaultReferenceExtensions) bindingFaultReference
-                                    .getComponentExtensionsForNamespace(
+                                    .getComponentExtensionContext(
                                             new URI(WSDL2Constants.URI_WSDL2_SOAP));
                 } catch (URISyntaxException e) {
                     throw new AxisFault("Soap Binding Extention not found");
@@ -748,7 +748,7 @@
         HTTPBindingExtensionsImpl httpBindingExtensions;
         try {
             httpBindingExtensions = (HTTPBindingExtensionsImpl) binding
-                    .getComponentExtensionsForNamespace(new URI(WSDL2Constants.URI_WSDL2_HTTP));
+                    .getComponentExtensionContext(new URI(WSDL2Constants.URI_WSDL2_HTTP));
         } catch (URISyntaxException e) {
             throw new AxisFault("HTTP Binding Extention not found");
         }
@@ -778,7 +778,7 @@
 
             try {
                 httpBindingFaultExtensions = (HTTPBindingFaultExtensions) bindingFault
-                        .getComponentExtensionsForNamespace(new URI(WSDL2Constants.URI_WSDL2_HTTP));
+                        .getComponentExtensionContext(new URI(WSDL2Constants.URI_WSDL2_HTTP));
             } catch (URISyntaxException e) {
                 throw new AxisFault("HTTP Binding Extention not found");
             }
@@ -814,7 +814,7 @@
             HTTPBindingOperationExtensions httpBindingOperationExtensions;
             try {
                 httpBindingOperationExtensions = ((HTTPBindingOperationExtensions)
-                        bindingOperation.getComponentExtensionsForNamespace(
+                        bindingOperation.getComponentExtensionContext(
                                 new URI(WSDL2Constants.URI_WSDL2_HTTP)));
             } catch (URISyntaxException e) {
                 throw new AxisFault("HTTP Binding Extention not found");
@@ -887,7 +887,7 @@
                 try {
                     httpBindingMessageReferenceExtensions =
                             (HTTPBindingMessageReferenceExtensions) bindingMessageReference
-                                    .getComponentExtensionsForNamespace(
+                                    .getComponentExtensionContext(
                                             new URI(WSDL2Constants.URI_WSDL2_HTTP));
                 } catch (URISyntaxException e) {
                     throw new AxisFault("HTTP Binding Extention not found");
@@ -989,7 +989,7 @@
         InterfaceOperationExtensionsImpl interfaceOperationExtensions;
         try {
             interfaceOperationExtensions = (InterfaceOperationExtensionsImpl) operation
-                    .getComponentExtensionsForNamespace(
+                    .getComponentExtensionContext(
                             new URI(WSDL2Constants.URI_WSDL2_EXTENSIONS));
         } catch (URISyntaxException e) {
             throw new AxisFault("WSDL2 extensions not defined for this operation");
@@ -997,14 +997,14 @@
 
         if (interfaceOperationExtensions != null) {
             Parameter parameter = new Parameter(WSDL2Constants.ATTR_WSDLX_SAFE, Boolean.valueOf(
-                    interfaceOperationExtensions.isSafety()));
+                    interfaceOperationExtensions.isSafe()));
             axisOperation.addParameter(parameter);
         }
 
         RPCInterfaceOperationExtensions rpcInterfaceOperationExtensions;
         try {
             rpcInterfaceOperationExtensions = (RPCInterfaceOperationExtensions) operation
-                    .getComponentExtensionsForNamespace(
+                    .getComponentExtensionContext(
                             new URI(WSDL2Constants.URI_WSDL2_RPC));
         } catch (URISyntaxException e) {
             throw new AxisFault("WSDL2 extensions not defined for this operation");



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