Are there any Java client libraries for OpenSocial?

Passing parameters to .NET Web Services from Java client

  • How do I pass a parameter to a .NET Web Service from a Java client using the Apache Soap libraries? When I try to pass a simple string to a method, it receive the parameter as NULL.

  • Answer:

    Hi there! I'm happy to help you with this issue! After searching Google and various Web Services related sites, I found a zip file containing sample code which should help solve your problem. http://www.XMLWebServices.cc is site providing many Web Services code samples and articles. There, I found the following zip file in the "Samples" section: http://hosting.msugs.ch/eyesoft/ws/v1/apache_interop/Apache_.NET_Interop_Demo.zip This file was written by a Microsoft engineer to demonstrate interopability between Java clients using Apache SOAP and a .NET Web Service. I have reviewed the code, and it contains exactly what you're looking for. Specifically, "EchoClient.java" is where you will find the best way to do it. Additionally, the following tutorial at "Gopalan Suresh Raj's Web Cornucopia" also provides a step-by-step example: http://gsraj.tripod.com/dotnet/webservices/webservice_java_client.html CSharphelp.com also provides a tutorial showing several methods for consuming a .NET Web Service, including a Java client (about half way down the page): http://www.csharphelp.com/archives/archive53.html Search terms I used: apache soap .net web service .net web service java parameter I hope I've satisfactorily answered your question. Good luck in your coding endeavours! Axe

scooper-ga at Google Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.