Hi,
I am attempting to maven build the Integration Tests for the Google
Spreadsheets connector. I receive the following error:
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 276.19 sec
<<< FAILURE!
testImportCSV(org.wso2.carbon.connector.integration.test.googlespreadsheet.GoogleSpreadsheetConnectorIntegrationTest)
Time elapsed: 1.275 sec <<< FAILURE!
org.apache.axis2.AxisFault: AxisFault while getting response :The input
stream for an incoming message is null.
at
org.wso2.carbon.automation.utils.axis2client.AxisServiceClient.sendReceive(AxisServiceClient.java:61)
at
org.wso2.carbon.connector.integration.test.googlespreadsheet.GoogleSpreadsheetConnectorIntegrationTest.testImportCSV(GoogleSpreadsheetConnectorIntegrationTest.java:120)
Caused by: org.apache.axis2.AxisFault: The input stream for an incoming
message is null.
at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:93)
at
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:68)
at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:346)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:413)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:554)
at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:530)
at
org.wso2.carbon.automation.utils.axis2client.AxisServiceClient.sendReceive(AxisServiceClient.java:55)
... 35 more
Running the same connector zip with the same proxy service defined in the
integration test with the same soap request on a separate ESB instance works
fine.
When running the integration test, the connector and proxy service are added
to the ESB instance successfully and the proxy service also logs all its
property mediators according to the SOAP request that is sent.
However, it seems to me that the synapse template within the connector
itself is not being hit as nothing related to the connector is executed
after the proxy service.
I'd greatly appreciate any help anyone could give in solving this issue.
Thanks.
--
View this message in context:
http://wso2-oxygen-tank.10903.n7.nabble.com/Issue-with-Integration-Tests-for-the-Google-Spreadsheets-connector-tp90411.html
Sent from the WSO2 Development mailing list archive at Nabble.com.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev