[jboss-user] [JBoss Web Services] - Jboss WS Native and SOAPElement expected
Brad Maxwell
do-not-reply at jboss.com
Mon Aug 16 21:46:34 EDT 2010
Brad Maxwell [http://community.jboss.org/people/bcmaxwel] created the discussion
"Jboss WS Native and SOAPElement expected"
To view the discussion, visit: http://community.jboss.org/message/557595#557595
--------------------------------------------------------------
Hi all,
I'm trying to call another web service from my app deployed under JBoss 5.1 and can't get past this "SOAPElement expected" exception. I've searched for references and it appears that this was a bug in the native version last year. Is there any way around this one without switching off of native? I appear to be very stuck.
I'm running JBoss 5.1 AS. This happens trying to secure the outbound message. Please let me know if there's any other info I can provide.
Caused by: com.sun.xml.wss.XWSSecurityException: java.lang.IllegalArgumentException: SOAPElement expected
at com.sun.xml.wss.impl.misc.XWSSProcessor2_0Impl.secureOutboundMessage(XWSSProcessor2_0Impl.java:96)
at com.vitalchek.wsClient.spring.SecurityHandler.secureClient(SecurityHandler.java:94)
... 53 more
Caused by: java.lang.IllegalArgumentException: SOAPElement expected
at org.jboss.ws.core.soap.SOAPHeaderImpl.convertToHeaderElement(SOAPHeaderImpl.java:286)
at org.jboss.ws.core.soap.SOAPHeaderImpl.insertBefore(SOAPHeaderImpl.java:204)
at com.sun.xml.wss.impl.XMLUtil.prependChildElement(XMLUtil.java:345)
at com.sun.xml.wss.impl.XMLUtil.prependChildElement(XMLUtil.java:352)
at com.sun.xml.wss.impl.SecurableSoapMessage.findWsseSecurityHeaderBlock(SecurableSoapMessage.java:211)
Thanks,
Brad
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/557595#557595]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100816/7b81989d/attachment.html
More information about the jboss-user
mailing list