-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HPCC4J-604 Suppress EclWatch redirects #711
HPCC4J-604 Suppress EclWatch redirects #711
Conversation
Jira Issue: https://hpccsystems.atlassian.net/browse/HPCC4J-604 Jirabot Action Result: |
@drealeed please take a look. I'm not convinced this change is 100% responsible for fixing the issue we were experiencing but the issue is no longer reproducible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like that should fix the error I was getting. Thanks for jumping on it so fast.
@jpmcmu please take a look. |
@@ -574,6 +574,10 @@ protected Integer getStubConnectionTO() throws AxisFault | |||
static public Stub setStubOptions(Stub thestub, Connection connection) throws AxisFault | |||
{ | |||
Options opt = thestub._getServiceClient().getOptions(); | |||
EndpointReference toRef = opt.getTo(); | |||
String toAddress = toRef.getAddress() + (toRef.getAddress().contains("?") ? "&" : "?") + "rawxml_"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rpastrana I looked around to see if there was a different way to set a query parameter in Axis2, but wasn't able to find another method. However, I do wonder if we should be using the URL & URI classes here to add the query param instead of doing it manually.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I considered URL, but you were in the midst of removing URL from our project.
At this point, it doesn't seem worthwhile to introduce URL here to add a query param
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looked into the URL/URI classes since I'm adding the comment your suggested, but didn't find any convenient methods allowing us to easily add a query param
@@ -574,6 +574,10 @@ protected Integer getStubConnectionTO() throws AxisFault | |||
static public Stub setStubOptions(Stub thestub, Connection connection) throws AxisFault | |||
{ | |||
Options opt = thestub._getServiceClient().getOptions(); | |||
EndpointReference toRef = opt.getTo(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets add a comment why we are adding the rawxml_ query param here.
- Appends rawxml param to all axis2 client calls Signed-off-by: Pastrana <[email protected]>
b163dce
to
53da3db
Compare
@jpmcmu please review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
Type of change:
Checklist:
Testing: