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 "Jeff Hilts (JIRA)" <ax...@ws.apache.org> on 2005/09/14 16:36:57 UTC
[jira] Commented: (AXIS-1976) dotnet_soapenc_bugfix is "blindly" reset
[ http://issues.apache.org/jira/browse/AXIS-1976?page=comments#action_12326647 ]
Jeff Hilts commented on AXIS-1976:
----------------------------------
I am also having a problem with interop between dotnet and axis.
I added <parameter name="dotNetSoapEncFix" value="true"/> to my service description in the deploy.wsdd. The flag didn't work. I continued to get the xml error reported by dotnet.
However, when I deployed the soapmonitor and added the request flow handler for the soapmonitor, the service began working.
deploy.wsdd - Not working
<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java" xmlns:ncci="http://www.mydomain.com/ws" >
<service name="MyWebService" provider="java:RPC">
<namespace>http://www.mydomain.com/ws</namespace>
<parameter name="dotNetSoapEncFix" value="true"/>
<parameter name="className" value="com.mydomain.ws.MyWebService"/>
<parameter name="allowedMethods" value="*"/>
</service>
</deployment>
deploywmonitor.wsdd - working
<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java" xmlns:ncci="http://www.mydomain.com/ws" >
<service name="MyWebService" provider="java:RPC">
<namespace>http://www.mydomain.com/ws</namespace>
<parameter name="dotNetSoapEncFix" value="true"/>
<parameter name="className" value="com.mydomain.ws.MyWebService"/>
<parameter name="allowedMethods" value="*"/>
<requestFlow>
<handler type="soapmonitor"/>
</requestFlow>
<responseFlow>
<handler type="soapmonitor"/>
</responseFlow>
</service>
</deployment>
Any suggestions?
> 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