WebSphere Enterprise Service Bus, Version 6.2.0 Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows


Setting the binding descriptor for an HTTP Export

If you want to configure each HTTP message that is published to the same operation on the export to use a different WebSphere® Transformation Extender map, you must configure the message to use the WebSphere Transformation Extender data binding descriptor.

Before you begin

Use the WebSphere Transformation Extender data binding for HTTP exports.

You can set the WebSphere Transformation Extender data binding descriptor on both the response and request messages for an HTTP export.

The HTTP client sending requests to the HTTP export sets the data binding descriptor in the request message header or on the URL.

About this task

Set the data binding descriptor on the request message for an HTTP export when you want to configure the messages individually.

Set the data binding descriptor on the response message using the mediation flow component for an HTTP export when you want to configure the messages individually.

If you do not need to configure messages individually, it is recommended that you use the custom properties within the binding itself to make the association with WebSphere Transformation Extender.

Procedure
  1. Configure the request message. There are two ways to set the data binding descriptor in the request message:
    Option Example
    Create a custom HTTP header called DataBindingDescriptor in the HTTP export. databinding://WTX/map?businessObject=Customer& contentType =EDI
    Add additional query parameters on the URL. http://www.ibm.com/Export1/map?businessObject=Customer&contentType=EDI
    In general, it is impractical to create the custom headers; setting query parameters on the URL is the recommended method.
  2. Configure the response message. Set a custom header called DataBindingDescriptor for this export in the mediation flow component.

task Task topic

Terms of use | Feedback


Timestamp icon Last updated: 21 June 2010


http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/topic//com.ibm.websphere.wesb620.doc/doc/tadm_setwtxstreamhttpexp.html
Copyright IBM Corporation 2005, 2010. All Rights Reserved.
This information center is powered by Eclipse technology (http://www.eclipse.org).