Search:

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

Search: Search took 0.05 seconds.

  1. Replies
    12
    Views
    8,707

    Currently giving me the same issue already noted.

    Currently giving me the same issue already noted.
  2. Replies
    1
    Views
    1,495

    I did some more work with the JAXB2 code and...

    I did some more work with the JAXB2 code and found if I added a schema I got the same problem, so I guess Spring is doing that because I am wiring one in.
    Then I tried changing my wiring to the...
  3. Replies
    1
    Views
    1,495

    Jaxb2Marshaller gives unexpected exception

    I'm using org.springframework.oxm.jaxb.Jaxb2Marshaller to marshal an object like this:



    <bean id="EAI" class="org.springframework.oxm.jaxb.Jaxb2Marshaller">
    <property name="contextPath"...
  4. I gave up on doing it with a transformer and...

    I gave up on doing it with a transformer and found this works:


    SoapMessage soapMessage = (SoapMessage) message;
    SoapHeader soapHeader =...
  5. Tried latest version

    I also just tried it with spring-ws-1.5.0 and got the same problem.
    It seems to want saxon 9 although xalan 2.7.0 is available so I gave it that.
    Also using saaj 1.4 and xerces 2.8.1
  6. That does work just fine. It allows me to put one...

    That does work just fine. It allows me to put one tag only under the header so I get this:


    <soapenv:Header xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <eai:applicationContext ...
  7. Soap envelope header and WebServiceMessageCallback

    I am trying to add a customised header to my soap message and I use a WebServiceMessageCallback.soWithMessage to add it.

    I've tried several things, influenced by examples on this forum but no luck...
  8. Replies
    7
    Views
    4,884

    I'll try again...

    I need to be more careful, sorry.

    Here is the message I am receiving at the client, so this is a response from the server to a valid message from the client (trimmed for brevity)


    <?xml...
  9. Replies
    7
    Views
    4,884

    I'm not explaining the problem well enough. The...

    I'm not explaining the problem well enough.
    The sample message is what I got from tcpmon.
    When it reaches the client it fails with the stack dump.
    I'm not trying to get the client to unmarshal it,...
  10. Replies
    7
    Views
    4,884

    Retried under 1.5.0-m2

    Thanks for the help.

    I switched to the following libraries:
    spring-ws-core-1.5.0-m2
    spring-oxm-1.5.0-m2
    spring-oxm-tiger-1.5.0-m2

    and I am still running
    saxon-9.0.0
    xalan-2.7.0
  11. Replies
    7
    Views
    4,884

    incoming message gives parse errors

    I have two problems and they both relate to parsing xml, it looks like my message body is being changed when it reaches the client and thereafter the parsing fails. They are probably one problem...
  12. Replies
    0
    Views
    712

    Configuring beans outside the app

    I'm using the following:


    ctx = new GenericApplicationContext();
    XmlBeanDefinitionReader xmlReader = new XmlBeanDefinitionReader(ctx);
    xmlReader.loadBeanDefinitions(new...
Results 1 to 12 of 12