[ https://issues.apache.org/jira/browse/AXIS2-4340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Isuru Eranga Suriarachchi reassigned AXIS2-4340: ------------------------------------------------ Assignee: Isuru Eranga Suriarachchi > JAX-WS handler's handleClose called before request processing by the endpoint > ----------------------------------------------------------------------------- > > Key: AXIS2-4340 > URL: https://issues.apache.org/jira/browse/AXIS2-4340 > Project: Axis2 > Issue Type: Bug > Components: jaxws > Affects Versions: 1.4 > Environment: All Platforms and operating systems > Reporter: Amit Modi > Assignee: Isuru Eranga Suriarachchi > > The issue is related to the JAX-WS handlers for one-way request messages. The > handleClose method gets called before the service endpoint processes the > request. Shouldn't handleClose be called after the request is processed by > the service enpoint? The conclusion of a MEP will be only when message is > received by the service endpoint and as per the spec handleClose should be > called after conclusion of MEP (as below). > As per the spec > A handler's close method is called at the conclusion of a message exchange > pattern (MEP). It is called 30 > just prior to the binding dispatching the final message, fault or exception > of the MEP and may be used to 31 > clean up per-MEP resources allocated by a handler. The close method is only > called on handlers that were 32 > previously invoked via either handleMessage or handleFault 33 > } Conformance (Invoking close): At the conclusion of an MEP, an > implementation MUST call the close 34 > method of each handler that was previously invoked during that MEP via either > handleMessage or handle- 35 > Fault. 36 > } Conformance (Order of close invocations): Handlers are invoked in the > reverse order that they appear 37 > in the handler chain. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org