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 "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2007/09/03 06:43:19 UTC

[jira] Commented: (AXIS2-3165) Accessing to unexistant get() method from MessageReceiver when using xmlbeans databinding

    [ https://issues.apache.org/jira/browse/AXIS2-3165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524432 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-3165:
-----------------------------------------------------

what are the command line arguments you use? I could successfully generate code with -ss -sd -g
did you use -uw is so please try without it.

BTW - with ADB you can handle primitive fields null values.
ADB uses the MIN,MAX and NaN values to represent null values.
for an example if you have an int field and you want it to serialize as a null
then you have to set the value to Integer.MIN_VALUE and if adb parser
receives and null value for an integer fied it set the value as Integer.MIN_VALUE

                                             <xsl:when test="$propertyType='int'">
                                               if (param==java.lang.Integer.MIN_VALUE) {
                                           </xsl:when>
                                           <xsl:when test="$propertyType='long'">
                                               if (param==java.lang.Long.MIN_VALUE) {
                                           </xsl:when>
                                           <xsl:when test="$propertyType='byte'">
                                               if (param==java.lang.Byte.MIN_VALUE) {
                                           </xsl:when>
                                           <xsl:when test="$propertyType='double'">
                                               if (java.lang.Double.isNaN(param)) {
                                           </xsl:when>
                                           <xsl:when test="$propertyType='float'">
                                               if (java.lang.Float.isNaN(param)) {
                                           </xsl:when>
                                           <xsl:when test="$propertyType='short'">
                                               if (param==java.lang.Short.MIN_VALUE) {
                                           </xsl:when>


> Accessing to unexistant get() method from MessageReceiver when using xmlbeans databinding
> -----------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3165
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3165
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: JDK 1.4
>            Reporter: David Rodríguez Alfayate
>            Priority: Blocker
>         Attachments: ProxiaServices2.wsdl
>
>
> I'm using XMLBeans generation from WSDL, when the message receiver access the skeleton the content response is 
> processed as:
> wrappedType.get().<<real_method_name>>.
> The generated method name is not "get()" but get<<CLASS_NAME>>, so it fails to compile.
> I think that i cannot use ADB since I need to know if primitive fields are null or not, and I haven't seen any mechanism in order to verifiy this nullity with this mechanism.

-- 
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