why .net cann't access Java webservice?

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
 
P

Patrick Steele [MVP]

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?
 

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

Similar Threads


Top