Consuming the WCF SOAP Service in Bonita BPM using Connectors (using SOAP 1.2 connector provided in Bonita)

Hi,
We have a WCF SOAP Service , we are trying to consume that service in Bonita BPM using Connectors, but we are not able to consume it.
Could you please help with this.
Please let us know if any useful information on this.

Thanks,
Kishore

We are using WCF Soap (svc) serivce and these are the parameters which we are using :-
Service NS : SurveyAutomationActivation
Service Name : http://tempuri.org/
Soap Action : http://tempuri.org/ISurveyAutomationActivation/ActivatingSurveyAutomation
Port Name : SurveyAutomation
End Point Address : http://localhost/SurveyAutomationActivation.svc
Binding : http://www.w3.org/2003/05/soap/bindings/HTTP/

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:soap=“http://www.w3.org/2003/05/soap-envelope” xmlns:tem=“http://tempuri.org/”>
soap:Header/
soap:Body
tem:ActivatingSurveyAutomation/
</soap:Body>
</soap:Envelope>

and even we are serializing the output into json object then also it is giving error

java.lang.reflect.InvocationTargetException
org.bonitasoft.engine.bpm.connector.ConnectorExecutionException: USERNAME=install | org.bonitasoft.engine.core.connector.exception.SConnectorException: org.bonitasoft.engine.connector.exception.SConnectorException: java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 0

when i tried the same logic and used asmx web service it is working , kindly tell us what exactly the error is , in this wsdl provided in the last of this comment

Thanks Kishore,

Hi,
please provide more information.
Which parameters did you provide to teh connector?
Do you have an exception at Runtime? WHich one it is?
Did you try the “test connector” menu directly inside the Studio? Do you have an error?

Regards,

We are passing these parameters
**http://tempuri.org/ ** as Service Name ![WSDL Of SVC][WSDL Of SVC]
SurveyAutomationActivation as Service NS
http://tempuri.org/ISurveyAutomationActivation/ActivatingSurveyAutomation as Soap Action
SurveyAutomation as Port Name
http://localhost/SurveyAutomationActivation.svc as Endpoint Address

http://www.w3.org/2003/05/soap/bindings/HTTP/ as Binding

<?xml version="1.0" encoding="utf-8"?> as **Envelope** according to wsdl for consuming this WCF Soap (svc) service but when i am trying to test it , it is giving me error

**
java.lang.reflect.InvocationTargetException
org.bonitasoft.engine.bpm.connector.ConnectorExecutionException: USERNAME=install | org.bonitasoft.engine.core.connector.exception.SConnectorException: org.bonitasoft.engine.connector.exception.SConnectorException: java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: Index: 1, Size: 0**

even i have type casted the output in correct format using groovy then also it is giving me the above error but when i am using the same code in simple asmx web services it is working out , can you please tell me what exactly the error is in this wcf soap service whose image of wsdl i have attached with this message. Kindly help me resolve this issue.

This is the WSDL File Content of the wsdl which we are using.

Thanks Kishore