[JBoss Seam] - Multiple DataModels in an SFSB
by lightbulb432
I have multiple DataModels with corresponding DataModelSelections in an SFSB. The problem is that every time one is injected based on a selection, the other seems to get injected into its DataModelSelection as well (a default value of the first in the row of that other DataModel, because no row was actually selected for it).
Has anybody else had this problem? I'm not doing caching or anything in my bean, so am wondering whether this might be a bug?
In the code below, on one page I select a row in the table of "A" entities...however, not only is the DataModelSelection for A injected, but also for B! Totally unexpected... (The injected value for B is always the first element in its list.) The same thing happens in the opposite way when I am on the page for B.
@DataModelSelection("a")
| @Out(required=false)
| private A a;
|
| @DataModelSelection("b")
| @Out(required=false)
| private B b;
|
| @DataModel
| @Factory
| @SuppressWarnings("unchecked")
| public List<A> getA() {
| ...
| }
|
| @DataModel
| @Factory
| @SuppressWarnings("unchecked")
| public List<B> getB() {
| ...
| }
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011778#4011778
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011778
19Â years, 2Â months
[JBossWS] - Interop with WCF
by stone_42
Hello,
can you tell me how good the interoperability between JBossWS and Microsofts WCF web service implementation is? Currently, I am using the ws4ee stack and I'm even not able to call a hello world wcf web service, because ws4ee and wcf (configured to use soap 1.1) both do not understand the soap messages of the other partner (besides, I made ws-transactions with JBossWS and ws-security with a custom JaxRPC-Handler working - but not the communication of application data).
What I'm looking for are statements about handling application data, namely simple data types like strings, complex data types and arrays.
An answer could help me to decide whether migration from ws4ee to JBossWS (and subsequently from JBoss 4.0.3 to 4.0.4 or 4.0.5) is worthwhile to think about.
Searching the wiki, I found only this page http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWSAndDotNet about Interop with microsoft implementations, but it does not mention WCF at all.
Regards,
Martin
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011774#4011774
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011774
19Â years, 2Â months