I am using CSenServiceConnection to send the xml request. But my SetStatus in some devices always called with status -1 which is KSenConnectionStatusCreateFailed. here is fragment of my code:
servicePattern = CSenServicePattern::NewLC(KSoapServer, KNullDesC8);
servicePattern->SetFrameworkIdL(KDefaultBasicWebServicesFrameworkID);
servicePattern->SetContractL(KPpContract);
iConnection= CSenServiceConnection::NewL(*this,*servicePattern);
In some devices, it works fine. But in other devices, the SetStatus is been called with status as -1.
I also tried to add the following before the creation of iConnection:
servicePattern->SetConsumerIapIdL(1)
But it is the same result.
Please help me out!
TIA



