Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / June 2004

Tip: Looking for answers? Try searching our database.

Action field of addressing (wsa:Action) is case sensitive ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kapil Sachdeva - 27 Jun 2004 22:15 GMT
Hi guys:

If somebody could confirm that wsa:Action value is case sensitive although I
would be glad to know that either I am doing something wrong or there is a
bug in WSE.

Here is the scenario:

I used wsewsdl2.exe to create a proxy(stub) for my webservice .... one of
the method in my service has an attribute
[SoapMethod(http://MyExamples.WSE/GetPhoneNumberRequest)]

wsewsdl2.exe generates the proxy for the method which has the same attribute
but part of URI is in lowercase .... so it becomes

[SoapMethod(http://myexamples.wse/GetPhoneNumberRequest)]

The execution of my client throws an exception

Microsoft.Web.Services2.Addressing.AddressingFault: Action Not Supported at
Microsoft.Web.Services2.Messaging.SoapService.Receive(SoapEnvelope request)
at
Microsoft.Web.Services2.Messaging.SoapReceiver.ProcessMessage(SoapEnvelope
message)

if I put the URI on the proxy to be same as that of one in my method i.e
with out any case change it works fine ......

so this means that action uri is case sensitive !!!!!!!!!

but even if it is specified in specifications why it should be like
this...... if its a uri then it should be case insensitive !! .... or I am
missing some point ? and if I am then definitely wsewsdl2.exe has a bug

as to why at first place it changed the case

Regards

Kapil
Lucien - 28 Jun 2004 23:41 GMT
This is a known bug that is fixed and will be in the next release. The
action value is to be treated as is (case sensitive) per WS-Addressing spec.
I would though recommend against using upper case in host name part.

> Hi guys:
>
[quoted text clipped - 35 lines]
>
> Kapil
Kapil Sachdeva - 29 Jun 2004 14:44 GMT
Thanks Lucien.

> This is a known bug that is fixed and will be in the next release. The
> action value is to be treated as is (case sensitive) per WS-Addressing spec.
[quoted text clipped - 26 lines]
> request)
> > at

Microsoft.Web.Services2.Messaging.SoapReceiver.ProcessMessage(SoapEnvelope
> > message)
> >
[quoted text clipped - 12 lines]
> >
> > Kapil

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.