cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Arbortext Editor ACL - send content via java to a webservice - java_static alternative?

hbestler
12-Amethyst

Arbortext Editor ACL - send content via java to a webservice - java_static alternative?

Hi together,

 

we are currently testing the newest version of the Arbortext Editor 8.1., because we are using 7.1. M060 and want to update to be up to date.

 

We are using some customizations in ACL like sending the full marked text from the xml to a java interface, which sends the xml content to a web service. This webservice returns an "errors.xml" back, which we check and create a xui window with these entries of "errors" and show them to the user.


We noticed with version 8.1. that our java_static command gets an exception. If we install 7.1. M060 the same code works. Do you think that behaviour has something to do with the java integration in the arbortext editor versions?

 

Or: Do you have an idea how we can send the xml content to our webservice without java?

 

This is our ACL code:

$sel = main::selection
$java_rueckgabe = java_static('ArbortextServiceWrapper','CheckJurBookPlausibility',$sel)

 

Greetings from Germany

1 ACCEPTED SOLUTION

Accepted Solutions

PTC documentation for Arbortext says "Oracle Java 11 and Amazon Corretto 11 are supported".

Download links are available in the relevant knowledge base article https://www.ptc.com/en/support/article/cs375263.

View solution in original post

5 REPLIES 5

Do other java_static() method calls work? If so it may be that the 8.1 Java is slightly incompatible with 7.1 Java, the exception details and stack trace would help narrow it down. I believe 8.1 uses a much newer version of Java than 7.1. Which version of Java did you install? Oracle? OpenJDK? Corretto?

You could also report this to PTC support for help.

Hi @GarethOakes,

first of all, thanks for your answer. As we installed 8.1. we get errors to start a java virtual machine. After that error we installed amazon corretto and after that the start of the Arbortext editor was successfull. But as mentioned above we have problems with our java code. Maybe we try first of all to install another alternative java. We hope maybe that would be the solution. Our colleague is unfortunately not working for us, who coded the java code. Which java do you recommend? 

The Oracle Java is the original so you may have better luck with that.

and do you know which version of oracle java? maybe a download link?

PTC documentation for Arbortext says "Oracle Java 11 and Amazon Corretto 11 are supported".

Download links are available in the relevant knowledge base article https://www.ptc.com/en/support/article/cs375263.

Top Tags