×

Discussion Board

Results 1 to 1 of 1
  1. #1
    Registered User
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    305

    SOAP + basic web autorization

    Hi
    I choose SOAP for client/server communication (API SOA for S60)
    CSenIdentityProvider,CSenServiceConnection,......

    Most of Web Services need have some authorization.
    I can't find any example how to use authorization with SOAP api for s60
    I try to send authorization data by registering with CSenServiceManager

    CSenIdentityProvider* idp = CSenIdentityProvider::NewLC(KServiceEndpoint);
    idp->SetFrameworkIdL(KDefaultBasicWebServicesFrameworkID);
    _LIT8(KUser, "user");
    _LIT8(KPass, "pass");
    idp->SetUserInfoL(KUser, KUser, KPass);
    CSenServiceManager* serviceManager = CSenServiceManager::NewLC();
    serviceManager->RegisterIdentityProviderL(*idp);
    CleanupStack::PopAndDestroy(serviceManager);
    CleanupStack::PopAndDestroy(idp);

    But after I call method RegisterIdentityProviderL it's show one inappropriate dialog about subscribing to web service.

    Is there any other way how to set authorization data?
    Last edited by xlazom00; 2008-04-30 at 12:48.

Similar Threads

  1. Replies: 12
    Last Post: 2008-11-04, 12:55
  2. S60 + Python + Web Services (SOAP)
    By leandrosales in forum Symbian
    Replies: 3
    Last Post: 2008-08-09, 06:58
  3. Web Service / Soap
    By corradoME in forum Mobile Java General
    Replies: 0
    Last Post: 2004-11-25, 11:21

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×