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 Glen Daniels <gd...@macromedia.com> on 2002/09/18 20:49:11 UTC
RE: cvs commit: xml-axis/java/src/org/apache/axis/deployment/wsdd
WSDDDeployment.java WSDDService.java
Hey dims, this looks suspiciously like we not will NOT fail on a bad type mapping. We should. What's up?
--Glen
> -----Original Message-----
> From: dims@apache.org [mailto:dims@apache.org]
> Sent: Wednesday, September 18, 2002 2:26 PM
> To: xml-axis-cvs@apache.org
> Subject: cvs commit: xml-axis/java/src/org/apache/axis/deployment/wsdd
> WSDDDeployment.java WSDDService.java
>
>
> dims 2002/09/18 11:25:50
>
> Modified: java/src/org/apache/axis/deployment/wsdd
> WSDDDeployment.java
> WSDDService.java
> Log:
> Possible fix for Bug 12737 - reference to AxisServer fails
>
> Revision Changes Path
> 1.45 +4 -2
> xml-axis/java/src/org/apache/axis/deployment/wsdd/WSDDDeployment.java
>
> Index: WSDDDeployment.java
> ===================================================================
> RCS file:
> /home/cvs/xml-axis/java/src/org/apache/axis/deployment/wsdd/WS
> DDDeployment.java,v
> retrieving revision 1.44
> retrieving revision 1.45
> diff -u -r1.44 -r1.45
> --- WSDDDeployment.java 29 Aug 2002 21:02:40 -0000 1.44
> +++ WSDDDeployment.java 18 Sep 2002 18:25:50 -0000 1.45
> @@ -59,6 +59,7 @@
> import org.apache.axis.Constants;
> import org.apache.axis.EngineConfiguration;
> import org.apache.axis.Handler;
> +import org.apache.axis.utils.Messages;
> import org.apache.axis.encoding.DeserializerFactory;
> import org.apache.axis.encoding.SerializationContext;
> import org.apache.axis.encoding.SerializerFactory;
> @@ -345,8 +346,9 @@
> //log.debug("set dser factory");
> tm.register(
> mapping.getLanguageSpecificType(), mapping.getQName(), ser, deser);
> //log.debug("registered");
> - }
> - catch (Exception e) {
> + } catch (ClassNotFoundException e) {
> +
> log.info(Messages.getMessage("unabletoDeployTypemapping00",
> mapping.getQName().toString()), e);
> + } catch (Exception e) {
> throw new WSDDException(e);
> }
> }
>
>
>
> 1.92 +1 -1
> xml-axis/java/src/org/apache/axis/deployment/wsdd/WSDDService.java
>
> Index: WSDDService.java
> ===================================================================
> RCS file:
> /home/cvs/xml-axis/java/src/org/apache/axis/deployment/wsdd/WS
> DDService.java,v
> retrieving revision 1.91
> retrieving revision 1.92
> diff -u -r1.91 -r1.92
> --- WSDDService.java 18 Sep 2002 16:10:39 -0000 1.91
> +++ WSDDService.java 18 Sep 2002 18:25:50 -0000 1.92
> @@ -538,7 +538,7 @@
> }
> tm.register(
> mapping.getLanguageSpecificType(), mapping.getQName(), ser, deser);
> } catch (ClassNotFoundException e) {
> - throw new WSDDException(e);
> +
> log.info(Messages.getMessage("unabletoDeployTypemapping00",
> mapping.getQName().toString()), e);
> } catch (Exception e) {
> throw new WSDDException(e);
> }
>
>
>
>