|
We liked the movie...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
|
|
Hi,
I'm looking for a way to specify that some MessageBodyMember is required, so that the generated schema would have minOccurs=1 instead of minOccurs=0.
I know that the DataMember has such an option(IsRequired=true), however I prefer using the MessageContract for controlling other aspects of the message.
CODE
[MessageContract(IsWrapped = true, WrapperName = "CityRequestObject")]
public class CityInfoRequest
{
[MessageHeader]
public string UserKey { get; set; }
[MessageHeader]
public string TransactionID { get; set; }
[MessageHeader]
public string EntityCode { get; set; }
[MessageBodyMember]
public string Lang { get; set; }
}
|
|
|
|
|
Did you read the red words at the top of this page? Apparently not.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
And in addition to Peter's comments you already posted this in QA.
|
|
|
|
|
Maybe he's noticed that all the CLEVER people hang out in the Lounge rather than in QA...
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
Lounge message: 7 hours 42 minutes ago
QA post: 7 hours 15 minutes ago
I suspect the QA post was a reaction to Peter's message.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Under Trump, MessageBodyMember will never be required.
Sorry, wrong forum.
|
|
|
|
|
Milkshake Duck
[^]
Zen and the art of software maintenance : rm -rf *
Maths is like love : a simple idea but it can get complicated.
|
|
|
|
|
Looks like Macquarie needs to learn the difference between a word and a phrase.
This space for rent
|
|
|
|
|
No, not the Netflix show.
"you are getting this error because something errored out and then the error logging service itself errored out."
And of course this is executing a service call with test data that worked just fine last week.
Can't wait until AI replaces 90% of programmers.
Latest Article - Code Review - What You Can Learn From a Single Line of Code
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
Quote: Can't wait until AI replaces 90% of programmers
That kind of talk will get you banished - banished - banished forever!
Get me coffee and no one gets hurt!
|
|
|
|
|
Cornelius Henning wrote: That kind of talk will get you banished - banished - banished forever!
Those who speak the truth always face persecution. At least we (usually) don't burn people at the stake, feed them to lions, or crucify them anymore.
Latest Article - Code Review - What You Can Learn From a Single Line of Code
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
Quote: At least we (usually) don't burn people at the stake, feed them to lions, or crucify them anymore
We can always make exceptions, you know!
Get me coffee and no one gets hurt!
|
|
|
|
|
I think it's unfair they stopped it; particularly for the lions, they have children to feed too.
Signature ready for installation. Please Reboot now.
|
|
|
|
|
Marc Clifton wrote: At least we (usually) don't burn people at the stake, feed them to lions, or crucify them anymore. No, we do code reviews now.
This space for rent
|
|
|
|
|
People have too high expectations. I expect the AI to replace all error-messages with the text "Operation succeeded."
Or beter yet, the always valid excuse, "vbrun300.dll missing."
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
I think with Visual Studio's intellisense we're halfway on the route to AI.
Get me coffee and no one gets hurt!
|
|
|
|
|
Well at least it's verbose and accurate!...just not very helpful! Must be a MS update!
"Go forth into the source" - Neal Morse
|
|
|
|
|
I'm sorry Marc, but I did not understand your question?
Yes the weather is sunny outside today in Colorado.
Caveat Emptor.
"Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long
|
|
|
|
|
|
That's so sad.
I'd more or less forgotten about the Cranberries until a few years ago I came across this video[^] of them playing Zombie in concert in Paris some time ago, playing to a pretty large and enthusiastic audience. I had no idea they were still going so strong.
|
|
|
|
|
Sad, a unique voice silenced.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
cheers
Chris Maunder
|
|
|
|