Maximo Open Forum

 View Only
  • 1.  Utilize Web Services on MAS 8.x

    Posted 01-25-2023 10:26
    Hi,

    Did anyone work with WS in MAS 8.x?
    Any changes we should be aware of from 7.x?

    The creation of WS, the generated schema and deployment are done,
    but I cannot locate  the generated WSDL to work with.

    I checked the global dir param and followed the url context structure on the documentation, but no good.

    If anyone can advise?
    #Integrations

    ------------------------------
    Jacob Massa
    WeRTech
    ------------------------------


  • 2.  RE: Utilize Web Services on MAS 8.x

    Posted 01-26-2023 09:23
    Hi Jacob,

    The web services work the same as before and you can get the WSDL from https://[your_host]/meaweb/wsdl/[your_service_name]wsdl

    For example if my host is sharptree.manage.mas.sharptree.dev and my service is MXASSET the URL would be https://sharptree.manage.mas.sharptree.dev/meaweb/wsdl/MXASSET.wsdl

    It should noted that services are generally moving to REST and I don't think the API key works with the legacy SOAP services so you may have some challenges with authentication since going through the OIDC process to get an auth token is non-trivial.

    That said it can be done and if you want an example of how to do it you can it our VS Code extension supports MAS OIDC auth so you can see that here:

    https://github.com/sharptree/vscode-autoscript-deploy/blob/main/src/maximo/maximo-client.js

    The VS Code extension is here https://marketplace.visualstudio.com/items?itemName=sharptree.maximo-script-deploy if you want to see how that is used in practice.

    Finally, there is an IBM doc on schema generation that is more geared towards generating just and XSD and not the wsdl per se.

    https://www.ibm.com/docs/en/maximo-manage/continuous-delivery?topic=services-schema-generation 

    Feel free to reach out if you have any other questions.

    ------------------------------
    Jason VenHuizen
    Sharptree
    ------------------------------