I tried to connect to a web service using soap connector and when I test the connection I get the following 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: javax.xml.ws.WebServiceException: Wrong binding ID: http://schemas.xmlsoap.org/wsdl/soap/
I tried to change the binding but the problem remains.
Any help?
If your service is SOAP 1.1, you can use:
http://schemas.xmlsoap.org/wsdl/soap/http
and if your service is SOAP 1.2, you can use:
http://www.w3.org/2003/05/soap/bindings/HTTP/
Hope this helps,
Haris
haris.subasic thank you for your response. I think that this problem has resolved however, now there is a problem with the output
java.lang.reflect.InvocationTargetException
org.bonitasoft.engine.exception.BonitaRuntimeException: USERNAME=install | java.lang.ClassCastException: javax.xml.transform.sax.SAXSource cannot be cast to java.io.Serializable
Could you please figure out the problem?
You will find a complete tutorial on using web services connector here . It also contains a script that lets you handle the output.