[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-c-dev
Subject:    RE: Axis 1.5 error http client , response timed out even though the timeout is set to a larger value
From:       manoj dhyani <mdhyani () hotmail ! com>
Date:       2012-01-21 19:07:23
Message-ID: SNT123-W286D35E7270E2710359533B1840 () phx ! gbl
[Download RAW message or body]

anyone ?? this is affecting my project release

 


I am trying to use operations from following WSDL using C++ client application on \
windows 32-bit using Axis2c 1.5 (build with openSSL 0.9.8f) and using rampartc module \
for ws-security  
https://nestlepreview.i-nexus.com/nestlepreview/webservices/v1/nexus.wsdl
 
the call always fail with the following error, I don't think it's a timeout setting \
issue the call fails immediately  
[Fri Jan 13 22:40:52 2012] [debug] ..\..\src\util\rampart_encryption.c(800) \
[rampart][rampart_encryption] No parts specified or specified parts can't be found \
                for encryprion.
[Fri Jan 13 22:40:52 2012] [debug] ..\..\src\omxmlsec\axiom.c(129) [rampart]Checking \
                node Security for Signature
[Fri Jan 13 22:40:52 2012] [debug] ..\..\src\omxmlsec\axiom.c(129) [rampart]Checking \
                node UsernameToken for Signature
[Fri Jan 13 22:40:52 2012] [debug] ..\..\src\omxmlsec\axiom.c(129) [rampart]Checking \
                node Username for Signature
[Fri Jan 13 22:40:52 2012] [debug] ..\..\src\omxmlsec\axiom.c(129) [rampart]Checking \
                node Password for Signature
[Fri Jan 13 22:40:52 2012] [debug] ..\..\src\omxmlsec\axiom.c(129) [rampart]Checking \
                node Security for EncryptedKey
[Fri Jan 13 22:40:52 2012] [debug] ..\..\src\omxmlsec\axiom.c(129) [rampart]Checking \
                node UsernameToken for EncryptedKey
[Fri Jan 13 22:40:52 2012] [debug] ..\..\src\omxmlsec\axiom.c(129) [rampart]Checking \
                node Username for EncryptedKey
[Fri Jan 13 22:40:52 2012] [debug] ..\..\src\omxmlsec\axiom.c(129) [rampart]Checking \
                node Password for EncryptedKey
[Fri Jan 13 22:40:52 2012] [debug] \
..\..\src\core\transport\http\sender\http_transport_sender.c(246) \
                ctx_epr:https://nestlepreview.i-nexus.com:443/nestlepreview/webservices/v1/
                
[Fri Jan 13 22:40:52 2012] [debug] \
..\..\src\core\transport\http\sender\http_transport_sender.c(805) using axis2 native \
                http sender.
[Fri Jan 13 22:40:52 2012] [debug] \
..\..\src\core\transport\http\sender\http_sender.c(416) \
                msg_ctx_id:urn:uuid:0a655e13-e386-4d27-975b-49d0b1c8c060
[Fri Jan 13 22:40:53 2012] [info]  [ssl client] Client certificate chain filenot \
                specified
[Fri Jan 13 22:40:54 2012] [debug] \
..\..\src\core\transport\http\sender\ssl\ssl_utils.c(190) [ssl client] SSL \
                certificate verified against peer
[Fri Jan 13 22:40:54 2012] [debug] \
..\..\src\core\transport\http\sender\http_client.c(571) http client , response timed \
                out
[Fri Jan 13 22:40:54 2012] [error] \
                ..\..\src\core\transport\http\sender\http_client.c(574) Response \
                timed out
[Fri Jan 13 22:40:54 2012] [error] \
                ..\..\src\core\transport\http\sender\http_sender.c(1381) status_code \
                < 0
[Fri Jan 13 22:40:54 2012] [error] ..\..\src\core\engine\engine.c(179) Transport \
                sender invoke failed
[Fri Jan 13 22:40:55 2012] [info]  [rampart][rampart_mod] rampart_mod shutdown
 
following is sample input for ListRef operation that works from SoapUI
 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" \
xmlns:v1="http://i-nexus.com/schema/v1">  <soapenv:Header/>
   <soapenv:Body>
      <v1:ListRefRequest>
         <v1:Type>BusinessUnit</v1:Type>
      </v1:ListRefRequest>
   </soapenv:Body>
</soapenv:Envelope>
 
I can't post the ws-security credentials, but if these are not secified I would \
expect an error about missing username, but in this case I always get the above error \
 the same WSDL and operation works fine and give missing ws-security username if not \
provided in SopaUI ( this uses HTTPCommonsClient)
in Aixs2 Java 1.3
with axis 1.4 (if HTTPCommonsClient is used) fails if HTTPClient is used
 
any ideas, what might be  going wrong, like something missing on client settings or \
server side issue  


[Attachment #3 (text/html)]

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
anyone ?? this is affecting my project release<BR>
<BR>&nbsp;<BR>
<DIV>
<DIV id=SkyDrivePlaceholder></DIV>
<DIV dir=ltr>I am trying to use operations from following WSDL using C++ client \
application on windows 32-bit using Axis2c 1.5 (build with openSSL 0.9.8f)<BR>and \
using rampartc module for ws-security<BR>&nbsp;<BR><A \
href="https://nestlepreview.i-nexus.com/nestlepreview/webservices/v1/nexus.wsdl" \
target=_blank>https://nestlepreview.i-nexus.com/nestlepreview/webservices/v1/nexus.wsdl</A><BR>&nbsp;<BR>the \
call always fail with the following error, I don't think it's a timeout setting issue \
the call fails immediately<BR>&nbsp;<BR>[Fri Jan 13 22:40:52 2012] [debug] \
..\..\src\util\rampart_encryption.c(800) [rampart][rampart_encryption] No parts \
specified or specified parts can't be found for encryprion.<BR>[Fri Jan 13 22:40:52 \
2012] [debug] ..\..\src\omxmlsec\axiom.c(129) [rampart]Checking node Security for \
Signature<BR>[Fri Jan 13 22:40:52 2012] [debug] ..\..\src\omxmlsec\axiom.c(129) \
[rampart]Checking node UsernameToken for Signature<BR>[Fri Jan 13 22:40:52 2012] \
[debug] ..\..\src\omxmlsec\axiom.c(129) [rampart]Checking node Username for \
Signature<BR>[Fri Jan 13 22:40:52 2012] [debug] ..\..\src\omxmlsec\axiom.c(129) \
[rampart]Checking node Password for Signature<BR>[Fri Jan 13 22:40:52 2012] [debug] \
..\..\src\omxmlsec\axiom.c(129) [rampart]Checking node Security for \
EncryptedKey<BR>[Fri Jan 13 22:40:52 2012] [debug] ..\..\src\omxmlsec\axiom.c(129) \
[rampart]Checking node UsernameToken for EncryptedKey<BR>[Fri Jan 13 22:40:52 2012] \
[debug] ..\..\src\omxmlsec\axiom.c(129) [rampart]Checking node Username for \
EncryptedKey<BR>[Fri Jan 13 22:40:52 2012] [debug] ..\..\src\omxmlsec\axiom.c(129) \
[rampart]Checking node Password for EncryptedKey<BR>[Fri Jan 13 22:40:52 2012] \
[debug] ..\..\src\core\transport\http\sender\http_transport_sender.c(246) \
ctx_epr:https://nestlepreview.i-nexus.com:443/nestlepreview/webservices/v1/<BR>[Fri \
Jan 13 22:40:52 2012] [debug] \
..\..\src\core\transport\http\sender\http_transport_sender.c(805) using axis2 native \
http sender.<BR>[Fri Jan 13 22:40:52 2012] [debug] \
..\..\src\core\transport\http\sender\http_sender.c(416) \
msg_ctx_id:urn:uuid:0a655e13-e386-4d27-975b-49d0b1c8c060<BR>[Fri Jan 13 22:40:53 \
2012] [info]&nbsp; [ssl client] Client certificate chain filenot specified<BR>[Fri \
Jan 13 22:40:54 2012] [debug] \
..\..\src\core\transport\http\sender\ssl\ssl_utils.c(190) [ssl client] SSL \
certificate verified against peer<BR>[Fri Jan 13 22:40:54 2012] [debug] \
..\..\src\core\transport\http\sender\http_client.c(571) http client , response timed \
out<BR>[Fri Jan 13 22:40:54 2012] [error] \
..\..\src\core\transport\http\sender\http_client.c(574) Response timed out<BR>[Fri \
Jan 13 22:40:54 2012] [error] \
..\..\src\core\transport\http\sender\http_sender.c(1381) status_code &lt; 0<BR>[Fri \
Jan 13 22:40:54 2012] [error] ..\..\src\core\engine\engine.c(179) Transport sender \
invoke failed<BR>[Fri Jan 13 22:40:55 2012] [info]&nbsp; [rampart][rampart_mod] \
rampart_mod shutdown<BR>&nbsp;<BR>following is sample input for ListRef operation \
that works from SoapUI<BR>&nbsp;<BR>&lt;soapenv:Envelope xmlns:soapenv="<A \
href="http://schemas.xmlsoap.org/soap/envelope/" \
target=_blank>http://schemas.xmlsoap.org/soap/envelope/</A>" xmlns:v1="<A \
href="http://i-nexus.com/schema/v1" \
target=_blank>http://i-nexus.com/schema/v1</A>"&gt;<BR>&nbsp;&nbsp; \
&lt;soapenv:Header/&gt;<BR>&nbsp;&nbsp; \
&lt;soapenv:Body&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;v1:ListRefRequest&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;v1:Type&gt;BusinessUnit&lt;/v1:Type&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;/v1:ListRefRequest&gt;<BR>&nbsp;&nbsp; \
&lt;/soapenv:Body&gt;<BR>&lt;/soapenv:Envelope&gt;<BR>&nbsp;<BR>I can't post the \
ws-security credentials, but if these are not secified I would expect an error about \
missing username, but in this case I always get the above error<BR>&nbsp;<BR>the same \
WSDL and operation works fine and give missing ws-security username if not \
provided<BR>in SopaUI ( this uses HTTPCommonsClient)<BR>in Aixs2 Java 1.3<BR>with \
axis 1.4 (if HTTPCommonsClient is used) fails if HTTPClient is used<BR>&nbsp;<BR>any \
ideas, what might be&nbsp; going wrong, like something missing on client settings or \
server side issue<BR></DIV></DIV> 		 	   		  </div></body> </html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic