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 "Wolfgang Helbig (JIRA)" <ax...@ws.apache.org> on 2008/04/15 19:57:04 UTC

[jira] Issue Comment Edited: (AXIS-1976) dotnet_soapenc_bugfix is "blindly" reset

    [ https://issues.apache.org/jira/browse/AXIS-1976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589167#action_12589167 ] 

helbig edited comment on AXIS-1976 at 4/15/08 10:55 AM:
-----------------------------------------------------------------

I've set the flag in the service  part of the service -- result: The wsdl as requested from the service shows xsd:* instead of soapenc:*.
Great!
The response from the service still lists soapenc:*string for the items of an String[].
Not Great! Still confusing the dotnet-client and me.

So I've set the flag in the global configuration of the service -- result: The wsdl still reports xsd*.
Great!
And the service responded with xsd:*
Even better!
But the next request is answered by this dreaded soapenc: name space.

It looks like axis unset the flag while working on the first response.

Everything worked fine with axis-1.1! Upgrading to axis-1.4 gave us this blocker.

This is on an JBoss-4.0.5 with axis-1.4. The implementation of the service is an EJB (session bean).

      was (Author: helbig):
    I've set the flag in the service  part of the service -- result: The wsdl as requested from the service shows xsd:* instead of soapenc:*.
Great!
The response from the service still lists soapenc:*string for the items of an String[].
Not Great! Still confusing the dotnet-client and me.

So I've set the flag in the global configuration of the service -- result: The wsdl still reports xsd*.
Great!
And the service respondet with xsd:*
Even better!
But the next request is answered by this dreaded soapenc: name space.

It looks like axis unset the flag while working on the first response.

Everything worked fine with axis-1.1! Upgrading to axis-1.4 gave us this blocker.

This is on an JBoss-4.0.5 with axis-1.4. The implementation of the service is an EJB (session bean).
  
> dotnet_soapenc_bugfix is "blindly" reset
> ----------------------------------------
>
>                 Key: AXIS-1976
>                 URL: https://issues.apache.org/jira/browse/AXIS-1976
>             Project: Axis
>          Issue Type: Bug
>          Components: Basic Architecture
>    Affects Versions: 1.2
>         Environment: not really important
>            Reporter: clint dovholuk
>            Priority: Critical
>
> 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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org