You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Tobias Seng (JIRA)" <ji...@apache.org> on 2007/05/22 17:24:16 UTC
[jira] Created: (AXIS2-2697) Problems invoking Version.getVersion
in 1.2
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
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-2697) Problems invoking Version.getVersion
in 1.2
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502049 ]
Davanum Srinivas commented on AXIS2-2697:
-----------------------------------------
Looks like nothing to do here.
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-2697) Problems invoking Version.getVersion
in 1.2
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas resolved AXIS2-2697.
-------------------------------------
Resolution: Won't Fix
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-2697) Problems invoking Version.getVersion
in 1.2
Posted by "Tobias Seng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498178 ]
Tobias Seng commented on AXIS2-2697:
------------------------------------
It is a "Connection: Keep-Alive" problem.
If I change the request connection settings from
Connection: Keep-Alive
to
Connection: Close
everything works fine.
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-2697) Problems invoking Version.getVersion
in 1.2
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ 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().@return);
Console.WriteLine("-- nice --");
Console.WriteLine(version.getVersion().@return);
}
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-2697) Problems invoking Version.getVersion
in 1.2
Posted by "Tobias Seng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498529 ]
Tobias Seng commented on AXIS2-2697:
------------------------------------
Dims, my .NET version is
Microsoft Visual Studio 2005
Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727
Installed Edition: Professional
Microsoft Visual C# 2005 77626-....
Microsoft Visual C# 2005
so it's nearly the same. Maybe it's the service pack.
And once again, with Axis2 1.1.1 the problem did not occur.
I have analysed the trace from the axis2 1.1.1 server. The only difference beside the version number is that axis2 1.1.1 sents an empty soapenv:Header element, but I think this does not matter.
<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header /><soapenv:Body><ns:getVersionResponse xmlns:ns="http://axisversion.sample/xsd"><ns:return>Hello I am Axis2 version service , My version is 1.1.1</ns:return></ns:getVersionResponse></soapenv:Body></soapenv:Envelope>
thanks,
Tobias
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-2697) Problems invoking Version.getVersion
in 1.2
Posted by "Tobias Seng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tobias Seng updated AXIS2-2697:
-------------------------------
Attachment: trace.txt
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org