You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Andreas Steffen <an...@strongswan.org> on 2011/08/06 23:25:43 UTC

Every SOAP message sent twice

Hello,

I configured the following transport media in axis2.xml:

   <transportReceiver name="https" class="axis2_http_receiver">
        <parameter name="port" locked="false">6060</parameter>
        <parameter name="exposeHeaders" locked="true">false</parameter>
    </transportReceiver>

   <transportSender name="https" class="axis2_http_sender">
        <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
        <parameter name="xml-declaration" insert="false"/>
     </transportSender>

    <parameter name="SERVER_CERT">/home/andi/axis2c/irond.pem</parameter>

and since configuration of HTTP Authentication did not work via
axis2.xml I defined it programatically in my client software using
the Axis2/C API:

	axis2_options_set_http_auth_info(options, this->env, username,
password, auth_type);

which worked. Unfortunately all SOAP messages are now sent twice
to the server. How can I fix this, preferably by defining the https
transport programatically via the axi2 API?

Best regards

Andreas

======================================================================
Andreas Steffen                         andreas.steffen@strongswan.org
strongSwan - the Linux VPN Solution!                www.strongswan.org
Institute for Internet Technologies and Applications
University of Applied Sciences Rapperswil
CH-8640 Rapperswil (Switzerland)
===========================================================[ITA-HSR]==

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


Re: Every SOAP message sent twice

Posted by Andreas Veithen <an...@gmail.com>.
You are on the wrong list. Please subscribe to c-user@axis.apache.org.

On Fri, Aug 12, 2011 at 20:40, Andreas Steffen
<an...@strongswan.org> wrote:
> This bug in the HTTP Authentication was fixed two years ago.
>
> http://svn.apache.org/viewvc?view=revision&revision=778987
>
> Why hasn't there been a 1.6.1 or 1.7.0 release in the meantime?
> Is this project dead?
>
> Regards
>
> Andreas
>
> On 08/06/2011 11:25 PM, Andreas Steffen wrote:
>> Hello,
>>
>> I configured the following transport media in axis2.xml:
>>
>>    <transportReceiver name="https" class="axis2_http_receiver">
>>         <parameter name="port" locked="false">6060</parameter>
>>         <parameter name="exposeHeaders" locked="true">false</parameter>
>>     </transportReceiver>
>>
>>    <transportSender name="https" class="axis2_http_sender">
>>         <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
>>         <parameter name="xml-declaration" insert="false"/>
>>      </transportSender>
>>
>>     <parameter name="SERVER_CERT">/home/andi/axis2c/irond.pem</parameter>
>>
>> and since configuration of HTTP Authentication did not work via
>> axis2.xml I defined it programatically in my client software using
>> the Axis2/C API:
>>
>>       axis2_options_set_http_auth_info(options, this->env, username,
>> password, auth_type);
>>
>> which worked. Unfortunately all SOAP messages are now sent twice
>> to the server. How can I fix this, preferably by defining the https
>> transport programatically via the axi2 API?
>>
>> Best regards
>>
>> Andreas
>
> ======================================================================
> Andreas Steffen                         andreas.steffen@strongswan.org
> strongSwan - the Linux VPN Solution!                www.strongswan.org
> Institute for Internet Technologies and Applications
> University of Applied Sciences Rapperswil
> CH-8640 Rapperswil (Switzerland)
> ===========================================================[ITA-HSR]==
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


Re: Every SOAP message sent twice

Posted by Andreas Steffen <an...@strongswan.org>.
This bug in the HTTP Authentication was fixed two years ago.

http://svn.apache.org/viewvc?view=revision&revision=778987

Why hasn't there been a 1.6.1 or 1.7.0 release in the meantime?
Is this project dead?

Regards

Andreas

On 08/06/2011 11:25 PM, Andreas Steffen wrote:
> Hello,
> 
> I configured the following transport media in axis2.xml:
> 
>    <transportReceiver name="https" class="axis2_http_receiver">
>         <parameter name="port" locked="false">6060</parameter>
>         <parameter name="exposeHeaders" locked="true">false</parameter>
>     </transportReceiver>
> 
>    <transportSender name="https" class="axis2_http_sender">
>         <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
>         <parameter name="xml-declaration" insert="false"/>
>      </transportSender>
> 
>     <parameter name="SERVER_CERT">/home/andi/axis2c/irond.pem</parameter>
> 
> and since configuration of HTTP Authentication did not work via
> axis2.xml I defined it programatically in my client software using
> the Axis2/C API:
> 
> 	axis2_options_set_http_auth_info(options, this->env, username,
> password, auth_type);
> 
> which worked. Unfortunately all SOAP messages are now sent twice
> to the server. How can I fix this, preferably by defining the https
> transport programatically via the axi2 API?
> 
> Best regards
> 
> Andreas

======================================================================
Andreas Steffen                         andreas.steffen@strongswan.org
strongSwan - the Linux VPN Solution!                www.strongswan.org
Institute for Internet Technologies and Applications
University of Applied Sciences Rapperswil
CH-8640 Rapperswil (Switzerland)
===========================================================[ITA-HSR]==

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org