Author: richard.opalka(a)jboss.com
Date: 2009-01-22 10:14:24 -0500 (Thu, 22 Jan 2009)
New Revision: 9097
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/handler/SOAPMessageContextJAXWS.java
Log:
[JBWS-2432] fix NPE
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/handler/SOAPMessageContextJAXWS.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/handler/SOAPMessageContextJAXWS.java 2009-01-22
15:06:00 UTC (rev 9096)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/handler/SOAPMessageContextJAXWS.java 2009-01-22
15:14:24 UTC (rev 9097)
@@ -98,14 +98,14 @@
Name hName = hElement.getElementName();
if (qname.equals(new QName(hName.getURI(), hName.getLocalName())))
{
- URI actor = new URI(hElement.getActor());
+ URI actor = null;
+ if (hElement.getActor() != null)
+ {
+ actor = new URI(hElement.getActor());
+ }
if (roles.contains(actor) || allRoles)
{
headers.add(hElement);
-
- // FIXME
- // SOAPMessageContext.getHeaders should return unmarshalled objects
- //
http://jira.jboss.org/jira/browse/JBWS-1105
}
}
}