DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2004
    Posts
    111

    Java Web Services

    How difficult is it to reference (and work with) Java web services in a C# application?

    Laurence -

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    If it adheres to the relevant standards, a Web service is a Web service; it makes no difference what language it's written in. Simply Add Web Reference in Visual Studio, navigate to the WSDL file, and start calling the service.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Feb 2004
    Posts
    111
    But, if a method in a web service returns more than just simple data (for example, the java equivalent of a data table), how will I deal with something like that?

    Laurence -

  4. #4
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    In that case, the Web service does not adhere to WS standards. I would use a different, standards-compliant Web service.

    If you're forced to use it, you could receive the response as a string and manually parse the XML.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. whats news in java web services?
    By Toufik in forum Java
    Replies: 1
    Last Post: 10-24-2001, 06:58 AM
  2. Are web services just wishful thinking?
    By Mike Mitchell in forum .NET
    Replies: 25
    Last Post: 09-12-2001, 08:50 PM
  3. Replies: 0
    Last Post: 08-13-2001, 06:13 PM
  4. Re: ALERT - XP COULD DISABLE JAVA IN WEB BROWSERS AND EMAI L
    By Tim Romano in forum Talk to the Editors
    Replies: 1
    Last Post: 07-27-2001, 08:05 AM
  5. Replies: 0
    Last Post: 09-06-2000, 06:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links