axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kishanthan Thangarajah (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AXIS2-5393) org.apache.axis2.databinding.ADBException: Unexpected subelement SendAndCommitResult > error on good response
Date Sun, 05 May 2013 04:10:19 GMT

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

Kishanthan Thangarajah updated AXIS2-5393:
------------------------------------------

    Attachment: Service.aar
    
> 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
>            Priority: Critical
>         Attachments: firstdata-wsdl-webservice-stubs-new.jar, Service.aar, ServiceStub.java
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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