Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Changing the Namespace URI used for incoming SOAP requests

Reply
Thread Tools

Changing the Namespace URI used for incoming SOAP requests

 
 
David Clegg
Guest
Posts: n/a
 
      05-05-2008
We have a situation where we deployed a new version of a web service
which also changed the default namespace URI from 'tempuri.org' to a
custom one used by our other web services. While I sent notification
out to all potential client consumers, I am still getting requests
using tempuri.org as the namespace URI, causing the client requests to
fail.

I was thinking I could implement a custom SoapExtension and change the
URI in the soap request before it is processed, but this doesn't work.
Even though I can successfully change the value of the packet before it
is deserialized, it is too late for the request routing logic to
recognize that the namespace URI has been changed, and so the request
still fails.

Initially I got excited when I saw the SoapMessage.Action property, but
this is read-only. Is there anyway to do what I'm attempting to
achieve, or am I simply stuck with waiting for all clients to update
the namespace URI they use for their method calls to my web service?

--
Cheers,
David Clegg

http://cc.codegear.com/Author/72299

QualityCentral. The best way to bug CodeGear about bugs.
http://qc.codegear.com

"Hey, we didn't have a message on our answering machine when we left.
How very odd." - Homer Simpson
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
java.net.URI.relativize(java.net.URI) not really working Stanimir Stamenkov Java 1 08-17-2005 06:24 PM
Help with error: "Invalid URI: The format of the URI could not be determined." Simon Harris ASP .Net 0 05-10-2005 04:33 PM
Re: XSLT: Relative URI "my.dtd" can not be resolved without a base URI etheriau XML 1 08-23-2004 01:54 PM
XSLT: Relative URI "my.dtd" can not be resolved without a base URI Pavel XML 2 08-03-2004 11:40 PM
Invalid URI: The format of the URI could not be determined. Joe Curry ASP .Net Web Services 0 10-08-2003 04:11 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57