[JBossWS] - Can not set remoting client Marshaller when not connected?
by liudan2005
I've followed this article to run my first ws test:
http://www.regdeveloper.co.uk/2007/01/23/ejb_web_services/
However, I keep getting this exception:
| javax.xml.soap.SOAPException: Could not setup remoting client
| at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:168)
| at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:687)
| at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404)
| at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148)
| at $Proxy0.sayHello(Unknown Source)
| at mypackage.WebServiceClient.main(WebServiceClient.java:22)
| Caused by: java.lang.RuntimeException: Can not set remoting client Marshaller when not connected.
| at org.jboss.remoting.Client.setMarshaller(Client.java:1343)
| at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:163)
| ... 5 more
| Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
| at $Proxy0.sayHello(Unknown Source)
| at mypackage.WebServiceClient.main(WebServiceClient.java:22)
| Caused by: java.rmi.RemoteException: Call invocation failed: Could not setup remoting client; nested exception is:
| javax.xml.soap.SOAPException: Could not setup remoting client
| at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:718)
| at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404)
| at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148)
| ... 2 more
| Caused by: javax.xml.soap.SOAPException: Could not setup remoting client
| at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:168)
| at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:687)
| ... 4 more
| Caused by: java.lang.RuntimeException: Can not set remoting client Marshaller when not connected.
| at org.jboss.remoting.Client.setMarshaller(Client.java:1343)
| at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:163)
|
Is there anything i'm missing?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012708#4012708
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012708
19Â years, 2Â months
[JBoss Seam] - Re: Seam ICEFaces
by gavin.kingï¼ jboss.com
I just spent two days with the ICEFaces guys, working through a list of issues, among other things. Seam 1.1.6 ships with icefaces 1.5.3, which works better with Seam than previous versions. icefaces 1.5.4 should work even better.
My impression is that icefaces is great technology, superior to other Ajax solutions out there, but it hasn't quite been battlehardened to the same extent that Seam has been. This is going to change quick, since they are doing 18k downloads per month, and are going to have users screaming at them pretty soon.
We have established an "ICE Faces Integration" component in Seam JIRA, where Seam users are welcome to submit bugs and other issues, so that they are visible to both the Seam and ICEFaces teams.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012705#4012705
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012705
19Â years, 2Â months
[JBoss Seam] - Re: bijection value causing JSF Error. Misuse, or misunders
by james_haysï¼ mac.com
Thanks for the reply. I'm still having issues though. I changed my searchAction to contain
| @In(value="profileRecord", required=false)
| private ProfileRecord searchRecord;
|
if my xhtml contains
| <div style="text-align: right;"><label>WA #:<h:inputText value="#{searchRecord.workAuthorizationNumber}" /></label></div>
| <div style="text-align: right;"><label>Proposal #:<h:inputText value="#{searchRecord.proposalNumber}" /></label></div>
|
I continue to get the value cannot be converted error. which makes sense to me.
if I leave the xhtml to read
| <div style="text-align: right;"><label>WA #:<h:inputText value="#{profileRecord.workAuthorizationNumber}" /></label></div>
| <div style="text-align: right;"><label>Proposal #:<h:inputText value="#{profileRecord.proposalNumber}" /></label></div>
|
It seems to work.
If I understand this correctly, there will be no way for me to inject a property named searchRecord of type ProfileRecord into an action from my xhtml. My xhtml will always have to represent the ProfileRecord entity by specifying #{profileRecord.blah}. This just doesn't seem right.
How can I represent two different entity components on the same page in the same scope? One option would be to create them in a factory to create a default object so it is already as a component. That seems noisy though. Along those lines, I would think I could also specify @In(create=true)
| private ProfileRecord searchRecord; in my action and then use #{searchRecord} in my xhtml, but that doesn't seem to work either. I still get the value could not be created error.
I'm assuming that I am still missing something critical.
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012696#4012696
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012696
19Â years, 2Â months