fyhack / ksoap2-android Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/ksoap2-android
Automatically exported from code.google.com/p/ksoap2-android
What steps will reproduce the problem?
1. Apply patch from issue 7 so SOAP faults can be parsed.
2. Make a SOAP call that returns a SOAP fault.
What is the expected output? What do you see instead?
The SOAP "fault string" would be sensible to put here, better than an empty
message.
What version of the product are you using? On what operating system?
"ksoap2-android-assembly-2.3-jar-with-dependencies.jar" Aug 16 + patch from
issue 7, Android 1.6.
Please provide any additional information below.
Patch attached to return faultstring.
Original issue reported on code.google.com by chris.boyle.name
on 23 Oct 2009 at 2:01
Attachments:
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
kSOAP2-android2.2 with dependencies
Windows Vista SP2
Android SDK 1.5 Cupcake
Please provide any additional information below.
It appears that org.ksoap2.transport.AndroidServiceConnection is
referencing a class that doesn't exist...is there a workaround?
Original issue reported on code.google.com by [email protected]
on 11 Jun 2009 at 9:12
What steps will reproduce the problem?
1. Hello...I found the problem the "old" org.apache.commons.httpclient.xxx
library..I'd like to recompile this project, but where are the sources?
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by lunard
on 28 Jul 2009 at 9:54
What steps will reproduce the problem?
1. Add ksoap2-android-2.2-jar-with-dependencies.jar to the android project.
2. It gives error that AndroidHttpTransport class is already added.
3. Open jar file with winrar and check the org.ksoap2.transport package,
there are 2 duplicate class files are there.
What is the expected output? What do you see instead?
...possibly there is some error while building the jar.
What version of the product are you using? On what operating system?
...Version 2.2 release of ksoap2-android with all dependencies included
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 22 Apr 2009 at 1:47
What steps will reproduce the problem?
1. Call a WS that returns a single-element string response
2. Try to get the response with getResponse()
What is the expected output? What do you see instead?
Object expected.
What version of the product are you using? On what operating system?
I'm using version 2.3 on debian
Please provide any additional information below.
I got the problem on the code, the solution is as easy as to do a
instanceof check and don't try to do the KvmSerializable cast. I've found
this on my first steps with WS creation and connection. Hope it helps ;)
Original issue reported on code.google.com by [email protected]
on 16 Nov 2009 at 6:56
What steps will reproduce the problem?
Call org.ksoap2.serialization.SoapObject.getPropertyInfo() with an
PropertyInfo object.
What is the expected output? What do you see instead?
The PropertyInfo.value field is null whereas other fields are set correctly.
What version of the product are you using? On what operating system?
2.3
Original issue reported on code.google.com by [email protected]
on 18 Nov 2009 at 10:45
What steps will reproduce the problem?
1. Add lib folder to project
2. add ksoap2-android-2.2-jar-with-dependencies.jar to folder
3. add library to project
What is the expected output? What do you see instead?
When the library added, eclipse gave errors,like:
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added:
Lorg/ksoap2/transport/AndroidHttpTransport;
[2009-04-11 11:41:44 - WebService1] at
com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123)
[2009-04-11 11:41:44 - WebService1] at
com.android.dx.dex.file.DexFile.add(DexFile.java:143)
[2009-04-11 11:41:44 - WebService1] at
com.android.dx.command.dexer.Main.processClass(Main.java:299)
[2009-04-11 11:41:44 - WebService1] at
com.android.dx.command.dexer.Main.processFileBytes(Main.java:276)
[2009-04-11 11:41:44 - WebService1] at
com.android.dx.command.dexer.Main.access$100(Main.java:56)
[2009-04-11 11:41:44 - WebService1] at
com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:228)
[2009-04-11 11:41:44 - WebService1] at
com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245
)
[2009-04-11 11:41:44 - WebService1] at
com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:130)
[2009-04-11 11:41:44 - WebService1] at
com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:108)
[2009-04-11 11:41:44 - WebService1] at
com.android.dx.command.dexer.Main.processOne(Main.java:245)
[2009-04-11 11:41:44 - WebService1] at
com.android.dx.command.dexer.Main.processAllFiles(Main.java:183)
[2009-04-11 11:41:44 - WebService1] at
com.android.dx.command.dexer.Main.run(Main.java:139)
[2009-04-11 11:41:44 - WebService1] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[2009-04-11 11:41:44 - WebService1] at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[2009-04-11 11:41:44 - WebService1] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[2009-04-11 11:41:44 - WebService1] at java.lang.reflect.Method.invoke(Unknown
Source)
[2009-04-11 11:41:44 - WebService1] at
com.android.ide.eclipse.adt.build.DexWrapper.run(Unknown Source)
[2009-04-11 11:41:44 - WebService1] at
com.android.ide.eclipse.adt.build.ApkBuilder.executeDx(Unknown Source)
[2009-04-11 11:41:44 - WebService1] at
com.android.ide.eclipse.adt.build.ApkBuilder.build(Unknown Source)
[2009-04-11 11:41:44 - WebService1] at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:633)
[2009-04-11 11:41:44 - WebService1] at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
[2009-04-11 11:41:44 - WebService1] at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
[2009-04-11 11:41:44 - WebService1] at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
[2009-04-11 11:41:44 - WebService1] at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
[2009-04-11 11:41:44 - WebService1] at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
[2009-04-11 11:41:44 - WebService1] at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
[2009-04-11 11:41:44 - WebService1] at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:3
09)
[2009-04-11 11:41:44 - WebService1] at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
[2009-04-11 11:41:44 - WebService1] at
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
[2009-04-11 11:41:44 - WebService1] at
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
[2009-04-11 11:41:44 - WebService1] at
org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
[2009-04-11 11:41:44 - WebService1] 1 error; aborting
[2009-04-11 11:41:44 - WebService1] Conversion to Dalvik format failed with
error 1
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 11 Apr 2009 at 8:45
A repo must be manually added. I had to add:
<repository>
<id>ibiblio</id>
<url>http://mirrors.ibiblio.org/pub/mirrors/maven2</url>
</repository>
Original issue reported on code.google.com by [email protected]
on 27 Jan 2010 at 11:30
The dependency kobjects-j2me uses some properties and feature which are
not available in java.lang.System under j2me. To stay compatible I have
created a fixed version without these classes (Actually only the ISODate
and maybe the Base64 is interesting I guess for kSOAP2):
http://globalplatform.sourceforge.net/repo/m2-repository/net/sourceforge/
kobjects/kobjects-j2me/0.0-SNAPSHOT-20040926/
Error preverifying class org.kobjects.xmlrpc.Driver
VERIFIER ERROR org/kobjects/xmlrpc/Driver.main([Ljava/lang/String;)V:
Cannot find class java/io/FileReader
I have excluded the dependency and used my fixed version. The classifier
"fixed" is used.
Can you adjust your version, so that this hack does not have to be done?
Original issue reported on code.google.com by [email protected]
on 28 Jan 2010 at 1:54
I've been thinking a bit lately about what would make this library more
useful for me. The library has always felt a bit half-finished to me...
there's too many things it should do, but doesn't.
Short of a more end-to-end solution like I've heard Apache Axis is, I think
it would be best to ensure that users of the library can more easily poke
at the raw XML. Can things be refactored such that developers could choose
whether to use DOM, SAX, or XMLPULL? In a way that lets them read and
write the SOAP body and headers, while still ensuring all necessary
attributes, etc. are present?
I'm not sure, but I'd like to look into it some.
Original issue reported on code.google.com by [email protected]
on 2 Jan 2010 at 8:08
Please remove the SVN checkout instructions from the page and give git
instructions instead.
Original issue reported on code.google.com by [email protected]
on 27 Jan 2010 at 9:35
What steps will reproduce the problem?
1. Make any SOAP call that returns a SOAP fault
What is the expected output? What do you see instead?
I expect org.ksoap2.SoapFault to be thrown. Instead, I see:
org.xmlpull.v1.XmlPullParserException: expected: END_TAG
{http://schemas.xmlsoap.org/soap/envelope/}Body (position:END_TAG
</{http://schemas.xmlsoap.org/soap/envelope/}soap:Fault>@1:650 in
java.io.InputStreamReader@438fff30)
What version of the product are you using? On what operating system?
This is "ksoap2-android-assembly-2.3-jar-with-dependencies.jar" which your
downloads page lists as uploaded Aug 16, on Android 1.6.
Please provide any additional information below.
I'm looking at ksoap2-base/src/main/java/org/ksoap2/SoapFault.java and
SoapFault.parse() looks suspicious. It calls parser.require for the start
Fault tag, but not the end Fault tag.
Here is transport.responseDump:
<?xml version="1.0" encoding="UTF-8"?><soap:Envelope
xmlns:zeusns_1_1="http://soap.zeus.com/zxtm/1.1/"
xmlns:zeusns_1_2="http://soap.zeus.com/zxtm/1.2/"
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:zeusns="http://soap.zeus.com/zxtm/1.0/"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultc
ode>soap:Client</faultcode><faultstring>Unknown function called
'http://soap.zeus.com/zxtm/test.wrongNS/Diagnose/diagnoseSystem'</faultstri
ng></soap:Fault></soap:Body></soap:Envelope>
Original issue reported on code.google.com by chris.boyle.name
on 23 Oct 2009 at 12:43
It would be nice if the node attribute patch could be integrated into the
ksoap2 Android builds.
Perhaps attributes can be solved today by writing your own marhals, but the
patch seems to
simplify the procedure a lot.
http://sourceforge.net/tracker/?func=detail&aid=1473145&group_id=158028&atid=806
189
Original issue reported on code.google.com by [email protected]
on 5 Jun 2009 at 3:30
What steps will reproduce the problem?
1. AndroidServiceConnection class uses classes from package
org.apache.commons.httpclient, which is not available in android.jar
2. If you try to use AndroidHttpTransport class to call a web service,
android application closes unexpectedly.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
android-sdk-windows-1.1_r1, and ksoap2-android-2.2-jar-with-
dependencies.jar ( Version 2.2 release of ksoap2-android with all
dependencies included )
On windows XP.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 29 Apr 2009 at 12:07
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.