Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
wspfactory.cpp File Reference
#include "wspprivate.h"
#include "prprf.h"
#include "nsIWebServiceErrorHandler.h"

Go to the source code of this file.

Classes

class  WSPAsyncProxyCreator

Defines

#define P2M_ESCAPE_CHARACTER   '_'

Functions

 NS_IMPL_ISUPPORTS2 (WSPAsyncProxyCreator, nsIWSDLLoadListener, nsIWebServiceErrorHandler) nsresult WSPAsyncProxyCreator

Define Documentation

Definition at line 209 of file wspfactory.cpp.


Function Documentation

Definition at line 78 of file wspfactory.cpp.

{
  mWSDLURL   = wsdlURL;
  mPortName  = portname;
  mQualifier = qualifier;
  mIsAsync   = isAsync;
  mListener  = aListener;

  nsresult rv;
  nsCOMPtr<nsIWSDLLoader> loader =
    do_CreateInstance(NS_WSDLLOADER_CONTRACTID, &rv);
  if (!loader) {
    return rv;
  }

  rv = loader->LoadAsync(mWSDLURL, mPortName, this);
  if (NS_FAILED(rv)) {
    return rv;
  }

  return NS_OK;
}

Here is the call graph for this function: