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