why .net cann't access Java webservice?

  • Thread starter Thread starter Xiao Quan
  • Start date Start date
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()
 
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.
 
Back
Top