Error in the Service invoked by Processing Rule

I am getting the Following Error when iam trying to run the service that is invoked by a processsing rule in TN when handling large xml document.

com.wm.app.b2b.server.ServiceException: com.wm.util.coder.InvalidDatatypeException: [ISC.0076.9004] decoding: com.wm.util.tspace.Reservation_FileImpl ex:java.lang.InstantiationException: com.wm.util.tspace.Reservation_FileImpl

My Invoking Flow service is of the form as follows:

wm.tn.doc:getContentPartData
pub.io:streamToString

Please help me with this issue.

Thanks in Advance

What is the partName you have given? Is it “xmldata”

And make sure you have bizdoc (bizDocEnvelope IDATA) in the pipeline and (LargeDocument? = true) which indicates its a large file

HTH,
RMG

Part Name that i specified is “Employee[0]/EmployeeInf[0]”
XML Data is as follows:


abc
123



abc
123




And I have a bizdocenevelope in the pipeline also the LargeDocument? is true.
Is the part name mandatory?

I am facing the same issue, could you help me with the details of the solution :slight_smile:

Can you elaborate/describe your exact problem?

HTH,
RMG

I am getting the Following Error when iam trying to run the service that is invoked by a processing rule in TN when handling large xml document.

com.wm.app.b2b.server.ServiceException: com.wm.util.coder.InvalidDatatypeException: [ISC.0076.9004] decoding: com.wm.util.tspace.Reservation_FileImpl ex:java.lang.InstantiationException: com.wm.util.tspace.Reservation_FileImpl

Issue was resolved: RMG, as said by you in one of the posts the root cause was because there was a temp file created in the tspace directory and when i deleted it the problem got resolved.

I am doing Large file handling for the first time, thanks for your valuable inputs:

Pls find below details I have configured:
MWS > Admin > Integration > B2B Settings > Configure Properites:
tn.BigDocThreshold=2500000
tn.xml.xqlThreshold=1000000

IS Admin > Settings > Extended:
watt.server.tspace.location=E:\LargeDoc
watt.server.tspace.max=524288000
watt.server.keepAliveTime=180000
watt.server.tspace.timeToLive=180000

The snap shot of the xml is as below:

<?xml version="1.0"?> Gambardella, Matthew An in-depth look at creating applications with XML. . . . Ralls, Kim A former architect battles corporate zombies, an evil sorceress, and her own childhood to become queen of the world.

Thanks for your valuable inputs :slight_smile:

After you configured TN large file handling settings,If the file is XML and based on the bizdoc LargeDocument? variable flag you need to use NodeIterator public services for further parsing/mapping etc…

HTH,
RMG

Thanks for the input.

One quick question! I have a bizdoc coming in(LargeContent? true) and the actual data saved in tspace. How do i form a node out of this tspace document so that I provide this node as input to nodeiterator.

Let me know if you need further details, did I confuse you ???

May be try with wm.b2b.editn:getTspace and convert edidata to XML node and pass it to nodeIterator and getNextNode inside repeat logic (until node == $null)

Thanks a lot for the input :), that would help a lot. another question hope its not silly ;). Do we have any inbuilt service(s) to convert form edidata(output of wm.b2b.edint:getTspace) to XML node(input for NodeIterator) or do I have to develop a custom service to do so ?

Thanks,
Ajith Jadhav

try custom or xmlStringtoXMLNode service (isXML false) sort of: