×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Sep 2008
    Location
    Karachi, Pakistan
    Posts
    98

    -30291error while accessing web service

    Hi,

    I'm have error code -30291 while access the web service. I am using following code:

    //WCF Web Service
    _LIT8(KServiceEndpoint, "http://10.10.11.107/WCFTestService/service.svc");

    CSenXmlServiceDescription *pServiceDesc = CSenXmlServiceDescription::NewLC(KServiceEndpoint, KNullDesC8());
    pServiceDesc->SetFrameworkIdL(KDefaultBasicWebServicesFrameworkID);

    MSenServiceConsumer* observer = new (ELeave) ServiceObserver();

    CServiceService* pService = CServiceService::NewLC(*observer, *pServiceDesc);

    RGetData data;
    data.iValue = 1;
    RGetDataResponse response;

    CSenSoapFault* fault = NULL;
    TRAPD(error, pService->GetDataL(data, response, &fault));
    if(fault != NULL){
    /* HERE the fault returns the error code -30291 */
    };

    Please guide me to resolve this error.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,568

    Re: -30291error while accessing web service

    The name "CServiceService" does not sound as a built-in one. What is that class?
    Otherwise if you search for 30291 symbian with Google, you will get a relevant hit pretty soon. Apparently the page can not be accessed, but Google remembers it.

  3. #3
    Regular Contributor
    Join Date
    Sep 2008
    Location
    Karachi, Pakistan
    Posts
    98

    Re: -30291error while accessing web service

    CServiceService is the proxy generated class. However, the error has been resolved. I was calling GetDataL() function without the established connection. When I moved the calling of function GetDataL into MSenServiceConsumer.SetStatus(), it worked.

  4. #4
    Registered User
    Join Date
    Dec 2008
    Posts
    3

    Re: -30291error while accessing web service

    jawadakhtar

    We are working on a project that involves Symbian C++ Devlopment (s60). The project includes building mobile application to display the Holy Quran on mobiles devices.


    If you are interested to work/help/contribute, please send me your CV to dajani@kfupm.edu.sa.

    Regards

    Mansour, Saudi Arabia

Similar Threads

  1. Web service help
    By manikantan in forum [Archived] Flash Lite on Nokia Devices
    Replies: 1
    Last Post: 2008-08-07, 10:12
  2. MIDP 2.0 Web Service Access on Series 40 3rd Edition FP2 on NOKIA 3110 classic
    By ajitgokhale in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2008-07-26, 21:19
  3. pass parameters to web service with ksoap
    By racsus in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2008-04-11, 08:06
  4. How developing the WSP for Mobile Web Service?
    By dubodog in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2007-08-30, 05:55
  5. 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
  •