Creating web services with the Integration Framework

This entry is part 1 of 5 in the series Web Services

Along with the many other ways to insert and retrieve data, you can create and deploy web services to be integration with third party tools, just like our workorder assignment module that allows you to quickly batch assign workorders to your labor force.  It follows all of Maximo’s business rules when entering data, but you can also use web services to query data.  However you choose to use web services, it’s there at your disposal.

This text is available for purchase but you need to login or register first. Please Login here.
Series NavigationassetmoveSingleAsset operation and the standard web service
About Chon Neth

I am a Senior Software Engineer at InterPro Solutions, LLC located in Wakefield, MA.

  • zirops

    Interesting article, thanks.
    What SOAP tool do you recommend ?
    Is there “intClient” for Maximo 7 ?

    • http://interprosoft.com Chon

      I use a free tool called soapUI. It works great!

  • Matt

    I have been using SoapUI and have been creating, updating and doing queries successfully,….

    However, if I try and update an SR record I get “BMXAA1496E – SR does not exist. Cannot update or delete.”

    I can create SR’s fine, and can update changes? it seems to only be updating SR’s that has an issue,…

    Anyone come across this?

    Thanks,

    • http://interprosoft.com Chon

      So, you created a web service that can successfully create a SR, but not update an SR?

  • Matt

    Hi Yes,.. I can create/query etc on SR’s and my update is very simple,..one field whilst I’m testing..

    Similar XML works fine on updating changes.

    I can’t see anything obviously wrong/different,…

    Thanks,

    • http://interprosoft.com Chon

      I believe it is because the error message is saying that the SR record does not exist and it can’t update. It can’t find the record because some fields are probably missing from the XML that is need to find that record. Try including the TICKETID field in the XML.

  • MattS

    Hi,..yes I have tried adding the TICKETID and TICKETUID,..get the same error,…

    I have copied the change one which works and replaced it with the SR bits,.. (change wonum to ticketid etc) and still not working.

    I have tried it on another system and have the same issue…

    • http://interprosoft.com Chon

      Did you set your web service to have create, update and delete methods?

  • MattS

    Hi yes,.. I went to the webservices library,.. selected the SR object and clicked the ‘Generate schema/view xml, it listed all the methods,… create, update, delete, sync,.. then deployed it,

    The change one which works ok is in this format;

    1001
    This is an update
    TESTSITE
    MAXADMIN

    So I basically took this and used ticketid instead of wonum,.. and changed the change references to correct SR ones,.

    Many thanks for your interest in this,

  • MattS

    ah, ok,.. i see the xml didn’t come out…. in my post above,..

  • Egor

    Hi there. At first – Im newbie in MIF, Java, XML. I’ll try to give step by step description of my problem:
    1.I’ve created and deployed an Object Structure based Web Service and checked format of XML-message that it expects for “create” operation.
    2.Then i’ve wrote simple SOAP-client that sends SOAP-envelope with XML-message for create operation:

    ORG
    TSITE
    123

    And server returned:
    soapenv:ClientThe endpoint reference (EPR) for the Operation not found is http://10.7.253.2:9080/meaweb/services/GSXML and the WSA Action = org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found is http://10.7.253.2:9080/meaweb/services/GSXML and the WSA Action =
    ……

    Does it mean that apache doesnt know about web-service that was deployed by maximo? Whats wrong?

  • Egor

    ooops my XML-message has been cut in my previous post

  • Matt

    Just to add an update.. I managed to get it working,..I was missing a field which was the ‘CLASS’,…

    Thanks,

  • Matt

    One other question,.. I wanted a new log entry added on an update to a Incident or SR etc,..

    I added the worklog object to the incident object and added the replaceship,…

    When I run the first update, I get a log entry added to the log tab which is great,.. however, if I run it again, it simply deletes the 1st entry and replaces it,.. any idea how to get it to add a second line in the worklog table?

    Thanks,