Integrator SOAP Server - Unsupported service error

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
dvanoni
Posts: 37
Joined: Wed Dec 02, 2015 3:47 am
Location: Chiasso - Switzerland

Integrator SOAP Server - Unsupported service error

Post by dvanoni »

Hi all!

I'm trying to do the Integrator tutorial about how to create and consume a SOAP Web Service INT010A / INT010B / INT010C.

I created a SOAP server (INT010A) with the method getEmployee, I published it on the Integrator server with its related properties file and I created an entry in the JSM service. Then I did the same for the SOAP agent (INT010B).

When I try to call the WS from the form created I get this error when invoking this command:

Code: Select all

* Call remote service
Change Field(#JSMXCMD) To('CALL')
Use Builtin(JSMX_COMMAND) With_Args(#JSMXHDLE1 #JSMXCMD) To_Get(#JSMXSTS #JSMXMSG)
Execute Subroutine(CHECK) With_Parms(#JSMXSTS #JSMXMSG)

Code: Select all

#JSMXSTS = SOAPFAULT
#JSMXMSG = {http://xml.apache.org/axis/}HTTP (600)JSMAdmin Message
I get the same error message when I try to call the WS from an external tool like SOAPUI. In this case the text message is "Unsupported service".

What should I do to make it work?

Thanks in advance
User avatar
HMJust
Posts: 53
Joined: Wed May 11, 2016 7:23 pm
Contact:

Re: Integrator SOAP Server - Unsupported service error

Post by HMJust »

Well, obviously there is a problem with the SOAP server so I suggest you confine yourself to testing it with SoapUI till you get it working - that means you don't have to worry about any possible errors in your SOAP client.

When you say you created an entry in the JSM service, do you mean the Lansa Integrator Studio, Direct Services? And is "Unsupported service" the exact verbatim error you get back?

In that case, I would like to know if the host you set up in Lansa Integrator Studio, Direct Services actually exists on your webserver, and if you configuration includes a reference to the JSM?

For example, I have a service that is accessed through https://DOMAIN/cgi-bin/jsmdirect?SERVICENAME and my Apache configuration file for that domain has a line like this:

Code: Select all

ScriptAliasMatch ^/cgi-bin/jsmdirect(.*) /QSYS.LIB/DCXJSMLIB.LIB/JSMDIRECT.PGM$1
I don't know what I am doing, nor how I did it. If it works, luck was involved :geek:
dvanoni
Posts: 37
Joined: Wed Dec 02, 2015 3:47 am
Location: Chiasso - Switzerland

Re: Integrator SOAP Server - Unsupported service error

Post by dvanoni »

Thanks for your help!

It was a configuration issue in Lansa Integrator.

Now it works
Post Reply