Did you build the test client? There are instructions in the readme.txt that covers how to build the test client. HooversAPI-20-test-client.jar should be created when you build the test client.
our company uses cxf. I am trying to use cxf wsdl2java to create proxy client not sucess without those xsd file. i hope I can get existing one without download axis2
I download axis2. and took awhile to figure it out the error. currently the wsdl.url in the sample it's not working I need to change
from
<property name="wsdl.url" value="http://hapi-dev.hoovers.com/axis2/services/HooversAPI-20?wsdl"/>
to
<property name="wsdl.url" value="http://hapi-dev.hoovers.com/axis2/HooversAPI-20/Hapi.wsdl"/>
to make it work.
Hello. Did this fix your issue with CXF? CXF has its own wsdl2java and other tools which you should be able to generate your client: http://cxf.apache.org/docs/tools.html This way you won't have to rely on the sample code.
Also, thank you for bringing the incorrect WSDL URL to our attention. We'll update the sample code with the correct setting.
There is no HooversAPI-20-test-client.jar in the SampleHapi20ConnectJava.zip.
bhawley – 7 months ago
Hi erewards,
Did you build the test client? There are instructions in the readme.txt that covers how to build the test client. HooversAPI-20-test-client.jar should be created when you build the test client.
Thanks,
Brian
erewards – 7 months ago
our company uses cxf. I am trying to use cxf wsdl2java to create proxy client not sucess without those xsd file. i hope I can get existing one without download axis2
erewards – 7 months ago
I download axis2. and took awhile to figure it out the error. currently the wsdl.url in the sample it's not working I need to change
from
<property name="wsdl.url" value="http://hapi-dev.hoovers.com/axis2/services/HooversAPI-20?wsdl"/>
to
<property name="wsdl.url" value="http://hapi-dev.hoovers.com/axis2/HooversAPI-20/Hapi.wsdl"/>
to make it work.
ojas – 7 months ago
Hello. Did this fix your issue with CXF? CXF has its own wsdl2java and other tools which you should be able to generate your client: http://cxf.apache.org/docs/tools.html This way you won't have to rely on the sample code.
Also, thank you for bringing the incorrect WSDL URL to our attention. We'll update the sample code with the correct setting.