Hi Junior,

You can observe that there is no option to set format with parameter from
UI as there are per-defined list for format. AFAIU setting format in
Endpoint Template is not possible with parameterized value.

Thanks
Sudharma

On Wed, Oct 4, 2017 at 2:31 AM, Júnior <[email protected]> wrote:

> Hi,
>
> Is it possible to make the Endpoint Dynamic? I am trying to use the format
> as a parameter to a endpoint template, but it seems to not be working.
>
> Is it possible to make this property dynamic?
>
> Follow the config I am trying to use:
>
>
> <template xmlns="http://ws.apache.org/ns/synapse";
> name="AGE_Endpoint_Template">
>    <axis2ns84:parameter xmlns:axis2ns84="http://ws.apache.org/ns/synapse";
> name="format"/>
>    <axis2ns85:parameter xmlns:axis2ns85="http://ws.apache.org/ns/synapse";
> name="timeout"/>
>    <endpoint name="$name">
>       <default format="$format">
>          <suspendOnFailure>
>             <errorCodes>-1</errorCodes>
>             <progressionFactor>1.0</progressionFactor>
>          </suspendOnFailure>
>          <markForSuspension>
>             <errorCodes>-1</errorCodes>
>             <retriesBeforeSuspension>0</retriesBeforeSuspension>
>             <retryDelay>0</retryDelay>
>          </markForSuspension>
>          <timeout>
>             <responseAction>fault</responseAction>
>          </timeout>
>       </default>
>    </endpoint>
> </template>
>
>
>
>
> Thanks,
>
> --
> Francisco Ribeiro
> *SCEA|SCJP|SCWCD|IBM Certified SOA Associate*
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Sudharma Subasinghe,
Software Engineer,
WSO2 Inc.
Email: [email protected] <[email protected]>
Mobile : +94 710 565 157 <%2B94%20718%20210%20200>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to