Here is what I've done so far:
1. Converted the DTDs to XSDs using Stylus Studio (same could be done with traang)
2. Made some very minor changes to the XSDs, I think I found one error where !ELEMENT should have been !ATTLIST
3. Created C# class files from the XSDs
- Code: Select all
xsd SystemLinkResponse.xsd /c /fields /language:CS /namespace:SystemLinkResponse
xsd SystemLinkRequest.xsd /c /fields /language:CS /namespace:SystemLinkRequest
4. Fixed CS0030 compiler error I was getting by changing Property[] type to Object[] on the Constraint element
5. Derived XmlTextWriter to write the DTD node at the top of the XML.
6. Created a routine to serialize SystemLink object to and from XML.
7. Successfuly used httpWebRequest/Response to send and receive and parse SystemLinkResponse.
7. Next steps: *probably get a copy of SL and deploy a profiled service *move away from raw XML and develop something solid around the operations exposed by EI *use WCF to envelop the XML in SOAP and expose only what I want for B2B
Parsing SystemLinkRequest object to XML:
http://code.midrange.com/1225bf56d3.html
Similar example dealing with raw XML in java:
http://code.google.com/p/get-on-the-bus/
