Topic
  • 5 replies
  • Latest Post - ‏2015-03-24T07:26:27Z by Deepak_9449
YelloY
YelloY
28 Posts

Pinned topic Integrating two Maximo 7 instalations together (via WebServices)

‏2008-10-15T06:32:59Z |
Hello,

I'm trying to integrate two Maximo 7 instalations together (via WebServices). Let's say one is prod environment and another is test environment. I'd like to have a possibility to export data from one to the second one with the use of the WebServices.

I did manage it with Maximo 6.2.x - defining external system with handlers, and some additional configuration was enough.

Since Maximo 7 uses Axis2 and MEA architecture has changed, I'm not able to reproduce such a configuration. IBM support provided rather useless information, or some trivial tricks.

So, it goes as follows (brief configuration):

maximo1 - prod

ENDPOINTURL - http://maximo2:9080/meaweb/services/MXWOInterface
SERVICENAME - MXWOInterface
SOAPACTION - urn:processDocument

mxe.int.webappurl http://maximo1:9080/meaweb
mxe.int.wsdlincludesschema 0
mxe.int.wsdlnamespace http://www.ibm.com/maximo/wsdl
mxe.int.xmlnamespace http://www.ibm.com/maximo

maximo2 - test

ENDPOINTURL - http://maximo1:9080/meaweb/services/MXWOInterface
SERVICENAME - MXWOInterface
SOAPACTION - urn:processDocument

mxe.int.webappurl http://maximo2:9080/meaweb
mxe.int.wsdlincludesschema 0
mxe.int.wsdlnamespace http://www.ibm.com/maximo/wsdl
mxe.int.xmlnamespace http://www.ibm.com/maximo
When trying to export data from maximo1 to maximo2, depending on slight modifications different errors occurs, i.e.:
psdi.util.MXSystemException: BMXAA1481E - Could not send.
nested exception is: psdi.util.MXApplicationException:
BMXAA5996E - Root element PublishMXWO is invalid for Enterprise Service
MXWOInterface.

Really, I've tried a lot but without any success. So if you have a guidlines or simply know how to integrate to maximo installations together, please replay.

Thanks in advance,
YelloY
Updated on 2013-01-29T10:53:41Z at 2013-01-29T10:53:41Z by SystemAdmin
  • rus33artyom
    rus33artyom
    1 Post

    Re: Integrating two Maximo 7 instalations together (via WebServices)

    ‏2009-10-12T09:55:18Z  
    I have the same problem, can you tell me, how you solved this problem?
  • navalsoul
    navalsoul
    2 Posts

    Re: Integrating two Maximo 7 instalations together (via WebServices)

    ‏2009-10-13T16:18:51Z  
    When ever you export data from maximo you will get xml like:

    <?xml version="1.0" encoding="UTF-8"?>
    <PublishMXVENDOR xmlns="http://www.ibm.com/maximo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" creationDateTime="2009-10-07T15:08:58-04:00" transLanguage="EN" baseLanguage="EN" messageID="1254942538130271191" maximoVersion="7 1 20090627-0754 V7115-149" event="0">
    <MXVENDORSet>
    <COMPANIES>
    <ADDRESS1>400 Raceway Blvd.</ADDRESS1>
    <ADDRESS2>Burlington</ADDRESS2>

    .....

    </COMPANIES>
    </MXVENDORSet>
    </PublishMXVENDOR>

    When you would like to import same xml you must change in this case PublishMXVENDOR to SyncMXVENDOR

    Must look like:
    <?xml version="1.0" encoding="UTF-8"?>
    <SyncMXVENDOR xmlns="http://www.ibm.com/maximo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" creationDateTime="2009-10-07T15:08:58-04:00" transLanguage="EN" baseLanguage="EN" messageID="1254942538130271191" maximoVersion="7 1 20090627-0754 V7115-149" event="0">
    <MXVENDORSet>
    <COMPANIES>
    <ADDRESS1>400 Raceway Blvd.</ADDRESS1>
    <ADDRESS2>Burlington</ADDRESS2>

    .....

    </COMPANIES>
    </MXVENDORSet>
    </SyncMXVENDOR>

    It looks that your receiving maximo does not like Publish in document passed by Web service

    You need to figure out how to swap Publish to Sync automaticaly. Maybe you can employ some XSL-massage of XML

    You can test your webservices with intclinet which is internal maximo tool to test integration. It is not available any more in V7, but you can use it from any V6 maximo folder, just set your parameters and include XML file with chaged Publish to Sync( Choose File>Browse check attached screenshoot). You will get response message if everything is ok.

    I hope this helps

    Cheers
    Veljko
  • SystemAdmin
    SystemAdmin
    5842 Posts

    Re: Integrating two Maximo 7 instalations together (via WebServices)

    ‏2009-10-13T17:50:23Z  
    • navalsoul
    • ‏2009-10-13T16:18:51Z
    When ever you export data from maximo you will get xml like:

    <?xml version="1.0" encoding="UTF-8"?>
    <PublishMXVENDOR xmlns="http://www.ibm.com/maximo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" creationDateTime="2009-10-07T15:08:58-04:00" transLanguage="EN" baseLanguage="EN" messageID="1254942538130271191" maximoVersion="7 1 20090627-0754 V7115-149" event="0">
    <MXVENDORSet>
    <COMPANIES>
    <ADDRESS1>400 Raceway Blvd.</ADDRESS1>
    <ADDRESS2>Burlington</ADDRESS2>

    .....

    </COMPANIES>
    </MXVENDORSet>
    </PublishMXVENDOR>

    When you would like to import same xml you must change in this case PublishMXVENDOR to SyncMXVENDOR

    Must look like:
    <?xml version="1.0" encoding="UTF-8"?>
    <SyncMXVENDOR xmlns="http://www.ibm.com/maximo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" creationDateTime="2009-10-07T15:08:58-04:00" transLanguage="EN" baseLanguage="EN" messageID="1254942538130271191" maximoVersion="7 1 20090627-0754 V7115-149" event="0">
    <MXVENDORSet>
    <COMPANIES>
    <ADDRESS1>400 Raceway Blvd.</ADDRESS1>
    <ADDRESS2>Burlington</ADDRESS2>

    .....

    </COMPANIES>
    </MXVENDORSet>
    </SyncMXVENDOR>

    It looks that your receiving maximo does not like Publish in document passed by Web service

    You need to figure out how to swap Publish to Sync automaticaly. Maybe you can employ some XSL-massage of XML

    You can test your webservices with intclinet which is internal maximo tool to test integration. It is not available any more in V7, but you can use it from any V6 maximo folder, just set your parameters and include XML file with chaged Publish to Sync( Choose File>Browse check attached screenshoot). You will get response message if everything is ok.

    I hope this helps

    Cheers
    Veljko
    Hi,

    You can also try the enclosed class files.
    I received them from IBM support for the same issue.
    This changes the Publish into sync.

    Marcel van der Heide
  • SystemAdmin
    SystemAdmin
    5842 Posts

    Re: Integrating two Maximo 7 instalations together (via WebServices)

    ‏2013-01-29T10:53:41Z  
    • navalsoul
    • ‏2009-10-13T16:18:51Z
    When ever you export data from maximo you will get xml like:

    <?xml version="1.0" encoding="UTF-8"?>
    <PublishMXVENDOR xmlns="http://www.ibm.com/maximo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" creationDateTime="2009-10-07T15:08:58-04:00" transLanguage="EN" baseLanguage="EN" messageID="1254942538130271191" maximoVersion="7 1 20090627-0754 V7115-149" event="0">
    <MXVENDORSet>
    <COMPANIES>
    <ADDRESS1>400 Raceway Blvd.</ADDRESS1>
    <ADDRESS2>Burlington</ADDRESS2>

    .....

    </COMPANIES>
    </MXVENDORSet>
    </PublishMXVENDOR>

    When you would like to import same xml you must change in this case PublishMXVENDOR to SyncMXVENDOR

    Must look like:
    <?xml version="1.0" encoding="UTF-8"?>
    <SyncMXVENDOR xmlns="http://www.ibm.com/maximo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" creationDateTime="2009-10-07T15:08:58-04:00" transLanguage="EN" baseLanguage="EN" messageID="1254942538130271191" maximoVersion="7 1 20090627-0754 V7115-149" event="0">
    <MXVENDORSet>
    <COMPANIES>
    <ADDRESS1>400 Raceway Blvd.</ADDRESS1>
    <ADDRESS2>Burlington</ADDRESS2>

    .....

    </COMPANIES>
    </MXVENDORSet>
    </SyncMXVENDOR>

    It looks that your receiving maximo does not like Publish in document passed by Web service

    You need to figure out how to swap Publish to Sync automaticaly. Maybe you can employ some XSL-massage of XML

    You can test your webservices with intclinet which is internal maximo tool to test integration. It is not available any more in V7, but you can use it from any V6 maximo folder, just set your parameters and include XML file with chaged Publish to Sync( Choose File>Browse check attached screenshoot). You will get response message if everything is ok.

    I hope this helps

    Cheers
    Veljko
    Hi,
    After changing the xml where do I need to keep the file? in same location or somewhaere else?

    is there any chance of reprocess the same xml?
    Thanks,
    Srinivas
  • Deepak_9449
    Deepak_9449
    1 Post

    Re: Integrating two Maximo 7 instalations together (via WebServices)

    ‏2015-03-24T07:26:27Z  

    hi  YelloY,

     

    can you plz send me the details of how you solved this issue.

     

    Thanks