[
http://issues.apache.org/jira/browse/AXIS-1976?page=comments#action_12314178 ]
clint dovholuk commented on AXIS-1976:
--------------------------------------
hi dims,
sorry for the slow turnaround... i tried out 1.2.1 and i don't think your fix
made it to the release...
i grepped through the source using:
grep -rin "TypeMappingImpl.dotnet_soapenc_bugfix" ./*
at
src/org/apache/axis
and i found four results:
./AxisEngine.java:191: TypeMappingImpl.dotnet_soapenc_bugfix =
true;
./encoding/TypeMappingImpl.java:612: return
TypeMappingImpl.dotnet_soapenc_bugfix;
./encoding/TypeMappingRegistryImpl.java:297:
TypeMappingImpl.dotnet_soapenc_bugfix = false;
./encoding/TypeMappingRegistryImpl.java:300:
TypeMappingImpl.dotnet_soapenc_bugfix = true;
so i looked at the code... here's what i see:
- AxisEngine "correctly" sets TypeMappingImpl.dotnet_soapenc_bugfix to true
based on the property
- i don't see where TypeMappingImpl.dotnet_soapenc_bugfix gets set in
TypeMappingImpl
- TypeMappingRegistryImpl BLINDLY still resets the flag depending on version
number (as per my original bug)
i don't think the fix is either in 1.2.1 or i'm missing something...
-Clint
P.S. the flag is (obviously?) :) still getting reset for me and i still need to
manually remember to reset the flag after every call to my .net client...
> dotnet_soapenc_bugfix is "blindly" reset
> ----------------------------------------
>
> Key: AXIS-1976
> URL: http://issues.apache.org/jira/browse/AXIS-1976
> Project: Apache Axis
> Type: Bug
> Components: Basic Architecture
> Versions: 1.2
> Environment: not really important
> Reporter: clint dovholuk
> Assignee: Davanum Srinivas
> Priority: Blocker
>
> org.apache.axis.encoding.TypeMappingRegistryImpl.doRegisterFromVersion(String
> version) "blindly" resets the dotnet_soapenc_bugfix.
> generated a bunch of classes based on a .NET web service
> set the dotnet_soapenc_bugfix flag in server-config.wsdd but the
> autogenerated class ALL call:
>
> ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2");
> which eventually will call doRegisterFromVersion with "1.2" (or sometimes
> null though i didn't track THAT down)
> this blindly overrides the flag as set in the server-config.wsdd file.
> I can't believe this is "on purpose"
> suggest looking for the flag in the server-config.wsdd and setting some
> system flag stating that it's specified and to NOT re-set it?
> thanks,
> -dovholuk
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira