-
1. Re: @WebServiceRef and WSDL located on classpath
ropalka Jan 6, 2012 4:00 AM (in response to tomaz.zupan)classpath: protocol is not supported in AS7.
We support only file: and http: protocol.
If you have bundled WSDL in your application
you can use java class resource notation:
e.g.
wsdlLocation = "/META-INF/wsdl/mbb.wsdl"
-
2. Re: @WebServiceRef and WSDL located on classpath
tomaz.zupan Jan 6, 2012 4:12 AM (in response to ropalka)Thank you for your really quick answer.
The solution you suggest looks good, but I don't know if it is possible to reference WSDL in the another JAR in my application?
Actually I have WS Client JAR where also WSDL is located and that jar is in my EAR/lib. WS client is accessed from my ejb-jar module loacted in EAR.
-
3. Re: @WebServiceRef and WSDL located on classpath
ropalka Jan 6, 2012 9:26 AM (in response to tomaz.zupan)Please provide simple application to reproduce your issue.
-
4. Re: @WebServiceRef and WSDL located on classpath
tomaz.zupan Jan 16, 2012 7:19 AM (in response to ropalka)Here I provide a simple ws-client aplication, where code for consuming WS is in ws-client-jar module and WS Reference is in ws-client-ejb.
-
ws-client.zip 9.2 KB
-
-
5. Re: @WebServiceRef and WSDL located on classpath
christophlinder Oct 6, 2014 8:51 AM (in response to tomaz.zupan)Any news on this?
-
6. Re: @WebServiceRef and WSDL located on classpath
bantercz Feb 20, 2015 5:41 AM (in response to tomaz.zupan)I am solving the same issue. The wsdl is defined in a different maven module. Is it possible to load it via @WebServiceRef?