Yeah, cachemgr -ssl https://my.url/EvilWebService.asmx

Doesn't work though! hahaha! the cache manager claims that the new certificate has been installed, but wsdl still doesn't want to eat it.

Anyway, it turns out Roger's original suggestion worked. I wget'ed the WSDL, applied wsdl to it, compiled the stub, and.. I'm stuck (so far). But that's limited by my stupidity now.

Anyway in the WS client I can put an override function to ignore the fake certificate. So we merrily go on our way..


On 3/7/06, Miguel A Paraz <[EMAIL PROTECTED]> wrote:
On 3/7/06, Orlando Andico <[EMAIL PROTECTED]> wrote:
> Yes I know, I've done this in Java. But -- the Apache AXIS wsdl2java
> probably has the same problem as Mono WSDL.EXE -- by default, it won't
> accept invalid certificates. Having to recompile wsdl2java from source
> (considering my nonexistent experience with ANT) does not strike me as
> particularly fun.  :P

There is a non-programmatic approach. Get the server's public
certificate and add it to the JRE "cacerts" using the "keytool."

I assume .NET has a similar mechanism?


--
Orlando Andico, MCP, RHCE
http://orlygoingthirty.blogspot.com
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to