[JBoss Seam] - Re: EntityHome usage recommended?
by maku01
"matt.drees" wrote : So, after a little searching...
| contactlist, dvdstore, quartz, seampay, wiki, and ui each use EntityHome.
|
| Overriding EntityHome is used in quartz, seampay, and wiki.
|
| Defining entity-home in components.xml is used in contactlist, dvdstore, quartz, seampay, and ui.
|
| seampay, interestingly enough, both overrides EntityHome *and* defines it in components.xml (<pay:payment-home>), which I hadn't realized you could do...
I can not find the usage of EntityHome in the examples you mentioned. (I use Seam 2 Beta) EntityHome programmaticaly used is in wiki, quartz and seampay examples. But my point is that there is no continuous strategy of the usage visible (at least for me).
I consider to use EntityHome as Base class for my DAO classes. But I'm not sure wheter it would be a good decision.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062788#4062788
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062788
18Â years, 10Â months
[JBossWS] - Re:
by chris05atm
Considering a possible bug? in the raw soap generation I moved onto using a client created from wsconsume. Same error so this is maybe a WSDL issue... but the WSDL looks correct and the files are generated from the WSDL so now I'm really confused. A possible deployment problem?
Simple client:
| package webservice;
|
| import java.net.MalformedURLException;
| import java.net.URL;
|
| import javax.xml.namespace.QName;
| import javax.xml.ws.Service;
|
| public class FindClient {
|
| public static void main(String[] args) throws MalformedURLException {
| Service service = Service.create(new URL("http://127.0.0.1:8080/xmlapi/invoke?wsdl"),
| new QName("xmlapi_1.0", "XmlApiMethods"));
|
| FindInterface find = service.getPort(FindInterface.class);
|
| find.ping();
| }
|
| }
|
The error generated:
| Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Endpoint {xmlapi_1.0}FindInterfacePort does not contain operation meta data for: {xmlapi_1.0}ping
| at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SOAPFaultHelperJAXWS.java:69)
| at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.throwFaultException(SOAP11BindingJAXWS.java:109)
| at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:553)
| at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:371)
| at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243)
| at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
| at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
| at $Proxy15.ping(Unknown Source)
| at webservice.FindClient.main(FindClient.java:17)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062775#4062775
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062775
18Â years, 10Â months