Currently giving me the same issue already noted.
Type: Posts; User: MrKimi; Keyword(s):
Currently giving me the same issue already noted.
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...
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"...
I gave up on doing it with a transformer and found this works:
SoapMessage soapMessage = (SoapMessage) message;
SoapHeader soapHeader =...
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
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 ...
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...
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...
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,...
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
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...
I'm using the following:
ctx = new GenericApplicationContext();
XmlBeanDefinitionReader xmlReader = new XmlBeanDefinitionReader(ctx);
xmlReader.loadBeanDefinitions(new...