[oslc-AssetMgmt] Unable to register with service provider catalog
Brechelmacher Otto
Otto.Brechelmacher at ait.ac.at
Tue Jul 9 10:57:57 EDT 2013
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<http://localhost:8080/AitAssetManager/services/assets/%7bAssetId%7d/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<mailto:otto.brechelmacher.fl at ait.ac.at> | http://www.ait.ac.at<http://www.ait.ac.at/>
FN: 115980 i HG Wien | UID: ATU14703506
www.ait.ac.at/Email-Disclaimer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://open-services.net/pipermail/oslc-assetmgmt_open-services.net/attachments/20130709/5f28feaa/attachment-0003.html>
More information about the Oslc-AssetMgmt
mailing list