[JBoss Seam] - ajax4jsf mediaOutput in Seam?
by EricJava
I'm trying to use mediaOutput in Seam: (1.2.1):
<a:mediaOutput element="image" cacheable="false" session="true"
| createContent="#{chartGenerator.paint}"
| uriAttribute="src"
| value="#{chartParameters}" mimeType="image/png" />
The chartGenerator.paint method never gets called; the whole thing is ignored. In fact if I change the name "paint" to something else that isn't even a method on that class, it doesn't throw any exceptions or do anything.
I searched around the documentation and couldn't find references on this.
I realize that using object serialization to pass in a value is very un-Seam (unseamly?).
What's the right way to do this? I could set up a Servlet to generate the image but that's even more unseamly.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098996#4098996
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098996
18Â years, 6Â months
[JBossWS] - Re: WSTools to generate jaxrpc-mapping.xml file?
by wcydaip
So, the call to WSTools is not necessary? That's what I was hoping to find out.
Does this also mean that we no longer need a mapping file? If not, how is the mapping file generated? WSTools?
The reason I even tried to generate artifacts with the WSTools is to solve this error:
| 2007-10-25 11:42:57,765 ERROR [STDERR] javax.xml.ws.soap.SOAPFaultException: WSDLReader:None of the matching operations for soapAction http://actcenters.com/ALMVTC/action/Schedule.getCandidateScheduleData could successfully load the incoming request. Potential typemapper problem
| 2007-10-25 11:42:57,765 ERROR [STDERR] at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SOAPFaultHelperJAXWS.java:69)
| 2007-10-25 11:42:57,765 ERROR [STDERR] at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.throwFaultException(SOAP11BindingJAXWS.java:109)
| 2007-10-25 11:42:57,765 ERROR [STDERR] at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:553)
| 2007-10-25 11:42:57,765 ERROR [STDERR] at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:371)
| 2007-10-25 11:42:57,765 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243)
| 2007-10-25 11:42:57,765 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
| 2007-10-25 11:42:57,765 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
| 2007-10-25 11:42:57,765 ERROR [STDERR] at $Proxy60.getCandidateScheduleData(Unknown Source)
|
which is called via:
| public Event perform(HttpServletRequest request) throws HTMLActionException {
| logger.info("entering perform");
| String sEnrollId = "11110",
| sSSN = "-00004069",
| sClientPWD ="123",
| sClientId = "042";
|
| String req = "<GetCandidateScheduleData>"+
| "<Client Id='" + sClientId + "' Password='" + sClientPWD + "'/>"+
| "<EnrollId>" + sEnrollId + "</EnrollId>"+
| "<SSN>" + sSSN + "</SSN>" +
| "</GetCandidateScheduleData>";
|
| ALMVTC alm = new ALMVTC();
| ScheduleSoapPort ssp = alm.getScheduleSoapPort();
|
| Object resp = null;
|
| try {
| resp = ssp.getCandidateScheduleData((Object)req);
| //resp = ssp.serviceCheck(req);
| logger.info("the response for the candidates:"+resp);
| } catch (Exception e) {
| // TODO Auto-generated catch block
| e.printStackTrace();
| }
|
| logger.info("leaving perform");
| return null;
| }
|
Not sure if this will help but the full stack trace can be found here:
http://graham-king.blogspot.com/2007/10/full-stack-trace-for-jboss-mssql....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098990#4098990
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098990
18Â years, 6Â months