Topic
3 replies Latest Post - ‏2013-05-21T12:02:09Z by Stuart77
accent4u
accent4u
13 Posts
ACCEPTED ANSWER

Pinned topic Upload attachments using MIF - Maximo 7114

‏2013-05-08T19:37:27Z |

Hi,

I have defined Object structure webservice in maximo, when i am trying to consume the service using stand alone java, i am getting below exception. any help on this?

i am passing value in URL/File Name field.

javax.ejb.EJBException: nested exception is: psdi.util.MXApplicationException: BMXAA4195E - Required field URL / File Name is blank.

psdi.util.MXApplicationException: BMXAA4195E - Required field URL / File Name is blank.

at psdi.app.doclink.Doclinks.appValidateAddInfo(Doclinks.java:506)

at psdi.app.doclink.Doclinks.appValidate(Doclinks.java:457)

at psdi.mbo.Mbo.validate(Mbo.java:3702)

at psdi.iface.mos.MosProcessImpl.checkValidateErrors(MosProcessImpl.java:1315)

at psdi.iface.mos.MosProcessImpl.setMainMaximoTable(MosProcessImpl.java:661)

at psdi.iface.mos.MosProcessImpl.fillMaximoTables(MosProcessImpl.java:353)

at psdi.iface.mos.MosProcessImpl.processExternalData(MosProcessImpl.java:257)

at psdi.iface.mos.MosProcessImpl.processObjectStructureService(MosProcessImpl.java:189)

at psdi.iface.mic.MicService.processObjectStructureData(MicService.java:1408)

at psdi.iface.mic.MicService.processObjectStructureService(MicService.java:1306)

at psdi.iface.mos.MOSServiceBean.secureProcessMOSInternal(MOSServiceBean.java:138)

at psdi.iface.mos.MOSServiceBean.processMOS(MOSServiceBean.java:81)

at psdi.iface.mos.mosservice_8o67mw_ELOImpl.processMOS(mosservice_8o67mw_ELOImpl.java:63)

at psdi.iface.util.WebUtil.invokeMosEJB(WebUtil.java:467)

at psdi.iface.webservices.MOSWebService.processDocument(MOSWebService.java:143)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:83)

at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)

at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:220)

at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:271)

at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:118)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)

at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)

at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)

at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3244)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)

at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)

at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)

at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)

at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

  • s999
    s999
    4 Posts
    ACCEPTED ANSWER

    Re: Upload attachments using MIF - Maximo 7114

    ‏2013-05-15T11:07:46Z  in response to accent4u

    pass the value in URLNAME and NEWURLNAME attributes and check .

  • SASHULL
    SASHULL
    247 Posts
    ACCEPTED ANSWER

    Re: Upload attachments using MIF - Maximo 7114

    ‏2013-05-17T23:57:16Z  in response to accent4u

    I've only done integrations on 7.1.1.7+ environments but I was under the impression that for DOCLINKS pre 7116 you could add doclinks to a record if they already existed as a document in the library but not create new attachments. I do know that they made changes in 7116 to support attachment data for new documents (http://www-01.ibm.com/support/docview.wss?uid=swg21413789)

    I don't have any environment to test this on as we no longer have 7114 media (we haven't had a client running 7114 since I started working at my current company two and a half years ago) or I would try to validate this but I'm pretty sure you'll have to upgrade to 7116 or later to load documents through MIF.

    • Stuart77
      Stuart77
      23 Posts
      ACCEPTED ANSWER

      Re: Upload attachments using MIF - Maximo 7114

      ‏2013-05-21T12:02:09Z  in response to SASHULL

      Hi

       

      Sashull is correct 7.1.1.6 introduced the feature to add new docs via the MIF - also there were several fixes in this area at that patch level.