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.



Error when posting an matusetrans transaction via SOAP-Webservice

From: ricardo.monsivais (2015-01-15 11:14)

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


From: Will Hampton (2015-01-15 19:16)

?Your primarykeycolumn is wrong or most likely it's pointed at the UniqueID field for the table in question.
R/
Will
512-568-8621
http://tinyurl.com/LinkedIn-Maximo-For-Beginners
________________________________
From: MAXIMO@yahoogroups.com <MAXIMO@yahoogroups.com> on behalf of ricardo.monsivais@yahoo.com.mx [MAXIMO] <MAXIMO@yahoogroups.com>
Sent: Thursday, January 15, 2015 13:14
To: MAXIMO@yahoogroups.com
Subject: [MAXIMO List] Error when posting an matusetrans transaction via SOAP-Webservice
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


From: Luke Gatza (2015-01-15 14:21)

Try adding workorder as the parent object to matusetrans. The parent
object needs to be referenced in the interface.
-Luke
On Thu, Jan 15, 2015 at 2:16 PM, Will Hampton
will.hampton@exxtremeconsulting.com [MAXIMO] <MAXIMO@yahoogroups.com> wrote:
>
>
> ?Your primarykeycolumn is wrong or most likely it's pointed at the
> UniqueID field for the table in question.
>
> R/
> Will
> 512-568-8621
> http://tinyurl.com/LinkedIn-Maximo-For-Beginners
> ________________________________
> From: MAXIMO@yahoogroups.com <MAXIMO@yahoogroups.com> on behalf of
> ricardo.monsivais@yahoo.com.mx [MAXIMO] <MAXIMO@yahoogroups.com>
> Sent: Thursday, January 15, 2015 13:14
> To: MAXIMO@yahoogroups.com
> Subject: [MAXIMO List] Error when posting an matusetrans transaction via
> SOAP-Webservice
>
>
> 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
>
>
>
>
>
>
>
--
Luke Gatza
813-382-1017/ lgatza@mavenasset.com
Maven Asset Management, Inc. Office: 813-231-4690 / Fax: 978-231-4690
8875 Hidden River Parkway Suite 300 Tampa, FL 33637
http://www.mavenasset.com
[image: Facebook]
<https://www.facebook.com/pages/Maven-Asset-Management-Inc/316326481725490>
[image:
Twitter] <http://www.twitter.com/MavenAsset> [image: Youtube]
<http://www.youtube.com/user/MavenAssetManagement> [image: Linkedin]
<http://www.linkedin.com/company/maven-asset-management?trk=hb_tab_compy_id_1982817>
This e-mail message may contain confidential or legally privileged
information and is intended only for the use of the intended recipient(s).
Any unauthorized disclosure, dissemination, distribution, copying or the
taking of any action in reliance on the information herein is prohibited.
E-mails are not secure and cannot be guaranteed to be error free as they
can be intercepted, amended, or contain viruses. Anyone who communicates
with us by e-mail is deemed to have accepted these risks. Maven Asset
Management is not responsible for errors or omissions in this message and
denies any responsibility for any damage arising from the use of e-mail.
Any opinion and other statement contained in this message and any
attachment are solely those of the author and do not necessarily represent
those of the company.


From: ricardo.monsivais (2015-01-15 11:37)

Hi,
I was thinking that i need create a new one, matusetrans object has the methods to create and sync
i'm using the same logic to labtrans but doesn't work
Also, i changed the object structure and i' ve excluded the classes for inbound/outbound from OE, and now the error change to:
"BMXAA1870E A material issue/return transaction cannot be added from here. "
What i need change to enable/disable the rule?
thanks in advance