logo       

Re: Web services and J2ME: msg#00228

java.sun.kvm

Subject: Re: Web services and J2ME

Since you presumably know the finite set of SOAP methods you will be calling,
you can hard-code the request strings on the client-side, and just replace the
variables with your dynamic request data. You can approach the responses in the
same way- just do some basic sax XML parsing instead of worrying about the
whole SOAP structure.

Obviously, you will be losing the full power, flexibility, and architectural
integrity of using KSOAP (or a similar SOAP stack), but sometimes in this crazy
embedded world, you have to give that up in exchange for efficiency.

Regards,
Nathan

/***********************
* Nathanial X. Freitas
* Senior Manager, Java
* Palm, Inc.
* www.palm.com/java
************************/

-----Original Message-----
From: Emmanuel Dossetti [mailto:Emmanie@xxxxxxx]
Sent: Tuesday, September 30, 2003 9:36 AM
To: KVM-INTEREST@xxxxxxxxxxxx
Subject: [KVM-INTEREST] Web services and J2ME


Hello,

Here is our issue. We need to make our MIdlet communicate with one of our
customer's web services. The web service needs to get a SOAP request.
1) We could use KSoap on the MIdlet but it takes 35k and our application is
already pretty big, so I don't think we would able to stay under 64K (required
for most phones right now).
2) The other solution is to transform our Java request (output string) into
soap on the server side. The problem here is that they don't really want to
install Tomcat on their server. We could use our server as a gateway and then
call their server with the SOAP request but it seems it would add some latency
time and we would rather have everything on their server.

Does anybody have another idea? A way to create the SOAP request on their
server without having to use Tomcat?

Thank you

Emmanuel
=========================================================================== To
unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body of the
message "signoff KVM-INTEREST". For general help, send email to
listserv@xxxxxxxxxxxx and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@xxxxxxxxxxxx and include in the body of the message "help".



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise