Add basic extension xsd that contains link details. Add those link details to the link (and ports...) and marshal then unmarshal.