cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (CXF-2837) Add null pointer check in SoapOutInterceptor
Date Mon, 07 Jun 2010 03:17:55 GMT

     [ https://issues.apache.org/jira/browse/CXF-2837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Willem Jiang reassigned CXF-2837:
---------------------------------

    Assignee: Willem Jiang

> Add null pointer check in SoapOutInterceptor
> --------------------------------------------
>
>                 Key: CXF-2837
>                 URL: https://issues.apache.org/jira/browse/CXF-2837
>             Project: CXF
>          Issue Type: Improvement
>          Components: Soap Binding
>            Reporter: William Tam
>            Assignee: Willem Jiang
>             Fix For: 2.3, 2.2.9
>
>
> It allows soap headers to be skipped (e.g. by Camel).   
> Index: rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapOutInterceptor.java
> ===================================================================
> --- rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapOutInterceptor.java
(revision 22)
> +++ rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapOutInterceptor.java
(working copy)
> @@ -219,6 +219,11 @@
>                      continue;
>                  }
>                  Object arg = objs.get(part);
> +
> +                if (arg == null) {
> +                    continue;
> +                }
> +
>                  objs.remove(part);
>                  if (!(startedHeader || preexistingHeaders)) {
>                      try {

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message