Hello everyone,
Some time we have a need to configure connection time & socket time in rest adapter so it can live for a while and full fill our purpose.
For increasing connection timeout & readtime out you can do following thing:
Some time we have a need to configure connection time & socket time in rest adapter so it can live for a while and full fill our purpose.
For increasing connection timeout & readtime out you can do following thing:
- Go to composite.xml
- Search for your rest adapter reference.
- Add below properties:
<reference name="UserDetailsAccess" ui:wsdlLocation="WSDLs/UserDetailsAccess.wsdl">
<interface.wsdl interface="*******"/>
<binding.rest config="Adapters/UserDetailsAccess.wadl"
location="hURL">
<property name="http.connTimeout" many="false" override="may">5000000</property>
<property name="http.chunkSize" many="false" override="may">9</property>
<property name="http.readTimeout" many="false" override="may">5000000</property>
<property name="http.donotChunk" many="false" override="may">false</property>
</binding.rest>
</reference>
Thanks for sharing Good Information
ReplyDeleteOracle SOA Online Training Banaglore