Hello,
I am currently developing an application which requires to implement endpoints 
for some services and act as clients for others. Using 4.0.4 and ws import, I 
have both client and server components running correctly. In order to get the 
client to work the value of the wsdl location had to be specified in the 
wsimport task (which ultimately gets set as the constant WSDL_LOCATION in the 
service class). The only way I could get this to work was to define this as a 
location on the file system and then modify the address element in the wsdl 
file at that location. Can it be set up so that the client application is 
provided with a url dynamically at run time and it simply looks there for the 
wsdl? I do not want to place this url in the wsimport task as that happens at 
compile time and is a different url depending on deployed and testing 
environments. It would not be so bad if the location of the wsdl file provided 
to wsimport could be relative to the root of the deployed application but it 
only seemed to work when the full path was specified.
It looks to me as if I have missed something and am not quite doing things the 
right way as this method of locating an endpoint does not seem to make a lot of 
sense.
If anyone could offer some advice on the correct way to define the url for 
locating the endpoint it would be most helpful. 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942746#3942746

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942746


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to