• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

XML-RPC with Coldfusion and Bugzilla

Guest
May 06, 2008 May 06, 2008

Copy link to clipboard

Copied

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.
TOPICS
Advanced techniques

Views

1.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
May 06, 2008 May 06, 2008

Copy link to clipboard

Copied

ColdFusion expects the URL value of the wsdl attribute to point to a WSDL for the service. Browsing to http://157.238.223.201/bugzilla/xmlrpc.cgi does not return a WSDL file.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 06, 2008 May 06, 2008

Copy link to clipboard

Copied

but how do i use a XML-RPC service using coldfusion to use that webservice, "which means is not possible".

i know there could be a solution for this.but it's hard to find..

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 06, 2008 May 06, 2008

Copy link to clipboard

Copied

scorpionn_king wrote:
> but how do i use a XML-RPC service using coldfusion to use that webservice, "which means is not possible".
>
> i know there could be a solution for this.but it's hard to find..

Can you show the relevant sections of the 'bz_webservice_demo.pl' file?
I suspect therein lies the hints you need.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 06, 2008 May 06, 2008

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 07, 2008 May 07, 2008

Copy link to clipboard

Copied

LATEST
scorpionn_king wrote:
>
> http://support.journurl.com/users/admin/index.cfm?mode=article&entry=362
>

I dug into this last link a bit. The link to the CFC on the page you
linked to did not work, but I found a another post which and working links.

http://support.journurl.com/users/admin/?keyword=ColdFusion+MX
http://support.journurl.com/users/admin/cfmx/xmlrpc.zip
http://support.journurl.com/users/admin/cfmx/xmlrpcservice.zip

These look fairly straight forward, but I did not try to make use of them.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation