Thanks to this post and SWS-563 I was able to implement NTLM authentication for my web service!
A colleague of mine was researching for this as well and he came up with this Authentication...
Type: Posts; User: evandongen; Keyword(s):
Thanks to this post and SWS-563 I was able to implement NTLM authentication for my web service!
A colleague of mine was researching for this as well and he came up with this Authentication...
I had some trouble finding the unit tests you mentioned in the jars from the maven repository. After some googling I found the svn repo though :)
For anyone else who is looking for some examples,...
Cool, I hadn't thought of the unit tests yet. Thanks, I'll give it a go!
Hi Arjen,
Great work again, everything seems to be working like a charm. Any chance you've got some more information on the testing/mocking you describe in this post? I can't seem to find...
Great! Glad that I could help ;)
I am not working with STS but with Eclipse. For my spring-ws projects, I just create a dynamic web project (which, in essention, it is). Somehow those projects are set to 1.4 as well - I need to...
I don't know the answers to all of your questions. However, I've implemented a webservice with the spring-ws/spring-security combination. There are some evolving standards to maintain state for a...
Hi there,
I'm very happy with all the new annotations and parameters which can be injected in my endpoints. This all works nicely with my @Configuration configured project.
I am thinking about...
My code looks like what you have, with the same difference as we had on the client side ;)
I'm using SaajSoapMessage:
protected List<Attachment> getAttachments() {
SaajSoapMessage...
Check out this thread - there's some sample code in there for both the client and the server which you can use.
I suggest you take a look at the spring-ws examples and the links I provided in my previous post.
I'd suggest you take a look at:
- http://static.springsource.org/spring-ws/sites/2.0/reference/html/tutorial.html (basic WS)
-...
I'm using the latest and greatest Spring-WS (2.0.0-M2) at the moment, because that introduces some great annotations. The way you code your endpoint is not dependant on SOAP, Rest, or whatever.
...
Hmm, I've never written such an endpoint :) I suppose the namespace you've configured is used somehow to validate the request/response.
Anyone else who can confirm this?
If you review the pom.xml of the airline project, you'll find this piece of xml:
<plugin>
<groupId>com.sun.tools.xjc.maven2</groupId>
<artifactId>maven-jaxb-plugin</artifactId>...
Are you using a marshalling framework (like Jaxb) for your webservice? If so, validation is performed for every request and response because marshalling/unmarshalling is only possible if the input is...
The only difference I can find quickly between your code and mine is that you are using a SoapMessage instead of a SaajSoapMessage.
I haven't tried this with a large (> 1 MB) file yet:
new...
I've managed to output the message with the following log4j config:
<logger name="org.springframework.ws.client.MessageTracing.sent">
<level value="TRACE" />
<appender-ref...
I love the new paramater mix/matching! Now I can easily access the messagecontext for soap attachments without using an interceptor to inject the context in some bean :)
Keep up the good work!
Hi Nguessan,
I guess I misunderstood you in the initial post. In my case, I needed access to the MessageContext in the endpoint to get the SOAP attachments.
What I have done to achieve that...
I resolved this by creating an interceptor with an autowired 'container' bean. The interceptor has access to the message context (in the handleRequest method) and sets it in the container bean. To...