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

Posts: 1
Registered: ‎05-27-2011
My Device: BlackBerry Torch
My Carrier: Software Development

soap connection problem

[ Edited ]

Hi all,
I am trying to make a connection to an https server and need to transfer information using soap...First I created a soap object and tried to send the data to https server ..it was woking fine ..When I tried to send a Soap object having nested elements ,the server returns "null identity provided"..here ' identity'  is an item inside the soap object and having nested structure.But it works fine for other type of soap connection without having  nested soap object structure..
Following way I created soap object for the item identity


  SoapObject rpc = new SoapObject(serviceNamespace, methodName);
        SoapObject IT=rpc.newInstance();

      IT.addProperty("Username", valu1 );   
      IT.addProperty("Password", value2); 
      IT.addProperty("Email",  value3);     
      IT.addProperty("Mobile",  value4);   
       IT.addProperty("Hashed", hash); 



IT is a soap object added into the parent soap object rpc. 
My code will work fine if the soap object dont have nested structure.. mean using only an object rpc.., and directly adding all items..but for one request I have to use nested structure..



Nested soap connection was working fine with WAP2  channell..problem started after using BIS channel  .


but other type of HTTPS  requests  are working fine via BIS channel...



Server is unable to read the oIdentity data ...it returns  ' null identity provided '

will you please help me to solve this issue.
Thanking you,