Creating web services with the Integration Framework
Did You Know...
As Maximo Experts, we have developed several add-on products for Maximo that mobilize the work force, simplifies assignments, provides ad-hoc reporting capabilities and facilitates the seamless integration of Service Requests into Maximo.
Check out our products by clicking on the following links: EZMaxMobile, EZPlanner and EZInsight.
Interesting article, thanks.
What SOAP tool do you recommend ?
Is there “intClient” for Maximo 7 ?
I use a free tool called soapUI. It works great!
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,
So, you created a web service that can successfully create a SR, but not update an SR?
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,
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.
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…
Did you set your web service to have create, update and delete methods?
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,
ah, ok,.. i see the xml didn’t come out…. in my post above,..
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?
ooops my XML-message has been cut in my previous post
Just to add an update.. I managed to get it working,..I was missing a field which was the ‘CLASS’,…
Thanks,
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,
Very simple and useful your article.
Thanks.
Chon,
Great write up!
Is there anyway to secure the web service? I would like to force the caller to pass in credentials. I haven’t been able to force that.
Thanks,
Derek
I haven’t tried yet, but if you get it working, I would like to know how you did it.
Chon,
I need to prepare the wsdl file to use any webservices operation. Can you please explain how can I prepare the wsdl file (which tool or any resources).
Thanks
Found it in the next series. Thanks.
If i have a system that can hit a WSDL and create a ticket in maximo, can it be assumed that the JMSBUS is setup correctly?
Hi Chon
i want to test my web service which is based on MXSR. i want to test it by eclipse using client code.