• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Web Service Interoperablity

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
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 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

     
    Author
    Posts: 1
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • 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
     
    The government thinks you are too stupid to make your own lightbulb choices. But this tiny ad thinks you are smart:
    Free, earth friendly heat - from the CodeRanch trailboss
    https://www.kickstarter.com/projects/paulwheaton/free-heat
    reply
      Bookmark Topic Watch Topic
    • New Topic