troubleshooting Question

Validate RSS feed using cfinvoke and the W3C validation service (soap 1.2)

Avatar of snix123
snix123 asked on
Web Languages and StandardsWeb Servers
3 Comments1 Solution656 ViewsLast Modified:
Hi experts:
I am writing an application for a client to allow them to create RSS feeds.  I would like to integrate the validation of the feeds. Usually to validate, I would go to http://validator.w3.org/feed/ and type in the URL.  I'd like to make this "seamless" for the client by just invoking the service and capturing any errors generated.  I am writing in coldfusion and after looking at the documentation for w3c, I came up with this:

<cfinvoke webservice="http://validator.w3.org/feed/check.cgi" method="post" result="MyReturnVar">
 <cfinvokeargument name="url" value="http://www.mysite.org/MyNews.xml">
 <cfinvokeargument name="output" value="soap12">
</cfinvoke>

I don't know what method to actually use.  Here is a link to the documentation:
http://validator.w3.org/feed/docs/soap.html

When I run this, I get an error:
Could not generate stub objects for web service invocation. Name: http://validator.w3.org/feed/check.cgi. WSDL: http://validator.w3.org/feed/check.cgi. WSDLException (at /html): faultCode=INVALID_WSDL: Expected element '{http://schemas.xmlsoap.org/wsdl/}definitions'.: 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.

Any idea what might be gong on and how I can invoke this?
THANKS!

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros