APAR status
Closed as program error.
Error description
ERROR DESCRIPTION: Using HTTP GET, a null value for a Dispatch invocation using the XML/HTTP binding results in an exception. ... Caused by: java.lang.Throwable: The parameter cannot be a null value for a Dispatch invocation using the XML/HTTP binding. at org.apache.axis2.jaxws.client.dispatch.BaseDispatch.getProtocolE xception(BaseDispatch.java:437) ...
Local fix
na
Problem summary
**************************************************************** * USERS AFFECTED: IBM WebSphere Application Server Feature * * Pack for Web Services users of the XML/HTTP * * Binding * **************************************************************** * PROBLEM DESCRIPTION: An error occurs if a JAX-WS client * * uses the Dispatch api with an XML/HTTP * * GET designation. * **************************************************************** * RECOMMENDATION: Install a fixpack containing this APAR on * * the WebSphere Application Server of the * * client (sender) application. * **************************************************************** The JAX-WS programming model allows a user to communicate with SOAP or XML/HTTP style messages. If an XML/HTTP style is chosen, the user may choose to send messages via POST or GET HTTP protocols. A GET protocol implies that no payload is sent to the remote web service, but a payload is expected from the web service. Example: Service service = Service.create(GREETER_SERVICE); service.addPort(HTTP_GREETER_PORT, HTTPBinding.HTTP_BINDING, "http://localhost:8080/jaxws-provider/provider/http/source/sayhi ?value=geronimo"); Dispatch<Source> dispatch = service.createDispatch(HTTP_GREETER_PORT, Source.class, Service.Mode.MESSAGE); Map<String, Object> requestContext = dispatch.getRequestContext(); requestContext.put(MessageContext.HTTP_REQUEST_METHOD, "GET"); Source response = dispatch.invoke(null); Example error: java.lang.Throwable: The parameter cannot be a null value for a Dispatch invocation using the XML/HTTP binding. at org.apache.axis2.jaxws.client.dispatch.BaseDispatch.getProtocolE xception(BaseDispatch.java:437) The null argument should be tolerated since this is an acceptable usage pattern.
Problem conclusion
A correction was made to the JAX-WS Dispatch runtime to tolerate invoke(null) for the XML/HTTP GET scenario. If a null input parameter is detected for other scenarios, the JAX-WS Dispatch runtime will correctly issue an error. The same problem is fixed in the V7.0 WebSphere Application Server by APAR PK92489. The fix for this APAR is currently targeted for inclusion in fix pack 6.1.0.29. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Comments
APAR Information
APAR number
PK93689
Reported component name
WEBSERVIC FEATU
Reported component ID
5724J0850
Reported release
610
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-08-12
Closed date
2009-09-09
Last modified date
2009-09-09
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBSERVIC FEATU
Fixed component ID
5724J0850
Applicable component levels
R610 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
10 February 2022