You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Chad Schoettger (JIRA)" <de...@beehive.apache.org> on 2005/10/10 18:06:49 UTC
[jira] Updated: (BEEHIVE-805) NullPointerException Fault is generated when calling a non-existant jws
[ http://issues.apache.org/jira/browse/BEEHIVE-805?page=all ]
Chad Schoettger updated BEEHIVE-805:
------------------------------------
Component: Web Services (181)
Description:
To reproduce the problem isntall a jws webapplication, eg. wsm-samples-addressbookEnhanced. try to get the wsdl of a nonexisting JWS in the installed application:
http://localhost:8080/EnhancedAddressBookWS/xxxxxx.jws?wsdl
You get a message like:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.NullPointerException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:DMEHRTAS02
The problem is that the AnnotatedWebServiceDeploymentHandler.getWebServiceClass doesn't generate the a descriptive fault. Here is what it does now (around like242)
if(null == clazz)
if(logger.isDebugEnabled())
logger.debug("failed to load web service class: " + className);
return clazz;
This should be enhanced to actaully send a Fault back to the client.
was:
To reproduce the problem isntall a jws webapplication, eg. wsm-samples-addressbookEnhanced. try to get the wsdl of a nonexisting JWS in the installed application:
http://localhost:8080/EnhancedAddressBookWS/xxxxxx.jws?wsdl
You get a message like:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.NullPointerException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:DMEHRTAS02
The problem is that the AnnotatedWebServiceDeploymentHandler.getWebServiceClass doesn't generate the a descriptive fault. Here is what it does now (around like242)
if(null == clazz)
if(logger.isDebugEnabled())
logger.debug("failed to load web service class: " + className);
return clazz;
This should be enhanced to actaully send a Fault back to the client.
moving to wsm component
> NullPointerException Fault is generated when calling a non-existant jws
> -----------------------------------------------------------------------
>
> Key: BEEHIVE-805
> URL: http://issues.apache.org/jira/browse/BEEHIVE-805
> Project: Beehive
> Type: Bug
> Components: Web Services (181)
> Reporter: daryoush mehrtash
> Assignee: daryoush mehrtash
>
> To reproduce the problem isntall a jws webapplication, eg. wsm-samples-addressbookEnhanced. try to get the wsdl of a nonexisting JWS in the installed application:
> http://localhost:8080/EnhancedAddressBookWS/xxxxxx.jws?wsdl
> You get a message like:
> AxisFault
> faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> faultSubcode:
> faultString: java.lang.NullPointerException
> faultActor:
> faultNode:
> faultDetail:
> {http://xml.apache.org/axis/}hostname:DMEHRTAS02
> The problem is that the AnnotatedWebServiceDeploymentHandler.getWebServiceClass doesn't generate the a descriptive fault. Here is what it does now (around like242)
> if(null == clazz)
> if(logger.isDebugEnabled())
> logger.debug("failed to load web service class: " + className);
> return clazz;
> This should be enhanced to actaully send a Fault back to the client.
--
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