Type errors are not informatiove
--------------------------------

         Key: BEEHIVE-52
         URL: http://nagoya.apache.org/jira/browse/BEEHIVE-52
     Project: Beehive
        Type: Bug
  Components: Web Services (181)  
    Reporter: daryoush mehrtash


When your data types are not valid (not serializable, is a file,...)  The 
following error message is returned:

Caused by: org.apache.beehive.wsm.axis.InvalidTypeMappingException: failed to re
gister org.apache.beehive.wsmSample.dbControlExtension.WSEmployee as a valid web
 service datatype, consider using a custom type mapping
        at org.apache.beehive.wsm.axis.AxisHook.configureTypeMapping(AxisHook.ja
va:367)
        at org.apache.beehive.wsm.axis.AxisHook.createServiceDesc(AxisHook.java:
139)
        at org.apache.beehive.wsm.axis.AnnotatedWebServiceDeploymentHandler.crea
teSOAPServiceUsingAnnotations(AnnotatedWebServiceDeploymentHandler.java:199)
        at org.apache.beehive.wsm.axis.AnnotatedWebServiceDeploymentHandler.crea
teSOAPServiceFromAnnotatedClass(AnnotatedWebServiceDeploymentHandler.java:164)
        at org.apache.beehive.wsm.axis.AnnotatedWebServiceDeploymentHandler.invo
ke(AnnotatedWebServiceDeploymentHandler.java:110)
        ... 42 more



This is not informative enough,  each type of error should have its own error 
message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to