Programming This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
12-05-2006, 08:23 AM
|
#1
|
Senior Member
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,516
|
web services SOAP
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
|
|
|
12-06-2006, 02:46 PM
|
#2
|
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Rep:
|
Hi -
I'm not sure exactly what you're looking for ...
... but Google has lots of neat developer stuff.
Including (I'm sure) some very simple "hello world" type examples you can try out.
All SOAP, all Web-services based. You might want to take a look around here:
http://code.google.com/
Just a thought .. PSM
PS:
Please pardon the anachronistic and totally embarassing use of the adjective "neat" ;-)
|
|
|
12-07-2006, 04:55 AM
|
#3
|
Senior Member
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,516
Original Poster
|
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.
gets on my nerves it do
|
|
|
12-08-2006, 02:22 AM
|
#4
|
Senior Member
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690
Rep:
|
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.
|
|
|
12-08-2006, 05:25 AM
|
#5
|
Senior Member
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,516
Original Poster
|
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!
oh well, what do I know
|
|
|
12-08-2006, 06:31 AM
|
#6
|
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,793
|
Yeah, the idea is to have it simple
Have a look at this blog for a funny discussion around this "simplicity": http://wanderingbarque.com/noninters...ds-for-simple/
|
|
|
12-08-2006, 06:55 AM
|
#7
|
Senior Member
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,516
Original Poster
|
I like it Jilliagre.
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)
|
|
|
12-08-2006, 11:26 AM
|
#8
|
Member
Registered: Oct 2003
Location: Holland
Distribution: SuSE 10.0 SuSE 10.2
Posts: 70
Rep:
|
You may want to look at XINS
|
|
|
12-11-2006, 05:28 AM
|
#10
|
Senior Member
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,516
Original Poster
|
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.
|
|
|
All times are GMT -5. The time now is 09:16 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|