How to use JAX-RPC web service client in netbeans 6

View: New views
12 Messages — Rating Filter:   Alert me  

How to use JAX-RPC web service client in netbeans 6

by 정우람 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi my name is wooram, and Im Korean.

 

Currently I tried to call web service using JAX-RPC because deployed web service is only available for JAX-RPC not JAXWS2.0

 

So I install plug-in for JAXRPC in netbeans6.1

 

But when I try to create web service client, I cant choose JAX-RPC in web service client create window.

 

The client style is fixed == > JAX-WS Style and the form is disabled..

 

Here is my wsdl address : http://lans2.icu.ac.kr:8080/WSPQRM/services/JobScheduler?wsdl

 

I want to call this web service in netbeans6.1 .. need help

 

Thanks for reading.

 


Parent Message unknown Re: How to use JAX-RPC web service client in netbeans 6

by vivek patel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
U need to create a client for that webservice.
 
view tommarrow on my blog
 
----- Original Message ----
From: 정우람 <wrjung@...>
To: nbj2ee@...
Sent: Tuesday, April 8, 2008 1:24:39 PM
Subject: [nbj2ee] How to use JAX-RPC web service client in netbeans 6

Hi my name is wooram, and Im Korean.

 

Currently I tried to call web service using JAX-RPC because deployed web service is only available for JAX-RPC not JAXWS2.0

 

So I install plug-in for JAXRPC in netbeans6.1

 

But when I try to create web service client, I cant choose JAX-RPC in web service client create window.

 

The client style is fixed == > JAX-WS Style and the form is disabled..

 

Here is my wsdl address : http://lans2.icu.ac.kr:8080/WSPQRM/services/JobScheduler?wsdl

 

I want to call this web service in netbeans6.1 .. need help

 

Thanks for reading.

 




You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.

Re: How to use JAX-RPC web service client in netbeans 6

by Jaroslav Pospisil :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
it's truth that you've to use JAX-RPC client for this RPC-encoded web
service. I can't found however any other case,
when JAX-WS client type is fixed, than when you try to create web
service client in Java Application and you've already
created there JAX-WS web service client previously. You can't have web
service clients of different types in the same Java app.
I just checked JAVAEE5 Web application, EJB module, Application client
and Java application and everywhere you can choose,
which client type you want to create.
If yours is mentioned case, try to create new Java application and
create your client there. Otherwise please write some more info,
like type of project you're creating the ws client in, J2EE version,
server, JDK.

-Jarek

정우람 wrote:

>
> Hi my name is wooram, and I’m Korean.
>
> Currently I tried to call web service using JAX-RPC because deployed
> web service is only available for JAX-RPC not JAXWS2.0
>
> So I install plug-in for JAXRPC in netbeans6.1
>
> But when I try to create web service client, I can’t choose JAX-RPC in
> web service client create window.
>
> The client style is fixed == > “JAX-WS Style” and the form is disabled..
>
> Here is my wsdl address :
> http://lans2.icu.ac.kr:8080/WSPQRM/services/JobScheduler?wsdl
>
> I want to call this web service in netbeans6.1 .. need help
>
> Thanks for reading….
>


Re: How to use JAX-RPC web service client in netbeans 6

by Roderico Cruz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jarek is right, beginning NB 6.1, you can now choose between JAXRPC or JAXWS types when creating a web service client. Please make sure that you have an NB 6.1 build.
Rico

Jaroslav Pospisil wrote:
Hi,
it's truth that you've to use JAX-RPC client for this RPC-encoded web
service. I can't found however any other case,
when JAX-WS client type is fixed, than when you try to create web
service client in Java Application and you've already
created there JAX-WS web service client previously. You can't have web
service clients of different types in the same Java app.
I just checked JAVAEE5 Web application, EJB module, Application client
and Java application and everywhere you can choose,
which client type you want to create.
If yours is mentioned case, try to create new Java application and
create your client there. Otherwise please write some more info,
like type of project you're creating the ws client in, J2EE version,
server, JDK.

-Jarek

정우람 wrote:
  
Hi my name is wooram, and I’m Korean.

Currently I tried to call web service using JAX-RPC because deployed
web service is only available for JAX-RPC not JAXWS2.0

So I install plug-in for JAXRPC in netbeans6.1

But when I try to create web service client, I can’t choose JAX-RPC in
web service client create window.

The client style is fixed == > “JAX-WS Style” and the form is disabled..

Here is my wsdl address :
http://lans2.icu.ac.kr:8080/WSPQRM/services/JobScheduler?wsdl

I want to call this web service in netbeans6.1 .. need help

Thanks for reading….

    

  


RE: How to use JAX-RPC web service client in netbeans 6

by 정우람 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Thanks for your answer but in my case. I solved the problem just I choose jdk1.4 version when I create new project.

 

In this case I only can choose JAXRPC not JAXWS2.0.

 

But now I met new problem. J

 

thanks

From: Roderico.Cruz@... [mailto:Roderico.Cruz@...]
Sent: Wednesday, April 09, 2008 1:53 AM
To: nbj2ee@...
Subject: Re: [nbj2ee] How to use JAX-RPC web service client in netbeans 6

 

Jarek is right, beginning NB 6.1, you can now choose between JAXRPC or JAXWS types when creating a web service client. Please make sure that you have an NB 6.1 build.
Rico

Jaroslav Pospisil wrote:

Hi,
it's truth that you've to use JAX-RPC client for this RPC-encoded web
service. I can't found however any other case,
when JAX-WS client type is fixed, than when you try to create web
service client in Java Application and you've already
created there JAX-WS web service client previously. You can't have web
service clients of different types in the same Java app.
I just checked JAVAEE5 Web application, EJB module, Application client
and Java application and everywhere you can choose,
which client type you want to create.
If yours is mentioned case, try to create new Java application and
create your client there. Otherwise please write some more info,
like type of project you're creating the ws client in, J2EE version,
server, JDK.
 
-Jarek
 
정우람 wrote:
  
Hi my name is wooram, and I’m Korean.
 
Currently I tried to call web service using JAX-RPC because deployed
web service is only available for JAX-RPC not JAXWS2.0
 
So I install plug-in for JAXRPC in netbeans6.1
 
But when I try to create web service client, I can’t choose JAX-RPC in
web service client create window.
 
The client style is fixed == > “JAX-WS Style” and the form is disabled..
 
Here is my wsdl address :
http://lans2.icu.ac.kr:8080/WSPQRM/services/JobScheduler?wsdl
 
I want to call this web service in netbeans6.1 .. need help
 
Thanks for reading….
 
    
 
  

 


Re: How to use JAX-RPC web service client in netbeans 6

by Jaroslav Pospisil :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
could you please write more about your new problem and also add some
additional information,
as I've mentioned in my previous email? So far we're all very confused,
because in all possible scenarios
should be possible normally choose between JAX-RPC and JAX-WS client
type even without
using JDK1.4.
Thanks

-Jarek


정우람 wrote:

>
> Thanks for your answer but in my case. I solved the problem just I
> choose jdk1.4 version when I create new project.
>
> In this case I only can choose JAXRPC not JAXWS2.0.
>
> But now I met new problem. J
>
> thanks
>
> *From:* Roderico.Cruz@... [mailto:Roderico.Cruz@...]
> *Sent:* Wednesday, April 09, 2008 1:53 AM
> *To:* nbj2ee@...
> *Subject:* Re: [nbj2ee] How to use JAX-RPC web service client in
> netbeans 6
>
> Jarek is right, beginning NB 6.1, you can now choose between JAXRPC or
> JAXWS types when creating a web service client. Please make sure that
> you have an NB 6.1 build.
> Rico
>
> Jaroslav Pospisil wrote:
>
> Hi,
> it's truth that you've to use JAX-RPC client for this RPC-encoded web
> service. I can't found however any other case,
> when JAX-WS client type is fixed, than when you try to create web
> service client in Java Application and you've already
> created there JAX-WS web service client previously. You can't have web
> service clients of different types in the same Java app.
> I just checked JAVAEE5 Web application, EJB module, Application client
> and Java application and everywhere you can choose,
> which client type you want to create.
> If yours is mentioned case, try to create new Java application and
> create your client there. Otherwise please write some more info,
> like type of project you're creating the ws client in, J2EE version,
> server, JDK.
>  
> -Jarek
>  
> 정우람 wrote:
>  
>
>     Hi my name is wooram, and I’m Korean.
>
>      
>
>     Currently I tried to call web service using JAX-RPC because deployed
>
>     web service is only available for JAX-RPC not JAXWS2.0
>
>      
>
>     So I install plug-in for JAXRPC in netbeans6.1
>
>      
>
>     But when I try to create web service client, I can’t choose JAX-RPC in
>
>     web service client create window.
>
>      
>
>     The client style is fixed == > “JAX-WS Style” and the form is disabled..
>
>      
>
>     Here is my wsdl address :
>
>     http://lans2.icu.ac.kr:8080/WSPQRM/services/JobScheduler?wsdl
>
>      
>
>     I want to call this web service in netbeans6.1 .. need help
>
>      
>
>     Thanks for reading….
>
>      
>
>        
>
>  
>  
>


Re: How to use JAX-RPC web service client in netbeans 6

by Roderico Cruz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Wooram,
In the client wizard, the Client Style field is a drop down that allows you to choose between JAXWS and JAXRPC style (see picture). So you are not getting this?


Thanks.
Rico


Jaroslav Pospisil wrote:
Hi,
could you please write more about your new problem and also add some
additional information,
as I've mentioned in my previous email? So far we're all very confused,
because in all possible scenarios
should be possible normally choose between JAX-RPC and JAX-WS client
type even without
using JDK1.4.
Thanks

-Jarek


정우람 wrote:
  
Thanks for your answer but in my case. I solved the problem just I
choose jdk1.4 version when I create new project.

In this case I only can choose JAXRPC not JAXWS2.0.

But now I met new problem. J

thanks

*From:* Roderico.Cruz@... [Roderico.Cruz@...]
*Sent:* Wednesday, April 09, 2008 1:53 AM
*To:* nbj2ee@...
*Subject:* Re: [nbj2ee] How to use JAX-RPC web service client in
netbeans 6

Jarek is right, beginning NB 6.1, you can now choose between JAXRPC or
JAXWS types when creating a web service client. Please make sure that
you have an NB 6.1 build.
Rico

Jaroslav Pospisil wrote:

Hi,
it's truth that you've to use JAX-RPC client for this RPC-encoded web
service. I can't found however any other case,
when JAX-WS client type is fixed, than when you try to create web
service client in Java Application and you've already
created there JAX-WS web service client previously. You can't have web
service clients of different types in the same Java app.
I just checked JAVAEE5 Web application, EJB module, Application client
and Java application and everywhere you can choose,
which client type you want to create.
If yours is mentioned case, try to create new Java application and
create your client there. Otherwise please write some more info,
like type of project you're creating the ws client in, J2EE version,
server, JDK.
 
-Jarek
 
정우람 wrote:
  

    Hi my name is wooram, and I’m Korean.

     

    Currently I tried to call web service using JAX-RPC because deployed

    web service is only available for JAX-RPC not JAXWS2.0

     

    So I install plug-in for JAXRPC in netbeans6.1

     

    But when I try to create web service client, I can’t choose JAX-RPC in

    web service client create window.

     

    The client style is fixed == > “JAX-WS Style” and the form is disabled..

     

    Here is my wsdl address :

    http://lans2.icu.ac.kr:8080/WSPQRM/services/JobScheduler?wsdl

     

    I want to call this web service in netbeans6.1 .. need help

     

    Thanks for reading….

     

        

 
  

    

  



RE: How to use JAX-RPC web service client in netbeans 6

by 정우람 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Thanks

Because of time difference, my reply is little bit late J

I will show my problem in detail

 

1.First I create web application with GlassFishv2 and j2ee 5

create.PNG

 

2.Second – I try to make web service client on my project

re.PNG

 

3. Next window I only can choose jaxws

choose.PNG

 

As you can see in the window, the Client Style form is disabled.

 

The reason I want to use JAX-RPC is because existing web service server is not compliant with JAXWS.

 

But If I choose J2EE 1.4(in project create window), then I only can choose JAX-RPC and everything is working well.

 

Thanks.

 

 





Re: How to use JAX-RPC web service client in netbeans 6

by Jaroslav Pospisil :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
what Netbeans version and build you use? Your described behaviour is
correct for Netbeans 6.0 , 6.0.1 or some early Netbeans 6.1
builds. Since NB 6.1 rpc-encoded support has been incorporated into
JavaEE5 modules and Client style is enabled dropdownlist now.
Try please latest NB6.1 build or set Java EE Version to 1.4 (is that,
what you meant setting jdk to 1.4?),
in Web Application Wizard.
Have a nice day.

-Jarek


정우람 wrote:

>
> Thanks
>
> Because of time difference, my reply is little bit late J
>
> I will show my problem in detail
>
> 1.First I create web application with GlassFishv2 and j2ee 5
>
> create.PNG
>
> 2.Second – I try to make web service client on my project
>
> re.PNG
>
> 3. Next window I only can choose jaxws
>
> choose.PNG
>
> As you can see in the window, the Client Style form is disabled.
>
> The reason I want to use JAX-RPC is because existing web service
> server is not compliant with JAXWS.
>
> But If I choose J2EE 1.4(in project create window), then I only can
> choose JAX-RPC and everything is working well.
>
> Thanks.
>


Re: How to use JAX-RPC web service client in netbeans 6

by nedumaran :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm using Netbeans 6.1 RC1.  I tried creating a JAX-RPC client.  I could only do this if I select Glassfish and not Tomcat.

Nevertheless, when I tried importing a WSDL, I get NoClassDefFoundError: com/sun/xml/rpc/spi/tools/ModelInfo

I've already installed the JAX-RPC plugin.  

Tried doing the same on a Netbeans 6.0.1 environment and hit into the same problem.  

Appreciate some advice as I am not able to move beyond this point for a while.

Thanks.
 
Jaroslav Pospisil wrote:
Hi,
what Netbeans version and build you use? Your described behaviour is
correct for Netbeans 6.0 , 6.0.1 or some early Netbeans 6.1
builds. Since NB 6.1 rpc-encoded support has been incorporated into
JavaEE5 modules and Client style is enabled dropdownlist now.
Try please latest NB6.1 build or set Java EE Version to 1.4 (is that,
what you meant setting jdk to 1.4?),
in Web Application Wizard.
Have a nice day.

-Jarek


정우람 wrote:
>
> Thanks
>
> Because of time difference, my reply is little bit late J
>
> I will show my problem in detail
>
> 1.First I create web application with GlassFishv2 and j2ee 5
>
> create.PNG
>
> 2.Second – I try to make web service client on my project
>
> re.PNG
>
> 3. Next window I only can choose jaxws
>
> choose.PNG
>
> As you can see in the window, the Client Style form is disabled.
>
> The reason I want to use JAX-RPC is because existing web service
> server is not compliant with JAXWS.
>
> But If I choose J2EE 1.4(in project create window), then I only can
> choose JAX-RPC and everything is working well.
>
> Thanks.
>

Re: How to use JAX-RPC web service client in netbeans 6

by qunu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Hi,
could you please write more about your new problem and also add some
additional information,
as I've mentioned in my previous email? So far we're all very confused,
because in all possible scenarios
should be possible normally choose between JAX-RPC and JAX-WS client
type even without
using JDK1.4.
Thanks

-Jarek


정우람 wrote:
>
> Thanks for your answer but in my case. I solved the problem just I
> choose jdk1.4 version when I create new project.
>
> In this case I only can choose JAXRPC not JAXWS2.0.
>
> But now I met new problem. J
>
> thanks
>
> *From:* Roderico.Cruz@Sun.COM [mailto:Roderico.Cruz@Sun.COM]
> *Sent:* Wednesday, April 09, 2008 1:53 AM
> *To:* nbj2ee@netbeans.org
> *Subject:* Re: [nbj2ee] How to use JAX-RPC web service client in
> netbeans 6
>
> Jarek is right, beginning NB 6.1, you can now choose between JAXRPC or
> JAXWS types when creating a web service client. Please make sure that
> you have an NB 6.1 build.
> Rico
>
> Jaroslav Pospisil wrote:
>
> Hi,
> it's truth that you've to use JAX-RPC client for this RPC-encoded web
> service. I can't found however any other case,
> when JAX-WS client type is fixed, than when you try to create web
> service client in Java Application and you've already
> created there JAX-WS web service client previously. You can't have web
> service clients of different types in the same Java app.
> I just checked JAVAEE5 Web application, EJB module, Application client
> and Java application and everywhere you can choose,
> which client type you want to create.
> If yours is mentioned case, try to create new Java application and
> create your client there. Otherwise please write some more info,
> like type of project you're creating the ws client in, J2EE version,
> server, JDK.
>  
> -Jarek
>  
> 정우람 wrote:
>  
>
>     Hi my name is wooram, and I’m Korean.
>
>      
>
>     Currently I tried to call web service using JAX-RPC because deployed
>
>     web service is only available for JAX-RPC not JAXWS2.0
>
>      
>
>     So I install plug-in for JAXRPC in netbeans6.1
>
>      
>
>     But when I try to create web service client, I can’t choose JAX-RPC in
>
>     web service client create window.
>
>      
>
>     The client style is fixed == > “JAX-WS Style” and the form is disabled..
>
>      
>
>     Here is my wsdl address :
>
>     http://lans2.icu.ac.kr:8080/WSPQRM/services/JobScheduler?wsdl
>
>      
>
>     I want to call this web service in netbeans6.1 .. need help
>
>      
>
>     Thanks for reading….
>
>      
>
>        
>
>  
>  
>

If you just restart your IDE than start a new app then it works. I'm stuck on new problem of
adding my webservice in the services tab. Giving me web service can't be created in jaxws because rpc encoded. Why it not use the rpc plugin then?

Re: How to use JAX-RPC web service client in netbeans 6

by qunu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Hi,
could you please write more about your new problem and also add some
additional information,
as I've mentioned in my previous email? So far we're all very confused,
because in all possible scenarios
should be possible normally choose between JAX-RPC and JAX-WS client
type even without
using JDK1.4.
Thanks

-Jarek


정우람 wrote:
>
> Thanks for your answer but in my case. I solved the problem just I
> choose jdk1.4 version when I create new project.
>
> In this case I only can choose JAXRPC not JAXWS2.0.
>
> But now I met new problem. J
>
> thanks
>
> *From:* Roderico.Cruz@Sun.COM [mailto:Roderico.Cruz@Sun.COM]
> *Sent:* Wednesday, April 09, 2008 1:53 AM
> *To:* nbj2ee@netbeans.org
> *Subject:* Re: [nbj2ee] How to use JAX-RPC web service client in
> netbeans 6
>
> Jarek is right, beginning NB 6.1, you can now choose between JAXRPC or
> JAXWS types when creating a web service client. Please make sure that
> you have an NB 6.1 build.
> Rico
>
> Jaroslav Pospisil wrote:
>
> Hi,
> it's truth that you've to use JAX-RPC client for this RPC-encoded web
> service. I can't found however any other case,
> when JAX-WS client type is fixed, than when you try to create web
> service client in Java Application and you've already
> created there JAX-WS web service client previously. You can't have web
> service clients of different types in the same Java app.
> I just checked JAVAEE5 Web application, EJB module, Application client
> and Java application and everywhere you can choose,
> which client type you want to create.
> If yours is mentioned case, try to create new Java application and
> create your client there. Otherwise please write some more info,
> like type of project you're creating the ws client in, J2EE version,
> server, JDK.
>  
> -Jarek
>  
> 정우람 wrote:
>  
>
>     Hi my name is wooram, and I’m Korean.
>
>      
>
>     Currently I tried to call web service using JAX-RPC because deployed
>
>     web service is only available for JAX-RPC not JAXWS2.0
>
>      
>
>     So I install plug-in for JAXRPC in netbeans6.1
>
>      
>
>     But when I try to create web service client, I can’t choose JAX-RPC in
>
>     web service client create window.
>
>      
>
>     The client style is fixed == > “JAX-WS Style” and the form is disabled..
>
>      
>
>     Here is my wsdl address :
>
>     http://lans2.icu.ac.kr:8080/WSPQRM/services/JobScheduler?wsdl
>
>      
>
>     I want to call this web service in netbeans6.1 .. need help
>
>      
>
>     Thanks for reading….
>
>      
>
>        
>
>  
>  
>

If you just restart your IDE than start a new app then it works. I'm stuck on new problem of
adding my webservice in the services tab. Giving me web service can't be created in jaxws because rpc encoded. Why it not use the rpc plugin then?

cheers
LightInTheBox - Buy quality products at wholesale price