[ http://issues.apache.org/jira/browse/AXIS2-260?page=all ]
Ajith Harshana Ranabahu resolved AXIS2-260:
-------------------------------------------
Resolution: Fixed
Assign To: Ajith Harshana Ranabahu
Added code (to the template) to only add the header parameters only if they are
not null
> header parameters don't accept nulls
> ------------------------------------
>
> Key: AXIS2-260
> URL: http://issues.apache.org/jira/browse/AXIS2-260
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: client-api
> Environment: WinXP, JDK 5.0, code from SVN as of 10/3/2005
> Reporter: Simon Fell
> Assignee: Ajith Harshana Ranabahu
>
> If the WSDL defines a soap header for the operation then a parameter is
> included in the stub for this header, in reality not all headers are required
> and you should be able to pass null, currently if you do that, you get an
> NPE, to avoid the NPE you have to create both the headerDocument & header
> objects.
--
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