QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

When using XML-RPC with HTTP Basic Authentication, why isn't XWT sending an Authenticate header?

XML-RPC runs over HTTP. Authentication is handled at the HTTP layer. The HTTP spec clearly states that a server MUST return a 401 Unauthorized when a client requests a resource which requires authorization, yet has not presented a valid Authorization header. Many XML-RPC servers fail to return a 401, instead returning a 200 with a fault.

Can I use Basic HTTP Authentication using Apache+JServ?

jGuru: Tomcat FAQ
Author: Joshua Lynch (http://www.jguru.com/guru/viewbio.jsp?EID=103303) Question originally posed by Mike Reedy (http://www.jguru.com/guru/viewbio.jsp?EID=98127 I recently did this with Apache and Tomcat. Using Basic HTTP Authentication is an Apache function, so this method should work with Apache and any servlet engine. Different web servers will, of course, work differently. If you haven't already done so, read the Apache FAQ about authentication (section G) at apache.org, especially QA G.2.

How do I support authentication in my XML-RPC service?

XML-RPC.NET FAQ
Authentication is not provided by standalone .NET Remoting and if required must be implemented by the developer. On the other hand IIS does support authentication and so the two IIS-based methods on implementing servers can be used where authentication is required. Configuration is exactly the same as for normal web pages and is described in the IIS online documentation.

Why should I use XWT instead of writing a Swing Java Applet that uses SOAP/XML-RPC?

Microsoft omitted the MSJVM from Windows XP, and many XP machines do not have Service Pack 1 (which reintroduces the JVM). Installing the Java2 plugin is cumbersome, complex and requires a 15MB download, compared with XWT's one-click launch and slim 500kb download. Writing applets requires a real programmer -- somebody familiar with computer science. XWT user interfaces, on the other hand, can be developed by designers with little programming experience.

How do I implement an XML-RPC server using HttpListener?

XML-RPC.NET FAQ
The .Net System.Net.HttpListener class can be used as the basis for an XML-RPC server implemented using XML-RPC.NET. First, the service functionality is implemented in a class deriving from the CookComputing.XmlRpc.XmlRpcListenerService class: public class StateNameService : XmlRpcListenerService { [XmlRpcMethod("examples.getStateName")] public string GetStateName(int stateNumber) { if (stateNumber < 1 || stateNumber > m_stateNames.

What is XML-RPC?

O'Reilly Network: Top Ten FAQs for Web Services
XML-RPC is a protocol that uses XML messages to perform Remote Procedure Calls. Requests are encoded in XML and sent via HTTP POST; XML responses are embedded in the body of the HTTP response. Because XML-RPC is platform independent, diverse applications can communicate with one another. For example, a Java client can speak XML-RPC to a Perl server. To get a quick sense of XML-RPC, here is a sample XML-RPC request to a weather service (with the HTTP Headers omitted): <?xml version="1.

How do you enable BASIC authentication using Tomcat?

jGuru: Tomcat FAQ
Author: Theo Mills (http://www.jguru.com/guru/viewbio.jsp?EID=235154) Question originally posed by Mary Anne Conforti (http://www.jguru.com/guru/viewbio.jsp?EID=121454 [Question continues: I'm able to get the dialog box requesting the username and password to pop up, however, even though I insert one of the usernames and passwords from the tomcat-users.xml file, I always get an "Authorization failed. Retry?" dialog.

How to authenticate SOAP Requests using SOAP Header (VB.Net, C#, Apache Axis)?

Xignite - Frequently Asked Questions
If your computer uses a Dynamic IP address and you plan to use SOAP to invoke operation, you should add a SOAP header to your request to help authenticate it. You may also choose this approach to authenticate your requests even if your IP address is static. You only need to make sure you use the same email address when you registered. All Xignite operations accept a SOAP Header simply named Header. This Header accepts three optional parameters.

Why isn't Office Open XML "proper" XML?

Brian Jones: Open XML Formats : Frequently Asked Questions
This is actually not true, although I have seen people make this mistake before. It actually is fully valid XML, it's just not the same architectural approach you've seen from the traditional DocBook model of document formats. Since folks do ask this question though, and here are a few themes I think folks are getting at when asking this question:

What is the Java API for XML-Based RPC (JAX-RPC)?

Frequently Asked Questions
The Java API for XML-Based RPC (JAX-RPC) enables Java technology developers to build Web applications and Web services incorporating XML-based RPC functionality according to the SOAP (Simple Object Access Protocol) 1.1 specification.

How do I implement an XML-RPC server using .NET Remoting?

XML-RPC.NET FAQ
XML-RPC.NET includes a Remoting formatter sink provider, the class XmlRpcServerFormatterSinkProvider. When configured this enables the Remoting infrastructure to handle incoming XML-RPC requests as well as SOAP requests. using System; using System.Runtime.Remoting; using CookComputing.XmlRpc; public struct SumAndDiffValue { public int sum; public int difference; } public class SumAndDiff : MarshalByRefObject { [XmlRpcMethod("sample.

What is the relation between XINS and XML-RPC?

XINS - Frequently Asked Questions
XML-RPC is a protocol for client-server communication. XINS is a set of technologies for client-server communication. XML-RPC is one of the communication protocols supported by XINS.

Q8. Is the HTTP authentication supported?

nokia 7110 faq @ filibeto.org
The Nokia 7110 supports the basic HTTP authentication. For client identification the HTTP basic authentication is the only standard mechanism that has been mentioned in the WAP 1.1 specification.

Basic Authentication: how can I log a user out?

Flicks Software's FAQ
The browser caches the username and password until the browser is closed. The Basic Authentication protocol does not allow you to "logout" a user without changing his password. The Basic Authentication protocol does not support the notion of timeout either. You could use AuthentiX cookie-based authentication which supports timeouts and logouts, see: https://www.flicks.com/secure/scripts/acookielogin/loginfirst.

But how do I customize the header that Embperl is sending?

AnnoCPAN - Embperl
That isn't surprising, as you cannot split Perl statements across multiple [- -] blocks in Embperl :) You need to use a metacommand for that. The [$while$] metacommand comes to mind... :) For a list of all possible metacommands, see the section on Meta-Commands in the Embperl documentation.

Is there an XML-RPC Interface to Advogato?

Advogato - Frequently Asked Questions (FAQ)
Yes, the Advogato XML-RPC Interface will allow you to write your own software that interfaces with Advogato to manipulate blogs or trust certifications.

How do I implement an XML-RPC client?

XML-RPC.NET FAQ
First devise an interface which represents the methods of XML-RPC server endpoint and derive it from IXmlRpcProxy. Mark each of the methods representing an XML-RPC method call with the XmlRpcMethod attribute. For example: using CookComputing.XmlRpc; public struct SumAndDiffValue { public int sum; public int difference; } [XmlRpcUrl("http://www.cookcomputing.com/sumAndDiff.

Can you give me an example of the Apache httpd.conf using mod_dav and Basic Authentication?

mod_dav FAQ
Once you have installed your Apache web server with a mod_dav module and you have set up your user account file you must finish setting up your server by editing the Apache httpd.conf file. This is found in your Apache installation "conf" directory. These instructions represent a minimal configuration just to get you started. Note: It is a good practice to make a backup of your httpd.conf file before making any editting changes. A "#" is a comment.
More Questions >>

© Copyright 2007-2013 QueryCAT
About • Webmasters • Contact