Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Small SOAP Client?

 
Germano Rizzo
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a SOAP interface developed with the WS facility of the Knopflerfish OSGi container, and I have some thin clients that gathers data from it. My necessity is to keep the client as small as possible (ideally 100-200k), but using Axis 1.4 I have to include 1.7 Mb of libraries (notice that I can't use, for example, CXF because it doesn't like the WSDL format that KF produces - it's old, or something like this).

Is there a "lighter" way? A smaller library? I don't need anything too dynamic - just always the same calls to the exposed methods. Or could you give me a hint on how to write the "basic" http call, and parse the response?

Thanks for your attention, I searched the net for a long time, so I resolved to disturb you.

--Germano
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"germano",
Please check your private messages.
 
Germano Rizzo
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Changed. Sorry
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by germano:
Or could you give me a hint on how to write the "basic" http call, and parse the response?


This may give you some pointers:
Need Help with HTTP Request
of course you will have to replace the XML-RPC message with a SOAP message.

It may be a good idea to use TCPMon (Tutorial) to capture some valid requests and responses - to give you a template to work from and see any HTTP headers that you may need to set/process.

However Axis 1.4 includes a small saaj.jar which you may be able to use in isolation (you'll have to try it). With it you should be able to write a small SAAJ client.
 
Germano Rizzo
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Great! Many thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic