error Submitting document to TN

Hi guys,
Im tyring to submit an xml document to TN. I followed what ladson did in the first part of the post:
http://www.wmusers.com/forum/showthread.php?t=9020&highlight=routeXML
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 !

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

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 !

Has anyone ever seen this issue before?
Thanks
-Scooby

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

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

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

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

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

-RMG

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 !