Topic
  • 4 replies
  • Latest Post - ‏2012-11-28T19:11:27Z by swlinn
sam4u
sam4u
12 Posts

Pinned topic How to make URI dynamic for WS proxy service

‏2012-11-21T08:04:54Z |
Hi all,

I have developed a WS Proxy and want to invoke the proxy with the below URL pattern.
http://IP:port/URI/any name
So, the 'http://IP:port/URI' part of the complete URL should be static and after that '/any name' should be dynamic.

I have done the below steps to implement the use case.
1) After developing the WS proxy, I have created HTTP FSH and provided the '/URI' in Local end point URI section.
2) I have kept all the rules under Policy->WSDL->Service->Port->Operation
I have provided the 'URL' match as '*' in match action, means match all.
When, I am invoking the service it is throwing default fault message.

Please inform me if anybody has any idea on that use case.

Thanks & Regards,
Sam
Updated on 2012-11-28T19:11:27Z at 2012-11-28T19:11:27Z by swlinn
  • T736_Mayur_Garg
    T736_Mayur_Garg
    16 Posts

    Re: How to make URI dynamic for WS proxy service

    ‏2012-11-23T18:18:15Z  
    I tried the same thing in past and I believe it cannot be done for a WSP.
    You can do it for a MPGW or XMLFW.
  • swlinn
    swlinn
    1348 Posts

    Re: How to make URI dynamic for WS proxy service

    ‏2012-11-27T17:33:48Z  
    I tried the same thing in past and I believe it cannot be done for a WSP.
    You can do it for a MPGW or XMLFW.
    You can have dynamic backend urls in a WSP. On your WSP's Proxy Settings Page, Set the type to "Dyanmic Backend" and you can do what you want to do.

    Regards,
    Steve
  • T736_Mayur_Garg
    T736_Mayur_Garg
    16 Posts

    Re: How to make URI dynamic for WS proxy service

    ‏2012-11-28T02:27:33Z  
    Yes, we can have a dynamic backend in WSP.

    But, I thought we were talking about service URL to invoke the WSP.
  • swlinn
    swlinn
    1348 Posts

    Re: How to make URI dynamic for WS proxy service

    ‏2012-11-28T19:11:27Z  
    Yes, we can have a dynamic backend in WSP.

    But, I thought we were talking about service URL to invoke the WSP.
    Sorry, I missed that. I'm not aware that you can do this. The service URL used to invoke the WSP is all contained in the wsdl.

    Regards,
    Steve