Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » OHF » Top down creation of web service from wsdl file
Top down creation of web service from wsdl file [message #28903] Sun, 18 March 2007 07:47 Go to next message
Eclipse UserFriend
Originally posted by: sumz0001.ntu.edu.sg

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
Re: Top down creation of web service from wsdl file [message #28942 is a reply to message #28903] Mon, 19 March 2007 15:50 Go to previous messageGo to next message
Matthew DavisFriend
Messages: 269
Registered: July 2009
Senior Member
Hello,

There is no 'adminservice' contained within the OHF Bridge, so I'm not
sure what that message is about. Could you maybe explain a little as to
how you're trying to deploy it? It looks like you're using Websphere.

Thanks!
-Matt

ZhuoHao 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
Re: Top down creation of web service from wsdl file [message #28980 is a reply to message #28903] Mon, 19 March 2007 18:14 Go to previous messageGo to next message
Eishay Smith is currently offline Eishay SmithFriend
Messages: 109
Registered: July 2009
Senior Member
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@ntu.edu.sg> 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
>
Re: Top down creation of web service from wsdl file [message #29018 is a reply to message #28980] Tue, 20 March 2007 02:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sumz0001.ntu.edu.sg

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@ntu.edu.sg> 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
>>
>
Re: Top down creation of web service from wsdl file [message #29056 is a reply to message #29018] Tue, 20 March 2007 21:03 Go to previous messageGo to next message
Matthew DavisFriend
Messages: 269
Registered: July 2009
Senior Member
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@ntu.edu.sg> 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
>>>
>>
Re: Top down creation of web service from wsdl file [message #29092 is a reply to message #29056] Wed, 21 March 2007 03:34 Go to previous message
Eclipse UserFriend
Originally posted by: sumz0001.ntu.edu.sg

Dear Matt,

I'm sorry for causing so much confusion.
But actually I'm trying to create the web service client.

so yes. following your instructions, entering the URL into the web
service definition, I've managed to create the series of stub classes.

while creating the client, I've pushed the lever to the "test" stage
which creates a JSP file to test my services.

I would like to ask how come the jsp file fail to be able to give
positive results when testing the service?
also may i ask what other code do i have to write in order to create a
client to access the services offered by the OHF bridge?

Thank you for your time in going through and repling my queries.

regards,
zhuohao



DMatthew Davis wrote:
> 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@ntu.edu.sg> 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
>>>>
>>>
Re: Top down creation of web service from wsdl file [message #578268 is a reply to message #28903] Mon, 19 March 2007 15:50 Go to previous message
Matthew DavisFriend
Messages: 269
Registered: July 2009
Senior Member
Hello,

There is no 'adminservice' contained within the OHF Bridge, so I'm not
sure what that message is about. Could you maybe explain a little as to
how you're trying to deploy it? It looks like you're using Websphere.

Thanks!
-Matt

ZhuoHao 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
Re: Top down creation of web service from wsdl file [message #578281 is a reply to message #28903] Mon, 19 March 2007 18:14 Go to previous message
Eishay Smith is currently offline Eishay SmithFriend
Messages: 109
Registered: July 2009
Senior Member
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@ntu.edu.sg> 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
>
Re: Top down creation of web service from wsdl file [message #578324 is a reply to message #28980] Tue, 20 March 2007 02:52 Go to previous message
Eclipse UserFriend
Originally posted by: sumz0001.ntu.edu.sg

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@ntu.edu.sg> 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
>>
>
Re: Top down creation of web service from wsdl file [message #578343 is a reply to message #29018] Tue, 20 March 2007 21:03 Go to previous message
Matthew DavisFriend
Messages: 269
Registered: July 2009
Senior Member
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@ntu.edu.sg> 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
>>>
>>
Re: Top down creation of web service from wsdl file [message #578363 is a reply to message #29056] Wed, 21 March 2007 03:34 Go to previous message
Eclipse UserFriend
Originally posted by: sumz0001.ntu.edu.sg

Dear Matt,

I'm sorry for causing so much confusion.
But actually I'm trying to create the web service client.

so yes. following your instructions, entering the URL into the web
service definition, I've managed to create the series of stub classes.

while creating the client, I've pushed the lever to the "test" stage
which creates a JSP file to test my services.

I would like to ask how come the jsp file fail to be able to give
positive results when testing the service?
also may i ask what other code do i have to write in order to create a
client to access the services offered by the OHF bridge?

Thank you for your time in going through and repling my queries.

regards,
zhuohao



DMatthew Davis wrote:
> 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@ntu.edu.sg> 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
>>>>
>>>
Previous Topic:Top down creation of web service from wsdl file
Next Topic:ATNA with rfc3195
Goto Forum:
  


Current Time: Mon Dec 30 17:47:38 GMT 2024

Powered by FUDForum. Page generated in 0.05187 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top