January 2009 Entries

Controlling the WSDL created from a .Net Web Service

Download DataBindingAndWebService - 26.41 KB Introduction Its good practice to design the interface to a web service by applying the same standards that would normally be applied to an XML Schema. It should be versioned, extensible and be well structured allowing for good reuse. Background Within a Web Service all the messages are described using an XML Schema (XSD), so it makes sense to design our interface in terms of an XML Schema, and then embed this into our web service. Liquid XML Studio is...

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Problems Parsing DTD's

I recently had put a DTD parser together, there are a few open source ones out there but only for perl, java and C++, and our target platform is C#, so I had to start over. I initially thought the parser would be pretty straight forward, until I hit upon a little jem in the DTD standard that allows for text substitution. This puts a whole new complexion on the problem, because the DTD standard can define substitutions (defined using the ENTITY tag), it can take a number of parses to determine a documents...

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

XML Editor

We've been doing some work with FpML (Financial Products Markup Language) which is an XML standard for describing trades between investment banks, swaps, futures etc. Its a complicated standard in the form of an XSD (XML Schema). So producing XML that is valid against the FpML schema is not entirely straight forward. The best approach we found was to prototype the XML messages by hand before writing the code that would do this automatically from our front office system. This was reasonably straight...

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati