Earlier versions of WPG Express allowed only the following default Content Types :
EDI-X12 – application/edi-x12
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
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.