I am trying to get a program running that accesses a web service. I am using S60v3 MR SDK and running my program on emulator. I generated the skeleton code from WSDL (http://www.ignyte.com/webservices/ig...ions.asmx?wsdl) using web service code generation utility and wrote my code according to the tool usage manual. My code is:
_LIT (KServiceEndpoint, "http://www.ignyte.com/webservices/ignyte.whatsshowing.webservice/moviefunctions.asmx");
CSenXmlServiceDescription *pServiceDesc = CSenXmlServiceDescription::NewLC(KServiceEndpoint, KNullDesC8());
pServiceDesc->SetFrameworkIdL(KDefaultBasicWebServicesFrameworkID);
MovieCallback* pObserver = MovieCallback::NewLC();
CMovieInformationService* pService = CMovieInformationService::NewLC(*pObserver,*pServiceDesc);
RGetTheatersAndMoviesResponse result;
RGetTheatersAndMovies param;
_LIT(KZip,"01821");
param.iZipCode = HBufC::NewL(100);
*(param.iZipCode) = KZip;
param.iRadius = 5;
CSenSoapFault* fault = NULL;
pService->GetTheatersAndMoviesL(param, result, &fault); // <--- this calls iConnection->SubmitL(*soapRequest, responseStr); where it gets the KErrSenNotInitialized error
BTW, the emulator does not even show a warning about accessing web service and does not show "Access Point Selection" dialog that is shown during network accesses. However, the emulator accesses web fine, so it's not a network connection issue.
I also succeeded to get the AddressBook web service example running - it also accesses web service fine in the emulator. Unfortunately, AddressBook uses different framework (Liberty/ID) and is overall too complex, so I can't use it to access the service above.
Any suggestions would be appreciated.
Raimondas




