Posted: Tue Feb 21, 2006 11:45 pm Post subject: fpml message set creation
Novice
Joined: 21 Feb 2006 Posts: 19
To whomsoever
I am using Websphere 5 and MQ Broker workbench 5.3
I have the requirement to generate a very large message set from an fpml type schema. This schema is set in multiple files, linked by include. them main difference as far as I can see is that the main message, and many complex groups, does not include a normal content but instead is of a "type" which is defined.
When attempting to create the message definition file no elements show up and no "message" is generated however a number of global elements are created.
What can I try.
Do I need to do each file individually or should it pull the message together, all the subfiles have been imported into the same folder on the MQ Broker workbench.
Do I need to specify the structure in a different mode?
Below is the start of the .xsd file
<?xml version="1.0" encoding="utf-8"?>
<!--
== Copyright (c) 2002-2005. All rights reserved.
== Financial Products Markup Language is subject to the FpML public license.
== A copy of this license is available at http://www.fpml.org/documents/license
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns="http://www.fpml.org/2005/FpML-4-2" targetNamespace="http://www.fpml.org/2005/FpML-4-2" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xsd:include schemaLocation="fpml-fx-4-2.xsd"/>
<xsd:include schemaLocation="fpml-ird-4-2.xsd"/>
<xsd:include schemaLocation="fpml-eqd-4-2.xsd"/>
<xsd:include schemaLocation="fpml-return-swaps-4-2.xsd"/>
<xsd:include schemaLocation="fpml-cd-4-2.xsd"/>
<xsd:include schemaLocation="fpml-valuation-4-2.xsd"/>
<xsd:include schemaLocation="fpml-pretrade-4-2.xsd"/>
<xsd:include schemaLocation="fpml-tradeexec-4-2.xsd"/>
<xsd:include schemaLocation="fpml-posttrade-4-2.xsd"/>
<xsd:include schemaLocation="fpml-reporting-4-2.xsd"/>
<xsd:complexType name="ValuationDocument">
<xsd:annotation>
<xsd:documentation xml:lang="en">A type defining a content model that includes valuation (pricing and risk) data without expressing any processing intention.</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="DataDocument">
<xsd:sequence>
<xsd:element ref="market" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="valuationSet" minOccurs="0" maxOccurs="unbounded"/>
<!-- pricing and risk definitions -->
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="FpML" type="DataDocument">
<xsd:annotation>
<xsd:documentation xml:lang="en">The FpML element forms the root for any conforming FpML instance document. The actual structure of the document is determined by setting the 'type' attribute to an appropriate derived subtype of the complex type Document.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:schema> _________________ John Arden
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum