[jboss-user] [JBossWS] - Re: WS Security with JSR181

EstrellaRichardson do-not-reply at jboss.com
Wed Sep 6 17:12:31 EDT 2006


I still have this problem and I haven't got a clue.  If someone needs more info to help me please let me know and I will provide.  Just to make things clear about what I need,
1. I need to know why I am getting the warning  and how to fix it.
WARN, org.jboss.ws.wsse.WSSecurityHandler, http-0.0.0.0-8080-2] --> Cannot obtain security configuration

2. I need to know how to get JBoss to deploy my service to https and not http.  

I am new to implementing webservices so any help would be greatly appreciated.

Thanks again,
Estrella


"EstrellaRichardson" wrote : I am trying to implement WS Security with JSR 181 endpoint.  This is my endpoint: 
  | 
  | @WebService(name ="InfoService",
  |       targetNamespace="http://com.tan.app/prov/ws/tan/car",
  |       serviceName="CarInfo")
  | @SOAPBinding(style = SOAPBinding.Style.RPC)
  | @Stateless
  | @PortComponent(authMethod="BASIC", transportGuarantee="CONFIDENTIAL")
  | @SecurityDomain("JBossWS")
  | @HandlerChain(file = "resource://config/ServerHandlers.xml", name = "SecureHandlerChain")
  | public class CarInfoImpl implements CarInfoService{ code }
  | 
  | Everything deploys and I see the service but when my client (which is unsecure) trys to access it, I get the following message:
  | [WARN, org.jboss.ws.wsse.WSSecurityHandler, http-0.0.0.0-8080-2] --> Cannot obtain security configuration
  | 
  | 
  | I would expect an error message saying that the service couldn't be accessed because it requires WS Security or something of that nature.
  | 
  | Can someone please explain to me what I am doing wrong?  I would also expect JBoss to publish the WSDL with a SOAP address location starting with https but mine is http, how do I change this?
  | 
  | Any help would be greatly appreciated as I am facing a really close deadline for this.
  | 
  | Thanks.
  | 
  | 
  | 
  | 
  | 
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969884#3969884

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969884



More information about the jboss-user mailing list