This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes kSoap and J2ME Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "kSoap and J2ME" Watch "kSoap and J2ME" New topic
Author

kSoap and J2ME

Ould Nadif
Ranch Hand

Joined: Jan 21, 2004
Posts: 184
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


We are ones that build the world, thus build it well.
Ould Nadif
Ranch Hand

Joined: Jan 21, 2004
Posts: 184
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: kSoap and J2ME
 
Similar Threads
xml or soap for data transmission
http vs KSOAP
xml or soap for data transmission?
j2me/ksoap error
WSDL consumption