You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Soumadeep (JIRA)" <ji...@apache.org> on 2006/01/25 09:25:09 UTC
[jira] Created: (AXIS2-412) To Add remote address to the message
context in AXIS2
To Add remote address to the message context in AXIS2
-----------------------------------------------------
Key: AXIS2-412
URL: http://issues.apache.org/jira/browse/AXIS2-412
Project: Apache Axis 2.0 (Axis2)
Type: Improvement
Components: transports
Environment: ALL
Reporter: Soumadeep
The remote Address is not being set in the messageContext in AXISServlet.java, this will be required to identify the client address.
Axis1's AxisServlet
===============
in the createMessageContext(AxisEngine engine, HttpServletRequest req, HttpServletResponse res) method This is how it is set.
msgContext.setProperty(Constants.MC_REMOTE_ADDR, req.getRemoteAddr());
This needs to be added in Axis2 (AxisServlet.java), inside the createAndSetInitialParamsToMsgCtxt method.
msgContext.setProperty(MessageContext.MC_REMOTE_ADDR, httpServletRequest.getRemoteAddr());
Currently, the constant var MC_REMOTE_ADDR is not there in the MessageContext.java file.
Can someone please help!!
--
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
Acess to webservice name
Posted by ga...@tcs.com.
Hi All,
Is there any way to access the web service name in the SkeletonImpl class
generated for each webservice using Axis.
Regards
Gaurav
Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
[jira] Resolved: (AXIS2-412) To Add remote address to the message
context in AXIS2
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-412?page=all ]
Davanum Srinivas resolved AXIS2-412:
------------------------------------
Resolution: Fixed
done. added REMOTE_ADDRESS
thanks,
dims
> To Add remote address to the message context in AXIS2
> -----------------------------------------------------
>
> Key: AXIS2-412
> URL: http://issues.apache.org/jira/browse/AXIS2-412
> Project: Apache Axis 2.0 (Axis2)
> Type: Improvement
> Components: transports
> Environment: ALL
> Reporter: Soumadeep
>
> The remote Address is not being set in the messageContext in AXISServlet.java, this will be required to identify the client address.
> Axis1's AxisServlet
> ===============
> in the createMessageContext(AxisEngine engine, HttpServletRequest req, HttpServletResponse res) method This is how it is set.
> msgContext.setProperty(Constants.MC_REMOTE_ADDR, req.getRemoteAddr());
> This needs to be added in Axis2 (AxisServlet.java), inside the createAndSetInitialParamsToMsgCtxt method.
>
> msgContext.setProperty(MessageContext.MC_REMOTE_ADDR, httpServletRequest.getRemoteAddr());
> Currently, the constant var MC_REMOTE_ADDR is not there in the MessageContext.java file.
> Can someone please help!!
--
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