Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML Unmarshal

Status
Not open for further replies.

Atum22

Programmer
Apr 8, 2004
1
US
Hello All,

I have an ETD all set up to unmarshal an XML string (technically a byte array). It works fine in the ETD tester reading from a dat file, yet throws an error when running.

The code is pretty simple:
getEMPI_PutUpdMemberReply().unmarshal(STCTypeConverter.toByteArray(retXML));

where retXML is a properly formatted XML string with all of the elements in the correct order.

I get this error:
09:52:57.994 COL I 128744 (java_extensions.cxx:1442): com.stc.jcsre.UnmarshalException: Cp037
09:52:57.994 COL I 128744 (java_extensions.cxx:1442): Exception caught: Cp037
09:52:58.010 COL I 128744 (initialize.cxx:302): JCS: Java collaboration translate threw a com.stc.common.collabService.CollabConnException!
09:52:58.010 COL I 128744 (java_extensions.cxx:1442): *************** Exception occurred **************
09:52:58.010 COL I 128744 (java_extensions.cxx:1442): toString: com.stc.common.collabService.CollabConnException: [colPamlEmpi_PutUpd_ws] JCCollabControllerImpl JCCollabControllerImpl::translate(): Error in executing translate method
09:52:58.010 COL I 128744 (java_extensions.cxx:1442):
09:52:58.010 COL I 128744 (java_extensions.cxx:1442): getMessage: [colPamlEmpi_PutUpd_ws] JCCollabControllerImpl JCCollabControllerImpl::translate(): Error in executing translate method
09:52:58.010 COL I 128744 (java_extensions.cxx:1442):
09:52:58.010 COL I 128744 (java_extensions.cxx:1442): StackTrace:java.lang.Exception: Cp037
at crPamlEmpi_PutUpd_ws.executeBusinessRules(crPamlEmpi_PutUpd_ws.java:291)
at com.stc.jcsre.JCollaboration.translate(JCollaboration.java:148)
at com.stc.common.collabService.JCCollabControllerImpl.translate(JCCollabControllerImpl.java:568)
com.stc.common.collabService.CollabDataException: [colPamlEmpi_PutUpd_ws] JCollaboration.translate(): Caught unspecified exception from user collaboration executeBusinessRules()
at com.stc.jcsre.JCollaboration.translate(JCollaboration.java:156)
at com.stc.common.collabService.JCCollabControllerImpl.translate(JCCollabControllerImpl.java:568)
com.stc.common.collabService.CollabConnException: [colPamlEmpi_PutUpd_ws] JCCollabControllerImpl JCCollabControllerImpl::translate(): Error on calling user translate method: class crPamlEmpi_PutUpd_ws
at com.stc.common.collabService.JCCollabControllerImpl.translate(JCCollabControllerImpl.java:593)
com.stc.common.collabService.CollabConnException: [colPamlEmpi_PutUpd_ws] JCCollabControllerImpl JCCollabControllerImpl::translate(): Error in executing translate method
at com.stc.common.collabService.JCCollabControllerImpl.translate(JCCollabControllerImpl.java:651)
09:52:58.010 COL I 128744 (java_extensions.cxx:1442): *************************************************

Looks like it is having trouble translating, which does not make sense to me because it the same string works flawlessly in the tester.

Any ideas or thoughts?

Thanks!
 
I'm experiencing the exact same problem. Were you ever able to resolve this issue?

Thanks,

Franco.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top