469,331 Members | 4,121 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,331 developers. It's quick & easy.

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.SoapHttpClientProtoc ol.ReadResponse(SoapClie
ntMessage message, WebResponse response, Stream responseStream)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodN
ame, Object[] parameters)
at MyHelloService.sayHello(String String_1)
at MyClient.Main()

Nov 15 '05 #1
1 1626
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.
--
- Nicholas Paldino [.NET/C# MVP]
- ni**************@exisconsulting.com
"Xiao Quan" <xi******@aircom.com.cn> wrote in message
news:eV**************@tk2msftngp13.phx.gbl...
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.SoapHttpClientProtoc ol.ReadResponse(SoapClie
ntMessage message, WebResponse response, Stream responseStream)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodN
ame, Object[] parameters)
at MyHelloService.sayHello(String String_1)
at MyClient.Main()


Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Kumar T via .NET 247 | last post: by
7 posts views Thread by Christian Wilhelm | last post: by
7 posts views Thread by Jorgen Haukland, Norway | last post: by
6 posts views Thread by Sascha Schmidt | last post: by
reply views Thread by Andrej | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by haryvincent176 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.