5 Replies Latest reply on May 7, 2008 6:33 AM by Newsgroup_User

    XML-RPC with Coldfusion and Bugzilla

    scorpionn_king
      Hi

      I am trying to send data to Bugzilla from my Coldfusion Application..and Bugzilla uses XML-RPC, i only worked with SOAP before and havn't had any idea on XML-RPC and tried to browse thru in google but unable to find the exact info. needed. of how to connect to Bugzilla and Create a Bug using Bugzilla API.. from Coldfusion.

      here is my code below of how am using.

      Bugzilla API Documentation is here

      http://www.bugzilla.org/docs/tip/html/api/Bugzilla/WebService/Bug.html

      I am using a Create Method to Create a Bug.

      <cfinvoke webservice=" http://157.238.223.201/bugzilla/xmlrpc.cgi"
      method="create"
      returnvariable="rpcCall"
      data="#bugdata#"
      type="responsefault">


      <cfoutput>response is: <strong>#rpcCall#</strong> <br>
      did you see anything for now.. testing this script. thanks
      </cfoutput>


      when i execute the above code, i do get the error below.

      Could not generate stub objects for web service invocation.
      Name: http://157.238.223.201/bugzilla/xmlrpc.cgi. WSDL: http://157.238.223.201/bugzilla/xmlrpc.cgi. java.net.ConnectException: Connection timed out: connect 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.