cancel
Showing results for 
Search instead for 
Did you mean: 

consuming wsdl from out of alfresco

mrksjs
Champ on-the-rise
Champ on-the-rise
i followed this article: http://www.mkyong.com/webservices/jax-ws/jax-ws-hello-world-example/

so i have:

- HelloWorld http://pastebin.com/BJ3QA7pR
- HelloWorldImpl http://pastebin.com/RM5SBZ5C
- HelloWorldPublisher http://pastebin.com/H525WevK
which serves as the endpoint.

on the other side i have the client which i generated with wsimport:

- HelloWorld http://pastebin.com/g07H1exf
- HelloWorldImplService http://pastebin.com/f0YWMiYt

this runs fine in eclispe without alfresco being involved. however, i want to call the webservice from alfresco (from java backed web script for example)

i tried to copy the client side stuff to my amp file and calling it from a webscript but it fails!

Caused by: java.lang.IncompatibleClassChangeError: Class com.ibm.wsdl.DefinitionImpl does not implement the requested interface javax.wsdl.extensions.AttributeExtensible

- Webscript http://pastebin.com/7JksRdtU

1 - is there a more elegant way to configure the access to the wsdl by defining a spring bean (spring-ws) or such

2 - why is it not working? full trace: http://pastebin.com/ak1qzygA
-> is a bug https://issues.alfresco.com/jira/browse/ALF-21093

thanks
1 REPLY 1

mrksjs
Champ on-the-rise
Champ on-the-rise
removed axis-wsdl4j-1.5.1.jar from WEB-INF/lib - working now. sounds like misconfigured dependencies