Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

help me understand ColdFusion's SOAP implementation

New Here ,
Mar 22, 2011 Mar 22, 2011

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?

642
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Mar 22, 2011 Mar 22, 2011

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.)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 22, 2011 Mar 22, 2011

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Mar 22, 2011 Mar 22, 2011
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources