The optional keyword CONTENT is used by HTTP services to control the type of content being accepted or the content type being sent.
It is highly recommended not to use the CONTENT keyword and accept the default value.
All HTTP services and content handlers are expecting a particular content type, if content is being received and its content type does not match the content, then use the CONTENT keyword to tell the service to accept the content if the content type matches the keyword value.
Some Outbound services and content handlers use the CONTENT keyword to specify the type of content to be created. The SEND command available with HTTPInboundSVService service and InboundSeparatedValue handler use the CONTENT keyword to direct the service to create CSV or TSV content.
A CONTENT keyword value of *ANY allows the service or content handler to receive content with any content type.
It is recommended to use the short cut names for the content keyword value.
|
Example
SERVICE_LOAD SERVICE(HTTPInboundXMLService) CONTENT(*HTML)
SERVICE_LOAD SERVICE(HTTPInboundXMLService) CONTENT(*ANY)