Service and ResourceService

27 views
Skip to first unread message

bostoM

unread,
Dec 3, 2021, 12:37:26 PM12/3/21
to TopBraid Suite Users
Hello,

  In my main ontology I create a ResourceService with simple js script. Then, I try to call it as a service : 
I obtained an 404 not found.
Did I need a special configuration on my edg to access my ontology service ?
Thanks for your help.
Best,

Holger Knublauch

unread,
Dec 3, 2021, 7:26:08 PM12/3/21
to topbrai...@googlegroups.com

You should see the service listed on the Reports tab under

which, among others, has a feature to try out the service

And there you should see the full URL of how to invoke the service.

Have you tried this and what is different from the URL that you have called?

Holger

--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/6026f74d-ea39-4033-b662-4545a733c641n%40googlegroups.com.

bostoM

unread,
Dec 6, 2021, 4:26:32 AM12/6/21
to TopBraid Suite Users
Thanks Holger,

  My report tab include only comparison report, statistics and property value rules. Did I forget to setup some properties in my configuration ?

Best,

Holger Knublauch

unread,
Dec 6, 2021, 7:27:19 PM12/6/21
to topbrai...@googlegroups.com

Judging from the source code (teamwork:ServicesSwaggerPlugin) the Swagger link will show up if

    EXISTS {
        ?cls (rdfs:subClassOf)+ dash:Service .
        ?service a ?cls .
    }

which means that the asset collection or one of its imports need to define at least one instance of dash:Service, or a subclass of that.

If you want to send me your example off-list, I can take a look at what could be different. You could export it (with imports) to TriG and send me a zip of that.

Holger

Reply all
Reply to author
Forward
0 new messages