Hi
I am experimenting with Jboss ESB. i have tomcat Application on which a webservice has been exposed. this webservice has a method which accepts a complex object. I intend to invoke this webservice through the SoapClient provided in the ESB. However when the complex object is sent over the wire to the Webservice its values are lost.
I am using the SmooksMapper for configuring the Complex object.
following is complex object
=====================================
public class Suggestion implements Serializable{
public int id;
public String title;
public String description;
public String author;
public String stage;
public void setId(int id) {
this.id = id;
}
public void setTitle(String title) {
this.title = title;
}
public void setDescription(String description) {
this.description = description;
}
public void setAuthor(String author) {
this.author = author;
}
public void setStage(String stage) {
this.stage = stage;
}
/*public int getId() {
return id;
}
public String getTitle() {
return title;
}
public String getDescription() {
return description;
}
public String getAuthor() {
return author;
}
public String getStage() {
return stage;
}*/
}
=====================================
Following is the definition inside the smooks config file.
<?xml version="1.0"?>
<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
<resource-config selector="global-parameters">
SAX
</resource-config>
<resource-config selector="org.jboss.soa.esb.samples.quickstart.webservice__consumer2.Suggestion">
org.milyn.javabean.BeanPopulator
suggestion
it.javalinux.wise.Suggestion
</resource-config>
</smooks-resource-list>
===============================================
Following is the configuration inside the jboss-esb.xml , only the actions listed below
===========================================
What version of the ESB are you using?
We can't see the smooks configuration in the post. You need to encose the XML in BB code tags.
Might need Stefano's help on this!!