• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Windows Communication Foundation(WCF) WebService and Java client

 
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Friends,

I have been put into a webservice project. My task is to create a client in Java for an already developed webservice in WCF.
I need to use XFire to create the client.
I have basic knowledge about webservice.
Actually i have tried creating java client using one plugin(myEclipse IDE) and using that created client successfully for some webservices available for free on net.I think they were not developed using WCF.

So,I haven't handcoded much to create client as i had plugin for it but that plugin doesn't work for Webservices developed using WFC.

Can somebody suggest me some good links/ways , how to create a client for WCF webservice? Or plugin? Please show some way.That would really be appreciated.

Thanks.
[ June 18, 2008: Message edited by: Vishal Pandya ]
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What documentation do you have for this existing web service?

We used to assume that "web service" implied SOAP and WSDL but the popularity of RESTful web services has changed that.

Bill
 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your reply.

Originally posted by William Brogden:
What documentation do you have for this existing web service?


- The web service is developed using .Net WCF.
- I know that how many methods are available in web service and their signatures also.

I am newbie to web service so can you please tell me what else we should know in order to create a client.

Originally posted by William Brogden:

We used to assume that "web service" implied SOAP and WSDL but the popularity of RESTful web services has changed that.
Bill

I don't know whether he has implemented RESTful webservice or not? I will ask him.

Can you suggest me a good book/link to learn WebService quickly?

Thanks
[ June 18, 2008: Message edited by: Vishal Pandya ]
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Vishal Pandya:

Can you suggest me a good book/link to learn WebService quickly?
Thanks



Our Webservice FAQ might help you further
 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello I need samething,

Could any one suggest which is the best one to go for consuming WCF with Java client.

AXIS is better?

I heard that Microsoft and Sun Systems have created a joint project called Metro-Tango for providing solution for JAVA consuming WCF,

Is this Tango is good or complex to learn

Could any one help in this regard with fll details and links for sample code,.
 
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
From this wikipedia entry it looks like WCF is a really huge topic that tries to cover just about everything, including both SOAP and REST style plus some sort of optimized binary transmission.

If you can get a WSDL document describing the service you need to access then the AXIS toolkit will help you develop a client.

Bill
 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using XFire.
 
saivenu madhav
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi visal,

Can you help me in this regard.I have the following doubts

Whether the Xfire is freeware, if so could you please send the details of it?

How can we connect WCF with java client by using XFire ? Please give me some sample code also.


ThanskVisal

Madhav
 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
visal (Typo).

XFire is free ware.
It's been merged in Apache CXF.

I used MyEclipse 6 IDE. In which there is an utility(Go through this link) to create web service client.I used it and if everything goes well your client is ready.

PS: Initially i wasn't able to access WCF webservice.I don't know much about WCF web service(it wasn't required). Then they modified it some way so now i can access it.Nothing is hand coded from myside.
[ July 30, 2008: Message edited by: Vishal Pandya ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic