I have a web service that I am trying to implement using Spring and Jaxb. I already have a handful of working services using both of these - but this particular service is giving me a hard time due...
Type: Posts; User: dortman; Keyword(s):
I have a web service that I am trying to implement using Spring and Jaxb. I already have a handful of working services using both of these - but this particular service is giving me a hard time due...
Here should work:
http://download.java.net/maven/1/com.sun.xml.wss/jars/
We are actually using: xws-security-2.0-FCS.jar, but I assume newer should work to as the other posted indicated.
I just noticed that the code you post in your second post was different then the code you posted in your first post. The first post looks like it should work. The second looks like it should not be...
Oh. My bad - I missed the args. Try either removing the args from both or adding the argument to the pointcut so that they match. This should work:
@Aspect
public class LoggingAdvice {
...
I am pretty sure that is correct. Perhaps something else is amiss?
Oh. I hadn't seen that method. I was unable to figure out what I was doing wrong, and eventually ended up finding a different resolution to the problem set in front of me at that time. See the...
I'm trying to write an interceptor for a web service that will modify the contents of the Soap message before is sent on to the endpoint. If a client sent a message where the value of some element...
A keystore is simply a place where your keys are stored. As such, one exists on both the client and the server.
There is some sample code and a few helpful URLs in this thread from earlier in the week:
http://forum.springsource.org/showthread.php?t=72858
It looks like it can't find the XSD file. It also looks like there is a spelling error in the message.
java.lang.IllegalArgumentException: schema "ServletContext resource [/WEB-INF/schema.xsd]"...
The last post is most relevant. I used it to write a class which stored a binary attribute into a string. I haven't used it for a while; but it worked at the time.
byte[] SID = (byte[])...
Might this be relevant?
http://forums.sun.com/thread.jspa?threadID=585031
If I am understanding what you are asking, Wss4jSecurityInterceptor seems to be doing just that. If you step through it, you can see it extract the certificate from the request.
protected...
It looks like you defined your interceptor such that you are trying to set a List into a setter expecting a single value.
<bean...
Here is the same application using the WSS interceptor. It appears to work as expected.
I am not sure that is the case. I have attached a sample application. There is a client and a web service. I have been running it on Tomcat 6.0.14.
Originally, I was using the Metro stack which...
I have actually been fighting with the same thing this week. Oddly, I am getting a different error than you are. While my attempt looks quite similar to yours, I am actually receiving this error:
...
Hhhm; we must have run into somewhat similar problems, although it I am getting almost the exact same results you are.
I've actually tried using spring-ws 1.5.4, 1.5.6, and 1.5.7 - all to no...
Thanks for the quick response.
I am using Tomcat (6.0.14). I have tried Jetty (via the Maven plugin), and actually get a *different* error. I have obtained the same negative results using Spring...
This is a little late, as you were experiencing this problem a while ago - but what error were you getting? Did you resolve it?
I have some code that is quite similar to yours, though it is using...
Does the Employee class implement Serializable?
Try using this:
http://static.springframework.org/spring/docs/1.1.5/api/org/springframework/jdbc/datasource/SingleConnectionDataSource.html
Thanks for the reply trisberg; sorry to be so rude by not acknowledging your post for such a long period of time.
We actually already have a good amount of code which uses the MappingSqlQuery...
After looking through the docs, I believe the answer to this queston is "no". I figured I would make sure this conclusion was not incorrect.
I have some SQL statements which are being executed...
Yeah, that should fix it for you. david_syer's point still holds I think - the ServiceLocator itself runs contrary to the intent of the framework, so there is still that. However, at least that...