on 05-15-2007 8:13 PM
Hello,
I need to send Multiple MIME document to third party URL with following format:
Message-ID:
Date:
Mime-Version: 1.0
Content-Type: multipart/related;
boundary="----=_Part_21_.....
Content-ID:
x-Date-Sent:
x-Document-Type: Order
x-Priority:
x-Correlation-Id:
x-Request-Mode: peer-peer; ack=yes; delivery=express
x-Request-Annotation: normal
x-Sender-Id:
x-Message-Format: Commerce One 1.0 N; owner="Commerce One"; version=1.0; date="June 1999"; variant=N
x-Recipient-Id:
x-Date-Recieved:
x-Message-Id:
-
=_Part_21_....
Content-Type: application/xml; owner=x-commerceone; version=1.0; type=Order;
ns="urn:x-commerceone:document:com:commerceone:XCBL30:XCBL30.sox$1.0"; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-ID:
Content-Description:
Content-Disposition: inline
<?soxtype urn:x-commerceone:document:com:commerceone:XCBL30:XCBL30.sox$1.0?>
<Order>
<OrderHeader>
....
</OrderHeader>
.....
</Order>
-
=_Part_21_.....
Content-Type: application/xml; owner=x-commerceone; version=1.0; type=catalog;
ns="urn:x-commerceone:document:com:commerceone:xdk:xml:catalog.dtd$1.0"; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-ID:
Content-Description: Catalog
Content-Disposition: inline
<?xml version="1.0"?>
<!DOCTYPE catalog [
<!ELEMENT catalog ((map)*) >
<!ELEMENT map EMPTY >
<!ATTLIST map
uri CDATA #REQUIRED
to CDATA #REQUIRED >
]>
<catalog>
</catalog>
-
=_Part_21_.......
Is this possible through HTTP Adapter?
Can I use prolog and epilog to send envelope information?
I have to send this to webmethods. Previously same data was sent using marketset connector of BC.
Please help....
Thanks,
Beena.
You can create the whole multipart part with Java mapping.
I am not sure of you the use of prolog and epilog provides you with enough flexibility.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thnaks Stefan,
I understood how to create MIME but I have another issue.
As I mentioned earlier the recipient is WebMethods.
Previously Business Connector Marketconnect adapter was communicating with WebMethods marketconnect adapter, so there was no issue with message format.
The receiver flow service expects commerceone envelope as input.
Now I need to replace BC marketconnect adapter with XI. There is no marketplace involved, it directly communicates with Webmethods marketconnect. As I will send the multipart mime to flow service, it will be received as string and flow service will not be able to accept it as it expects commerceone envelope structure.
How should I solve this?
Please help.
Thanks,
Beena.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefan,
Do I need to hardcode boundary in content-type?
Also while creating multipart mime using java mapping how do I specify MessageId, ContentId and CorrelationId?
Thanks,
Beena.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefan,
Thanks .....but is it possible to send multipart mime using HTTP adapter.
I have webmethods flowservice at receiving end which expects commerceone envelope (the structure i have already specified).
Thanks,
Beena.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.