• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Creating Web Service client using XFire

 
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 need to develope a web service client for a web service that my friend has already developed. I use myEclipse 6.0 which provides plugin (Uses XFire) to create a web service and its client. During the creation(rather validation) of WSDL URL, i am getting following warning:

WS-I: (BP2402) The wsdl:binding element doesn't use a soapbind:binding element as defined in section "3 SOAP Binding." of the WSDL 1.1 specification.



Still it allows me to create the service classes.But it creates only XXXclient.java(Class) file and no XXsoap.java(Interface) file.I have already created and tested some free web services through this plugin. I got the website that contains free webservices from javaranch FAQs of webservice.Thanks Javaranch.

In case everything goes perfect you get client(class),soap(interface) and other classes and then we need to do followings.

XXXClient client = new XXXClient();

//create a default service endpoint
XXXSoap service = client.getXXXSoap();



and the service object provides all the methods available in web service. But i didn't get XXXSoap.java(Interface) file itself.

1) Now, Where do we need to make corrections? In webservice or I can do something at client to solve this.

I have posted this question here because i think i will get more replies here than this (IDEs, Version Control and other tools ) thread.
[ June 07, 2008: Message edited by: Vishal Pandya ]
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can you provide the wsdl for the same?
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic