• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Handlers with Endpoint publishing

 
Koji Muramoto
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried to add handlers using @HandlerChain(file="handlerchain.xml"), but I got the following.



The service is a simple HelloWorld, RPC-style, no wsdl. Is there some extra configuration that needs to be done?


EDIT: DUH!

I have just copy/pasted the handlerchains.xml from SOA Using java webservices and they are missing the jws namespace. After fixing,

<jws:handler-chains xmlns:jws="http://java.sun.com/xml/ns/javaee">
<jws:handler-chain>
<jws:handler>
<jws:handler-class>server.ServerMessageHandler</jws:handler-class>
</jws:handler>
</jws:handler-chain>
</jws:handler-chains>

it works.
[ December 10, 2008: Message edited by: Koji Muramoto ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic