[jboss-user] [JBoss Web Services] - Re: jboss6 final and jbossws 3.4.0

Antoine Brun do-not-reply at jboss.com
Tue Jan 4 12:25:27 EST 2011


Antoine Brun [http://community.jboss.org/people/abr] created the discussion

"Re: jboss6 final and jbossws 3.4.0"

To view the discussion, visit: http://community.jboss.org/message/578778#578778

--------------------------------------------------------------
ok, I'll try with jbossws native 3.4.1 as soon as it is available.

in the mean time, I tried to declare the handler like that:
     @HandlerChain(file = "handler-chain.xml")
and I get:

DEPLOYMENTS IN ERROR:
  Deployment "vfs:///home/abr/workspace/api/dist/ubi-api.ear" is in error due to the following reason(s): javax.xml.ws.WebServiceException: Could not find the handler configuration file handler-chain.xml specified by @HandlerChain annotation

so next I tried:
  @HandlerChain(file = "/handler-chain.xml")
and I get:
DEPLOYMENTS IN ERROR:
  Deployment "vfs:///home/abr/workspace/api/dist/ubi-api.ear" is in error due to the following reason(s): javax.xml.ws.WebServiceException: false false Element <?xml version="1.0" encoding="utf-8"?><handler-config>
        <handler-chain>
                <handler-chain-name>SoapHandler</handler-chain-name>
                <handler>
                        <handler-name>SoapMessageValidationHandler</handler-name>
                        <handler-class>com.ubiqube.api.ws.soapHandler.MessageValidationSoapHandler</handler-class>
                </handler>
        </handler-chain>
</handler-config> is not a valid root element in file vfs:/home/abr/workspace/api/dist/ubi-api.ear/ubi-api-ejb.jar/handler-chain.xml

So with CXF 3.4.1the "/" must be there, wheras with native 3.4.0 it was not necessary (note that I did not try with the / and native 3.4.0).

Do you know when the jbossws native 3.4.1 will be available for download?

Another question, maybe you can point me to some doc: why choosing jbossws CXF against native? Is it a certification issue?

Thank you for your time and answer

Antoine
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/578778#578778]

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/20110104/225909c1/attachment.html 


More information about the jboss-user mailing list