B2B Outbound operation not working
Hi All,
I am doing to a B2B outbound operation(PositionalFlatFile Protocol) i.e., writer a file to the folder in server (partner's channel). In my JDev Composite App,I have a mediator exposed as a service and a B2B adapter as a reference. In the mediator using xsl, i have assigned all the data. And using Assign values, i have given the values for b2b.messageId, b2b.fromTradingPartnerId, b2b.toTradingPartnerId, b2b.documentProtocolVersion,b2b.documentTypeName, b2b.messageType. In the B2B console,i created the agreement MyCompany--->Partner. In the agreement, if i check the translate option, the file is being written to the folder but the contents of the file is completely empty. If i uncheck the translate option the file is being written and the structure of the contents is in xml format.IF i check the validate option, the file is not being written at all. If i see the reports tab and see the error message, it says "payload validation error". what could be going wrong ? I want to write the file in the EDI format, not in the XML format.
And also, in the identification tab of the document definition, i didn't mention any values ( for identification value, identification start position, identification end position) like we do for inbound operation. Do we need to mention these values for B2B outbound operation also ?
Experts, please help me.
Thanks,
Naresh