2003-03-15

IT Joke

An architect, an artist and an IT guy were discussing whether it was better to spend time with the wife or a mistress.

The architect said he enjoyed time with his wife, building a solid foundation for an enduring relationship. The artist said he enjoyed time with his mistress, because of the passion and mystery he found there.

The IT guy said, "I like both."

"Both?"

The IT guy replied "Yeah. If you have a wife and a mistress, they will each assume you are spending time with the other woman, and you can go to the office and get some work done."

CodeProject

SoapException II

I did some reading on SoapException. It looks like it will pretty much accomplish what I was trying to do with ExceptionInfo while being true to the SOAP specs.

I posted some new code examples of using SoapException.

2003-03-14

SOAP Exception reply from Simon

"soap:Fault Richard has some thoughts on exceptions in ASP.NET WS. I think you really should send exception info as a soap:Fault, so that all the infrastructure pieces involved know something went wrong and can do the right thing" [simon fell]

Cool! I appreciate the pointer. My intent was to provide exception handling higher up the protocol stack. Somewhere around the "super-application" level. I'm foreseeing business logic of some sort being returned with ExceptionInfo. But that may never happen.

I was wondering if it's possible to pass my exception through soap:Fault?
Perhaps:


<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>Server Error</faultstring>
<detail>
<ExceptionInfo Successful="boolean"
xmlns="http://com.stronglytyped.com/2003/ExceptionInfo">
<Message>some error message</Message>
<Source>Some.NET.Source</Source>
<StackTrace>A path; of execution;</StackTrace>
</ExceptionInfo>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


I guess I'm learning this as I go here. I just found this tidbit at http://www.w3.org/TR/SOAP/#_Toc478383507:

"The detail element is intended for carrying application specific error information related to the Body element. It MUST be present if the contents of the Body element could not be successfully processed."


I highlighted the key to that quote that applies to my case. So would my proposal be SOAP kosher?

my blogroll

My blog roll is getting quite large...but what can I say...I'm addicted to RSS

Returning Exception Info via WebServices

I posted some thoughts on returning exceptions via web services:

http://www.stronglytyped.com/Articles/WebServicesandExceptions.html

2003-03-12

Ottmar's has a webblog

This is pretty cool. Ottmar Liebert is one of my favorite musicans and now he has his own blog. I mean there's not that many artists who would join our crazy group of folks called "bloggers". locked and subscribed

The Marketing Guy

Chris Sells posted the pictures from his "Marketing Guy Challenge". They were taken at this year's VSLive event. I volunteered to toss the pie. It came down to the marketing guy getting the pie in the face. Chris had the whole crowd rallied up.

just installed InfoPath

WOW! (just installed InfoPath and ran it against a couple webservices that I have already in place)

This will change the way IT developers build and deploy apps. I think with this tool xml and webservices will finally become a truly practical technology for IT. Here's what I currently see: IT developers know about XML and probably have used it but they still prefer to put MS Access front ends on the user's computer or they spend 2 weeks building a web frontend. It needs to be stupid simple to build loosely coupled systems using open standards. I want to dig further with this tool.

Hey, is anybody else playing with the beta? I'd love to chat with other folks who are experiencing this tool with a different set of eyeballs.

2003-03-11

MIM Fun

scoble says: "If you wanna join the fun, my Windows Messenger address is: robertscoble@hotmail.com."

I've met a few new friends using Microsoft Instant Messenger. It's an easy way to pull down the geo-barriers...here's mine: riccaetano@hotmail.com

interesting video

"War is not the answer, or so they say. But what is the answer? I went to the peace protest to find out. "
[brain terminal]