Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to assign resourceURL dynamically in AssignMessage Policy

Hi Team,

I want to return WSDL dynamically based on the resource path with in same proxy dynamically. For now i can only return by explicitly mentioning the resourceURL.

I want to create the variable and assign URL - this logic i know how to do

Now i am not able to mention that variable in resourceURL.

Could you please advise ?

<AssignMessage name="AM-WSDLResponse"> 
  <Set> 
    <Payload contentType="text/xml"
             resourceURL="template://test.wsdl"/>
  </Set>
  <IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables> 
  <AssignTo
      createNew="false" transport="http" type="response"/>
</AssignMessage>
1 6 561
6 REPLIES 6