Re: XMLRPC Request with CFHTTP
Hi Dave, Thanks for the response. I did add the /XMLRPC to the url in cfhttp and that did the trick. Donnie Carvajal > > Thanks for the quick response. I don't believe this is helpful. I > have the correct XML to send and it has > > been confirmed. The issue is with the web service interpreting my > request and processing the XML. I > > believe the issue is in the header that CFHTTP creates. > > Actually, take a look at the code sample included at the link (not > the > CFC itself). There's the answer to your question. > > Also, honestly, a good book about HTTP would be useful here. There's > a > really good O'Reilly pocket guide to HTTP that would help you out. > This isn't intended as a personal criticism - I think every CF > developer would benefit from rereading this (including me). But > understanding how HTTP works is fundamental to web programming, > especially today with all the AJAX etc stuff going on. > > In the first line of your HTTP request, there's always something like > this: > > [VERB] [RELATIVE URL FROM SERVER ROOT] [PROTOCOL] > > For example, when your browser requests the page > http://training.figleaf.com/courses/acfd9.cfm, the first line of its > request will look like this: > > GET /courses/acfd9.cfm HTTP/1.1 > > In your case, you want to send an XMLRPC request, so you have to POST > to http://yourserver.com/XMLRPC. > > I don't think it will matter whether you specify HTTP/1.1 or HTTP/1.0. > > It shouldn't matter, anyway - that just tells the server what version > of HTTP the client supports. I'm also not sure if there's a way to > specify HTTP/1.0 support with CFHTTP. I suspect there is, but I don't > know what it is offhand because again it generally doesn't matter. > > Dave Watts, CTO, Fig Leaf Software > 1-202-527-9569 > http://www.figleaf.com/ > http://training.figleaf.com/ > > Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business > (SDVOSB) on GSA Schedule, and provides the highest caliber vendor- > authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359475 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: XMLRPC Request with CFHTTP
> > Thanks for the quick response. I don't believe this is helpful. I > have the correct XML to send and it has > > been confirmed. The issue is with the web service interpreting my > request and processing the XML. I > > believe the issue is in the header that CFHTTP creates. > > Actually, take a look at the code sample included at the link (not > the > CFC itself). There's the answer to your question. > > Also, honestly, a good book about HTTP would be useful here. There's > a > really good O'Reilly pocket guide to HTTP that would help you out. > This isn't intended as a personal criticism - I think every CF > developer would benefit from rereading this (including me). But > understanding how HTTP works is fundamental to web programming, > especially today with all the AJAX etc stuff going on. > > In the first line of your HTTP request, there's always something like > this: > > [VERB] [RELATIVE URL FROM SERVER ROOT] [PROTOCOL] > > For example, when your browser requests the page > http://training.figleaf.com/courses/acfd9.cfm, the first line of its > request will look like this: > > GET /courses/acfd9.cfm HTTP/1.1 > > In your case, you want to send an XMLRPC request, so you have to POST > to http://yourserver.com/XMLRPC. > > I don't think it will matter whether you specify HTTP/1.1 or HTTP/1.0. > > It shouldn't matter, anyway - that just tells the server what version > of HTTP the client supports. I'm also not sure if there's a way to > specify HTTP/1.0 support with CFHTTP. I suspect there is, but I don't > know what it is offhand because again it generally doesn't matter. > > Dave Watts, CTO, Fig Leaf Software > 1-202-527-9569 > http://www.figleaf.com/ > http://training.figleaf.com/ > > Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business > (SDVOSB) on GSA Schedule, and provides the highest caliber vendor- > authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359474 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: XMLRPC Request with CFHTTP
> Thanks for the quick response. I don't believe this is helpful. I have the > correct XML to send and it has > been confirmed. The issue is with the web service interpreting my request > and processing the XML. I > believe the issue is in the header that CFHTTP creates. Actually, take a look at the code sample included at the link (not the CFC itself). There's the answer to your question. Also, honestly, a good book about HTTP would be useful here. There's a really good O'Reilly pocket guide to HTTP that would help you out. This isn't intended as a personal criticism - I think every CF developer would benefit from rereading this (including me). But understanding how HTTP works is fundamental to web programming, especially today with all the AJAX etc stuff going on. In the first line of your HTTP request, there's always something like this: [VERB] [RELATIVE URL FROM SERVER ROOT] [PROTOCOL] For example, when your browser requests the page http://training.figleaf.com/courses/acfd9.cfm, the first line of its request will look like this: GET /courses/acfd9.cfm HTTP/1.1 In your case, you want to send an XMLRPC request, so you have to POST to http://yourserver.com/XMLRPC. I don't think it will matter whether you specify HTTP/1.1 or HTTP/1.0. It shouldn't matter, anyway - that just tells the server what version of HTTP the client supports. I'm also not sure if there's a way to specify HTTP/1.0 support with CFHTTP. I suspect there is, but I don't know what it is offhand because again it generally doesn't matter. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business (SDVOSB) on GSA Schedule, and provides the highest caliber vendor- authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359473 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: XMLRPC Request with CFHTTP
Hi John, Thanks for the quick response. I don't believe this is helpful. I have the correct XML to send and it has been confirmed. The issue is with the web service interpreting my request and processing the XML. I believe the issue is in the header that CFHTTP creates. Donnie Carvajal >Helpful...? http://www.houseoffusion.com/groups/xml/thread.cfm/threadid:108 > >On Tue, Oct 14, 2014 at 4:08 PM, Donnie Carvajal < >donnie.carva...@transformyx.com> wrote: > >> ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359472 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: XMLRPC Request with CFHTTP
Helpful...? http://www.houseoffusion.com/groups/xml/thread.cfm/threadid:108 On Tue, Oct 14, 2014 at 4:08 PM, Donnie Carvajal < donnie.carva...@transformyx.com> wrote: > > I'm having an issue with a XMLRPC webservice using CFHTTP. I am getting > text/html responses instead of xml. A successful non-CFHTTP request's raw > header are sends as "POST /XMLRPC HTTP/1.0". The CFHTTP request's header > sends as "POST / HTTP/1.1". I believe the issue is the missing "/XMLRPC". > Does anyone know how to get CFHTTP to include this in the POST request? > > Thanks, > > Donnie Carvajal > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359471 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: XMLRPC Inquiry
On Friday 04 Apr 2008, Graham Pearson wrote: > I have all of the information but can not figure out how to create the > request to pass on to the XMLRPC Service CFHTTP -- Tom Chiverton Helping to dramatically harness transparent systems on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302701 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: xmlrpc
A little, I was getting several odd error messages from the xmlrpc server, websphere in this case. Things like, "invalid.session". The guys running that system could only tell me that in their logs it said, "invalid method name" I was getting the same error by using xmlrpc.cfc, creating the xml manually and using cfhttp or by using a terminal eumlator. Using java was the only way I could get it to work. -Original Message- From: Roger Benningfield [mailto:[EMAIL PROTECTED] Sent: 16 June 2004 20:25 To: CF-Talk Subject: Re: xmlrpc >...the service would simply not like the method name for some >bizarre reason. Craig, Can you elaborate on "simply not like the method name" for me? -- Roger Benningfield http://journurl.com/ http://admin.support.journurl.com/ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: xmlrpc
>...the service would simply not like the method name for some >bizarre reason. Craig, Can you elaborate on "simply not like the method name" for me? -- Roger Benningfield http://journurl.com/ http://admin.support.journurl.com/ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]