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 de...@apache.org on 2005/08/09 15:06:26 UTC
svn commit: r231028 -
/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/description/ServiceDescription.java
Author: deepal
Date: Tue Aug 9 06:06:05 2005
New Revision: 231028
URL: http://svn.apache.org/viewcvs?rev=231028&view=rev
Log:
there was a bug when invoking RPC Literal , when soap action null or "" it throws an exeption when finding the opeartion
Modified:
webservices/axis/trunk/java/modules/core/src/org/apache/axis2/description/ServiceDescription.java
Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/description/ServiceDescription.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/description/ServiceDescription.java?rev=231028&r1=231027&r2=231028&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/description/ServiceDescription.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/description/ServiceDescription.java Tue Aug 9 06:06:05 2005
@@ -480,6 +480,9 @@
* otherwise will return null.
*/
public OperationDescription getOperationBySOAPAction(String soapAction) {
+ if(soapAction == null || soapAction.equals("")){
+ return null;
+ }
Iterator iterator = this.getEndpoints().keySet().iterator();
if (iterator.hasNext()) {
WSDLEndpoint endpoint = (WSDLEndpoint) this.getEndpoints().get(
@@ -728,6 +731,6 @@
}
public Map getMetadataBag() {
- return serviceimpl.getMetadataBag();
+ return serviceimpl.getMetadataBag();
}
}