cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1508108 - /cxf/trunk/rt/security/src/main/java/org/apache/cxf/rt/security/xacml/DefaultXACMLRequestBuilder.java
Date Mon, 29 Jul 2013 15:47:00 GMT
Author: coheigea
Date: Mon Jul 29 15:47:00 2013
New Revision: 1508108

URL: http://svn.apache.org/r1508108
Log:
Another minor fix

Modified:
    cxf/trunk/rt/security/src/main/java/org/apache/cxf/rt/security/xacml/DefaultXACMLRequestBuilder.java

Modified: cxf/trunk/rt/security/src/main/java/org/apache/cxf/rt/security/xacml/DefaultXACMLRequestBuilder.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/security/src/main/java/org/apache/cxf/rt/security/xacml/DefaultXACMLRequestBuilder.java?rev=1508108&r1=1508107&r2=1508108&view=diff
==============================================================================
--- cxf/trunk/rt/security/src/main/java/org/apache/cxf/rt/security/xacml/DefaultXACMLRequestBuilder.java
(original)
+++ cxf/trunk/rt/security/src/main/java/org/apache/cxf/rt/security/xacml/DefaultXACMLRequestBuilder.java
Mon Jul 29 15:47:00 2013
@@ -111,8 +111,10 @@ public class DefaultXACMLRequestBuilder 
         if (isSoapService) {
             // WSDL Service
             QName wsdlService = messageParser.getWSDLService();
-            attributes.add(createAttribute(XACMLConstants.RESOURCE_WSDL_SERVICE_ID, XACMLConstants.XS_STRING,
null,
+            if (wsdlService != null) {
+                attributes.add(createAttribute(XACMLConstants.RESOURCE_WSDL_SERVICE_ID, XACMLConstants.XS_STRING,
null,
                                            wsdlService.toString()));
+            }
             
             // WSDL Operation
             QName wsdlOperation = messageParser.getWSDLOperation();



Mime
View raw message