I have a publish -subscribe model that takes an xml string and inserts in to DB. This works. I am now trying to see that when a TP sends the xml it comes through the RI server, through the trading network and invokes the processing rule the publishes. I am using pub.client.http and in the url specify the service tn receive that it has to invoke.
The doc comes through the trading networks and the document in recognised and then it calles the processing rule which failes. I did a save to pipeline…to see where it is failing…it failes at start where xmlstringtoxmlnode.
The server logs have this error:
2006-08-31 10:02:21 EDT [ISU.0000.9999D] Inserting doc 54i3k7001li8j628000000e1 into datastore [TRNSERV.000016.000073]
2006-08-31 10:02:21 EDT [ISC.0076.0007W] XMLCoder decode invalid data type: com.wm.lang.xml.Document
2006-08-31 10:02:21 EDT [ISP.0090.0003C] [ISS.0086.9091] Parameters xmldata, $filestream and $filedata are all missing. One of these must not be null.
2006-08-31 10:02:21 EDT [ISU.0000.9999W] An exception occurred invoking a processing service for document 54i3k7001li8j628000000e1. The processing service was SalesHistory.Flows:flPublishSHControlFile, and the original error message was: com.wm.lang.flow.FlowException: flPublishSHControlFile failed. [TRNSERV.000014.000027]
2006-08-31 10:02:21 EDT [ISU.0000.9999W] com.wm.lang.flow.FlowException: flPublishSHControlFile failed
2006-08-31 10:02:21 EDT [ISU.0000.9999D] Data for column ActivityLog.FullMessage will not fit. So, truncating it from 7060 characters to 1024 characters. [TRNSERV.000016.000054]
2006-08-31 10:02:34 EDT [ISU.0000.9999D] Inserting doc 54i3k7001li8jj1a000000ec into datastore [TRNSERV.000016.000073]
the input i give is mapped from content to filestream. Wot is the xml decoder?
Can you please tell me wot change should i make.