  | | | Subject: custom https handler : Transport out has not been set | Subject: custom https handler : Transport out has not been set 2007-11-01 - By Alistair Young
Back I'd like to remap https to another "name", e.g. "secure" as I want to use custom ssl handling with it. I've done this:
Protocol authhttps = new Protocol("secure", new FedoraProtocolSocketFactory(keystoreLocation, keystorePassword, truststoreLocation, truststorePassword, 443); Protocol.registerProtocol("secure", authhttps);
it works fine using "https" but when I change it to "secure" I get the error:
"Transport out has not been set"
when connecting to secure://service.url
is there a way to tell Axis2 how to handle "secure" - it's really https in disguise
thanks,
Alistair
-- ---- ------ mov eax,1 mov ebx,0 int 80h
<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line -break: after-white-space; ">I'd like to remap https to another "name", e.g. "secure" as I want to use custom ssl handling with it. I've done this:<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Protocol authhttps = new Protocol( "secure",?new FedoraProtocolSocketFactory(keystoreLocation,?keystorePassword, truststoreLocation, truststorePassword,?443);</DIV><DIV>Protocol .registerProtocol("secure", authhttps);</DIV><DIV><BR class="khtml-block -placeholder"></DIV><DIV>it works fine using "https" but when I change it to "secure" I get the error:</DIV><DIV><BR class="khtml-block-placeholder"></DIV> <DIV>"Transport out has not been set"</DIV><DIV><BR class="khtml-block -placeholder"></DIV><DIV>when?connecting to secure://service.url</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>is there a way to tell Axis2 how to handle "secure" - it's really https in disguise</DIV><DIV><BR class="khtml -block-placeholder"></DIV><DIV>thanks,</DIV><DIV><BR class="khtml-block -placeholder"></DIV><DIV>Alistair</DIV><DIV><BR class="khtml-block-placeholder"> </DIV><DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text -decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border -spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in -effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><BR class="Apple-interchange-newline"><SPAN class="Apple-style-span" style="border -collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font -weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size -adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text -decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>-- ---- ------</DIV><DIV>mov eax,1</DIV><DIV>mov ebx,0</DIV><DIV >int 80h</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class= "khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN>< /SPAN></SPAN></SPAN> </DIV><BR></DIV></BODY></HTML>
|
|
 |