I have created FSH with port Number as 2000 and URI with just "/",
In my rule, i need to match for anything coming in URL with */lee
The WSP is working fine when i hit with URL http://10.226.33.18:2000/
but wen i am trying to trigger with http://10.226.33.18:2000/lee, it is giving Internal error.
Is it not possible in WSP to hit with URI ending with /lee as I have configured a match action in the rules defined for WSP.
The same works in MPGW.
Any help is appreciated.
This topic has been locked.
3 replies Latest Post - 2013-02-06T18:48:04Z by chauhan_vin1
Pinned topic Regarding matching URI in WSP
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-02-06T18:48:04Z at 2013-02-06T18:48:04Z by chauhan_vin1
kenhygh 120000PD1B764 Posts
SystemAdmin 110000D4XK6772 PostsACCEPTED ANSWER
Re: Regarding matching URI in WSP2013-02-06T04:27:51Z in response to kenhyghHi,
My problem is in the Front side handler settings.
The WSP does not accept URI to be blank so i gave just a slash("/") so that the WSP gets created successfully.
My FSH Settings are :
Local EndPoint Handler having Port Number as : 2000
URI : /
For remote Endpoint URL, i have created a XMl firewall which is just a pass through service and i am not using WSDL's backend information.
In my rules, in the first match action I am trying to do a URL match for "/lee" and in the second rule match action has a "" is being defined.(so that second rule gets triggered when http://10.226.33.18:2000/ is hit and first rule gets triggered for the url http://10.226.33.18:2000/lee )
But wen i am trying to trigger : http://10.226.33.18:2000/lee I am getting in the log as "source-http (207635_FSH_ICD10): No WS-Proxy service endpoints matched request."
So is it that a URL match for "/lee" can never happen as the request is not coming into the WSp at all??
Is there any other possibility of making this happen. Please let me know.
chauhan_vin1 270001607E24 PostsACCEPTED ANSWER
Re: Regarding matching URI in WSP2013-02-06T18:48:04Z in response to SystemAdminThink it as a web-server - you have hosted your WSP on the root context "/".
So Anybody hitting - http://10.226.33.18:2000/ , Can get to you WSP.
Now you are saying "but wen i am trying to trigger with http://10.226.33.18:2000/lee, it is giving Internal error.".
You request rule match action is left with just "lee" to match because till http://10.226.33.18:2000/ - is the context root of your WSP.
And it wont match cuz - it will only let */lee pass through it - So make your URL - http://10.226.33.18:2000//lee or http://10.226.33.18:2000/skdjskdj/lee or http://10.226.33.18:2000/garbage/lee - all will pass.
I hope you followed...