Topic
  • 3 replies
  • Latest Post - ‏2013-02-06T18:48:04Z by chauhan_vin1
SystemAdmin
SystemAdmin
6772 Posts

Pinned topic Regarding matching URI in WSP

‏2013-02-05T11:38:10Z |
Hi,

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.
Thanks.
Updated on 2013-02-06T18:48:04Z at 2013-02-06T18:48:04Z by chauhan_vin1
  • kenhygh
    kenhygh
    1577 Posts

    Re: Regarding matching URI in WSP

    ‏2013-02-05T13:00:27Z  
    A WSP is driven by WSDL, is '/lee' in your WSDL?

    The log will have more details about the internal error.

    Ken
  • SystemAdmin
    SystemAdmin
    6772 Posts

    Re: Regarding matching URI in WSP

    ‏2013-02-06T04:27:51Z  
    • kenhygh
    • ‏2013-02-05T13:00:27Z
    A WSP is driven by WSDL, is '/lee' in your WSDL?

    The log will have more details about the internal error.

    Ken
    Hi,

    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.
    Thank you.
  • chauhan_vin1
    chauhan_vin1
    24 Posts

    Re: Regarding matching URI in WSP

    ‏2013-02-06T18:48:04Z  
    Hi,

    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.
    Thank you.
    Think 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...

    Thanks,
    Vineet