why .net cann't access Java webservice?

  • Thread starter Thread starter Xiao Quan
  • Start date Start date
X

Xiao Quan

why .net cann't access Java webservice?

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()

--
¾´Àñ£¡

ФȪ

Ò×Ë÷µÃ(±±¾©)ͨÐż¼ÊõÓÐÏÞ¹«Ë¾
(010)65889666-8010
(e-mail address removed)
http://www.aircom.com.cn
 
why .net cann't access Java webservice?

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()

How are you calling the webservice? Did you generate the .NET proxy
using WSDLGen?
 
Back
Top