Copy link to clipboard
Copied
I'm having some trouble sending data to a SOAP function. I built a data struct and I need to pass this to a remote server.
The way CF's implementation of SOAP was explained to me was that CF comsumes the wsdl through createObject or cfinvoke. This allows CF to convert objects into the proper SOAP:body required to work with the service. This doesn't seem to be working for me. Any I doing this the right way?
Copy link to clipboard
Copied
It would be helpful to have:
1. The code you have tried, with a description of the expected result and the actual result.
2. The error messages if any you are seeing.
3. The WSDL you are working with.
4. You CF version and platform (Windows, Linux, Apache, etc.)
Copy link to clipboard
Copied
I'm using CF 9 on mac 10.6. I didn't include code because my question is does CF convert the object into the proper xml format for the SOAP body?
Copy link to clipboard
Copied
The CFINVOKE tag or CreateObject function will abstract the XML SOAP format away, no use of XML is needed on your part. You will provide CF variables: arrays, structs, etc as arguments where needed.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now