[
https://issues.apache.org/jira/browse/AXIS2-2697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498455
]
Davanum Srinivas commented on AXIS2-2697:
-----------------------------------------
Tobias, which version of .NET is this?
I tried with the following and it works fine.
Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.312
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.
I do see the "Connection: Keep-Alive" header being sent from the client.
Oh, i made a tiny change to your code for better output message:
static void Main(string[] args)
{
Version version = new Version();
Console.WriteLine(version.getVersion()[EMAIL PROTECTED]);
Console.WriteLine("-- nice --");
Console.WriteLine(version.getVersion()[EMAIL PROTECTED]);
}
thanks,
dims
> Problems invoking Version.getVersion in 1.2
> -------------------------------------------
>
> Key: AXIS2-2697
> URL: https://issues.apache.org/jira/browse/AXIS2-2697
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Affects Versions: 1.2
> Environment: Server:
> Axis2SimpleServer
> Java JDK 1.6.0
> Client:
> MS Visual C# 2005
> Reporter: Tobias Seng
> Attachments: trace.txt
>
>
> Hi,
> I have the following problem using the SimpleAxis2Server and the version.aar
> from the Axis2 1.2.
> If I call the operation getVersion two times, the following AxisFault is
> thrown.
> "A message was added that is not valid. However, the operation context was
> complete."
> The fault is generated at the following lines in the InOutAxisOperation class
> if ((inMsgContext != null) && (outmsgContext != null)) {
> throw new AxisFault(Messages.getMessage("mepcompleted"));
> With Axis2 1.1.1 everything works fine.
> Here is the sample C# code.
> static void Main(string[] args)
> {
> Axis2.Version version = new Axis2.Version();
> Console.WriteLine(version.getVersion());
> Console.WriteLine("-- nice --");
> Console.WriteLine(version.getVersion());
> }
> I can not reproduce the problem using an axis2 1.2 generated (ADB) client.
> Any ideas?
> Thanks
> Tobias
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]