Here's a thread on the Adobe CF forum that may help. It's about using the Saleforce.com webservices API, but applies to a lot of situations: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=7&thr eadid=781179
Take note of Sean Corfield's post, marked "Answer", which gives an example using Apache Axis (which is the underlying web services engine for CF) directly via Java calls to create headers and assign values to them. Also, the very last post in the thread gives an example using a complete SOAP request via cfhttp in case you run into a wall with Sean's method. The basic issue seems to be some CF limits on creating/populating SOAP headers. Between those two posts, you should be able to get something going. > -----Original Message----- > From: J W [mailto:[EMAIL PROTECTED] > Sent: Monday, October 23, 2006 12:16 PM > To: CF-Talk > Subject: HELP!!! cfinvoke NON coldfusion webservice issue.. > > This may be a duplicate post, but I don't think the other post I made got > out... If so, sorry. > > Maybe I am going about this the wrong way. If anyone's got lots of SOAP > WSDL > experience, Id like to hear your opinion. I am trying to consume a 3rd > party > webservice using CFINVOKE. Looking at the actual SOAP request there are > different "headers" inside the soap body in the soap envelope. After > Invoking the WSDL, if I use CFINVOKE ARGUMENT to populate one of these > "headers" how can I assure that the argument gets applied to the proper > "header". By header, I mean: > (not the entire SOAP request but only a piece of the SOAP Body) i.e. > <security_header> > <id>SomeName</id> > <password>whatever</password> > </security_header> > <another_header> > <nextparam>whatever2</nexparam> > <yetanother>whatever3</yetanother> > </another_header> > > How does CFINVOKE argument know to populate that subset? Should I use the > CFSCRIPT method, or even is there a way to send the entire soap request as > an argument? or did any of this make the slightest sense to anyone. I am a > bit frustrated trying to get this to work, so any help is appreciated. > > Thanks, > Jeff > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257760 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

