SOAP service discovery

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
robleer
Posts: 285
Joined: Wed Jul 14, 2010 7:01 pm

SOAP service discovery

Post by robleer »

Hi,

I had a 6.x Aware application which used the SOAP functionality.
I've upgraded that 6.x to 8.3 and also changed the SOAP interface on the other side.

When I used the "Discover SOAP Service" button in the past, it gave me 1 SOAP service (CourseResults) and two objects CourseResultsParam and CourseResultsResponse.

When I now do the same in 8.3 the CourseResultsParam is now "CourseResults" (so without the Param addition).

Second problem, when I run this service call (REQUEST SERVICE) it gives an "Internal error" with no further explanation in the log files. Maybe it has something to do with each other?

Is this changed or what can cause this?

TIA,

Rob
Using 8.7 Professional 3025 on MySQL/Windows
robleer
Posts: 285
Joined: Wed Jul 14, 2010 7:01 pm

Re: SOAP service discovery

Post by robleer »

Maybe the question is not clear and I will add two images to explain it better.

In the Aware version 6, when you press the Discover function, you get other objects than in version 8. The end with "Param".

When you do the same in 8, you get other objects and you cannot rename or edit them anymore.

Second thing, whatever I do to call a simple SOAP server this way (in V8) I always get an "Internal error".

INFO | jvm 1 | 2021/09/29 12:37:03 | Getting logged in user...
INFO | jvm 1 | 2021/09/29 12:37:03 | admin
INFO | jvm 1 | 2021/09/29 12:37:04 | Got XML request <root><get_processes_action /></root>
INFO | jvm 1 | 2021/09/29 12:37:06 | Got XML request <root><start_process_action process_name="CallService" force_no_collection="false" screen_width="1661" screen_height="1094" screen_orientation="landscape" ></start_process_action></root>
INFO | jvm 1 | 2021/09/29 12:37:06 | Calling BAS server
INFO | jvm 1 | 2021/09/29 12:37:06 | Exception thrown com.bas.connectionserver.server.BASServerException Internal error.
INFO | jvm 1 | 2021/09/29 12:37:06 | com.bas.connectionserver.server.BASServerException: Internal error.
Attachments
WrongNew.PNG
WrongNew.PNG (17.32 KiB) Viewed 6616 times
GoodOld6.PNG
GoodOld6.PNG (26.65 KiB) Viewed 6616 times
Using 8.7 Professional 3025 on MySQL/Windows
Jaymer
Posts: 2430
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: SOAP service discovery

Post by Jaymer »

I read it (twice) and still can't help. No SOAP in 6. No SOAP now. no clue. sorry
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: SOAP service discovery

Post by aware_support »

8.3 is an old version. Please try the latest one - if you still have problems let us know
Aware IM Support Team
robleer
Posts: 285
Joined: Wed Jul 14, 2010 7:01 pm

Re: SOAP service discovery

Post by robleer »

Sorry, I use 8.6 (build 2927). Not 8.3
Using 8.7 Professional 3025 on MySQL/Windows
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: SOAP service discovery

Post by aware_support »

Can you attach a URL of the WSDL file that gives you an internal error. And also the URL of the WSDL that works differently now?
Aware IM Support Team
robleer
Posts: 285
Joined: Wed Jul 14, 2010 7:01 pm

Re: SOAP service discovery

Post by robleer »

Unfortunately not, its running on an internal server which is not accessable from the web
Using 8.7 Professional 3025 on MySQL/Windows
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: SOAP service discovery

Post by aware_support »

Can you then provide output of the Aware IM server when you get an internal error?

(you provided output of Tomcat, but we need the Aware IM server output)
Aware IM Support Team
robleer
Posts: 285
Joined: Wed Jul 14, 2010 7:01 pm

Re: SOAP service discovery

Post by robleer »

Sorry, I was off for holiday for a while. This is the outpur of the wrapper.log

| jvm 1 | 2021/10/28 09:56:32 | com.bas.basserver.executionengine.ExecutionException: Internal error.
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.executionengine.rliproc.F.E(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.executionengine.rliproc.F.Q(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.executionengine.rliproc.H.A(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.executionengine.rliproc.H.C(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.executionengine.rliproc.H.U(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.executionengine.rliproc.H.B(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.executionengine.rliproc.H.A(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.executionengine.rliproc.H.execute(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.executionengine.ExecutionEngine.A(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.executionengine.ExecutionEngine.A(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.executionengine.ExecutionEngine.A(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.executionengine.ExecutionEngine.executeProcess(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2021/10/28 09:56:32 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO | jvm 1 | 2021/10/28 09:56:32 | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2021/10/28 09:56:32 | at java.base/java.lang.reflect.Method.invoke(Method.java:567)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.bsmanager.E.B(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.bsmanager.E.A(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.bsmanager.E.A(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.iopipes.ComponentSink.processMessage(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at org.openadaptor.adaptor.STPipelineController.processMessage(STPipelineController.java:68)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.openadaptor.NonTransactionalController.processMessage(NonTransactionalController.java:136)
INFO | jvm 1 | 2021/10/28 09:56:32 | at org.openadaptor.adaptor.AbstractSimplePipe.processMessage(AbstractSimplePipe.java:222)
INFO | jvm 1 | 2021/10/28 09:56:32 | at org.openadaptor.adaptor.STPipelineController.processMessage(STPipelineController.java:68)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.openadaptor.NonTransactionalController.processMessage(NonTransactionalController.java:136)
INFO | jvm 1 | 2021/10/28 09:56:32 | at org.openadaptor.adaptor.AbstractSimpleSource.processMessage(AbstractSimpleSource.java:403)
INFO | jvm 1 | 2021/10/28 09:56:32 | at org.openadaptor.adaptor.AbstractSimpleSource.sourceProcess(AbstractSimpleSource.java:1049)
INFO | jvm 1 | 2021/10/28 09:56:32 | at org.openadaptor.adaptor.AbstractSimpleSource.sourceProcess(AbstractSimpleSource.java:1012)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.openadaptor.MTJMSListener$JMSMessageHandler.run(MTJMSListener.java:275)
INFO | jvm 1 | 2021/10/28 09:56:32 | at java.base/java.lang.Thread.run(Thread.java:835)
INFO | jvm 1 | 2021/10/28 09:56:32 | com.bas.basserver.executionengine.ExecutionException: Internal error.
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.executionengine.rliproc.F.E(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.executionengine.rliproc.F.Q(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.executionengine.rliproc.H.A(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.executionengine.rliproc.H.C(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.executionengine.rliproc.H.U(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.executionengine.rliproc.H.B(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.executionengine.rliproc.H.A(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.executionengine.rliproc.H.execute(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.executionengine.ExecutionEngine.A(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.executionengine.ExecutionEngine.A(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.executionengine.ExecutionEngine.A(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.executionengine.ExecutionEngine.executeProcess(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2021/10/28 09:56:32 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO | jvm 1 | 2021/10/28 09:56:32 | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2021/10/28 09:56:32 | at java.base/java.lang.reflect.Method.invoke(Method.java:567)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.bsmanager.E.B(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.bsmanager.E.A(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.bsmanager.E.A(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.basserver.iopipes.ComponentSink.processMessage(Unknown Source)
INFO | jvm 1 | 2021/10/28 09:56:32 | at org.openadaptor.adaptor.STPipelineController.processMessage(STPipelineController.java:68)
INFO | jvm 1 | 2021/10/28 09:56:32 | at com.bas.openadaptor.NonTransactionalController.processMessage(NonTransactionalController.java:136)
INFO | jvm 1 | 2021/10/28 09:56:32 | at org.openadaptor.adaptor.AbstractSimplePipe.processMessage(AbstractSimplePipe.java:222)
INFO | jvm 1 | 2021/10/28 09:56:33 | at org.openadaptor.adaptor.STPipelineController.processMessage(STPipelineController.java:68)
INFO | jvm 1 | 2021/10/28 09:56:33 | at com.bas.openadaptor.NonTransactionalController.processMessage(NonTransactionalController.java:136)
INFO | jvm 1 | 2021/10/28 09:56:33 | at org.openadaptor.adaptor.AbstractSimpleSource.processMessage(AbstractSimpleSource.java:403)
INFO | jvm 1 | 2021/10/28 09:56:33 | at org.openadaptor.adaptor.AbstractSimpleSource.sourceProcess(AbstractSimpleSource.java:1049)
INFO | jvm 1 | 2021/10/28 09:56:33 | at org.openadaptor.adaptor.AbstractSimpleSource.sourceProcess(AbstractSimpleSource.java:1012)
INFO | jvm 1 | 2021/10/28 09:56:33 | at com.bas.openadaptor.MTJMSListener$JMSMessageHandler.run(MTJMSListener.java:275)
INFO | jvm 1 | 2021/10/28 09:56:33 | at java.base/java.lang.Thread.run(Thread.java:835)
INFO | jvm 1 | 2021/10/28 09:56:33 | 2021-10-28 09:56:32,996 ERROR DVI2#admin -Execution Exception after starting process CallPracticeExams message Internal error.
Using 8.7 Professional 3025 on MySQL/Windows
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: SOAP service discovery

Post by aware_support »

Unfortunately, the log in this case is not helpful. We need to somehow re-create the problem on our own machines. Is there a way to do it?

Does SOAP discovery work for you on some public-facing URL's? Or it's the same problem with any URL?
Aware IM Support Team
robleer
Posts: 285
Joined: Wed Jul 14, 2010 7:01 pm

Re: SOAP service discovery

Post by robleer »

I´ve made it public. It is just for testing.

See: https://dvi-002-api.learnlinq.com/Aware ... er/docs/v1

You can try the Test function to get a reply.
Using 8.7 Professional 3025 on MySQL/Windows
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: SOAP service discovery

Post by aware_support »

I am confused now. The link you have attached points to a REST Open API file - it has nothing to do with SOAP.

So is the problem in the REST auto-discovery or SOAP auto-discovery?
Aware IM Support Team
robleer
Posts: 285
Joined: Wed Jul 14, 2010 7:01 pm

Re: SOAP service discovery

Post by robleer »

Yes, I am sorry. I changed the service from SOAP to REST to find out if this works. I did that a few weeks ago and forgot to mention this to you :oops: .

But, same problem. If you Discover this you will get an error (although that happens when I do it).
Using 8.7 Professional 3025 on MySQL/Windows
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: SOAP service discovery

Post by aware_support »

We do not have any problems when we discover from the link you supplied. Maybe we need your BSV as well?
Aware IM Support Team
Post Reply