Technote (troubleshooting)
Problem(Abstract)
Earlier versions of WPG Express allowed only the following default Content Types :
EDI-X12 – application/edi-x12
EDIFACT- application/edifact
EDI-Consent – application/edi-consent
XML – application/xml
Resolving the problem
With WPG Express 600 FP3, while transacting with a Partner one can specify a custom content-type for any of the four document types.
In the respective partner’s, partner.properties which will be located at
<bcgexpress installed location>\config\partners\<partnerName>\partner.properties
add the relevant property depending on the document type to be transacted
- bcg.connector.partner.edix12.custom.contenttype
- bcg.connector.partner.ediconsent.custom.contenttype
- bcg.connector.partner.xml.custom.contenttype
- bcg.connector.partner.edifact.custom.contenttype
that is, if a XML document needs to be sent out with a content-type of “application/SecondGenEDI”, then in the partner.properties the following property-value pair should be added
For eg- bcg.connector.partner.xml.custom.contenttype=SecondGenEDI
Similar configuration is also needed for receiving inbound transactions with custom content types.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.