why .net cann't access Java webservice?

X

Xiao Quan

i programed a java webservice, and a client by MS SOAP Toolkit. it work
well.

Howerver, a .net client cann't access the java webservice and report the
following exception:

unhandled exception£º System.Net.WebException: resquest failed because of
http status code 405£ºMethod not allowed¡£

at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClie
ntMessage message, WebResponse response, Stream responseStream)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodN
ame, Object[] parameters)
at MyHelloService.sayHello(String String_1)
at MyClient.Main()
 
N

Nicholas Paldino [.NET/C# MVP]

Xiao,

It seems like the request isn't being properly formatted. Do you have
this Java web service publically available? If so, where is it? I could
try it myself to see if I can connect.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top