• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Using Handlers with Endpoint publishing

 
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 ]
 
To do a great right, do a little wrong - shakepeare. twisted little ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic