Parsing Compex SOAP response

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Parsing Compex SOAP response

Postby andyy » Sat Apr 25, 2009 1:00 pm

Hello!
I am trying to use a .Net webservice. The function at web service connects database and returns a dataset, not an array. (For example 100 complex data row, I mean: 100 rows ID, student name, student address columns... so on..)

I called it and when I debug my code, I can see the data in my envelope within lots of vectors. But I cannot use them.

I tried to write a class which has attributes same as web service return data. But nothing changed. (Below code)

Code: Select all
            Vector<StudentClass> received = (Vector<StudentClass>)envelope.bodyIn;  /*ClassCastException*/
            if(received != null)
            {
                for(StudentClass curr : received )
                {
                }
            }


Everytime I debug the code, I get ClassCastException error.

Any help would be great!

Thanks
andyy
Freshman
Freshman
 
Posts: 2
Joined: Sat Apr 25, 2009 12:31 pm

Top

Postby andyy » Tue Apr 28, 2009 7:57 am

Im still stuck with this..
does anybody know about this?
thanks
andyy
Freshman
Freshman
 
Posts: 2
Joined: Sat Apr 25, 2009 12:31 pm

Postby desuvinodkumar » Sat Jul 11, 2009 10:49 am

Hi
Same problem facing Stucked here only
How can cast the coplex data type ...


help for this any body plz..................................
Vinod...
User avatar
desuvinodkumar
Senior Developer
Senior Developer
 
Posts: 102
Joined: Mon Mar 23, 2009 6:51 am
Location: India

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 7 guests