[jboss-user] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client.

2008-07-01 Thread helmutdoe
I am using JBoss 4.2.2 GA + jbossws-3.0.2 GA. i tried to downgrade my System using the same AS and jbossws-2.0.3 but the error resists. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161786#4161786 Reply to the post : http://www.jboss.com/index.html?module

[jboss-user] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client.

2008-02-10 Thread PeterJ
Shashank, please do not post questions at the end of someone else's thread. You have asked the same question on three separate threads, and as far as I can tell have not made use of the advice given on those threads. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtop

[jboss-user] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client.

2008-02-10 Thread shashankjain
Hi , I am trying to set up a standalone client for JBossWS Security. I am using JBoss4.2 with JBoss ws2.0.2. I am unable to get the standalone client working.I think server expects the http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128242#4128242 Reply to the post : http://www.jboss.

[jboss-user] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client.

2007-05-07 Thread rieman4d
I'm getting the same error as Richard K: SOAPFaultException: Endpoint {http://org.jboss.ws/xabraws}WebServiceImplPort does not contain operation meta data for: {http://www.w3.org/2001/04/xmlenc#}EncryptedData The server log SOAPMessage trace shows the client request is encrypted, but the serve

[jboss-user] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client.

2007-04-19 Thread [EMAIL PROTECTED]
Hava a look at the security samples. A clients needs the security handlers configured and the security config file http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#WS-Security View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039054#4039054 Reply to

[jboss-user] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client.

2007-04-10 Thread PeterJ
Make sure the standard-jaxws-client-config.xml contains only the "Standard WSSecurity Client" configuration, you have to delete the other two configurations. Seems like only the first one is used, and I have not found out how to indicate which one to use if there are multiple. View the original

[jboss-user] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client.

2007-04-10 Thread estrnod
Did you ever get an answer to how to get the client to use ? I have been following this thread closely because it reflects my own experience and even my own suspicion that the client needed something similar to the HandlerChain on the server side, before I read your post. I incorporated stand

[jboss-user] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client.

2007-04-03 Thread noclueu2
I recreated the service removing anotation: @WebMethod(operationName="PullFromHat") Then rebuilt the client classes using the new WSDL. I still get the same error. If I just do signing and not encryption everything works great. I use the same file contents for both the jboss-wsse-server.xml and j

[jboss-user] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client.

2007-04-03 Thread PeterJ
I think this error comes about because the method name used on the client does not exactly match the method name on the server. Looking at your code, the method is exported as PullFromHat but in the client you use pullFromHat. Seems like you used a different WSDL to generate the client than wha

[jboss-user] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client.

2007-04-03 Thread noclueu2
Yes I did update jboss-wsee-***.xml on both the client and server. The issue was the missing META-INF/standard-jaxws-client-config.xml on the client. Once I added that I now get a new error: javax.xml.ws.soap.SOAPFaultException: Endpoint {http://com.test.www/test/jsr181ejb}EndpointInterfacePort

[jboss-user] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client.

2007-04-03 Thread PeterJ
I also see that the handler chain is missing for the client. Without that, the client doesn't know to apply the jboss-wsse-client.xml. I was going to refer you to the documentation on how to do this, but noticed that there is nothing about it in the documentation. Perhaps I got it from the old

[jboss-user] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client.

2007-04-03 Thread PeterJ
You never said if you made the suggested jboss-wsse-client.xml changes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034118#4034118 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034118 ___

[jboss-user] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client.

2007-04-03 Thread noclueu2
One more question that might answer my problem. In the service code for user/password I add annotation: @RolesAllowed("internal") | and | @SecurityDomain(value="JBossWS") | In the client to pass the user password, I had to add: | BindingProvider bindingProvider = (BindingProvider) port;

[jboss-user] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client.

2007-04-03 Thread noclueu2
I tried changing the config files to have encrypt in them with no succes. The serve continues to work but my client does not. Here is the error message: | javax.xml.ws.soap.SOAPFaultException: javax.xml.rpc.soap.SOAPFaultException: This service requires , which is missing. | at org.jbos

[jboss-user] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client.

2007-04-03 Thread PeterJ
First, I think the client is neither signing nor encrypting the messages. The jboss-wsse-client.xml file is confused, it indicates that encryption is required but never states how to encrypt the message, but it does indicate how to sign the message. To encrypt the message, the < config > secti