- This topic has 6 replies, 4 voices, and was last updated 8 years, 3 months ago by .
- The forum ‘FpML Version 5.0 (Closed for Posting)’ is closed to new topics and replies.
Transition to HTTPS July 19 – Be advised that the FpML website has transitioned to secure HTTP on July 19. URLs are now forwarded to HTTPS automatically. Please make sure you update any internal implementation relying on HTTP URLs accordingly. For further information please email email@example.com
With JAXB the product classes ( like FxOption etc) are getting generated as empty for 5.3. Anybody using JAXB for marshaling and unmarshalling of messages successfully. if yes, please let me know the details for generating the schema classes.
I’m having the exact same problem here. It seems that all the classes extended from the Product are generated as the empty classes. xjc doesn’t seem to support the mixin group with choices well.
have you find any good solution?
Hi, Was anybody able to fix the above issue?
Doesn’t matter, It turns out that i used a wrong xsd to generate JAXB classes and it was missing certain products in ObjectFactory class which i was interested in. Created JAXB classes from fpml-main-5-5.xsd and the unmarshalling works properly now.
Hi, Could you mention which method from objectfactory we need to use to Marshal the datadocument?
Hi, Could you mention which method from objectfactory we need to use to Marshal the datadocument? i’m getting the following JAXB exception while marshaling. Error: “javax.xml.bind.JAXBException: org.fpml.fpml_5.pretrade.DataDocument is not known to this context”