pub.marketconnect.transport:sendenvelope MML and BizTalk


Business partner changing to application using BizTalk from an application using webMethods. The current production integration, webMethods to webMethods, using the C1 OnRamp works fine. The new integration using the C1 OnRamp on our side to BizTalk on the partners side is not working.

We send a MML envelope with xCBL transactions and attachments. The MML envelope is accepted by the BizTalk application and the contents are processed correctly. The BizTalk application attempts to return a MML envelope containing an Ack, but the C1 OnRamp does not accept the Ack. The C1 OnRamp displays the following Java dump:

com.commerceone.xdk.excp.metadox.a.EnvelopeInvariantException: Mime Problem: Error in input stream;
nested exception is: Connection closed by remote host.
at com.wm.pkg.commerceOne.EnvelopeManager.sendEnvelope(
at wm.marketconnect.xdk.transport.http.sendEnvelope(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(

etc etc

Our firewall does not allow inbound transactions that have initiated from outside of the firewall. This combined with low level debugging on the Integration Server makes us think that a stateful session is being maintained. The IS logs show that BizTalk allows session beans.

We’re looking for advice on whether to pursue the integration of the C1 OnRamp with BizTalk or not.

Thanks, Jeff


Sounds Interesting!..Can you please reach out to SAG support also and see if they can answer the C1 adapter site of aspects for the MarketConnect to Biztalk and BTW,which version of C1 ramp are you running on 3.5 or 4.0?



Product: webMethods B2B OnRamp for Commerce One MarketSite
Version: 3.0
Build Number: 58


OK thx…but also not sure if you have C1 OnRamp 3.5 or 4.0 helps in anway.

Also check with your partner on BizTalk settings to allow Sync ack sent back (vs. Async ack). That way they won’t need to open a new connection to your system for delivery of the ack.

Yes another good check point brought up… :smiley:


Did experiment of transmitting MML envelope by:

  1. Change MML envelope to a String.

  2. doInvoke(“pub.client”, “http”, tmpPipeline);

Receive back:
HTTP code = 200 in /header/status
MML envelope with Ack transaction in body

We’re thinking this demonstrates that we and our business partner do have a stateful session. Problem seems to be that the C1 OnRamp wants something from BizTalk, BizTalk does not provide it, and the C1 OnRamp closes the door on any response.