Maximo List Archive

This is an archive of the Maximo Yahoo Community. The content of this pages may be a sometimes obsolete so please check post dates.
Thanks to the community owner Christopher Wanko for providing the content.



are Webservices with https possible?

From: ewald h. caspari (2015-03-04 13:54)

Hi everyone!
has anyone sucessfully called a MIF webservice with https?
We use maximo 7.5.0.7. The login via https works fine but when I call a
webservice I get an error :javax.servlet.ServletException: https is forbidden.
Is there any additional configuration for this?

Thanks in advance
Ewald


From: mikael.lahtonen (2015-03-05 23:21)

Hi,

Struggled with that same problem but we found a solution.

Locate axis2.xml file:

Find this in the file:
<transportReceiver name="http"
class="org.apache.axis2.transport.http.SimpleHTTPServer">
<parameter name="port" locked="false">8080</parameter>

Change that to this:
<transportReceiver name="https"
class="org.apache.axis2.transport.http.AxisServletListener">

Note when the port number is removed the meaweb port is used.

Then next thing is to get MIF to use that axis2.xml file. I wasnät able to specify a custom location for it but if no location is specified (in the web.xml) it uses default which is conf firectoru under WEB-INF
--> So create the conf directory under /opt/IBM/SMP/maximo/applications/maximo/meaweb/webmodule/WEB-INF and put the axis2.xml there

--> Rebuild and redploy.

After this https works but http not. If you need both then you need a different axis2 config

Regards,
Mikael


---In MAXIMO@yahoogroups.com, <dienst@...> wrote :

Hi everyone!
has anyone sucessfully called a MIF webservice with https?
We use maximo 7.5.0.7. The login via https works fine but when I call a
webservice I get an error :javax.servlet.ServletException: https is forbidden.
Is there any additional configuration for this?

Thanks in advance
Ewald