I've found myself a solution which may be not the best out there, but it works :) I created an abstract class like AbstractMarshallingPayloadEndpoint by copying the source code of the original and...
Type: Posts; User: Krycek_A; Keyword(s):
I've found myself a solution which may be not the best out there, but it works :) I created an abstract class like AbstractMarshallingPayloadEndpoint by copying the source code of the original and...
just keep in mind that I am using the Axiom implementation of SOAP instead of SAAJ which is the default of Spring-WS ;)
Maybe this will help. I have been looking this for ages so I know how it feels ;)
public void doWithMessage(WebServiceMessage message) throws IOException, TransformerException {
...
Hi all,
Let me explain the situation:
I'm serving a webservice with Spring-WS via an implementation of an AbstractMarshallingPayloadEndpoint (with XML-beans). All goes well but there is 1 thing...
To get people started, I will tell you guys what I have done:
I implemented a PreAuthenticationSecurityFilter that comes with Spring Security. The filter checks for a certain request parameter. In...
It's been more than a year since I created this thread but I would like to share the solution we are using in our applications.
To resolve Soap faults, I implemented a FaultMessageResolver that...
Hi,
I also used XMLBeans to map my incoming/outcomings requests to Java beans but I don't think there is a way that Spring manages this at runtime. You have to compile them once and add the...
Hi all,
I need to manage the following:
In an existing application, the security is integrated via LDAP. Now a 3th party company needs to access certain url's in this application without the...
I recently implemented a captcha in the project I was working on. I also bumped on the same problem until I checked the source for the GenericManageableCaptchaService. It seems it required an extra...
Guys,
Maybe this will sort some things out. Here is what I have done to solve my problem. In your page, add the following javascript code snippet in the head tag:
<script...
So far I have done the same. I also work with the 'page' request parameters to know on which page I am. But still, I need to write my own logic to handle those parameters.
With the AWFC, this logic...
I am using DWR for months now and I am still not regretting it :) It is very easy to combine it with the Spring framework. You should give it a try.
I don't think it is a good idea to mix existing controller types with annotations (unless you only use it to define the url mapping using @Controller).
However, a while ago I also posted a...
Hi guys,
I heard that in the next release of Spring (3.0), the Controller hierarchy is going to be deprecated. Now I was wondering, if I ever want to create a wizard without the...
I was asking myself the same question :) I am glad there is a big community, so we can all help eachother when needed ;)
Have a look at this thread http://forum.springframework.org/showthread.php?t=57281. I think you will find the answer in there :)
If your object contains enums, you need to exclude the 'declaringClass' method in you dwr-servlet config.
<dwr:configuration>
<dwr:convert type="bean" class="domain.Employee">
...
A solution has been found for the problem above. The issue was situated in the version of the Resin which we were using. The component scan didn't look in the jar files for classes. It was a problem...
Everything worked perfect in BEA Weblogic 9.2 :) But we had to switch back to Resin and all of the sudden, it didn't work anymore.
It seems that the server can't find the annotated classes inside...
Hi all,
We are struggling with some issues concerning the usage of the resin application server. When we declared the component-scan in our application context files, Resin is unable to find the...
I found a solution for my problem described above. I replaced the redirect (after session expiry) from /login.htm to /logout.htm. In that way, Spring will clear everything from the session. This...
Hi guys,
I ran into a little issue while using DWR in a Spring web application. We've set a session timeout for X minutes. After the session is expired, the user is automatically redirected to the...
Hi,
I was wondering if it is possible to just return a response code instead of a view when using annotated controllers ?
Should I just create a method that accepts the HttpServletResponse and...
Hi,
I forgot to mention something important. In your AbstractWizardFormController implementation, you need to override the method 'getFormSessionAttributeName'
@Override
protected String...
With this taglib, you could even display other properties that are specified on your UserDetails object. May come in handy in case you require it on your pages :)