Topic
  • 4 replies
  • Latest Post - ‏2013-01-16T00:44:02Z by Oggu
Oggu
Oggu
3 Posts

Pinned topic WSDL Access XML FIrewall

‏2013-01-15T19:39:38Z |
Hi,

One of the requirement in my project is to be able to access and discover the service using WSDL which is being accessed currently via XML firewall on DP X150. Is this possible? when iam trying to use the uri?wsdl iam getting "Invalid SOAP envelope" issue any pointers or references will be helpful
Thanks
Oggu
Updated on 2013-01-16T00:44:02Z at 2013-01-16T00:44:02Z by Oggu
  • kenhygh
    kenhygh
    1607 Posts

    Re: WSDL Access XML FIrewall

    ‏2013-01-15T20:43:26Z  
    A Web Service Proxy handles ?wsdl automatically, since you have to configure WSDL for a WSP. An XML firewall isn't pre-defined with WSDL. You will have to build this support yourself, e.g. allowing GET, matching on '?wsdl', and returning the updated-with-the-DataPower-url WSDL to the caller.

    Ken
  • Oggu
    Oggu
    3 Posts

    Re: WSDL Access XML FIrewall

    ‏2013-01-15T22:12:32Z  
    • kenhygh
    • ‏2013-01-15T20:43:26Z
    A Web Service Proxy handles ?wsdl automatically, since you have to configure WSDL for a WSP. An XML firewall isn't pre-defined with WSDL. You will have to build this support yourself, e.g. allowing GET, matching on '?wsdl', and returning the updated-with-the-DataPower-url WSDL to the caller.

    Ken
    Thanks for the suggestion Ken. Where should i incorporate the support related allowing GET, matching on '?wsdl', and returning the updated-with-the-DataPower-url WSDL to the caller. Iam assuming XSLT , Correct me if iam wrong. Also suggest me options if there are multiple ways of achieving this
  • kenhygh
    kenhygh
    1607 Posts

    Re: WSDL Access XML FIrewall

    ‏2013-01-16T00:35:53Z  
    • Oggu
    • ‏2013-01-15T22:12:32Z
    Thanks for the suggestion Ken. Where should i incorporate the support related allowing GET, matching on '?wsdl', and returning the updated-with-the-DataPower-url WSDL to the caller. Iam assuming XSLT , Correct me if iam wrong. Also suggest me options if there are multiple ways of achieving this
    Hmm, ok. It looks like an XMLFW defaults to allowing GET, so you should be good there. You'll want a request rule with a regular expression match to match .*wsdl, a Fetch action to get your WSDL, and likely a transform to update the <address> to point to your DataPower URL instead of whatever is there now.

    Ken
  • Oggu
    Oggu
    3 Posts

    Re: WSDL Access XML FIrewall

    ‏2013-01-16T00:44:02Z  
    • kenhygh
    • ‏2013-01-16T00:35:53Z
    Hmm, ok. It looks like an XMLFW defaults to allowing GET, so you should be good there. You'll want a request rule with a regular expression match to match .*wsdl, a Fetch action to get your WSDL, and likely a transform to update the <address> to point to your DataPower URL instead of whatever is there now.

    Ken
    Thanks ken will give a shot with the abv mentioned inputs

    Regards
    Oggu