Search:

Type: Posts; User: barsimp47; Keyword(s):

Search: Search took 0.01 seconds.

  1. sharing non - Serializable objects among Steps

    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...
  2. So are you writing an IteamReader or an...

    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?) /...
  3. Replies
    11
    Views
    8,871

    I'm confused. I thought this was already working...

    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...
  4. Upon further investigation, it appears that...

    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...
  5. PostMethod vs. MultipartPostMethod

    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...
  6. Replies
    8
    Views
    1,929

    Yes, I tried that already Arjen, and it only...

    Yes, I tried that already Arjen, and it only seems to log the SOAP request & response. I / we needed the entire HTTP request & response.
  7. Just tried the same thing inside the...

    Just tried the same thing inside the handleRequest() of a ClientInterceptor, but I got the same bad results.
  8. Missing start boundary on messages with attachments

    I'm attempting to send a SOAP message with an attachment, using WebServiceMessageCallback to add the attachment like so:


    WebServiceMessageCallback requestCallback = new...
  9. Replies
    8
    Views
    1,929

    possible solution

    If you're using Commons HttpClient as the underlying message sender and some sort of commons logging implementation like log4j, this might be helpful:
    ...
  10. Replies
    14
    Views
    6,646

    I am successfully signing messages using the new...

    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...
  11. Replies
    8
    Views
    1,929

    logging http requests

    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...
  12. Thanks. That did the trick.

    Thanks. That did the trick.
  13. Spring 2.5.3 (probably) and Spring Batch 1.0...

    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...
  14. IllegalArgumentException when creating FixedLengthTokenizer

    I have a FixedLengthTokenizer for a FlatFileItemReader like so:



    <bean id="itemReader" class="org.springframework.batch.item.file.FlatFileItemReader">
    <property name="resource"...
  15. Replies
    14
    Views
    6,646

    Hisham, Do you mean you switched your...

    Hisham,
    Do you mean you switched your SoapMessageFactory implementation from SAAJ to Axiom or that you stopped using Spring-WS for your client altogether?
  16. Replies
    14
    Views
    6,646

    ghazouli: Your code makes sense, now that I...

    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...
  17. Replies
    14
    Views
    6,646

    signing with a X509 certificate

    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...
  18. Thanks exgorth. That's most helpful.

    Thanks exgorth. That's most helpful.
  19. I found some code here in other posts on the...

    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...
  20. how to actually get the custom elements into the header

    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...
  21. I was thinking along those lines.... I see how...

    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...
  22. transactional JUnit4 controller testing with multiple DataSources

    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...
  23. I had the same problem yesterday with...

    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...
Results 1 to 23 of 23