• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

"setProperty must be overridden by all subclasses of SOAPMessage" error

 
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have created a simple POJO web service with annotations (annotationes to create WSDL file in server side) and deployed the project in JBoss AS 4.2. And I see the corresponding WSDL in jboss-as\server\default\data\wsdl\WSProjEAR.ear\WSProj.war location.
Now the problem, when I test the service I get the follwing problem

I have googled this error, I found some of the solutions and tried to implement
http://www.dcm4che.org/jira/browse/XDS-49
In the above solution, they are asking to copy the list of jars to other location. But I didn't find # jboss-jaxws-ext.jar file in my AS. Is there any alternate solution?

Here is the code that I implement.
POJO class


Interface to follow web service rules and use to call POJO from client


Cleint

 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
It looks a little strange to me that you use JAX-WS annotations and have your HelloPOJOAPI interface extend Remote - that is something you would do when developing JAX-RPC web services, but not with JAX-WS.
Check this tutorial for a basic example on how to use JAX-WS: http://www.netbeans.org/kb/docs/websvc/jax-ws.html
Best wishes!
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All!
Yahooing and Googling i have found the solution for this specific problem. Follow the instructions posted here --> http://shervinasgari.blogspot.com/2010/01/setproperty-must-be-overridden-by-all.html
That's all.

 
reply
    Bookmark Topic Watch Topic
  • New Topic