Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

kSoap and J2ME

 
Ould Nadif
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic