Maximo Integration

  • 1.  Maximo Cloud SOAP web service

    Posted Thu September 03, 2020 01:42 AM
    Hi,

    Can you please suggest how to send request from onpremise system to the  soap web service deployed in maximo cloud multitenant, before that how do i know which web service is deployed in cloud.

    Regards
    Vinod

    ------------------------------
    Vinod xxxx
    ------------------------------


  • 2.  RE: Maximo Cloud SOAP web service

    Posted Thu September 03, 2020 09:41 AM
    Maximo SaaS Public - multi-tenant Maximo hosted by IBM - this deployment does not support  SOAP, only provides integration support through REST API
    Link to Maximo REST API documentation
    https://developer.ibm.com/static/site-id/155/maximodev/restguide/Maximo_Nextgen_REST_API.html

    ------------------------------
    Tom Sarasin
    Maximo Designer
    IBM
    (978) 899-2592
    ------------------------------



  • 3.  RE: Maximo Cloud SOAP web service

    Posted Fri September 04, 2020 08:22 AM
    Hi Tom,

    Thanks for reply, Does the cloud tenant only support communication using Rest API call, does not it support Restful web service? I was trying to query using below  old url  used in maximo 7.5 or maximo 7.6 base versions, but am always redirecting to the IBM saml ldap authentication page.

    https://trial.maximosaas.ibm.com/maxrest/rest/os/MXWO?_maxItems=50&SITEID="BEDFORD"&_format=xml&_lid=userid&_lpwd=password&apikey=apikey

    I tried above url with port 443 but  always page redirects to IBM saml page, How do i get respone directly with _lid and _lpwd  or Basic/ maxauth authentication using Postman or SOAP UI? 



    ------------------------------
    Vinod xxxx
    ------------------------------



  • 4.  RE: Maximo Cloud SOAP web service

    Posted Fri September 04, 2020 09:01 AM
    Only the JSON API (oslc) is available.  The MAXREST api was our original api and although it remains we strongly recommend moving to the new API as that is much more functional and we are no longer investing in the maxrest apii

    ------------------------------
    Tom Sarasin
    Maximo Designer
    IBM
    (978) 899-2592
    ------------------------------



  • 5.  RE: Maximo Cloud SOAP web service

    Posted Fri September 04, 2020 10:41 AM
    Hi Tom,

    Thanks for reply, Even while using json oslc url(https://trial-classic.maximosaas.ibm.com/maximoui/oslc/os/mxwo?_lid-userid&_lpwd=password&lean=1&oslc.select=WONUM,SITEID,LOCATION,ACTFINISH,ACTLABCOST,ACTLABHRS,ACTMATCOST,ACTSERVCOST,ACTSTART,ACTTOOLCOST,ACTTOTALCOST,ASSETLOCPRIORITY,ASSETNUM,CALCPRIORITY,CHANGEBY&_format=xml&_apikey=myapikey&oslc.pagesize=10)

    the request redirects to the below url to provide credentials(email and pwd)   then it displaying the response, its always two step process always, am not getting response from request that i sent through browser  directly  without redirecting to the below url.

    https://idaas.iam.ibm.com/idaas/mtfim/sps/authsvc?PolicyId=urn:ibm:security:authentication:asf:basicldapuser

    Could you please suggest if there any parameters to be configured into postman to avoid above ldap url redirecting.




    ------------------------------
    Vinod xxxx
    ------------------------------



  • 6.  RE: Maximo Cloud SOAP web service

    Posted Mon September 07, 2020 09:24 AM
    I would remove the underscore in front of apikey as it should just be &apikey=KEY. They may also handle having an underscore, but I know the underscore isn't required.

    Based on the redirection though it seems like they force it to use OpenID. When using OpenID/SAML, that means that the request is being intercepted and redirected to the identity provider prior to even making it to the Maximo. I assume it's available in the multitenant environment (I don't have access myself), but I would try instead to use /api instead of /maximoui to access. This API context is intended for when you need to use API keys in a SAML/OpenID environment and isn't defined to have a security constraint in the web.xml so WebSphere won't intercept the request to manage authentication.

    ------------------------------
    Steven Shull
    Director of Development
    Projetech Inc
    Cincinnati OH
    ------------------------------



  • 7.  RE: Maximo Cloud SOAP web service

    Posted Mon September 07, 2020 11:47 AM
    Hi  Steven,
    thanks for reply ,using  /api context path am able to query asset, Could you please help how can i configure OPENID/SAML  in postman to get the response for OSLC context path to query the asset from multi tenant.



    ------------------------------
    Vinod xxxx
    ------------------------------



  • 8.  RE: Maximo Cloud SOAP web service

    Posted Mon September 07, 2020 12:10 PM
    You can't authenticate OpenID/SAML from Postman or other integration endpoints, at least not directly. OpenID/SAML are considered interactive authentication mechanisms, meaning that purely REST API based integrations cannot work. That's the reason the /api endpoint was exposed as it is the only way to integrate with these systems. Once your session has been authenticated in the browser the API endpoints inside of Work Center and such work because it's already been authenticated. You may be able to configure Postman to share cookies with your browser session, which would allow you to authenticate in the browser and then make requests using those cookies inside of Postman but it's not something I've ever tried to do. 

    Some systems support OAuth (typically OAuth 2.0) which provide a mechanism to generate a refresh token which can be used to generate an access token to provide on the requests to access API endpoints. Maximo can connect to OAuth endpoints, but can't function as an OAuth endpoint itself to the best of my knowledge.

    ------------------------------
    Steven Shull
    Director of Development
    Projetech Inc
    Cincinnati OH
    ------------------------------



  • 9.  RE: Maximo Cloud SOAP web service

    Posted Mon September 07, 2020 12:22 PM
    Hi Steven,

    thanks a lot for making me understand authentication process, I  tried to use cookies that results out of the api create token request  but that's  not working for me getting java script response (even though enabled on scripting on browser)

    ------------------------------
    Vinod xxxx
    ------------------------------