Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
sports
Sep 1, 2012

Shaggar posted:

tbh I would love to see an evolution of soap that fixes a lot of stuff, but its still the best we've got for now.

you should use soap more often, i smell u thru the posts

Adbot
ADBOT LOVES YOU

tef
May 30, 2004

-> some l-system crap ->

git clone trooper posted:

torrent the web

replace all links with magnet links. know all the md5 hashes of your files in advance to link to them. never change anything.

how do you manage names? dns? i know let's use public key cryptography and now everyone hates you

Gazpacho
Jun 18, 2004

by Fluffdaddy
Slippery Tilde
The only problem that XHTML offered to solve was nerd frustration that nontechnicals could create and read web pages

Cocoa Crispies
Jul 20, 2001

Vehicular Manslaughter!

Pillbug

Shaggar posted:

that's because soap is not http only so it cannot rely on http features.

OBAMA BIN LinkedIn posted:

ever done soap over something other than http? good fun

Shaggar posted:

lol no of course not
soap is the equivalent of getting a lifted wrangler with mud tires to drive around manhattan, yagni supremacy, rest über alles

tef
May 30, 2004

-> some l-system crap ->

Shaggar posted:

that's because soap is not http only so it cannot rely on http features.

wsdl publishing should deffo be a spec requirement, tho

this is like refusing to use page numbers when you print on paper because the document has to be read on screen too.

http has headers. soap could use the http headers instead of smuggling them inside the xml data. http uses urls. soap could use urls to distinguish between objects and their methods. http has caching and safe and unsafe methods, but soap doesn't really have this idea that functions might be idempotent or cacheable (really useful when you're on a network!) so we'll give that a miss for now.

if you did this, soap parsing would be faster without having to resort to custom stream parsers, and your http middleware could actually do something useful.

that, or just put soap over websockets and get it over with

Nomnom Cookie
Aug 30, 2009



tef posted:


that, or just put soap over websockets and get it over with

Yesssssss

Shaggar
Apr 26, 2006

tef posted:

this is like refusing to use page numbers when you print on paper because the document has to be read on screen too.

http has headers. soap could use the http headers instead of smuggling them inside the xml data. http uses urls. soap could use urls to distinguish between objects and their methods. http has caching and safe and unsafe methods, but soap doesn't really have this idea that functions might be idempotent or cacheable (really useful when you're on a network!) so we'll give that a miss for now.

if you did this, soap parsing would be faster without having to resort to custom stream parsers, and your http middleware could actually do something useful.

that, or just put soap over websockets and get it over with

soap already parses fast and moving half of it to http isn't gonna make it faster. it would probably be much slower since now you have 2 separate modules that have to handle different components and then send them to the application instead of the one. also nothing is preventing you from using http stuff for soap right now, its just that it goes against the goals of soap. but you do can do caching and stuff if you really wanted to.

JawnV6
Jul 4, 2004

So hot ...

Shaggar posted:

it would probably be much slower since now you have 2 separate modules

yes


now

X-BUM-RAIDER-X
May 7, 2008
isn't transport protocol independence the entire point of soap and web service standards? seems a bit dumb and pointless to suddenly decide to tie it back to http....

Cocoa Crispies
Jul 20, 2001

Vehicular Manslaughter!

Pillbug

Shaggar posted:

soap already parses fast and moving half of it to http isn't gonna make it faster.

you can parse http headers faster tahn you can parse xml, it's a regular language


Shaggar posted:

it would probably be much slower since now you have 2 separate modules that have to handle different components and then send them to the application instead of the one.

oh yeah i didn't consider how slow java is

Plastic Snake
Mar 2, 2005
For Halloween or scaring people.
http://www.networkworld.com/news/2013/011713-java-spring-framework-265923.html

good thing nobody uses a p lang like java for anything important right

spongeh
Mar 22, 2009

BREADAGRAM OF PROTECTION
java is the original p-lang, honestly.

Cocoa Crispies
Jul 20, 2001

Vehicular Manslaughter!

Pillbug

spongeh posted:

java is the original p-lang, honestly.

lol that's an insult to p-langs

Perl code:
print "Hello World\n";
Python code:
print "Hello World"
Ruby code:
puts "Hello World"
Java code:
public class java {
	public static void main(String[] args) {
		System.out.println("Hello World");
	}
}

Toady
Jan 12, 2009

drat java really sucks in that real world example, BÄm!

Nomnom Cookie
Aug 30, 2009



spongeh posted:

java is the original p-lang, honestly.

U can tell what a java program does w/out running it which disqualifies it as a p-Lang

X-BUM-RAIDER-X
May 7, 2008

Cocoa Crispies posted:

Java code:
public class Java {
	public static void main(String[] args) {
		System.out.println("Hello World");
	}
}

ftfu

Notorious b.s.d.
Jan 25, 2003

by Reene

Zombywuf posted:

Lol no, that stuff about enterprise coding above, that was my experience in dealing with EDI over XML over SOAP. It was ok though, they base64 encoded the security sensitive bits.

Even trawling through the tree resulting from the XML parsing stage was a hassle. Raw EDI would have been easier.

if raw, unadulterated ansi x.12 edi is the solution to your problem

then we won't need eyes where you're going

actual x.12 implementor pictured

seriously, though, if you think raw x.12 is better, you have never used it
nightmare fuel
imagine event horizon as your office
every day
forever

Notorious b.s.d.
Jan 25, 2003

by Reene
it dawned on me just now that while i call myself a cj, i have more experience as a developer than like half this thread

respect your cjs, folks

you don't know where we've been

Notorious b.s.d.
Jan 25, 2003

by Reene

Shaggar posted:

the web would be 1000x better if only xhtml existed.

until this thread, i never knew how much i agreed with shaggar about everything*







*except p-langs

Zombywuf
Mar 29, 2008

Notorious b.s.d. posted:

if raw, unadulterated ansi x.12 edi is the solution to your problem

then we won't need eyes where you're going

actual x.12 implementor pictured

seriously, though, if you think raw x.12 is better, you have never used it
nightmare fuel
imagine event horizon as your office
every day
forever

So somehow base64 encoding bits of it and putting it between <webservice> and </webservice> makes it better?

qntm
Jun 17, 2009

tef posted:

this is like refusing to use page numbers when you print on paper because the document has to be read on screen too.

http has headers. soap could use the http headers instead of smuggling them inside the xml data. http uses urls. soap could use urls to distinguish between objects and their methods. http has caching and safe and unsafe methods, but soap doesn't really have this idea that functions might be idempotent or cacheable (really useful when you're on a network!) so we'll give that a miss for now.

if you did this, soap parsing would be faster without having to resort to custom stream parsers, and your http middleware could actually do something useful.

that, or just put soap over websockets and get it over with

soap over jms is actually a thing

tef
May 30, 2004

-> some l-system crap ->
you can improve the http mapping without changing soap semantics is this a concept so hard to grab

qntm
Jun 17, 2009
but but my transport agnosticism

Catalyst-proof
May 11, 2011

better waste some time with you
who cares if your bullshit only really works over http

just be happy it works at all you know

tef
May 30, 2004

-> some l-system crap ->

qntm posted:

but but my transport agnosticism

is completely unaffected

Notorious b.s.d.
Jan 25, 2003

by Reene

Zombywuf posted:

So somehow base64 encoding bits of it and putting it between <webservice> and </webservice> makes it better?

yes, that is honestly better. even if you have to parse ansi x.12 again at the end, at least you had a reliable transport (http over tcp) as opposed to ftp or as2

edit: a reasonable human, however, would just use CXML/xCBL. base64-encoding x.12 inside xml seems kinda dumb except for the reliable transport thing

X-BUM-RAIDER-X
May 7, 2008

qntm posted:

soap over jms is actually a thing

i done this during my masters and it's cool as heck

X-BUM-RAIDER-X
May 7, 2008
to be fair though i don't know poo poo about web services, i just know it's easy as hell to do with maven and apache cxf

Cocoa Crispies
Jul 20, 2001

Vehicular Manslaughter!

Pillbug

Notorious b.s.d. posted:

yes, that is honestly better. even if you have to parse ansi x.12 again at the end, at least you had a reliable transport (http over tcp) as opposed to ftp or as2

why not just not put the xml poo poo around it and use http over tcp instead of xml over http over tcp

rotor
Jun 11, 2001

classic case of pineapple derangement syndrome
like eight loving pages later and you chumps are still arguing with shagger about xml and soap

Max Facetime
Apr 18, 2009

rotor, please reveal us the ancient secrets to correctly measuring code quality

Blotto Skorzany
Nov 7, 2008

He's a PSoC, loose and runnin'
came the whisper from each lip
And he's here to do some business with
the bad ADC on his chip
bad ADC on his chiiiiip

rotor posted:

like eight loving pages later and you chumps are still arguing with shagger about xml and soap

what did you expect?

jooky
Jan 15, 2003

rotor posted:

like eight loving pages later and you chumps are still arguing with shagger about xml and soap

lets mayhaps change the topic to source control ?

Cocoa Crispies
Jul 20, 2001

Vehicular Manslaughter!

Pillbug

rotor posted:

like eight loving pages later and you chumps are still arguing with shagger about xml and soap

not our fault you can't program java without xml and soap

PleasingFungus
Oct 10, 2012
idiot asshole bitch who should fuck off

jooky posted:

lets mayhaps change the topic to source control ?

git

though mercurial has a turtle so that's a point in its favor

rotor
Jun 11, 2001

classic case of pineapple derangement syndrome

Win8 Hetro Experie posted:

rotor, please reveal us the ancient secrets to correctly measuring code quality

did you get paid for writing it? then its good code.

rotor
Jun 11, 2001

classic case of pineapple derangement syndrome
git is fine for when you're working with lots of geographically separated people who either can't get or can't afford decent internet connections.

so basically foreigners and poors.

rotor
Jun 11, 2001

classic case of pineapple derangement syndrome
github is a nice thing, but overall svn is a simpler, better tool imo

Cocoa Crispies
Jul 20, 2001

Vehicular Manslaughter!

Pillbug
svn seems simpler but that simplicity means it can get hosed really quick and if i god paid $100 for every hour i spent fixing svn servers

oh wait i did

Adbot
ADBOT LOVES YOU

rotor
Jun 11, 2001

classic case of pineapple derangement syndrome
I've administered several and have never had an issue. how did they get hosed

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply