[Fiware-ngsi] Help with Association fields in NGSI-9

t.elsaleh at surrey.ac.uk t.elsaleh at surrey.ac.uk
Wed Jan 15 16:31:19 CET 2014


Hello Raihan,
I am using the XSD for generating the classes for the Association fields.

I have come across a problem. In the contextMetadata schema, name, type and value are defined. But value is simply defined as anyType, Although, fields like sourceEntityId, targetEntityId, AttributeAssociationList have not been defined as part of "value".  Therefore I cannot access this information when converting the XSD to classes.

I'm not sure I explained this well, but would you be able to help me in this matter?

Best regards,
Tarek



From: Raihan Ul-Islam [mailto:raihan.ul-islam at neclab.eu]
Sent: 22 May 2013 09:04
To: Elsaleh T Mr (Electronic Eng)
Cc: fermin at tid.es; fiware-ngsi at lists.fi-ware.eu
Subject: RE: [Fiware-ngsi] Help with Association fields in NGSI-9

Hi Tarek ,All

I am attaching the XSD file for association that we are using. Please let me know your views on it.

Thanks
Raihan

From: fiware-ngsi-bounces at lists.fi-ware.eu<mailto:fiware-ngsi-bounces at lists.fi-ware.eu> [mailto:fiware-ngsi-bounces at lists.fi-ware.eu] On Behalf Of t.elsaleh at surrey.ac.uk<mailto:t.elsaleh at surrey.ac.uk>
Sent: 21 May 2013 17:56
To: fermin at tid.es<mailto:fermin at tid.es>; fiware-ngsi at lists.fi-ware.eu<mailto:fiware-ngsi at lists.fi-ware.eu>
Subject: Re: [Fiware-ngsi] Help with Association fields in NGSI-9

Hello Fermin, All,

I'm not sure who wrote the original XSD, but if whoever wrote it can also create another one containing the associations, that would help a lot! Unfortunately I'm not well versed with XSDs, but I'm believe this won't be a burden on whoever wrote the original one.

Best regards,
Tarek



From: fiware-ngsi-bounces at lists.fi-ware.eu<mailto:fiware-ngsi-bounces at lists.fi-ware.eu> [mailto:fiware-ngsi-bounces at lists.fi-ware.eu] On Behalf Of Fermín Galán Márquez
Sent: 21 May 2013 13:09
To: fiware-ngsi at lists.fi-ware.eu<mailto:fiware-ngsi at lists.fi-ware.eu>
Subject: Re: [Fiware-ngsi] Help with Association fields in NGSI-9

Dear Tarek,

In our particular case (TID) we don't use JAX-B, as our implementation is based on C++ (any analogous library to JAX-B in C++? :) but I think that write the XSD for the associations extension (probably not in the "core" XSD files but in a separate one as associations is an extension) would be a good idea.

My two cents...

Best regards,

------
Fermín

El 21/05/2013 13:57, t.elsaleh at surrey.ac.uk<mailto:t.elsaleh at surrey.ac.uk> escribió:
Hello Everyone,

I would like to know if the association fields have been added in the NGSI-9 xsd, so that I could be able to generate them using JAX-B?

...or is there an easier way?

Best regards,
Tarek



_______________________________________________

Fiware-ngsi mailing list

Fiware-ngsi at lists.fi-ware.eu<mailto:Fiware-ngsi at lists.fi-ware.eu>

https://lists.fi-ware.eu/listinfo/fiware-ngsi

________________________________

Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo.
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at:
http://www.tid.es/ES/PAGINAS/disclaimer.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-ngsi/attachments/20140115/79d7d866/attachment.html>


More information about the Fiware-ngsi mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy