IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Exception extracting attributes from DocType

    Posted 10/15/03 06:50 PM

    Hi folks,

    I’m working with Papinet PO and I need to extract the MillCharacteristics\MillParty\PartyIdentifier content. When I try to save the Attributes to extract from the document I’m receiving an error message. I’m using IS 4.6 and TN Console 4.6

    I’m using the following query:
    PO_List/PurchaseOrderLineItem[0]/MillCharacteristics/MillParty/PartyIdentifier[0]/*body

    TN returns the following exception:
    ErrorMessage:
    <errorid> TRNCONS.000030.000002 </errorid>
    <errorlevel> ERROR </errorlevel>
    <serverversion> </serverversion>
    <servername> </servername>
    <serverhostname> </serverhostname>
    <clientversion> </clientversion>
    <clienthostname> </clienthostname>
    <username> </username>
    <classname> DocTypeExtractPanel </classname>
    <methodname> saveDocType </methodname>
    <errortime> Wed Oct 15 13:50:42 BRST 2003 </errortime>
    <errortext> Error saving envelope queries </errortext>
    <additionalerrortext> </additionalerrortext>
    <suggestedactions> </suggestedactions>

    <exception> <superexception>com.wm.ui2.UiException:
    </superexception>
    <sourceexception>com.wm.app.tn.doc.BizDocTypeException:
    </sourceexception>
    <problem>null</problem>
    <reason>
    </reason>
    <details>null</details>
    <callstack>null</callstack>
    <pipeline>null</pipeline>
    </exception>

    Any help will be appreciated,
    Maldonado


    #webMethods
    #Integration-Server-and-ESB
    #B2B-Integration


  • 2.  RE: Exception extracting attributes from DocType

    Posted 10/16/03 04:56 PM

    Hey guys,

    Any comments about this issue?

    Thanks,
    Maldonado


    #webMethods
    #B2B-Integration
    #Integration-Server-and-ESB


  • 3.  RE: Exception extracting attributes from DocType

    Posted 10/17/03 01:49 AM

    Maldonado

    don’t specify *body
    ie. use PO_List/PurchaseOrderLineItem[0]/MillCharacteristics/MillParty/PartyIdentifier[0]

    See wMTN_BuildingYourNetwork.pdf pg 172 (chap 11) and the section on XQL reference ([url=“XML Query Language (XQL)”]XML Query Language (XQL) 2.5. Collecting element children) where ‘*’ has a special meaning.

    HTH
    Kevin


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods