[
http://issues.apache.org/jira/browse/AXIS-1976?page=comments#action_12313355 ]
clint dovholuk commented on AXIS-1976:
--------------------------------------
dims,
it's been a while, but i think that this was the scenario i encountered the
problem:
server 1: .Net environment running on IIS 6 with a web service exposed
server 2: J2EE app running within resin with axis web services exposed
server 2 consumes web services on server 1
server1 consumes web services on server 2
server 2 has dot net soapenc flag set to true (as server 1 is .Net)
if server 1 ONLY calls the web service on server 2, the method always succeeds.
however, when server 2 consumes the .NET webservice, upon invoking the call the
flag is re-set to true. now the next time the .net server (server1) calls the
j2ee web service, the soapenc namespace is used and .net bombs.
i tracked it down to this class:
org.apache.axis.encoding.TypeMappingRegistryImpl
and this method:
doRegisterFromVersion(String version)
if you set the flag in the wsdd and put a
System.out.println(TypeMappingImpl.dotnet_soapenc_bugfix); you'll see it in
action.
dunno if that's what you're looking for, but hope it helps.
-Clnit
> dotnet_soapenc_bugfix is "blindly" reset
> ----------------------------------------
>
> Key: AXIS-1976
> URL: http://issues.apache.org/jira/browse/AXIS-1976
> Project: Axis
> Type: Bug
> Components: Basic Architecture
> Versions: 1.2
> Environment: not really important
> Reporter: clint dovholuk
> Assignee: Tom Jordahl
> 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