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