-
Apr 15th, 2008, 01:22 AM
#1
Problem marshalling the response in JBoss 4.2.2
Hi all,
I have done an ws with springws 1.5, jboss4.2.2. saaj 1.3 and soap 1.1, with jaxb 2.0 as marshaller. The request works fine but when the response in xml is prepared I obtain an exception. IndexOutOfBound, produced in soap. I´m a bit lose with that exception. Could somebody help me?
Thanks in advance,
2008-04-15 08:11:48,148 DEBUG [org.springframework.ws.server.endpoint.adapter.Gen ericMarshallingMethodEndpointAdapter] Marshalling [javax.xml.bind.JAXBElement@1c047f0] to response payload
2008-04-15 08:11:48,148 DEBUG [org.springframework.ws.soap.server.SoapMessageDisp atcher] Endpoint invocation resulted in exception - responding with Fault
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:546)
at java.util.ArrayList.get(ArrayList.java:321)
at org.jboss.ws.core.soap.NodeImpl.getFirstChild(Node Impl.java:287)
at org.jboss.ws.core.soap.SOAPContentElement.getFirst Child(SOAPContentElement.java:460)
at org.apache.xml.serializer.TreeWalker.traverse(Tree Walker.java:145)
at org.apache.xalan.transformer.TransformerIdentityIm pl.transform(TransformerIdentityImpl.java:389)
at com.sun.org.apache.xerces.internal.jaxp.validation .ValidatorImpl.process(ValidatorImpl.java:220)
at com.sun.org.apache.xerces.internal.jaxp.validation .ValidatorImpl.validate(ValidatorImpl.java:141)
at javax.xml.validation.Validator.validate(Validator. java:82)
at org.springframework.xml.validation.Jaxp13Validator Factory$Jaxp13Validator.validate(Jaxp13ValidatorFa ctory.java:61)
at org.springframework.ws.server.endpoint.interceptor .AbstractValidatingInterceptor.handleResponse(Abst ractValidatingInterceptor.java:214)
at org.springframework.ws.server.MessageDispatcher.tr iggerHandleResponse(MessageDispatcher.java:342)
at org.springframework.ws.server.MessageDispatcher.di spatch(MessageDispatcher.java:219)
at org.springframework.ws.server.MessageDispatcher.re ceive(MessageDispatcher.java:163)
-
May 9th, 2009, 08:16 AM
#2
I'm facing same problems, did you resolve?
Is this isseue about saaj jboss implementation?
Any advice?
-
May 11th, 2009, 02:33 PM
#3
Simple the faqs:
if somebody else is facing with this problem:
http://static.springsource.org/sprin...tml#saaj-jboss
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules