Web Services

Mozilla supports a number of features collectively referred to as Web Services. Several features are supported: SOAP, XML-RPC and WSDL. Most of these interfaces are directly accessible in JavaScript via objects with the same name as the interface but without the nsI prefix.

Jump to:


SOAP

These interfaces handle Simple Object Access Protocol (SOAP). Mozilla currently implements SOAP version 1.1.

nsISOAPAttachments
nsISOAPBlock
nsISOAPCall
nsISOAPCallCompletion
nsISOAPDecoder
nsISOAPEncoder
nsISOAPEncoding
nsISOAPEncodingRegistry
nsISOAPFault
nsISOAPHeaderBlock
nsISOAPMessage
nsISOAPMessageBinding
nsISOAPOperationBinding
nsISOAPParameter
nsISOAPPartBinding
nsISOAPPortBinding
nsISOAPPropertyBagMutator
nsISOAPResponse
nsISOAPResponseListener
nsISOAPService
nsISOAPServiceRegistry
nsISOAPTransport
nsISOAPTransportListener

SOAP Components

These components implement the above SOAP interfaces

@mozilla.org/xmlextras/soap/call;1
@mozilla.org/xmlextras/soap/encoding;1
@mozilla.org/xmlextras/soap/encoding;1?uri=http://schemas.xmlsoap.org/soap/encoding/
@mozilla.org/xmlextras/soap/encoding;1?uri=http://www.w3.org/2001/09/soap-encoding
@mozilla.org/xmlextras/soap/fault;1
@mozilla.org/xmlextras/soap/headerblock;1
@mozilla.org/xmlextras/soap/parameter;1
@mozilla.org/xmlextras/soap/propertybagmutator;1
@mozilla.org/xmlextras/soap/response;1
@mozilla.org/xmlextras/soap/transport;1?protocol=http
@mozilla.org/xmlextras/soap/transport;1?protocol=https

XML RPC

Mozilla supports XML-RPC through these interfaces. Use the '@mozilla.org/xml-rpc/client;1' component to use XML-RPC.

nsIXmlRpcClient
nsIXmlRpcClientListener
nsIXmlRpcFault

@mozilla.org/xml-rpc/client;1
@mozilla.org/xml-rpc/fault;1


WSDL

Mozilla supports the Web Services Description Language through the interfaces below. This language is used for describing the functions provided by a Web service.

nsIWSDLBinding
nsIWSDLLoadListener
nsIWSDLLoader
nsIWSDLMessage
nsIWSDLOperation
nsIWSDLPart
nsIWSDLPort
nsIWSDLSOAPBinding
nsIWSPInterfaceInfoService
nsIWebServiceCallContext
nsIWebServiceComplexTypeWrapper
nsIWebServiceErrorHandler
nsIWebServicePropertyBagWrapper
nsIWebServiceProxy
nsIWebServiceProxyCreationListener
nsIWebServiceProxyFactory
nsIWebServiceSOAPCallContext

WSDL Components

These components implement the above WDSL interfaces

@mozilla.org/xmlextras/proxy/interfaceinfoservice;1
@mozilla.org/xmlextras/proxy/webservicecomplextypewrapper;1
@mozilla.org/xmlextras/proxy/webservicepropertybagwrapper;1
@mozilla.org/xmlextras/proxy/webserviceproxy;1
@mozilla.org/xmlextras/proxy/webserviceproxyfactory;1
@mozilla.org/xmlextras/wsdl/wsdlloader;1

Additional Interfaces

Some miscellaneous interfaces. The interface nsIWebScriptsAccessService may be used to check if a page has permissions to access a particular Web service. This interface is implemented by the '@mozilla.org/xmlextras/securityservice;1' component.

nsIGenericInterfaceInfo
nsIGenericInterfaceInfoSet
nsIWebScriptsAccessService

@mozilla.org/genericInterfaceInfoSet;1
@mozilla.org/xmlextras/securityservice;1

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com