Accessing TMRAP using soap

19 views
Skip to first unread message

Pierre Thibault

unread,
Mar 24, 2015, 4:34:31 PM3/24/15
to ont...@googlegroups.com
Hello,

I have no problem accessing TMRAP using rest put what is the url to use to access it using SOAP instead?

Quintin Siebers

unread,
Mar 25, 2015, 5:59:07 AM3/25/15
to Ontopia Mailing List
Dear Pierre,

I have no problem accessing TMRAP using rest put what is the url to use to access it using SOAP instead?

It seems Axis is having some conflicts in the 5.3.0 release. If you really need to have TMRAP running you can:
- Download the axis2.war (version 1.6.2) and place it in the apache-tomcat/webapps folder of the ontopia distribution
- Remove the crimson-1.1.3.jar (or rename to something not .jar) from the lib folder
- Copy the apache-tomcat/webapps/tmrap/WEB-INF/services/ontopia-tmrap-aar-5.3.0.aar to apache-tomcat/webapps/axis2/WEB-INF/services
- Restart Ontopia
http://localhost:8080/axis2/services/listServices should now display TMRAP as service.

I’m not sure what is wrong with TMRAP in the current release, so we’ll have te review this for new releases.

With regards

Quintin Siebers

--
(+31) (0)6 - 11 06 16 27


Morpheus Kennistechnologie BV
<URL: http://www.mssm.nl >
postbus 69
3500 CD Utrecht
KVK 30 26 04 30

On 24 mrt. 2015, at 21:34, Pierre Thibault <pierre.t...@gmail.com> wrote:

Hello,

I have no problem accessing TMRAP using rest put what is the url to use to access it using SOAP instead?

--
You received this message because you are subscribed to the Google Groups "ontopia" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ontopia+u...@googlegroups.com.
To post to this group, send email to ont...@googlegroups.com.
Visit this group at http://groups.google.com/group/ontopia.
For more options, visit https://groups.google.com/d/optout.

Pierre Thibault

unread,
Mar 25, 2015, 9:02:08 AM3/25/15
to ont...@googlegroups.com
Thank you Quintin.

I will continue with the rest service then. I hope this is working well.

Pierre Thibault

unread,
Mar 25, 2015, 10:30:47 AM3/25/15
to ont...@googlegroups.com
I have problem with the rest service too. For example, I did this query:

topic-name(city, $TNAME), variant($TNAME, $VARIANT), scope($VARIANT, plural), value($VARIANT, $VALUE)?

And I had this error:

HTTP Status 400 - net.ontopia.topicmaps.utils.tmrap.TMRAPException: Unsupported value: [basic.VariantName, 170 <Cities>]


type Status report

message net.ontopia.topicmaps.utils.tmrap.TMRAPException: Unsupported value: [basic.VariantName, 170 <Cities>]

description The request sent by the client was syntactically incorrect.


Apache Tomcat/6.0.37


The same query is working well when done from the human web interface.

While this query is working:

topic($t)?

I am using "ItalianOpera.ltm".

Is the fix you are talking about about fixing these issues?

I'll try your recipe. Otherwise, I'll have to create my own rest service.

Peter-Paul Kruijsen

unread,
Mar 25, 2015, 10:48:22 AM3/25/15
to ont...@googlegroups.com
Bonjour Pierre,

This TMRAP service expects either a TopicIF or a String object. Please restrict your tolog query, using ‘select $VALUE from topic-name(….’ to get the proper String value.

Best regards, Peter-Paul

Pierre Thibault

unread,
Mar 25, 2015, 4:25:42 PM3/25/15
to ont...@googlegroups.com
Thank you Peter-Paul. It works very nicely.
Reply all
Reply to author
Forward
0 new messages