473,385 Members | 1,740 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Has anyone implemented ebXML messages using C# Client?

Hi,

Has anyone out there managed to write a C# Web Service client which can add
ebXML data to the SOAP Enveloper? And if so, could you please give me some
pointers? I just can't figure out how to programmatically create a SOAP
Envelope in this format.

I've added a sample of a message I have to produce below, in the hope that
someone can make sense of it.

Any help would be greatly appreciated.

Thanks.

George.

Content-Type: multipart/related; type="text/xml";
boundary="----=_Part_0_14114039.1107448735093"
SOAPAction: urn:nnn:names:services:mm/XXXXX9999999999
Content-Length: 6121

------=_Part_0_14114039.1107448735093
Content-Type: text/xml; charset=UTF-8
Content-Transfer-Encoding: binary

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/
http://www.oasis-open.org/committees/ebxml-msg/schema/envelope.xsd">
<soap:Header
xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd
http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd">
<eb:MessageHeader
eb:id="ID301816781107448734968server" eb:version="2.0"
soap:mustUnderstand="1">
<eb:From>
<eb:PartyId
eb:type="urn:nnn:names:partyIdType:ocs+serviceInst ance">C83030-0000537</eb:PartyId>
<eb:Role>Sender</eb:Role>
</eb:From>
<eb:To>
<eb:PartyId
eb:type="urn:nnn:names:partyIdType:ocs+serviceInst ance">T141C-0000010</eb:PartyId>
<eb:Role>Receiver</eb:Role>
</eb:To>
<eb:CPAId>S718A4015</eb:CPAId>
<eb:ConversationId>7DDA60FB-2590-429E-A2D0-7EAF6818BA50</eb:ConversationId>
<eb:Service
eb:type="string">urn:nnn:names:services:mm</eb:Service>
<eb:Action>XXXXX9999999999</eb:Action>
<eb:MessageData>
<eb:MessageId>7DDA60FB-2590-429E-A2D0-7EAF6818BA50</eb:MessageId>
<eb:Timestamp>2005-02-03T16:38:53.343Z</eb:Timestamp>
</eb:MessageData>
<eb:DuplicateElimination/>
</eb:MessageHeader>
<eb:SyncReply
eb:id="ID330133711107448735015server" eb:version="2.0"
soap:actor="http://schemas.xmlsoap.org/soap/actor/next"
soap:mustUnderstand="1"/>
<eb:AckRequested
eb:id="ID185110871107448734734server" eb:signed="false"
eb:version="2.0"
soap:actor="urn:oasis:names:tc:ebxml-msg:actor:toPartyMSH"
soap:mustUnderstand="1"/>
</soap:Header>
<soap:Body
xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd"
xsi:schemaLocation="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd
http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd">
<eb:Manifest
eb:id="ID331964241107448735015server"
eb:version="2.0">
<eb:Reference
eb:id="ID223160521107448734937server"
xlink:href="cid:A1107448734937.257@server"
xlink:type="simple"
xmlns:xlink="http://www.w3.org/1999/xlink"/>
</eb:Manifest>
</soap:Body>
</soap:Envelope>

------=_Part_0_14114039.1107448735093
Content-Type: application/xml
Content-Transfer-Encoding: 8bit
filename: XXXXX99999999994_MMD_7DDA60FB-2590-429E-A2D0-7EAF6818BA50.MMD
Content-Id: <A1107448734937.257@server>

<?xml version="1.0"?>
<XXXXX9999999999 xmlns="urn:gre-org:v3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<id root="7DDA60FB-2590-429E-A2D0-7EAF6818BA50"></id>
</XXXXX9999999999>

------=_Part_0_14114039.1107448735093--
Nov 23 '05 #1
0 3233

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: paco | last post by:
Hi, I am looking for advice on implementing ebXML messaging(ebMS) in Python. Any input? (www.ebxml.org). Thanks.
0
by: Francesco | last post by:
I don't understand if there is a relationship between ebXML and BPEL. I thought that BPEL replaces ebXML, but i am not sure. ebXML replaces EDI. BPEL is a language developed by M$,IBM, BEA, SAP...
11
by: ricolee99 | last post by:
Hi everyone, I'm trying to invoke my .exe application from a remote server. Here is the code: ManagementClass processClass = new ManagementClass ("\\\\" +"RemoteServerName" +...
5
by: zorhel | last post by:
Hi. My clients will be IE, Mozilla and Opera in a Windows and *nix OS. So, my web app need to, from a server, send messages to a specific client (browser), send messages for all clients,...
1
by: KJ | last post by:
Hello All, A customer of mine needs to get set up as an ebXML client in order to receive labor data from VW, and I am tasked with getting this up and running. This might be the first in a line...
0
by: pie8ter | last post by:
I am not sure if this is the right forum for this, but here goes. I am trying to find a way to implement the following with our ebMS. We (say CompanyXYZ) manage CompanyA's ebXML trading with...
4
by: unwantedspam | last post by:
Thank you in advance for reading this. I need to have two applications send messages over the network to each other. Basically one server application and (possibly) many client applications. I am...
7
by: Anil | last post by:
I have a Javascript program which runs in the browser and has functions work(), and stop(). It listens to commands from the server to work() and can be interrupted by the server to stop(). I am...
2
by: Mr. Arnold | last post by:
I mean the ability to call a Web service or a WCF service with Service Broker using CLR code that's running on SQL server is very good. I am programming this in a project for a client that's being...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.