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.

 View Only
Expand all | Collapse all

error Submitting document to TN

  • 1.  error Submitting document to TN

    Posted Thu May 10, 2007 01:18 AM

    Hi guys,
    Im tyring to submit an xml document to TN. I followed what ladson did in the first part of the post:
    [url]wmusers.com
    and im getting this error.


    com.wm.app.tn.err.EXMLException:

    wm.tn.doc:recognize

    com.wm.app.b2b.server.ServiceException
    Doctype info not initialized. BizDocType registry has not been created.
    com.wm.app.b2b.server.ServiceException: Doctype info not initialized. BizDocType registry has not been created.
    at wm.tn.docimpl.recognize(docimpl.java:699)
    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:324)
    at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:322)
    at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:612)
    at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)
    at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:226)
    at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:49)
    at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:198)
    at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:39)
    at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:411)
    at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:521)
    at com.wm.app.b2b.server.invoke.InvokeManager.in


    Can someone help me figure out whats wrong?
    All suggestions are monumentally appreciated !
    sincerely,
    -Scooby !


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


  • 2.  RE: error Submitting document to TN

    Posted Thu May 10, 2007 02:10 AM

    Is your documentType exist in TN?? Also make sure your TN Doccument in DocumentType section is in enabled…I believe you are using routeXML (passing with node input)…Is your xmldata(document) is good??

    HTH,
    RMG


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


  • 3.  RE: error Submitting document to TN

    Posted Thu May 10, 2007 03:51 AM

    RMG,

    This is what Im doing ( I got that from Ladson’s post)

    1. MAP (place hardcoded xml for POAccept into a variable)
    2. xmlStringToXmlNode (convert the POAccept xml string to a node)
    3. xmlNodeToDocument (convert the node to an IS doc)
    4. recordToBizdoc (convert the IS doc to a bizdoc)
    5. routeBizdoc (send the bizdoc to TN)
      I just cant figure out whats wrong.

    You asked me

    Is your documentType exist in TN?? ==>Yes

    Also make sure your TN Doccument in DocumentType section is in enabled.==>It is enabled.

    I believe you are using routeXML (passing with node input)==>Yes.

    Is your xmldata(document) is good?==>Yes

    RMG I really appreciate your help.
    Thanks
    Scoobydoo !


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


  • 4.  RE: error Submitting document to TN

    Posted Thu May 10, 2007 05:36 PM

    Has anyone ever seen this issue before?
    Thanks
    -Scooby


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


  • 5.  RE: error Submitting document to TN

    Posted Thu May 10, 2007 05:42 PM

    Did you tried this

    1.MAP (place hardcoded xml for POAccept into a variable)
    2. xmlStringToXmlNode (convert the POAccept xml string to a node)
    3. routeXML(routes to TN-- node will implicitly maps).

    what happens now??

    HTH,
    RMG


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


  • 6.  RE: error Submitting document to TN

    Posted Thu May 10, 2007 06:42 PM

    RMG,
    I did exactly as you asked me to do.
    I still see the same error.
    Although i do see xmlroute service wanting “TN_Params” document .
    But i am just passing a document .
    Thanks for the help RMG.
    Scoobydoo


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


  • 7.  RE: error Submitting document to TN

    Posted Fri May 11, 2007 12:03 AM

    Well,
    RMG, Guys…
    I wasnt populating the fields correctly for TN_Params.
    So that issue has been resolved.
    Thanks for all the help RMG.
    -Scoobydoo


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


  • 8.  RE: error Submitting document to TN

    Posted Fri May 11, 2007 01:47 AM

    In routeXML (no need for of passing TN_Params just node should work fine…)

    Anyways glad to hear that it is working now!!!

    -RMG


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


  • 9.  RE: error Submitting document to TN

    Posted Sat May 12, 2007 12:22 AM

    One more thing RMG,
    My IS wasnt hooked to TN.
    So basically nothing wrong with my flow.I was just in the wrong place.
    Im ran it on a different box with an IS connected to TN and it worked !
    Yeah…i know…its pretty stupid !
    sorry !
    -Scooby !


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