CFinvoke returned error...anyone know why?
I am trying to connect to SAP using cfinvoke and I get the error msg below. Anyone know what is the error in my code or setting?
Cannot locate an API in the generated service class that returned the right interface for web service invocation. | |
| Name: http://xxx.xx.com.my:8000/sap/bc/srt/rfc/sap/z_voucher_upload/400/z_voucher_upload?sap-client=400&wsdl=1.1. WSDL: http://xxx.xx.com.my:8000/sap/bc/srt/rfc/sap/z_voucher_upload/400/z_voucher_upload?sap-client=400&wsdl=1.1. It is recommended that you use a web browser to retrieve and examine the requested WSDL document for correctness, including a missing service element. | |
below is my code : -
<cfinvoke
webservice="http://xxx.xx.com.my:8000/sap/bc/srt/rfc/sap/z_voucher_upload/400/z_voucher_upload?sap-client=400&wsdl=1.1"
method="Z_VOUCHER_UPLOAD"
refreshWSDL="yes"
returnvariable="aString"
username = "xxxx"
password = "xxxxx"
Lifnr = "30086"
Sort1 = "A106"
Bldat = "23082010"
Budat = "23082010"
Bktxt = "T03"
Xblnr = "T04"
Dmbtr = "55.55"
Kostl = "8033"
Hkont = "1234567"
Zuonr = "45333"
Xref3 = "CHASSIS99999"
Xref2 = "ABC1234"
Xref1 = "850412122121">
</cfinvoke>
<cfoutput>
#aString#
</cfoutput>
