BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 07-31-2009, 01:26 PM   #1 (permalink)
New Member
Join Date: Jul 2009
Model: 8310
Carrier: Telcel
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Problem KSoap JDE

Please Login to Remove!

I hope you can help me, I have this code and has an error:
package Encuestas;

import org.ksoap2.*;
import org.ksoap2.SoapEnvelope;
import org.ksoap2.serialization.*;
import org.ksoap2.transport.*;

import net.rim.device.api.system.*;
import net.rim.device.api.ui.*;
import java.util.*;

final class PantallaPrincipal extends MainScreen
Encuestas encuestasapp;
EditField campologin = new EditField("Login:","",15, EditField.FILTER_DEFAULT);
PasswordEditField campopassword = new PasswordEditField("Password:","",15,EditField.FILT ER_DEFAULT);
ButtonField boton = new ButtonField("OK");
private MenuItem invocarIngresar = new MenuItem("Ingresar",0, 0)
public void run()
Manager adminlayout = new VerticalFieldManager(Manager.FIELD_HCENTER|Manager .LEAVE_BLANK_SPACE);
PopupScreen pop = new PopupScreen(adminlayout);

FieldChangeListener even = new FieldChangeListener()
public void fieldChanged(Field campo, int context)
String url="httpxx";
String namespace = "httpxx";
String soapAction = "httpxx";
String metodo = "xxx";

SoapObject llamar = new SoapObject(namespace, metodo);

llamar.addProperty("login", campologin.getText());
llamar.addProperty("password", campopassword.getText());

SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);

envelope.bodyOut = llamar;
envelope.dotNet = true;
envelope.encodingStyle = SoapSerializationEnvelope.ENC;

HttpTransport ht = new HttpTransport(url);
ht.debug = true;
ht.setXmlVersionTag("<?xml version=\"1.0\" encoding=\"utf-8\"?>");
String resultado = null;
{, envelope);
resultado = envelope.getResult().toString();
catch(org.xmlpull.v1.XmlPullParserException ex2)
catch(Exception ex)
String bah = ex.toString();
What could be?
Thanks in advance
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Philips Advance IOP-2S32-SC Electronic Programmed Start Ballast F32T8 F25T8 2 1
Philips Advance IOP-2S32-SC Electronic Programmed Start Ballast F32T8 F25T8 2 1 picture6" Pre-Filter HID Ballast, Lumapro, 4CRJ8
6GE 2 Lamp Electronic Ballast - GE232MAX-H/ULTRA - QTY 10 - 120/277 Volt - T8
GE 2 Lamp Electronic Ballast - GE232MAX-H/ULTRA -  QTY 10 - 120/277 Volt - T8 picture4-3/4" HID Ballast, Lumapro, 4CRH6
4-3/46" HID Ballast Kit, Philips Advance, 71A8753-001

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.