[ https://issues.apache.org/jira/browse/AXIS2C-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15501284#comment-15501284
]
Rafael Bronzeri commented on AXIS2C-1678:
-----------------------------------------
I did some tests using Axis2\C server and client with:
- Microsoft .NET 4.5.2 (WCF)
- Apache CXF 2.7.x
Some results:
-> Microsoft .NET 4.5.2
- Axis2\C server and .NET WCF Client = WCF Client payload was successful sent to Axis2\C
Simple server, but exception occurred in WCF client because Keep-Alive was expected, I changed
configuration in WCF and it worked.
--> Solution : The Axis2\C Simple server not support Keep-Alive (there is another Jira
task for that).
Used this configuration to disable KeepAlive (in web.config).
<customBinding>
<binding name="CustomHTTP">
<httpTransport
allowCookies="false"
keepAliveEnabled="false" />
</binding>
</customBinding>
- Axis2\C client and .NET WCF Server = WCF Server refused to accept SOAP envelope from Axis2\C
client. The server return that xmlns ("http://www.w3.org/2001/XMLSchema-instance) is missing.
--> Solution: Axis2\C client Fixed, I changed the svc_client.c to get compatibility
with anothers Web Services Frameworks adjusting payload with xmlns. Tested again, and it
is working now.
- Apache CXF 2.7.x
- Axis2\C server and Apache CXF Client = Client payload was successful sent to Axis2\C Simple
server, but an error was occured in client because Keep-Alive was expected.
--> Solution: The Axis2\C Simple server not support Keep-Alive (there is another Jira
task for that).
In client I used these parameters:
httpClientPolicy.setConnectionTimeout(36000);
httpClientPolicy.setAllowChunking(false);
httpClientPolicy.setReceiveTimeout(32000);
httpClientPolicy.setConnection(ConnectionType.CLOSE);
Remarks: with httpClientPolicy.setAllowChunking(true); it worked as well.
- Axis2\C client and Apache CXF Server = I performed tests after the fix in Axis2\C client
(svc_client.c), and it worked.
> Test Axis2/C server and client using another famous WebServices frameworks
> --------------------------------------------------------------------------
>
> Key: AXIS2C-1678
> URL: https://issues.apache.org/jira/browse/AXIS2C-1678
> Project: Axis2-C
> Issue Type: Test
> Reporter: Rafael Bronzeri
>
> Test Axis2/C server and client using Apache Axis Java, Apache CXF Java, .NET 4.x WCF
to get 100% of compatibility
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org
|