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.



re: [MAXIMO List] Error when posting an matusetrans transaction via SOAP-Webservice

From: ewald h. caspari (2015-01-16 10:22)

Hi,
as far as I know, you can't insert a matusetrans directly. You must use the main
object inventory. Cant give you an example, cause i did this only from java code
not via interface. but I am pretty sure that maximo has the same rules there.

Regards
Ewald



Hi guys,

I have a problem with the object structure MXINVISSUE and the web service that
create from that object structure.

I just trying to post the xml but it appears that object structure don't work
correcly, and the error messsage not have a clear meaning

here the error

"The object structure is 1. The primary object is null"


java.lang.NullPointerException
at psdi.iface.app.isu.MaxISUProcess.createMboSet(MaxISUProcess.java:187)
at psdi.iface.mos.MosProcessImpl.processMboSet(MosProcessImpl.java:1245)
at psdi.iface.mos.MosProcessImpl.setMainMaximoTable(MosProcessImpl.java:620)
at psdi.iface.mos.MosProcessImpl.fillMaximoTables(MosProcessImpl.java:429)
at
psdi.iface.mos.MosProcessImpl.processExternalData(MosProcessImpl.java:313)
at
psdi.iface.mos.MosProcessImpl.processObjectStructureService(MosProcessImpl.java:209)
at
psdi.iface.mic.MicService.processObjectStructureData(MicService.java:2040)
at
psdi.iface.mic.MicService.processObjectStructureService(MicService.java:1762)
at psdi.iface.mos.MOSServiceBean.secureProcessMOSInternal(MOSServiceBean.ja


The post via soapUI bellow:


<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:max="http://www.ibm.com/maximo">
<soapenv:Header/>
<soapenv:Body>
<max:SyncBXMATUSE creationDateTime="2008-09-28T20:49:45" baseLanguage="ES"
messageID="20" maximoVersion="V7117-02">
<max:BXMATUSESet>
<!--Zero or more repetitions:-->
<max:MATUSETRANS>
<max:ISSUETYPE changed="?">DESP</max:ISSUETYPE>
<max:ITEMNUM changed="?">FBR-00000000000008322</max:ITEMNUM>
<max:ITEMSETID changed="?">IEMISION</max:ITEMSETID>
<max:LINETYPE changed="?">?</max:LINETYPE>
<max:ORGID changed="?">EMISION</max:ORGID>
<max:QUANTITY changed="?">1</max:QUANTITY>
<max:REFWO changed="?">2010-15436</max:REFWO>
<max:SITEID changed="?">OFCNTRAL</max:SITEID>
<max:STORELOC changed="?">CENT</max:STORELOC>
<max:TOSITEID changed="?">OFCNTRAL</max:TOSITEID>
</max:MATUSETRANS>
</max:BXMATUSESet>
</max:SyncBXMATUSE>
</soapenv:Body>
</soapenv:Envelope>


Someone has the same problem?
Any advice is welcome
Thanks