• Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating Web Service client using XFire

 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • 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 ]
 
NarendraBabu Bandaru
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you provide the wsdl for the same?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!