Kishanjvaghela / ksoap2-android

Automatically exported from code.google.com/p/ksoap2-android
0 stars 0 forks source link

Problem importing 2.6 with dependecy Jar #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download 2.5.6 with dependency Jar
http://code.google.com/p/ksoap2-android/source/browse/m2-repo/com/google/code/ks
oap2-android/ksoap2-android-assembly/2.5.6/ksoap2-android-assembly-2.5.6-jar-wit
h-dependencies.jar
2. Use it in Andorid Project(Add external Jar)
3.

What is the expected output? What do you see instead?
I should be able to use this jar with out any problem, but when use this jar i 
get following error and i am not able to use this jar in project. When i go and 
open the jar in referenced library node in eclipse project, it doesnt show 
anything in it(Usually any jar shows packages and classes in it). BUT i am able 
to use 2.4 with dependency jar without any problem

Dx 1 error; aborting
Conversion to Dalvik format failed with error 1

What version of the product are you using? On what operating system?
Windows 7, Eclipse Helios, Android 2.3.1

Please provide any additional information below.
i am able to use 2.4 with dependency jar without any problem. I neeeded to 
create a complex object for SOAP request and i can see example in Tips and 
trick for 2.5 onwards only.
I have object Request like this
Class A{
Long id;
Long oneId;
String status;
ComplexB[] complexArray;
}
Class ComplexB{
Long id;
String remarks;
Double amount;
}

Also can you provide an example of how can i create such complex object with 
2.4(so that by the time 2.6 issue get resolved i can keep working with 2.4)

Thanks
Ravi

Original issue reported on code.google.com by ping2r...@gmail.com on 5 Jul 2011 at 8:16

GoogleCodeExporter commented 9 years ago
You have not downloaded it correctly. Follow the instructions on the wiki and 
after you downloaded it confirm that you can extract the file with a zip 
program.

Original comment by mosa...@gmail.com on 5 Jul 2011 at 2:55

GoogleCodeExporter commented 9 years ago
Also the 2.4 jar was not released by this project and there is plenty of 
documentation on the wiki and the linked articles to help. Read those first and 
come back when you have a specific problem.

Original comment by mosa...@gmail.com on 5 Jul 2011 at 2:57

GoogleCodeExporter commented 9 years ago
Ok i did what wiki(http://code.google.com/p/ksoap2-android/wiki/HowToUse) 
says....(and its quite generic :)...)
http://code.google.com/p/ksoap2-android/source/browse/m2-repo/com/google/code/ks
oap2-android/ksoap2-android-assembly/#ksoap2-android-assembly%2F2.5.6

I went to this link right clicked on the file and said save target as.... .jar 
file was saved....but when i imported i couldnt use it.

The file i right clicked on was of size 146KB and revision r676.

And i am not sure if you reased 2.4 or not but i went to think link 
http://code.google.com/p/ksoap2-android/source/browse/m2-repo/com/google/code/ks
oap2-android/ksoap2-android-assembly/#ksoap2-android-assembly%2F2.4

and found 2.4 versiona nd downloaded it...and itw orked..and i am able to make 
Soap call using it..its just to make Complpxe object it seems 2.5+ versions are 
better.

Did i miss anything?

Thanks in advance
Ravi

Original comment by ping2r...@gmail.com on 5 Jul 2011 at 3:07

GoogleCodeExporter commented 9 years ago
Go to this url

http://code.google.com/p/ksoap2-android/source/browse/m2-repo/com/google/code/ks
oap2-android/ksoap2-android-assembly/2.5.6/ksoap2-android-assembly-2.5.6-jar-wit
h-dependencies.jar

and right click download on View raw file and it will work.. just like it says 
on the wiki...

Original comment by mosa...@gmail.com on 5 Jul 2011 at 3:13