I have been tasked with setting up a form that, in essence,
has two actions. One is to collect all the form fields and deposit
into our database, the other is to post this data to a broadcast
email webservice via their API. I plan to do this on a single
action page. The webservice provides an API to support this.
They have defined the parameters that need to be sent in
SOAP/XML format. I have never had to use this format or any kind of
API integration with Cold Fusion in the past. I have read several
posts indicating some usage of CFINVOKE or specific CFSCRIPTs. I
have placed the SOAP code provided by the webservice below. Can
someone take a look and give me a clue as to how to proceed here?
My CF Code book is a version out or so and doesn't seem to have the
CFINVOKE tag defined. Can I use WDDX? If so, How?
I tried the code below and got this error:
Name:
http://app.campaignmonitor.com/api/api.asmx?WSDL.
WSDL:
http://app.campaignmonitor.com/api/api.asmx?WSDL.
org.apache.axis.wsdl.toJava.DuplicateFileException: Duplicate file
name:
C:\CFusionMX7\stubs\WS1938286156\com\campaignmonitor\app\api\SubscriberUnsubscribe.java.
Hint: you may have mapped two namespaces with elements of the same
name to the same package name. It is recommended that you use a web
browser to retrieve and examine the requested WSDL document for
correctness. If the requested WSDL document can't be retrieved or
it is dynamically generated, it is likely that the target web
service has programming errors.