Connectiong to a remote web service!!

Reply

Join Date: Jul 2007
Posts: 1
Reputation: critical5 is an unknown quantity at this point 
Solved Threads: 0
critical5 critical5 is offline Offline
Newbie Poster

Connectiong to a remote web service!!

 
0
  #1
Jul 23rd, 2007
Hi All,

I really need help with this as I have been banging my head against a brick but no luck.
I need to connect and invoke a web service from a credit ref agency. The vendor has given me a toolkit CD with their WSDL file on; where I found this code snipet at the bottom of the file:
  1. <service name="name">
  2. <port name="soap_port" binding="nsp:binding">
  3. <soap:address location="https://domain.co.uk/GenericAPIPageController.asp"/>
  4. </port>
  5. </service>

I have tried adding ?wsdl at the end of the https://domain.co.uk/GenericAPIPageController.asp but get the [Could not generate stub objects for web service invocation] error!
I also tried hosting the wsdl file locally using http://localhost/filename.wsdl
but still get the same error

I am using the <cfinvoke>tag like follows:
  1. <cfinvoke
  2. webservice="http://localhost/filename.wsdl"
  3. method="method_name"
  4. returnvariable="creditrequest">
  5. <cfinvokeargument name="company" value="mycompany"/>
  6. <cfinvokeargument name="username" value="myuse"/>
  7. <cfinvokeargument name="password" value="mypasswrd"/>
  8. </cfinvoke>

Could somebody please help....any ideas is welcome!!

Critical5
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC