Friday, December 16, 2005

CTP of Enterprise Library and download issues

I have two rants.
Start RANT
1. I have been desperately trying to download the CTP version of Enterprise Library and for some reason it keeps on asking me to join the Project. I don't want to join the project just give me the library such that I can get on with it. (BTW if any one has ideas on how I can get my hands on the CTP it would be appreciated).
2. I have been looking around for the ODP.NET (Oracle's data provider) implementation for DAUB (Data Access Application Block) and not been able to find anything. I am sure someone out there has written this. I hate to write the provider and then find out it was already available. Any hints most appreciate :-)

End RANT

Wednesday, December 14, 2005

WSE 3.0 and MTOM

Over my holidays I started playing with WSE 3.0 and VS 2005. As part of the exercise built a simple web service that would allow people to send pictures and view pictures. All worked well till I enabled MTOM on the services. Since then everything the client tries to connect to the service it gets the following message "The request failed with HTTP status 415: Unsupported Media Type.". I have looked around in newsgroups and not found any resolution. BTW the web services is hosted inside IIS running on XP pro with SP2, have not tries if it will work on VS 2005 inbuilt web server (had I chosen directory option instead of web server).

For now I have decided to move on if any of you find a resolution do let me know, if I find it will post it here.

The raw messages is below that is sent to server
"POST /VisitorDataService/VisitorService.asmx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.42)
VsDebuggerCausalityData: uIDPo4jPn8RWmPlAjcQTkQgpUHMAAAAAX7/rVlC6HkyUzBUqLrewxBLVzD4GiL1Cips5Q4ONci0ACAAA
SOAPAction: "http://www.shajisethu.com/schemas/VisitorService/getVisitors"
Host: sethu.homedns.org
Content-Type: multipart/related; type="application/xop+xml"; boundary=--MIMEBoundary632701497681437264; start="<0.632701497681437264@example.org>"; start-info="text/xml; charset=utf-8"
Content-Length: 1424
Expect: 100-continue
Proxy-Connection: Keep-Alive


----MIMEBoundary632701497681437264
content-id: <0.632701497681437264@example.org>
content-type: application/xop+xml; charset=utf-8; type="text/xml; charset=utf-8"
content-transfer-encoding: binary

http://www.shajisethu.com/schemas/VisitorService/getVisitorsurn:uuid:bd1fa634-e620-4649-a316-b7d64d80e71bhttp://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymoushttp://sethu.homedns.org/VisitorDataService/VisitorService.asmx2005-12-13T22:36:08Z2005-12-13T22:41:08Z
----MIMEBoundary632701497681437264--"