3 Replies - 5487 Views - Last Post: 08 August 2011 - 06:23 AM Rate Topic: -----

#1 sattua  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 83
  • Joined: 20-March 08

invoking aspx web service from coldfusion

Posted 02 August 2011 - 11:41 AM

Hi again, well the title say it, I can't get the web service from aspx in my cf application:


<cfinvoke method="SendMailTo" 
			returnvariable="response" 
			webservice="notificationservice">
				
   <cfinvokeargument name="from" value="support@xxx.com" />
   <cfinvokeargument name="to" value="xxx@xxx.com" />
   <cfinvokeargument name="subject" value="xxx" />
   <cfinvokeargument name="body" value="xxx" />
   <cfinvokeargument name="bcc" value="xxx@xxx.com" />
</cfinvoke>




The webservice="notificationservice" is ok, I know that coz when I put the wsdlin the browers, works appropriately.

in the log just appears:

Web service operation SendMailTo with parameters {from={xxx@xxx.com},to={xxx@xxx.com},subject={xxx},bcc={xxx@xxx.com},body={xxx}} cannot be found

=/, no idea what's wrong.

Is This A Good Question/Topic? 0
  • +

Replies To: invoking aspx web service from coldfusion

#2 Craig328  Icon User is offline

  • I make this look good
  • member icon

Reputation: 1888
  • View blog
  • Posts: 3,427
  • Joined: 13-January 08

Re: invoking aspx web service from coldfusion

Posted 02 August 2011 - 11:44 AM

Try invoking it with a CFHTTP call with url parameters/values instead and see what you get. Post your results back here.
Was This Post Helpful? 0
  • +
  • -

#3 sattua  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 83
  • Joined: 20-March 08

Re: invoking aspx web service from coldfusion

Posted 02 August 2011 - 12:34 PM

u mean like this:

<cfhttp method="Get"
    url="http://xxx/xxx.asmx/SendMailTo?from=xxx@xxx.com&to=xxx@xxx"+
	"&subject=xxx&body=xxx&bcc=xxx" name="onerow">

<cfoutput>
    #onerow#
</cfoutput>



This post has been edited by sattua: 02 August 2011 - 12:35 PM

Was This Post Helpful? 0
  • +
  • -

#4 xheartonfire43x  Icon User is offline

  • D.I.C Regular

Reputation: 46
  • View blog
  • Posts: 454
  • Joined: 22-December 08

Re: invoking aspx web service from coldfusion

Posted 08 August 2011 - 06:23 AM

sattua,
you would have to use #onerow.filecontene#
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1