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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to