Yes. Daniel. Thanks. My bad. From now on I will always use
"-impl" so as not to confuse myself.
Other problem(s) coming up now, but I will post to a different thread
when I have can isolate the test case(s).
Daniel Kulp wrote:
On Wednesday 17 October 2007, Dan Connelly wrote:
I generate Java code from efile.wsdl using wsdl2java. (See
attached wsdl.) I use this code as-is.
I create a service Endpoint from the service class
("org.streamlinedsalestax.efile.EFileService"). I start the server.
That's probably the issue. EFileService is the client side proxy
creation service bean. It's not the service class.
When you run wsdl2java, if you add the -impl flag, it will generate a
sample implementation. It would be called EFileServiceSoapImpl. If
you use that for the service, it should generate a better WSDL.
Dan
Then I fetch the generated wsdl from the server and save it as
EFileService.wsdl. (See attached.)
Testing will Eclipse tooling, EFileService.wsdl is invalid.
Despite this, I attempt to run a dynamic client proxy. Error:
"The prefix ns2 is not bound." which is basically the same error that
Eclipse reported.
[I think that this error has existed since Release 2.0. I posted
to cxf-dev on a similar problem in a 2.0 SNAPSHOT back on
06/23/2007. I did not follow up on it, until now. Of course, I
would really like it to work now. (Please!)]
-- Dan Connelly
|