web service namespace issues

J

Jeff Hamilton

When I use the default web service namespace
(http://tempuri.org) I am able to call the web service,
however when I change the namespace, re-build, and update
the web reference in the client to use the new namespace
I get the following error when trying to call a method in
that web service:

System.Web.Services.Protocols.SoapException: Server did
not recognize the value of HTTP Header SOAPAction:
http://tempuri.org/GetTestFile

Why is the client still using the default namespace? I
checked the Reference.vb file that is generated and it is
using the new namespace that I entered.
 
M

MSFT

Hi Jeff,

If you remove the web service and add it again, will the error be fixed?
Have you change any thing else in the web service, like a web method?

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
J

Jeff Hamilton

Thanks for the reply. Actually the error was on my part
as I was not re-compiling after updating the web service
proxy.
 

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

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,817
Latest member
AdalbertoT

Latest Threads

Top