[
https://issues.apache.org/jira/browse/AXIS2-6015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17494706#comment-17494706
]
Fergal Gavin commented on AXIS2-6015:
-------------------------------------
Thanks [~robertlazarski] .
We are hoping the new release Axis 1.8.1 will be coming soon but appreciate
that will all depend on the availability of the volunteers like yourself to
produce one.
Regards,
Fergal.
> Java code generated from WSDL does not compile if a "string" element is
> defined
> -------------------------------------------------------------------------------
>
> Key: AXIS2-6015
> URL: https://issues.apache.org/jira/browse/AXIS2-6015
> Project: Axis2
> Issue Type: Bug
> Affects Versions: 1.8.0
> Environment: Axis 1.8.0 (adb databinding)
> OpenJDK 17
> Maven 3.8.1
> Eclipse 2021-09
> Reporter: David
> Assignee: Robert Lazarski
> Priority: Major
> Fix For: 1.8.1
>
>
> If a "string" element is defined in the WSDL, these maps found in the
> generated client stub will try to use that local String class, instead of
> java.lang.String:
> {code:java}
> // hashmaps to keep the fault mapping
> private java.util.Map<org.apache.axis2.client.FaultMapKey, String>
> faultExceptionNameMap =
> new java.util.HashMap<org.apache.axis2.client.FaultMapKey, String>();
> private java.util.Map<org.apache.axis2.client.FaultMapKey, String>
> faultExceptionClassNameMap =
> new java.util.HashMap<org.apache.axis2.client.FaultMapKey, String>();
> private java.util.Map<org.apache.axis2.client.FaultMapKey, String>
> faultMessageMap =
> new java.util.HashMap<org.apache.axis2.client.FaultMapKey,
> String>();{code}
> If I replace these String with java.lang.String, the project compiles fine.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]