Mono and unhelpful SSL error messages

TeeJay on 2005-03-15T11:56:07

I have been puzzled this morning about why I couldn't get wsdl.exe to work (via mono) with my https webservice.

I kept on getting :
Error: There was an error processing 'https://baldwins.aaron.dev.fsite.com/SOAP/khaoscatalogue'.

    - Error getting response stream (Write): SendFailure
    - The authentication or decryption has failed.
..not very helpful.

After a lot of looking around I eventually managed to find this FAQ which says to use certmgr to add certificates to the Trusted group. Unfortunately I can't seem to get this to work.

Looking at monologue, I see that "The certmgr tool has been updated to download certificates, including up-to the root certificate if desired. certmgr.exe -ssl https://www.verisign.com This can be done from any SSL session (as long as you supply the port number for non-Fx protocol), e.g. certmgr -ssl ldaps://www.nldap.com:636

There are a few possible problems (like old root certificates using MD2 in their signature) so be sure to read the man page if it doesn't work.", but of couse that requires dev (1.1.4) rather than stable (1.0.6) and there are of course no rpm's for dev - maybe I can grab a nightly binary...


1.1.4 redhat rpms badly broken

TeeJay on 2005-03-15T12:16:49

It looks like that was a waste of 45 minutes - after installing the redhat 9 mono 1.1.4 rpm's I can only get "illegal instruction".

Mono seems a lot further from being ready for production use than I expected. That is very disappointing.

I guess I'll have to resort to using bloody .Net on windows until mono suck less. And all I want to do is write a simple webservice client to an HTTPS service.

some progress at last

TeeJay on 2005-03-15T14:39:01

Once I made the service available over http I managed to get some WSDL errors from mono's wsdl tool - not enough to be helpful though (Microsofts wsdl.exe is even worse).

Fortunately I managed to find mindreef soapscope web service checker and soapclient web service client.

I haven't managed to get any luck with the mono/.net tools yet, but these are very helpful as is this Annotated wsdl examples page at w3.org.

Re:some progress at last

TeeJay on 2005-03-15T16:26:51

Hmm...

mono wsdl barfs on the examples from w3.org, wtf is that supposed to mean - either the examples are broken or wsdl sucks.

I had to crib from the GoogleSearch wsdl which mono seems to love, even after changing everything to look like GoogleSearch, it still fails to generate anything useful.

hateful thing