[jboss-user] [JBossWS] - Signing BinarySecurityToken

2008-07-18 Thread Vincent321
Hi Folks, I am writing a client and trying to sign the binarysecuritytoken using JbossWS 3.0.2-native. I tried to use the target element in the jboss-wsse-client.xml but apparently we can only adress element from the soapbody using the qname. Did anyone already succeed in signing the

[jboss-user] [JBossWS] - Performance problem with Jbossws client

2008-02-01 Thread Vincent321
Dear, I have a serious performance problem with a webservice client that I explained here : I took the wsdl http://developer.ebay.com/webservices/latest/ebaySvc.wsdl. This wsdl is about 3Mb but I was able to generate the stubs. Now that I want to invoke it with the following code : |

[jboss-user] [JBossWS] - Re: Full control of client and server certificates with a JB

2008-01-30 Thread Vincent321
Hello, I have exactly the same requirements... did you make it working ? Cheers Vincent View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124994#4124994 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124994

[jboss-user] [JBossWS] - Webservice client over SSL

2008-01-27 Thread Vincent321
Hello, I want to call a webservice over ssl using jbossws. I am able to do it by setting the following properties for the jvm : | -Djavax.net.ssl.keyStore=mykeystore.jks | -Djavax.net.ssl.keyStorePassword=password | | I want to avoid this kind of configuration and assign a

[jboss-user] [JBossWS] - Deploying a client on JbossAs

2008-01-24 Thread Vincent321
Dears, I get the following exception while invoking my webservice client on jbossAs inside a webapp. java.lang.LinkageError: loader constraints violated when linking javax/xml/namespace/QName class Seems that this class is contained inside stax-api.jar inside my web-inf/lib. If I remove that

[jboss-user] [JBossWS] - I would like to marshall JaxB object in soapheader.

2008-01-22 Thread Vincent321
Hi all, I followed the following tutorialhttp://labs.jboss.com/jbossws/user-guide/en/html/1.0.4/en/html/headers-handlers.html to insert information in the header. I tried to marshall the jaxb object with the following code : stub.addUnboundHeader( | xmlName,

[jboss-user] [JBossWS] - Re: How can I see the SoapResponse

2008-01-18 Thread Vincent321
As I was not able to find it directly in the documentation, perhaps it is a good idea to put it in a FAQ or something else ... If you want to see the request and response, you need to set the TRACE level to the class org.jboss.ws.core.MessageTrace in log4j configuration. Cheers, Vincent

[jboss-user] [JBossWS] - Re: Exception with WSClient

2008-01-17 Thread Vincent321
Hi guys, The error was due to a missing trustore. It is working now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4120800#4120800 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4120800

[jboss-user] [JBossWS] - How can I see the SoapResponse

2008-01-17 Thread Vincent321
Hello, I generated a client with WSConsume and register a handler to log soap messages. The handler gets called and display the request but I am not able to see either the soapfault nor the soapresponse. Here is the code of my handler. Could you pls tell me what did I wrong ? | final

[jboss-user] [JBossWS] - Exception with WSClient

2008-01-16 Thread Vincent321
Hello, I get the following exception when calling a WS with my client: FAILED: testCall javax.xml.ws.WebServiceException: java.lang.IllegalStateException: Could not setup remoting client at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:304) at

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - java.lang.NoClassDefFoundError

2008-01-12 Thread Vincent321
Hi guys, I am facing a very strange problem with JbossAS 4.2.0GA. I build a very simple servlet with some classes. Everthing compiled successfully, and is built in the war. Whenever I called the servlet, the following exception is thrown even if the class is there ;-(

[jboss-user] [JBoss Seam] - Re: JBoss Seam 2.0 and Weblogic 10 Server

2007-12-05 Thread Vincent321
Hello, Is there somewhere best practices or recipe guide to deploy seam apps on weblogic 10 ? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4110429#4110429 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110429

[jboss-user] [Clustering/JBoss] - Job scheduling design question

2007-11-05 Thread Vincent321
Dears, I have to run jobs a certain intervals within a clustered environment. For the moment, I have 2 choices in mind : EJB Timer or Quartz (started in a MBean). Do you have any experience/suggestion on the best way to proceed ? The job I want to make is not business critical but I want to

[jboss-user] [JBossWS] - Re: WSSecurity Username token

2007-10-15 Thread Vincent321
Thanks Peter, But the conversation and example are related to x509 token :-( I want the web service to handle such an header : wsse:Security soapenv:mustUnderstand=1 xmlns:wsse=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd; | wsu:Timestamp

[jboss-user] [JBossWS] - WSSecurity Username token

2007-10-14 Thread Vincent321
Hello, Could you please tell me how to protect a web service with username token ? I am not able to find any sample. Many thanks in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094988#4094988 Reply to the post :

[jboss-user] [JBossWS] - how to access anyType content

2007-10-04 Thread Vincent321
Hello, using wsconsume, I generated a webservice with all corresponding classes. In the WSDL there is one field xs:anyType that should be mapped to Object. In the webservice, if I do a System.out.println of the corresponding object, I go null while there is data in the soaprequest. How can

[jboss-user] [JBossWS] - How to set a parameter mandatory for a given operation

2007-10-03 Thread Vincent321
Dear, Could you please tell me how can I set a parameter mandatory in my WS. Below is the code of my WS | @WebService | @SOAPBinding(style=SOAPBinding.Style.DOCUMENT) | public class GenericWS { | public boolean postMessage(@WebParam(name = message)Message inMessage){ |