ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Does anybody out there know of web services available
for public use?
I have to knock up a SOAP client to talk to weblogic
and I would like to just netcat a SOAP request to a free
webservice just to get a feel of what's going on.
There's WL documentation but it's so dry and obfuscated
(to make itself look clever)
when as I understand(?) its a simple process.
A webservice and a nice example SOAP envelope would be nice
thanks very much, that's a very useful looking site.
There's loads of stuff out there but everyone is bigging themselves up
using marketing speak like "leveraging your legacy data api throughput procuctizing potential" when
I 'm sure you just squirt some XML at a port and read what comes back.
I suppose WebLogic is using Java as development platform. If so, I suggest you take a look at Apache Axis or Apache Soap or XFire to call the WebLogic Web Service.
Read a little bit about wsdl and about webservices calls and the rest should be easy.
1)You find the Wsdl file
2)You choose the api you want to use to create the webservice client
3)You create the webservice client and invoke the webservice and do what you have to do with the result of the code invocation.
Thanks paulsm4, I found some really swell stuff on the google code site.
They have some nice testable webservices to use and examples.
I was up and running the same day.
Thanks mrcheeks, i only just spotted your reply. I have got to the stage of
using netcat to directly squirt into google's webservice so I get
an understanding of how it works. This simple solution works too.
I will look into your suggestions, I have already
tried perl SOAP::Lite.
It seems strange how much I had to download from cpan just to squirt a tiny data
file into a port ?
I thought the idea was that it was supposed to be simple!
I thought I was crazy: the only person who hates XML.
(actually it's quite groovy when kept simple - AND THEN the marketing people tell
the bosses we need it, and jeez)
Cheers chris and seagull, probably not going to do to much more in the near future.
I worked myself a simple solution now that works ok without having to go through
the hassle of getting permission to install stuff on our production servers.
It's really so simple, using just netcat (i snuck that on ok though) just create the
http header and soap message and bang it off then read on stdout, simple so simple.
Why are there so many tools making it so complicated? search me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.