[oslc-AssetMgmt] Unable to register with service provider catalog
Sheehan Anderson
sheehan at us.ibm.com
Tue Jul 9 15:09:29 EDT 2013
This may be helpful.
http://dev.eclipse.org/mhonarc/lists/lyo-dev/msg00305.html
Looks like a similar issue.
Regards,
Sheehan
-----"Oslc-AssetMgmt" <oslc-assetmgmt-bounces at open-services.net> wrote: -----
To: Brechelmacher Otto <Otto.Brechelmacher at ait.ac.at>
From: Sheehan Anderson/Durham/IBM at IBMUS
Sent by: "Oslc-AssetMgmt"
Date: 07/09/2013 03:06PM
Cc: "oslc-assetmgmt at open-services.net" <oslc-assetmgmt at open-services.net>
Subject: Re: [oslc-AssetMgmt] Unable to register with service provider catalog
Hi
Are you using Lyo OSLC4J? Is that where the error is coming from? Could you provide the entire stack trace?
You may want to try the Lyo mailing list
https://dev.eclipse.org/mailman/listinfo/lyo-dev
They can probably provide more insight if the exception is coming from the SDK.
Regards,
Sheehan
-----"Oslc-AssetMgmt" <oslc-assetmgmt-bounces at open-services.net> wrote: -----
To: "oslc-assetmgmt at open-services.net" <oslc-assetmgmt at open-services.net>
From: Brechelmacher Otto
Sent by: "Oslc-AssetMgmt"
Date: 07/09/2013 10:59AM
Subject: [oslc-AssetMgmt] Unable to register with service provider catalog
Hello!
I am working on integrating an asset manager. Everything works fine, except OSLC registration.
When I try to register my artifact creation factory using @OslcCreationFactory at
@POST
@Path("{AssetId}/" + Constants.RESOURCE_PATH_ARTIFACTS)
an error occurs:
java.net.URISyntaxException: Illegal character in path at index 55: http://localhost:8080/AitAssetManager/services//assets/{AssetId}/artifacts
The registration of other services(asset creator/selector) works, because there is no “{…}“ in the URI.
But for artifacts it is necessary to have the parameter for the asset in the URI (http://open-services.net/wiki/asset-management/OSLC-Asset-Management-2.0-Samples/ - “Publish a URI artifact”).
How can I solve this problem?
OTTO BRECHELMACHER
Junior Engineer
Safety & Security Department
Safe and Autonomous Systems
AIT Austrian Institute of Technology GmbH
Donau-City-Strasse 1 | 1220 Vienna | Austria
M +43 664 8251393 | F +43 50550-4150
otto.brechelmacher at ait.ac.at | http://www.ait.ac.at
FN: 115980 i HG Wien | UID: ATU14703506
www.ait.ac.at/Email-Disclaimer
_______________________________________________
Oslc-AssetMgmt mailing list
Oslc-AssetMgmt at open-services.net
http://open-services.net/mailman/listinfo/oslc-assetmgmt_open-services.net
_______________________________________________
Oslc-AssetMgmt mailing list
Oslc-AssetMgmt at open-services.net
http://open-services.net/mailman/listinfo/oslc-assetmgmt_open-services.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://open-services.net/pipermail/oslc-assetmgmt_open-services.net/attachments/20130709/84ff993c/attachment-0003.html>
More information about the Oslc-AssetMgmt
mailing list