I have a job that calls a web service using Spring-WS. I call the service in the first step and get back an org.springframework.ws.soap.SoapMessage that I'd like to put into the ExecutionContext for...
Type: Posts; User: barsimp47; Keyword(s):
I have a job that calls a web service using Spring-WS. I call the service in the first step and get back an org.springframework.ws.soap.SoapMessage that I'd like to put into the ExecutionContext for...
So are you writing an IteamReader or an ItemWriter? read() is part of ItemReader, not ItemWriter.
Regardless...
I think you can do something like this in your ItemReader (ItemWriter?) /...
I'm confused. I thought this was already working as of 1.5, at least on the client side. This is my config - pretty much the same as pdotsenko's - and it's working great for me. I'm getting a...
Upon further investigation, it appears that Commons Http's MultipartPostMethod is deprecated in favor of setting the PostMethod's request entity to a MultipartRequestEntity. The only place I can find...
After stepping through the code starting with WebServiceTemplate.sendAndReceive() and digging down through to the HttpClient calls, it appears that the CommonsHttpMessageSender is returning a...
Yes, I tried that already Arjen, and it only seems to log the SOAP request & response. I / we needed the entire HTTP request & response.
Just tried the same thing inside the handleRequest() of a ClientInterceptor, but I got the same bad results.
I'm attempting to send a SOAP message with an attachment, using WebServiceMessageCallback to add the attachment like so:
WebServiceMessageCallback requestCallback = new...
If you're using Commons HttpClient as the underlying message sender and some sort of commons logging implementation like log4j, this might be helpful:
...
I am successfully signing messages using the new ClientInterceptor features in Spring-WS 1.5.x, but I'm using WSS4J and Axiom under the hood, not XWSS or SAAJ. (The problems I was having with Axiom...
I'm trying to do basically the same thing; only I really just want to print / log the entire request and response message, not pull out specific fields for logging. Have you found a way to do this...
Thanks. That did the trick.
Spring 2.5.3 (probably) and Spring Batch 1.0 Final. I think I just copied all the libs from Spring Batch (alldeps zip) into my classpath, so if the core Spring jars were included with Batch, then I...
I have a FixedLengthTokenizer for a FlatFileItemReader like so:
<bean id="itemReader" class="org.springframework.batch.item.file.FlatFileItemReader">
<property name="resource"...
Hisham,
Do you mean you switched your SoapMessageFactory implementation from SAAJ to Axiom or that you stopped using Spring-WS for your client altogether?
ghazouli:
Your code makes sense, now that I finally got around to looking at it. I had not realized the KeyStoreCallbackHandler could be passed to...
Yes, that article is helpful, since there's nothing in the Spring-WS manual about it.
I too would like to sign my messages with a X509 certificate instead of using a username/password. I think I...
Thanks exgorth. That's most helpful.
I found some code here in other posts on the forum that clued me in on how to use a Transformer, but now I find that if I use an AxiomSoapMessageFactory, Axiom screws up a lot of things in the...
I understand I need to add custom elements to the header using a WebServiceMessageCallback, but I can't seem to find a way to actually do the insert. It's probably because I'm a complete noob at all...
I was thinking along those lines.... I see how using @Resource would work for a property I had declared, but I'm not sure how to use @Resource with a property (dataSource) declared in the parent...
I'm attempting to write a test as an extension of AbstractTransactionalJUnit4SpringContextTests for a SimpleFormController. I happen to have two DataSources in my application context: one used by the...
I had the same problem yesterday with org.junit.internal.runners.JUnit4ClassRunner not being found. I discovered the version of JUnit4 included with Eclipse 3.3 is version 4.3.1 which does not...