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 di...@apache.org on 2007/03/13 15:38:07 UTC
svn commit: r517709 -
/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/impl/alt/DocLitBareMethodMarshaller.java
Author: dims
Date: Tue Mar 13 07:38:07 2007
New Revision: 517709
URL: http://svn.apache.org/viewvc?view=rev&rev=517709
Log:
Section 3.6.2.3 talks only about RPC/LIT, so this is a spurious check
Modified:
webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/impl/alt/DocLitBareMethodMarshaller.java
Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/impl/alt/DocLitBareMethodMarshaller.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/impl/alt/DocLitBareMethodMarshaller.java?view=diff&rev=517709&r1=517708&r2=517709
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/impl/alt/DocLitBareMethodMarshaller.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/impl/alt/DocLitBareMethodMarshaller.java Tue Mar 13 07:38:07 2007
@@ -278,23 +278,6 @@
MarshalServiceRuntimeDescription marshalDesc = MethodMarshallerUtils.getMarshalDesc(endpointDesc);
TreeSet<String> packages = marshalDesc.getPackages();
- // TODO This needs more work. We need to check inside holders of input params. We also
- // may want to exclude header params from this check
- //Validate input parameters for operation and make sure no input parameters are null.
- //As per JAXWS Specification section 3.6.2.3 if a null value is passes as an argument
- //to a method then an implementation MUST throw WebServiceException.
- if(pds.length > 0){
- if(signatureArguments == null){
- throw ExceptionFactory.makeWebServiceException(Messages.getMessage("NullParamErr1", "Input", operationDesc.getJavaMethodName(), "doc/lit"));
- }
- if(signatureArguments !=null){
- for(Object argument:signatureArguments){
- if(argument == null){
- throw ExceptionFactory.makeWebServiceException(Messages.getMessage("NullParamErr1", "Input", operationDesc.getJavaMethodName(), "doc/lit"));
- }
- }
- }
- }
// Create the message
MessageFactory mf = (MessageFactory)FactoryRegistry.getFactory(MessageFactory.class);
Message m = mf.create(protocol);
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org