[jboss-user] [JBossWS] - Re: How do you access UsernameTokens?

2006-11-07 Thread summer.hill
What if I want to do some of my own authorisation processing using the token? I would like to access the token from within an EJB interceptor somehow. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983985#3983985 Reply to the post : http://www.jboss.com/inde

[jboss-user] [JBossWS] - How do you access UsernameTokens?

2006-10-16 Thread summer.hill
I want to access UsernameToken's that are provided by a .NET client (WSE2) to my JBossWS web service. I can't find any documentation on where the UsernameToken's actually end up in JBossWS once the SOAP messages bubble up the JBossWS Soap stack. Where do you access them from? If they are not

[jboss-user] [JBossWS] - Re: Problem using a .NET client with JBOSSWS 1.0.3

2006-10-16 Thread summer.hill
Yep, I get exactly the same thing for the .NET client I am using. In 1.0.3 you have to make sure that no Object parameters contain null properties. I'm rolling back to 1.0.2 as I type. James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978684#3978684 Rep

[jboss-user] [JBossWS] - Re: Adding Properties to MessageContext in HandlerChain and

2006-09-26 Thread summer.hill
BTW: The EJB invoked from the SOAP message is a @Stateless @WebService EJB with annotated @WebMethod's James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974418#3974418 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=

[jboss-user] [JBossWS] - Adding Properties to MessageContext in HandlerChain and gett

2006-09-26 Thread summer.hill
I am trying to find a way to add properties to the MessageContext object passed to the HandleRequest method of a @HandlerChain based handler class. I want to set some data into the MessageContext such that it is available from the InvocationContext object's getContextData() method that is passed

[jboss-user] [JBossWS] - Can't resolve WARN [WSSecurityHandler] Cannot obtain securi

2006-09-26 Thread summer.hill
Hi, I am trying samples in the jbossws 1.0.2 samples pack for a jsr181ejb endpoint. No matter how many times I have looked at the configuration for the server security, I just cannot get rid of this error message. Here is my jboss-wsse-server.xml file (same as samples) | | | http://w

[jboss-user] [JBossWS] - Sample code for wssecurity UsernameToken processing

2006-09-21 Thread summer.hill
Does anyone have any sample code or useful links on how to develop custom SecurityHandlers for a jsr181 annotated webservice? I am developing a .NET client and intend to pass UsernameTokens from the C# client to the webservice in order to perform authentication and authorisation functions in a

[jboss-user] [JBossWS] - Re: Newbie: How do you modify the java package/namespace map

2006-09-04 Thread summer.hill
Thanks for the tip Thomas. I've already done this for my @WebService annotations. The real problem I am having is with passing java objects as parameter or return values from the @WebMethods. The WSDL generated places the java objects in their own WSDL namespace named after the java package in

[jboss-user] [JBossWS] - Newbie: How do you modify the java package/namespace mapping

2006-08-30 Thread summer.hill
I am developing a series of JSR181 annotated webservices that I automatically deploy to the jboss deploy directory. JBoss correctly deploys the ejbs and the webservices are available and all working fine. BUT, I can't find a way of configuring how the java packages containing custom java classe

[jboss-user] [JBossWS] - Re: Changing the wsdl location to be different from the jar

2006-08-21 Thread summer.hill
Thanks Charly, With EJB3 there appears there was a plan to place a "portName" field into the @WebService annotation. However it doens't seemed to have made it into the standard. I am using JDK 1.5.07 and portName is just not defined. It IS listed the O'Reilly EJB3 book as supported. The main r

[jboss-user] [JBossWS] - Re: Changing the wsdl location to be different from the jar

2006-08-17 Thread summer.hill
Hi Charly, I am not using EJB deployment descriptors xml files as I am using EJB3 annotations exclusively. Does this mean I need to generate a deployment descriptor (ie in the jboss.xml file) for the WebService EJB? James View the original post : http://www.jboss.com/index.html?module=bb&op=

[jboss-user] [JBossWS] - Changing the wsdl location to be different from the jar name

2006-08-16 Thread summer.hill
Is there a way of changing the jboss generated WSDL URL such that it DOESN'T use the name of the deployed EJB-JAR? For example: EJB: myejb.java EJB-JAR: mywebservice.jar JBoss generates a WSDL at the location: http://localhost:8080/mywebservice/myejb?wsdl I want to the location to be: http:/