Date of First Response: 2009-11-04 08:34:20 project_key: SOA PRD: "SOA-P 5 will be backward compatible with SOA-P 4.x in the following areas: " smooks-res.xml This doesn't seem to be the case, try to use an old smooks config from http://anonsvn.jboss.org/repos/labs/labs/jbossesb/tags/JBESB_4_4_GA/product/samples/quickstarts/transform_XML2POJO/ in the new transform_XML2POJO QS
Sorry, did you try the old QS or just change the config? Can you attach what you have done along with some log files??
I used the smooks-res.xml from JBESB_4_4_GA in ER1. I would expect to see what I have seen with the original smooks-res.xml: 08:17:22,809 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&& MyJMSListenerAction &&&&&&&&&&&&&&&&&&&&&&&&&&&& 08:17:22,811 INFO [STDOUT] <Order orderId="1" orderDate="Wed Nov 15 13:45:28 EST 2006" statusCode="0" netAmount="59.97" totalAmount="64.92" tax="4.95"> <Customer userName="user1" firstName="Harry" lastName="Fletcher" state="SD"/> <OrderLines> <OrderLine position="1" quantity="1"> <Product productId="364" title="The 40-Year-Old Virgin " price="29.98"/> </OrderLine> <OrderLine position="2" quantity="1"> <Product productId="299" title="Pulp Fiction" price="29.99"/> </OrderLine> </OrderLines> </Order> 08:17:22,812 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&& MyJMSListenerAction &&&&&&&&&&&&&&&&&&&&&&&&&& 08:17:23,248 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&& MyJMSListenerAction &&&&&&&&&&&&&&&&&&&&&&&&&&&& 08:17:23,249 INFO [STDOUT] Demonstrates Smooks ability to rip the XML into Objects ********* DVDStoreAction - Order Value Objects Populated ********* Header: 1, 15-Nov-2006, 0, 59.97, 64.92, 4.95, Customer: user1,Harry,Fletcher,SD Order Items (2): 0: 1,1,364,The 40-Year-Old Virgin ,29.98 1: 2,1,299,Pulp Fiction,29.99 ****************************************************************** 08:17:23,249 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&& MyJMSListenerAction &&&&&&&&&&&&&&&&&&&&&&&&&& 08:17:23,250 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&& MyJMSListenerAction &&&&&&&&&&&&&&&&&&&&&&&&&&&& 08:17:23,250 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&& MyJMSListenerAction &&&&&&&&&&&&&&&&&&&&&&&&&& 08:17:23,268 INFO [STDOUT] >>>> Message after Smooks intermediate xml -> target pojos : : 08:17:23,269 INFO [STDOUT] [Demonstrates Smooks ability to rip the XML into Objects ********* DVDStoreAction - Order Value Objects Populated ********* Header: 1, 15-Nov-2006, 0, 59.97, 64.92, 4.95, Customer: user1,Harry,Fletcher,SD Order Items (2): 0: 1,1,364,The 40-Year-Old Virgin ,29.98 1: 2,1,299,Pulp Fiction,29.99 ****************************************************************** ]. ============================================================================================== ============================================================================================== ============================================================================================== ============================================================================================== However when I use the old config I don't see the order items list: 08:21:29,100 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&& MyJMSListenerAction &&&&&&&&&&&&&&&&&&&&&&&&&&&& 08:21:29,101 INFO [STDOUT] <Order orderId="1" orderDate="Wed Nov 15 13:45:28 EST 2006" statusCode="0" netAmount="59.97" totalAmount="64.92" tax="4.95"> <Customer userName="user1" firstName="Harry" lastName="Fletcher" state="SD"/> <OrderLines> <OrderLine position="1" quantity="1"> <Product productId="364" title="The 40-Year-Old Virgin " price="29.98"/> </OrderLine> <OrderLine position="2" quantity="1"> <Product productId="299" title="Pulp Fiction" price="29.99"/> </OrderLine> </OrderLines> </Order> 08:21:29,102 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&& MyJMSListenerAction &&&&&&&&&&&&&&&&&&&&&&&&&& 08:21:29,181 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&& MyJMSListenerAction &&&&&&&&&&&&&&&&&&&&&&&&&&&& 08:21:29,182 INFO [STDOUT] Demonstrates Smooks ability to rip the XML into Objects ********* DVDStoreAction - Order Value Objects Populated ********* Header: 1, 15-Nov-2006, 0, 59.97, 64.92, 4.95, Customer: user1,Harry,Fletcher,SD ****************************************************************** 08:21:29,182 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&& MyJMSListenerAction &&&&&&&&&&&&&&&&&&&&&&&&&& 08:21:29,183 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&& MyJMSListenerAction &&&&&&&&&&&&&&&&&&&&&&&&&&&& 08:21:29,183 INFO [STDOUT] &&&&&&&&&&&&&&&&&&&&&& MyJMSListenerAction &&&&&&&&&&&&&&&&&&&&&&&&&& 08:21:29,201 INFO [STDOUT] >>>> Message after Smooks intermediate xml -> target pojos : : 08:21:29,201 INFO [STDOUT] [Demonstrates Smooks ability to rip the XML into Objects ********* DVDStoreAction - Order Value Objects Populated ********* Header: 1, 15-Nov-2006, 0, 59.97, 64.92, 4.95, Customer: user1,Harry,Fletcher,SD ****************************************************************** ].
This item needs to be documented so that end-users understand the migration process for SOA-P 4.3 to SOA-P 5.0 as it relates to Smooks.
Assigning to Tom to see if he has some notes on the migration strategy.
I'll chase this up with Tom.
Link: Added: This issue depends JBESB-3037
Link: Added: This issue duplicates SOA-1645
Link: Added: This issue is related to JBQA-2762