I've created the proxy class (using wsdl on the downloaded WSDL) and wrote a teeny tiny sample program which overrides the certificate detection.
Now for my new problem: I'm getting a 404 error (!)
Unfortunately, I can't do ANY debugging whatsoever because the entire SOAP handshake happens inside a TLS session!! so I can't wire-dump the XML, I can't even peek at the HTTP headers.
Does anyone know how to "overload" the .NET web services classes so that they spew out the XML handshake? this is pretty easy in Perl.
On 3/7/06, Orlando Andico <[EMAIL PROTECTED]> wrote:
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
--
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

