Host WCF service in Azure

It’s possible to host a WCF service in Azure. First create a WCF service library for the service contract. I think it’ also possible to create a WCF Service Application since you wanna host the service in IIS. Then create a class library for the data contract. Finally add an ASP.Net Web Application. Use the…

SoapUI failed to add project

If you get an error when adding a new SOAP project in SoapUI, it’s best to try and open the wsdl in a browser first. That way you can see the errors related to the wsdl file. Don’t forget to set customErrors to Off in the web.config file. <system.web> <customErrors mode=”Off” /> </system.web> You can…

Test Soap Service via Postman

I found an interesting post on the Postman Blog, which was almost correct. For easy reference, I give the correct approach here: You can easily make any HTTP SOAP request using Postman by following these simple steps: 1. Give the SOAP endpoint (not necessarily the WSDL) as the URL. If you use a WCF service hosted on…

SvcUtil

I used SvcUtil to generate a service interface + data contracts from a WSDL using the following command: SvcUtil OpdrachtXOP.wsdl /l:cs /serializer:XmlSerializer /syncOnly Nothing special, the service contract and the datacontracts got generated. But, after I created a SOAP project in SoapUI, I saw a few very weird things: – The Order attribute in my…

Notepad++ Comparer plugin

Encountered an annoying issue that I couldn’t install the Comparer plugin in Notepad++ anymore. There’s a simple solution as explained in this post of DavidTan.org. I copied the steps for easy reference: 1. Goto notepad++ plugins donwload page at Sourceforge here 2. Select ComparePlugin from the plugins table and download ComparePluginx.x.x.unicode.zip. 3. Inside the downloaded zip file,…

Pass a string to a custom API App

In this specific case I had a logic app with a Http Action that returned a json response with a base64 encoded string for the XML document. I wanted to decode the base64 string and pass the result as a string to my custom api app. For that purpose I used a WDL expression: @{decodeBase64(actionBody(‘GetDocument’)._buffer)}…