axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AXIS2-5393) org.apache.axis2.databinding.ADBException: Unexpected subelement SendAndCommitResult > error on good response
Date Sat, 28 May 2016 22:05:12 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-5393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Veithen resolved AXIS2-5393.
------------------------------------
    Resolution: Incomplete

> org.apache.axis2.databinding.ADBException: Unexpected subelement SendAndCommitResult
 > error on good response
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5393
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5393
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen, databinding
>    Affects Versions: 1.5.1, 1.6.1, 1.6.2
>         Environment: OS: Linux
> JDK: jdk1.6.0_21
> Apache: apache-tomcat-5.5.23	
> Axis2 versions: 1.5.1, 1.6.2, 1.6.1
>            Reporter: pdna
>            Assignee: Kishanthan Thangarajah
>            Priority: Critical
>         Attachments: Service.aar, ServiceStub.java, firstdata-wsdl-webservice-stubs-new.jar
>
>
> I've been getting the following error for all three versions of Axis2 listed above:
> ============================================================================================
> org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement
SendAndCommitResult
> 	at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
> 	at com.e_xact.secure2.vplug_in.transaction.rpc_enc_test.ServiceStub.fromOM(ServiceStub.java:9478)
> 	at com.e_xact.secure2.vplug_in.transaction.rpc_enc_test.ServiceStub.sendAndCommit(ServiceStub.java:469)
> 	at com.printra.ccproc.FirstDataWSDLChargerTestNew.charge(FirstDataWSDLChargerTestNew.java:368)
> 	at com.printra.ccproc.MultiCharger.charge(MultiCharger.java:31)
> 	at com.printra.ccproc.test_charger.test_charge(test_charger.java:61)
> 	at com.printra.ccproc.test_charger.main(test_charger.java:31)
> Caused by: java.lang.Exception: org.apache.axis2.databinding.ADBException: Unexpected
subelement SendAndCommitResult
> 	at com.e_xact.secure2.vplug_in.transaction.rpc_enc_test.ServiceStub$TransactionResult$Factory.parse(ServiceStub.java:4533)
> 	at com.e_xact.secure2.vplug_in.transaction.rpc_enc_test.ServiceStub$SendAndCommitResponse$Factory.parse(ServiceStub.java:4938)
> 	at com.e_xact.secure2.vplug_in.transaction.rpc_enc_test.ServiceStub.fromOM(ServiceStub.java:9472)
> 	... 5 more
> Caused by: org.apache.axis2.databinding.ADBException: Unexpected subelement SendAndCommitResult
> 	at com.e_xact.secure2.vplug_in.transaction.rpc_enc_test.ServiceStub$TransactionResult$Factory.parse(ServiceStub.java:3398)
> 	... 7 more
> ============================================================================================
> I believe this is a problem with the way the code (that Axis2 generated via Java2WSDL)
parses the response.  The XML of the response looks as expected, i.e. the subelement SendAndCommitResponse
is supposed to be there, where it is.  The WSDL is from First Data ( https://api.globalgatewaye4.firstdata.com/transaction/wsdl)
and is presumed to be solid.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message