Hi all, I�m having a problem setting the ReplyTo header on WS-Addressing.
I have downloaded the lattest version for WS-Addressing from the CVS. When I send a message using the ReplyTo header, like this: <soapenv:Envelope (..)> <soapenv:Header> <wsa:MessageID soapenv:mustUnderstand="0">uuid:55fdf570-b9bb-11d9-a682-f52225e86969</wsa:MessageID> <wsa:To soapenv:mustUnderstand="0">http://localhost:7580/axis/services/AddressedVersion</wsa:To> <wsa:Action soapenv:mustUnderstand="0">urn:getVersion</wsa:Action> <wsa:From soapenv:mustUnderstand="0"><wsa:Address>http://localhost:6080/</wsa:Address></wsa:From> <wsa:ReplyTo soapenv:mustUnderstand="0"><wsa:Address>http://localhost:6080/</wsa:Address></wsa:ReplyTo> <wsa:FaultTo soapenv:mustUnderstand="0"> <wsa:Address>http://localhost:6080/</wsa:Address></wsa:FaultTo></soapenv:Header> <soapenv:Body><ns1:getVersion soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="AddressedVersion"/></soapenv:Body> </soapenv:Envelope> I get the following Fault message: <soapenv:Envelope (..)> <soapenv:Header> <wsa:MessageID soapenv:mustUnderstand="0">uuid:560c4d50-b9bb-11d9-9040-b1d875cfdd9b</wsa:MessageID> <wsa:To soapenv:mustUnderstand="0">http://localhost:6080/</wsa:To> <wsa:Action soapenv:mustUnderstand="0">http://schemas.xmlsoap.org/ws/2004/08/addressing/fault</wsa:Action> <wsa:From soapenv:mustUnderstand="0"><wsa:Address>http://localhost:7580/axis/services/AddressedVersion</wsa:Address></wsa:From> <wsa:RelatesTo RelationshipType="wsa:Reply" soapenv:mustUnderstand="0">uuid:55fdf570-b9bb-11d9-a682-f52225e86969</wsa:RelatesTo><wsa:RelatesTo RelationshipType="wsa:Reply" soapenv:mustUnderstand="0">uuid:55fdf570-b9bb-11d9-a682-f52225e86969</wsa:RelatesTo></soapenv:Header> <soapenv:Body><soapenv:Fault> <faultcode>soapenv:Server.userException</faultcode> <faultstring>org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed.</faultstring> <detail><ns1:stackTrace xmlns:ns1="http://xml.apache.org/axis/">org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) (.........) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644) at java.lang.Thread.run(Thread.java:534) </ns1:stackTrace></detail></soapenv:Fault> </soapenv:Body></soapenv:Envelope> If I send a message without the ReplyTo header it is received and replied normally (although, of course, the To header is set to anonymous). Is this a bug? What can I do? thanks for your help Sabrina __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
