Skip to main content
April 4, 2014
Question

Cannot call SOA/SOAP webservices with CFINVOKE

  • April 4, 2014
  • 1 reply
  • 520 views

Error received is: "Invalid byte 2 of 2-byte UTF-8 sequence". We have confirmed this problem exist with WSDL files that are encoded as UTF-8, delivered as UTF-8 and declared as UTF-8. These webservices run fine under CF9 environments. Is this an issue with the switch to tomcat?

This topic has been closed for replies.

1 reply

BKBK
Community Expert
Community Expert
April 4, 2014

The error suggests that you don't have UTF-8 encoding all across the board. You very likely have a character with umlaut, cedilla, ring, dipthong or acute, grave or circumflex accent somewhere. Perhaps in the argument that you are passing in the cfinvoke?

Anit_Kumar
Inspiring
April 6, 2014

This is indeed an encoding issue. as BKBK suggested. Are you able to register the webservice in CF10 Admin. Are you able to expose the WSDL in browser.

Here is the Bug (https://bugbase.adobe.com/index.cfm?event=bug&id=3579176) for the same issue.This is fixed in CF10 Update 12. What is your ColdFusion update level?

Regards,

Anit Kumar