Author: nthaker
Date: Mon Jun 7 18:16:31 2010
New Revision: 952358
URL: http://svn.apache.org/viewvc?rev=952358&view=rev
Log:
AXIS2-4732
Fix for Operation invocation failure on Partial wsdl scenario.
Modified:
axis/axis2/java/core/trunk/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointInterfaceDescriptionImpl.java
Modified:
axis/axis2/java/core/trunk/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointInterfaceDescriptionImpl.java
URL:
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointInterfaceDescriptionImpl.java?rev=952358&r1=952357&r2=952358&view=diff
==============================================================================
---
axis/axis2/java/core/trunk/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointInterfaceDescriptionImpl.java
(original)
+++
axis/axis2/java/core/trunk/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointInterfaceDescriptionImpl.java
Mon Jun 7 18:16:31 2010
@@ -265,6 +265,14 @@ public class EndpointInterfaceDescriptio
if (log.isDebugEnabled())
log.debug("EID: Just added operation= " +
operation.getOperationName());
addOperation(operation);
+ //Cater to partial wsdl case, if wsdl is found but
AxisService was
+ //not built using this wsdl we need to add operation to
AxisService.
+ if(!getEndpointDescriptionImpl().isWSDLFullySpecified()){
+ if(log.isDebugEnabled()){
+ log.debug("Partial wsdl definition found, we will
add operation to the AxisService.");
+ }
+
((OperationDescriptionImpl)operation).addToAxisService(axisService);
+ }
}
//Since wsdl is not defined add all operations to AxisService
and OperationDescriptionList.
else if(axisOperation == null) {