• Post Reply Bookmark Topic Watch Topic
  • New Topic

Web Service Interoperablity

 
Nitin Raodeo
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a major doubt regarding Web Service and the Toolkits in different platforms.
1) My Web Service Server implementation is in Java.
The arguments and the return type to the exposed services are JAVABEANS.
Server method exposed is :
public Purchase getPaymentInfo(Subcriber subcriber)
throws RemoteException ;
Can a Microsoft or C++ client call my web service?
Is Subcriber java bean object is JAVA understood by the client of C++ ??
2) If this is possible is there any corresponding WSDL2Java kind of a thing in MS or C++ ?
This is because the client will not maintain the Java Beans? Instead the client can use WSDL2C++(kind of a thing) to generate the corrosponding Seriliazable objects from the WSDL.
3) If this interoperability is not possible..can i say that the Web Services is interoperable only for for some basic data types and data structures(string, int, arrays) and that an Subcriber java bean object is JAVA is not understood by the client of C++ ??

Thanks
Nitin
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Nitin Anil:
1) My Web Service Server implementation is in Java.
The arguments and the return type to the exposed services are JAVABEANS.
Server method exposed is :
public Purchase getPaymentInfo(Subcriber subcriber)
throws RemoteException ;
Can a Microsoft or C++ client call my web service?
Is Subcriber java bean object is JAVA understood by the client of C++ ??

Yes. Microsoft .NET can read your WSDL file and create the client stubs automatically which then can be used by vb.net or C# see www.asp.net tutorials for more info on using MS Webservices

2) If this is possible is there any corresponding WSDL2Java kind of a thing in MS or C++ ?
This is because the client will not maintain the Java Beans? Instead the client can use WSDL2C++(kind of a thing) to generate the corrosponding Seriliazable objects from the WSDL.

Yes, MS has this option.

3) If this interoperability is not possible..can i say that the Web Services is interoperable only for for some basic data types and data structures(string, int, arrays) and that an Subcriber java bean object is JAVA is not understood by the client of C++ ??
Thanks
Nitin

Many complex webservices exposed so far were highly interoperable with some exceptions. See the examples from GoogleWebservices, AmazonWebserives, examples from Aapche Axis and SOAP.
 
Nitin Raodeo
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
2) If this is possible is there any corresponding WSDL2Java kind of a thing in MS or C++ ?
This is because the client will not maintain the Java Beans? Instead the client can use WSDL2C++(kind of a thing) to generate the corrosponding Seriliazable objects from the WSDL.
----------------------------------------------------------------------------
Yes, MS has this option.
_________________________________
Balalji can you let me know more on this.(WSDL2C++ or utility like this).
Also can u let me know how the calling client will look like in any other technology other than Java.
My web service is up and running using a java client.
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All you need to feed for your client implementor is your WSDL
  • MS

  • To see and learn more about WSDL2MS, please download .NETFramework SDK or runtime pack, it has an exe file called wsdl.exe, by supplying the WSDL of your service you can generate the client code in vb or c# or jscript etc., please read the tutorial from www.asp.net for further steps
  • C++

  • The Apache AxisC++ has a tool called wsdl2ws, which should be able to consume your WSDL and produce necessary client files, please refer the link for furhter info
     
    Mark Weitzel
    Author
    Greenhorn
    Posts: 1
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Interoperability is the problem Web services tries to solve, but let's face it, somtimes it seems much harder than it should be. One organization that is worth checking out is the WS-I, which stands for Web Services Interoperability. Both IBM and Microsoft are members and have posted sample applications compliant with the 'Basic Profile' that you can download. Here's the URL: http://www.ws-i.org/implementation.aspx
     
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!