-
1. Re: Problem transforming nested document xml-java
rkn Jun 14, 2010 3:24 PM (in response to rkn)Here is the mapping file
-
2. Re: Problem transforming nested document xml-java
tfennelly Jun 14, 2010 3:55 PM (in response to rkn)The version of Smooks in the ESB is unmodified from the same version in the offical release.
What error are you getting? What does your ESB config look like?
-
3. Re: Problem transforming nested document xml-java
rkn Jun 15, 2010 3:17 AM (in response to tfennelly)Hi, The console doesn't say a lot. The problem arises when i try to wire a reference bean
<jb:wiring beanIdRef="scheduleTimeSeriesList" property="scheduleTimeSeries"/></jb:bean>
The same configuration is fine while using smooks project libs outside the container
Attached find the esb conf.
Thx
09:16:25,118 WARN [ActionProcessingPipeline] No fault address defined for fault message! To: JMSEpr [ PortReference < <
wsa:Address jms:127.0.0.1:1099#queue/ftp_esb/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.
interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : 127.0.0.1:1099/>, <wsa:R
eferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:desti
nation-type : queue/>, <wsa:ReferenceProperties jbossesb:destination-name : queue/ftp_esb/>, <wsa:ReferenceProperties jb
ossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:R
eferenceProperties jbossesb:message-selector : source='fromFTPAction'/>, <wsa:ReferenceProperties jbossesb:persistent :
true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:trans
acted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] MessageID: c66e3f7f-27d9-4158
-8488-41c6872c4c1a RelatesTo: jms:correlationID#c66e3f7f-27d9-4158-8488-41c6872c4c1a-
jboss-esb.xml 3.5 KB
-
-
4. Re: Problem transforming nested document xml-java
rkn Jun 15, 2010 2:07 PM (in response to rkn)Hi,
I tried to load into an action the configFile and instantiate a smook instance inside a own Action (instead of using org.jboss.soa.esb.smooks.SmooksAction)
When I run i get following error:
20:03:03,935 ERROR [SmooksDOMFilter] Failed to apply processing unit [org.milyn.javabean.BeanInstancePopulator] to [org:
milyn:smooks:unknowndoc:/ScheduleMessage].
org.milyn.cdr.SmooksConfigurationException: Bean [scheduleMessage] configuration invalid. Bean setter method [setScheduleTimeSeries(java.util.ArrayList)] not found on type [ch.swissgrid.bgm2.service.schedule.v1.ScheduleMessage]. You may n
eed to set a 'decoder' on the binding config.
at org.milyn.javabean.BeanInstancePopulator.setPropertyValue(BeanInstancePopulator.java:521)my setter exists!
The same code run inside a Main Class with same smooks-configuration file works fine!
-
5. Re: Problem transforming nested document xml-java
tfennelly Jun 15, 2010 3:03 PM (in response to rkn)Sounds like a classloader issue perhaps... not sure.
If you could break this down... remove any sensitive info from it... modify one of the quickstarts and attach it I might be able to check it out for you.