Archives by Tag 'Web Service'

WCF POX, JSON and SOAP Coexist

By admin - Last updated: Monday, August 16, 2010

Sometimes, we want to make a service available in different protocols so that clients could have an option to choose one of their favorite methods to consume the web services. Here we are going to talk about how to make one WCF service available in POX(Plain Old XML as XML for short), JSON and SOAP [...]

Generate WSE3 client without GUI

By admin - Last updated: Monday, August 24, 2009

Solution 1 When using Visual Studio 2008, the web service proxy generated might not be WSE enabled. In order to generate WSE enabled proxy class, you can use the command line to do that. Yes, you can use WCF to communicate with WSE enabled service for sure, but here we are talking WSE3. Firstly, you [...]

Exchange Server 2007 WebService, Get Inbox Email Items – C#, SOAP Requests and Responses

By admin - Last updated: Tuesday, May 26, 2009

I was evaluating the Exchange Server 2007 WebService API and trying to get a list of latest inbox items from EWS web service. It took me a while to figure out the request objects and the way to configure all the parameters. Here is the C# code doing this. The ExchangePlay.exws Proxy was generated within [...]

WSE UsernameToken Password SendHashed – Crack

By admin - Last updated: Monday, November 12, 2007

Using ServiceCapture, Ethereal, Charles or some SOAP sniffer software to inspect the XML sent on wire. Here is XML snippet in the SOAP header. <wsse:usernametoken wsu:id=”….” xmlns:wsu=”….”>     <wsse:username>xxxxxx</wsse:username>     <wsse:password type=”….”>            fCQCp/A9wFD/Gku0L+yF/u+0leg=      </wsse:password>     <wsse:nonce>eSM7S/iT0KyA39vuWPQcPQ==</wsse:nonce>     <wsu:created>1975-12-01T05:28:36Z</wsu:created>  </wsse:usernametoken> [STAThread] static void Main() { [...]