Comments (25)
I have same problem when i add more than 1 parameter.
SoapObject Reques = new SoapObject(NAMESPACE,METHOD_NAME);
Reques.addProperty("sUserName", "trunghd");
Reques.addProperty("sPass", "123456");
This problem occur in this line
SoapPrimitive resultString = (SoapPrimitive)soapEnveloper.getResponse();
Original comment by hoangdinhtrung
on 24 May 2010 at 10:56
from ksoap2-android.
I solved bugs extending SoapObject with a new class created by me, named
DataSoapObject; and SoapEnvelope with DataSoapEnvelope
Here you can find:
- slides to describe the usage (in italian)
https://docs.google.com/present/edit?id=0AXhqPVi3vJT6ZGZxaDdwYl83OGN2czlkM2Q4&hl
=en
- sources of my two class
https://docs.google.com/leaf?id=0B3hqPVi3vJT6ODRiYTNkODAtM2Q3YS00YmVjLTk1ODMtYmR
iNmRkYjU1NzMy&hl=en
-completed sources: karlmdavis sources plus sources of my two classes
https://docs.google.com/leaf?id=0B3hqPVi3vJT6ODRiYTNkODAtM2Q3YS00YmVjLTk1ODMtYmR
iNmRkYjU1NzMy&hl=en
- completed jar: ksoap2.jar plus my two classes
https://docs.google.com/leaf?id=0B3hqPVi3vJT6ZDNjZmU3YTAtZmI5Zi00Nzg1LWFjZWUtNjM
3OGEyNTE3OTlm&hl=en
- example of usage: a client on android platfrom and a service with Axis2
https://docs.google.com/leaf?id=0B3hqPVi3vJT6ZTcxMTE4MjMtYTkzNS00MjdjLTg1NGYtNTE
wZDljZjY3YTdl&hl=en&authkey=COiiifYC
I hope it helps.
Original comment by [email protected]
on 1 Sep 2010 at 8:42
from ksoap2-android.
Could you provide these in a github clone so that I can pull them in easily and
add the sample code as a test class maybe? Otherwise you could put the example
on a wiki page as well.
Original comment by [email protected]
on 12 Oct 2010 at 5:39
from ksoap2-android.
Original comment by [email protected]
on 12 Oct 2010 at 6:59
- Changed state: Started
from ksoap2-android.
Original comment by [email protected]
on 21 Oct 2010 at 4:44
from ksoap2-android.
That is a nice suggestion, thank you, but i do not have time now. Maybe later.
Original comment by [email protected]
on 21 Oct 2010 at 7:24
from ksoap2-android.
Do you think I should just add the classes to the package or are they not that
different from the core SoapObject so it should just be patched?
Original comment by [email protected]
on 4 Nov 2010 at 8:00
from ksoap2-android.
[deleted comment]
from ksoap2-android.
It would be better to patch the original SoapObject and SoapEnvelope.
I created the two new classes because i could not modify the original ones.
Please, try to test it before including it in the library. Some students of
mine used the patched library so i can say that it "generally" works well, but
the tests were not exaustive.
Original comment by [email protected]
on 4 Nov 2010 at 8:34
from ksoap2-android.
I wont have time to do the testing nor creating the patch. Cant you ask some of
your students to do it in a clone on github ;-)
Original comment by [email protected]
on 4 Nov 2010 at 8:37
from ksoap2-android.
Maybe.
Or, if i modify the original files, and test them, then you could create the
new patch?
I will try to do something.
Original comment by [email protected]
on 4 Nov 2010 at 10:46
from ksoap2-android.
The best way to do that is to clone the repository on github. Do your
development there and then just create a pull request or email me about it and
I can pull it in. That would be awesome. Let me know if you need any help with
github or so.
Original comment by [email protected]
on 4 Nov 2010 at 10:54
from ksoap2-android.
And yes.. if you modify the original files and just send them to me I can apply
the change as well. Whatever is easiest for you.
Original comment by [email protected]
on 4 Nov 2010 at 11:17
from ksoap2-android.
[deleted comment]
from ksoap2-android.
[deleted comment]
from ksoap2-android.
Hi.
i prepared modified sources, for you to upload to the project.
I refer to source version karlmdavis-ksoap2-android-3d576b5_src and jar version
ksoap2-android-assembly-2.4-jar-with-dependencies.jar.
I patched org.ksoap2.serialization.SoapSerialization Envelope and i created a
new file org.ksoap2.serialization.DataSoapObject.
So DataSoapObject should be added to the project as a new file; and
SoapSerializationEnvelope should be modified.
I described the use of DataSoapObject here :
http://people.unica.it/bart/2010/12/03/ksoap2-patch-for-user-defined-objects-and
-arrays/
Here you can find:
*
https://docs.google.com/leaf?id=0B3hqPVi3vJT6NTM1MGQwODEtYTc0MS00ZjJkLThlMWEtMzE
zZWU2ODc0MTRj&hl=en
the sources of org.ksoap2.serialization.SoapSerializationEnvelope and
org.ksoap2.serialization.DataSoapObject
*
https://docs.google.com/leaf?id=0B3hqPVi3vJT6YWI1NzA1NDAtZTQ3MS00OTNhLTljNjItZGY
2OTczYTRmNjJl&hl=en"
the jar of my patch (it consist of the
ksoap2-android-assembly-2.4-jar-with-dependencies.jar with added DataSoapObject
and substitued DataSerializationEnvelope)
Should you please apply the modification to the project?
Please, let me know if everything is ok.
Thank you
Original comment by [email protected]
on 6 Dec 2010 at 10:03
from ksoap2-android.
Hi!
I tried to apply your changes but found that they are not based off the latest
version in github and that the patch uses Java generics. Since this project is
still Java 1.3 compatible it will not build that way.
Please ensure that you base your patch off the latest version in github
(ideally create a clone and modify in your clone and then create a pull
request) and make sure that the project can actually be built.
Original comment by [email protected]
on 7 Dec 2010 at 5:19
from ksoap2-android.
Original comment by [email protected]
on 23 Mar 2011 at 6:38
- Changed state: Incomplete
from ksoap2-android.
Original comment by [email protected]
on 24 Mar 2011 at 5:04
- Changed state: AwaitingContribution
from ksoap2-android.
This should work now with a contribution from Andrew Oppenlander. See wiki and
latest github. Will make it into a 2.5.5 release.
Original comment by [email protected]
on 27 May 2011 at 4:55
- Added labels: Priority-Mediumr
- Removed labels: Priority-Medium
from ksoap2-android.
That's great!
Original comment by [email protected]
on 27 May 2011 at 4:58
from ksoap2-android.
It is however not this patch supplied by t.cim... sincethat never built. If you
want that added you will have to provide a working build in pull request or
patch..
Original comment by [email protected]
on 27 May 2011 at 5:02
from ksoap2-android.
Original comment by [email protected]
on 23 Aug 2011 at 5:12
- Changed state: Fixed
from ksoap2-android.
Please help me request a object to webservice?
this is webservice
POST /erptransactionservices/POS/WSOutputReceipt.asmx HTTP/1.1
Host: 115.78.131.151
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/AddClass"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<AddClass xmlns="http://tempuri.org/">
<objClass>
<ClassName>string</ClassName>
<Quantity>int</Quantity>
</objClass>
</AddClass>
</soap:Body>
</soap:Envelope>
Original comment by [email protected]
on 12 Dec 2011 at 8:22
from ksoap2-android.
Please post to the mailing list for question and read the documentation before
you ask for help.
Original comment by [email protected]
on 12 Dec 2011 at 6:13
from ksoap2-android.
Related Issues (20)
- Basic authentication fails on long username/password combinations.
- Casting Issue from soap object to custom class HOT 1
- BigDecimal does not serialize properly when sending out to as a webrequest. HOT 1
- handling of getPropertyCount get's wrong on classes for send AND receive
- Java version backward compatibility HOT 1
- StreamBody from WSDL via soap
- Option to not produce a SOAP Header on the request HOT 2
- java.io.EOFException : ReadasciiLine
- xmlpullparser not wrok HOT 3
- KPCS12 and Ksoap2
- Calling wcf service with wsHttpBinding thrown an exception when security is enabled in wcf service.
- red demo came on my tablet cant remove it HOT 1
- HttpsTransportSE completely ignores Proxy HOT 2
- envelope headerOut. headerIn function will crash on platform of hTC M8 with lollipop version HOT 10
- Improvement: Explicitly call "disconnect"
- EOF Exception Ksoap2-3.4.0 HOT 1
- NoSuchMethods on Lollipop 5.0.2 HTC
- Is there support to create WSDL stub code ?
- IOException no response no call just IOEXception HOT 2
- Вifferentiate timeout for read response and timeout for connection
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ksoap2-android.