Hello,
I start my service with something like this:
MYWebService restServiceImpl = new MYWebService();
ServerFactoryBean svrFactory = new ServerFactoryBean();
svrFactory.setServiceClass(MYWebService.class);
svrFactory.setAddress("http://localhost:9000/myapi");
svrFactory.setServiceBean(restServiceImpl);
svrFactory.create();
If I do a query like:
http://localhost:9000/myapi?wsdl
it works perfectly..
However, if I do:
http://localhost:9000/myapi?js
It does not.
How do I get the standalone service to generate Javascript?
Also, since I'm starting the server behind a proxy, I want to change the
external address that shows up in the wsdl file to something other than
localhost:9000. How do I do that? I can't seem to find either of these
answers in the docs.
Thanks, Ian