Google Answers Logo
View Question
 
Q: Passing parameters to .NET Web Services from Java client ( Answered 4 out of 5 stars,   0 Comments )
Question  
Subject: Passing parameters to .NET Web Services from Java client
Category: Computers > Programming
Asked by: scooper-ga
List Price: $10.00
Posted: 08 May 2002 17:57 PDT
Expires: 15 May 2002 17:57 PDT
Question ID: 13873
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  
Subject: Re: Passing parameters to .NET Web Services from Java client
Answered By: axe-ga on 08 May 2002 18:47 PDT
Rated:4 out of 5 stars
 
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 rated this answer:4 out of 5 stars
Thanks Axe-ga!! Although you didn't directly answer the problem you
led me the link http://hosting.msugs.ch/eyesoft/ws/v1/apache_interop/Apache_.NET_Interop_Demo.zip
which did.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy