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 "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2005/09/21 07:50:42 UTC

[jira] Resolved: (AXIS2-231) trim configuration data from the XML doc, like the ServiceClass param

     [ http://issues.apache.org/jira/browse/AXIS2-231?page=all ]
     
Deepal Jayasinghe resolved AXIS2-231:
-------------------------------------

    Resolution: Fixed

each custom message receiver writer has to do the trim as I mentioned in early comment

> trim configuration data from the XML doc, like the ServiceClass param
> ---------------------------------------------------------------------
>
>          Key: AXIS2-231
>          URL: http://issues.apache.org/jira/browse/AXIS2-231
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Improvement
>   Components: deployment
>     Reporter: Steve Loughran

>
> I've finally tracked down what I thought was a classloader problem, namely the runtime couldnt find my service class.
> the problem was I'd put in a linefeed in the declaration
>   <parameter name="ServiceClass" locked="xsd:false">
>     org.smartfrog.services.deployapi.transport.endpoints.PortalEndpoint</parameter>
> And because there is no trim() called on the read data, the class wasnt being found. And of course extra whitespace isnt obvious in error messages, particularly those you arent used to.
> I would recommend that everywhere you are extracting text from inside an XML element, you trim it first.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira