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 / March 2005

Tip: Looking for answers? Try searching our database.

Setting ReplyTo ReferenceProperties throws "The input was not a ..

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dominic Cooney - 31 Mar 2005 04:19 GMT
I'm trying to set ReferenceProperties in a ReplyTo; however whenever I send a
message with my reference properties, WSE throws an ArgumentException with
this message:

WSE002: The input was not a valid ReferenceProperties element because it has
either the wrong name or the wrong namespace. The name specified follows:
MyElementName. The namespace it was defined under follows: http://myuri.

The short question: How do I set reference properties for a ReplyTo?

The long question:

I've got a service 'A' which delegates to service 'B', and it's ok for 'B'
to reply directly to A's client so A doesn't have to handle the reply. How do
I do this? The WS-Addressing spec seems to imply reusing the message ID from
the client to A on the message from A to B is ok, but I can't set the message
ID with WSE (could I reuse the entire envelope, with some mangling?) I was
going to put a MessageID in the reference properties of the reply-to header
and have B build a RelatesTo from that, but then I ran into this problem.
Interestingly, ReferenceProperties has an explicit RelatesTo property, but if
I set this, it is not set/there are no elements at B.
Dominic Cooney - 31 Mar 2005 12:09 GMT
I've solved the technical problem-- I wasn't creating a
wsa:ReferenceProperties parent element. However the "long question" is still
bothering me...

> I'm trying to set ReferenceProperties in a ReplyTo; however whenever I send a
> message with my reference properties, WSE throws an ArgumentException with
[quoted text clipped - 17 lines]
> Interestingly, ReferenceProperties has an explicit RelatesTo property, but if
> I set this, it is not set/there are no elements at B.

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.