Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

kSoap and J2ME  RSS feed

 
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

My application J2ME would like get a buffer of bytes (encoded in base64) from my server in using KSOAP.
Is Anyone there in this forum to help me in giving me a source code to get the buffer (client side).

Thank you in advance.

Ould Nadif
 
Ould Nadif
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like change of question :

I developed a server(axis) that distribute web service. To begin I start with a simple programm that send "Hello Word" to my client. I tested it on my browser. And it seems that my web service works fine. Here is the result of my request "http://localhost:8080/axis/MyHelloWorldWS.jws?method=hello" from my browser:

<?xml version="1.0" encoding="UTF-8" ?>
- <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <soapenv:Body>
- <helloResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<helloReturn xsi:type="xsd:string">Hi World"</helloReturn>
</helloResponse>
</soapenv:Body>
</soapenv:Envelope>


Now I would like get "Hello Word" in my J2ME programm in using kSoap. Do you have code source to do it.

Thank you in advance for your help
 
incandescent light gives off an efficient form of heat. You must be THIS smart to ride this ride. Tiny ad:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!