Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
jundi-81
Posts: 7
Registered: ‎07-14-2010
My Device: 9000
My Carrier: programming

how can I read this soape response?

how can I read this respnose message

 

I used these code:

 

XmlPullParser xp =

 

xp.setFeature(XmlPullParser.

 

xp.setInput (is,

 

new KXmlParser();FEATURE_PROCESS_NAMESPACES, true);null);envelope.parse(xp);

 

result= (SoapObject)envelope.getResponse();

 

the reponse is:

 

DoSynchronizeResponse{DoSynchronizeResult=anyType{schema=anyType{element=anyType{complexType=anyType{choice=anyType{element=anyType{complexType=anyType{sequence=anyType{element=anyType{}; element=anyType{}; element=anyType{}; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{}; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{}; element=anyType{}; }; }; }; element=anyType{complexType=anyType{sequence=anyType{element=anyType{}; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{}; }; }; }; element=anyType{complexType=anyType{sequence=anyType{element=anyType{}; element=anyType{}; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{}; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{}; element=anyType{}; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{}; element=anyType{}; }; }; }; element=anyType{complexType=anyType{sequence=anyType{element=anyType{}; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; }; }; }; element=anyType{complexType=anyType{sequence=anyType{element=anyType{}; element=anyType{}; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{}; element=anyType{}; element=anyType{}; }; }; }; element=anyType{complexType=anyType{sequence=anyType{element=anyType{}; element=anyType{}; element=anyType{}; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{}; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; }; }; }; element=anyType{complexType=anyType{sequence=anyType{element=anyType{}; element=anyType{}; element=anyType{}; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{}; element=anyType{}; }; }; }; element=anyType{complexType=anyType{sequence=anyType{element=anyType{}; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; }; }; }; element=anyType{complexType=anyType{sequence=anyType{element=anyType{}; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; element=anyType{simpleType=anyType{restriction=anyType{maxLength=anyType{}; }; }; }; }; }; }; }; }; unique=anyType{selector=anyType{}; field=anyType{}; }; unique=anyType{selector=anyType{}; field=anyType{}; }; unique=anyType{selector=anyType{}; field=anyType{}; }; unique=anyType{selector=anyType{}; field=anyType{}; }; unique=anyType{selector=anyType{}; field=anyType{}; }; unique=anyType{selector=anyType{}; field=anyType{}; }; unique=anyType{selector=anyType{}; field=anyType{}; }; }; }; diffgram=anyType{TerminalSyncBaseDS=anyType{TerminalInfo=anyType{TERMINAL_ID=916; CURRENCY=$; STORE_ID=1; STORE_NAME=EDN; TERMINAL_NAME=GSM 19061012230; STORE_STREET=Tabariz; SYNC_STATUS=U; STORE_TEL=03444144; HAS_CLIENT_DTU=T; HAS_CLIENT_TRANSFER=T; HAS_CLIENT_VOUCHER=T; HAS_STORE_DTU=T; HAS_STORE_TRANSFER=T; HAS_STORE_VOUCHER=T; HAS_STORE_OFFLINE=T; }; ProvidersInfo=anyType{PROVIDER_ID=12; PROVIDER_NAME=Tripoli Festiva; STATUS=A; LOGO_ID=-1; }; ProvidersInfo=anyType{PROVIDER_ID=13; PROVIDER_NAME=Festival; STATUS=A; LOGO_ID=-1; }; ProductsInfo=anyType{PRODUCT_ID=1; PROVIDER_ID=1; PRODUCT_NAME=Alfa 10 $; PRODUCT_FACE_PRICE=10 $; HAS_QUANTITY=T; HAS_PRICE=T; HAS_ITEMS=T; STATUS=U; SALES_PRICE=10.00; UNIT_NAME=$; DEFAULT_QUANTITY=0; TICKET_ID=7; HAS_DTU=T; HAS_TRANSFER=F; }; ProductsInfo=anyType{PRODUCT_ID=2; PROVIDER_ID=1; PRODUCT_NAME=Alfa 25 $; PRODUCT_FACE_PRICE=25 $; HAS_QUANTITY=T; HAS_PRICE=T; HAS_ITEMS=T; STATUS=U; SALES_PRICE=25.00; UNIT_NAME=$; DEFAULT_QUANTITY=0; TICKET_ID=7; HAS_DTU=T; HAS_TRANSFER=F; }; ProductsInfo=anyType{PRODUCT_ID=3; PROVIDER_ID=1; PRODUCT_NAME=Alfa 50 $; PRODUCT_FACE_PRICE=50 $; HAS_QUANTITY=T; HAS_PRICE=T; HAS_ITEMS=T; STATUS=U; SALES_PRICE=50.00; UNIT_NAME=$; DEFAULT_QUANTITY=0; TICKET_ID=7; HAS_DTU=T; HAS_TRANSFER=F; }; ProductsInfo=anyType{PRODUCT_ID=4; PROVIDER_ID=1; PRODUCT_NAME=Alfa 75 $; PRODUCT_FACE_PRICE=75 $; HAS_QUANTITY=T; HAS_PRICE=T; HAS_ITEMS=T; STATUS=U; SALES_PRICE=75.00; UNIT_NAME=$; DEFAULT_QUANTITY=0; TICKET_ID=7; HAS_DTU=T; HAS_TRANSFER=F; }; ProductsInfo=anyType{PRODUCT_ID=5; PROVIDER_ID=2; PRODUCT_NAME=MTC 12.5 $; PRODUCT_FACE_PRICE=12.5 $; HAS_QUANTITY=T; HAS_PRICE=T; HAS_ITEMS=T; STATUS=U; SALES_PRICE=12.50; UNIT_NAME=$; DEFAULT_QUANTITY=0; TICKET_ID=7; HAS_DTU=T; HAS_TRANSFER=F; }; ProductsInfo=anyType{PRODUCT_ID=6; PROVIDER_ID=2; PRODUCT_NAME=MTC 18.77 $; PRODUCT_FACE_PRICE=18.77$; HAS_QUANTITY=T; HAS_PRICE=T; HAS_ITEMS=T; STATUS=U; SALES_PRICE=18.77; UNIT_NAME=$; DEFAULT_QUANTITY=0; TICKET_ID=7; HAS_DTU=T; HAS_TRANSFER=F; }; ProductsInfo=anyType{PRODUCT_ID=7; PROVIDER_ID=2; PRODUCT_NAME=MTC 25 $; PRODUCT_FACE_PRICE=25 $; HAS_QUANTITY=T; HAS_PRICE=T; HAS_ITEMS=T; STATUS=U; SALES_PRICE=25.00; UNIT_NAME=$; DEFAULT_QUANTITY=0; TICKET_ID=7; HAS_DTU=T; HAS_TRANSFER=F; }; }; }; }; AllSyncObjectsCount=-1; }

 

 

 

please help me. more than week I was trying to read values to put then in vector or any thing. just I want to read it.

Please use plain text.
Developer
maniBB
Posts: 95
Registered: ‎07-24-2013
My Device: 9380
My Carrier: Airtel

Re: how can I read this soape response?

Hi Jundi-81,

 

   had you been able to solve the issue? If yes, then i am facing the same problem. and you can help me out of this.

 

Best Regards.

Please use plain text.