Hi there,
It sounds like you might be trying to build a "Web service" not a "Web
service Client" in Eclipse. The OHF Bridge - deployed on Tomcat - will
be your Web service and you will want to build a client to consume the
Web service. In Eclipse, you can created a new "Web service client":
1. Create a new Java project
2. Right click on the project and select New -> Other
3. In the "New" window, select Web Services -> Web Service Client
That will give you an option to enter a URL to the WSDL. You can point
to it by entering in the "Service Definition" field the URL:
http://localhost:8090/bridge/services/ohf-bridge?wsdl
And this will generate a series of stub classes that will allow you to
access the Web service. These stub classes can then be accessed by your
existing code and the complex Web service calls will be masked.
If you are looking to build a Web service from the OHF Bridge using
Eclipse, that would be an interesting, yet maybe unnecessary project.
The way that Eclipse would build it is almost identical to how you
already have it installed.
-Matt
ZhuoHao wrote:
Dear all,
I'm sorry about my ignorance. Truth is i'm still noob in this
webservices programming.
I have installed the bridge on a local tomcat server.
it is working fine. I can access
http://localhost:8090/bridge/AxisServlet and view the services
available to me..
I'm creating the web service from the top down creation wizard in
eclipse form the wsdl file because the top down creation of the web
service client requires me to have web service.
I have no idea how to move the installed bridge service to eclipse..
In other words, I have no idea how to create the client for the bridge.
can someone assist me in creating a client for the bridge for me to
see how the whole thing works?
My apologies for my ignorance on this matter.
regards,
Zhuohao
Eishay Smith wrote:
Can you please give us the full background?
I.e. what OS and app server you are using?
And why are you trying to create a web service from the bridge wsdl
file?
Did you already install the bridge and trying to create a client stub?
Thanks,
Eishay
ZhuoHao <sumz0001@xxxxxxxxxx> wrote:
dear all
I'm using eclipse's web service top down creation wizard to create
the web service from the bridge wsdl file.
the error comes when the wizard tries to deploy the web service to
Axis Run-time environmnent. It says
"IWAB0489E Error when deploying Web service to Axis runtime
axis-admin failed with {http://xml.apache.org/axis/}HTTP
(404)/ohf_bridge/services/AdminService"
does anyone knows why?
regards,
Zhuohao