On Tuesday 26 February 2008, Daniel Lipofsky wrote:
OK, I solved this original problem but I have more questions:
How do you control the soap location.
Right now it is outputing
soap:address location=http://localhost:9090/hello/
which is not correct.
Hmm I don't see a way to do it with the 2.0.x java2wsdl tooling.
With the 2.1 tooling, there is a -address flag that looks like it
would be for that pupose.
Also, can I override this programmatically in the client?
That's the easy part.
((BindingProvider)proxy).getRequestContext().put(
BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
http://blah/blah/blah;);
Dan
Thanks,
Dan
p.s. I solved it by removing package-info.java and also
BasePortType.java and BaseService.java which were hanging around
from when I generated things for the abstract class; I also
removed a reference to targetNamespace=.../Base.wsdl that was
hanging around in WSException.java. Not sure what really did it.
--
J. Daniel Kulp
Principal Engineer, IONA
[EMAIL PROTECTED]
http://www.dankulp.com/blog