This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Payload size  RSS feed

 
JeanLouis Marechaux
Ranch Hand
Posts: 906
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
From your experience, is there a limit size for the SOAP payload you recommand to keep in mind ?
I don't want to consider the network bandwidth here, but only the SOAP engine limitation (say Axis)
[ October 28, 2003: Message edited by: Jean-Louis Marechaux ]
 
JeanLouis Marechaux
Ranch Hand
Posts: 906
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hum, hum... Ranchers
Well, I'll try to explain further.
I've got a HUGE response to a soap message (say, 1 or 1.5 MB)
Imagine I'm able to transport it quickly from provider to consumer (which is not the case, but.. maybe compression will help)
Once the HUGE message is on the consumer side (say, Axis client), will Axis be able to parse it or not ? Have you ever tried that ??
[ October 29, 2003: Message edited by: Jean-Louis Marechaux ]
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think Axis will suffocate on a couple of megabytes of XML (although performance will obviously be less than with "1K" messages). Would it be possible to just write a test service, run a various number of simultaneous threads sending out those huge messages, and plotting response times/failure rates?
 
Howard Kushner
author
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Jean-Louis,
You have piqued my interest. How's come the message is so friggin' big? What the heck are you sending back? But seriously, I would like to try to reproduce your situation as I am WAY TOO MUCH into Web Services now. Give me a few details so I can try doing it. Sounds like fun!
Ok, I gotta say this, I seriously doubt that AXIS cares how big your envelope is, but you may have to pay additional postage!
[ October 31, 2003: Message edited by: Howard Kushner ]
 
JeanLouis Marechaux
Ranch Hand
Posts: 906
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lasse
Yes, I doubt it too, but....
Actually, my question was just to have some feebbackfrom you guys, as I know you do use Webservices in real life. But it is planned to perfom sme benchmark. I'll let you know if my test show some limitations..
Hey Lasse, I've got another question I'm sure you can answer to here
TIA
Howard
Yep, I know, 1 MB is kind of huge for a SOAP message. But the business requires it. Actually, we want to exchange XML documents between 2 business partners. Some of these documents cannot be sliced into small ones ( makes no sense on a business point of view)
So the problem I'm struggling with is the following:
I receive a request, process it, and create a XML response.
I have to send the response back as a XML document (SOAP DOC/LIT).
This response is so huge I'll probably have to compress it (but that's another debate...).
Once the response is received by the consumer (business partner), Axis will have to "parse it" I guess. That's the "parsing process" I fear a bit
BTW, I don't know into which variable Axis will arse the response 'cause nobody has answer to my other question here :-)
(With Apache Soap, it is transformed into a soap.w3c.dom.Element, is it the same with Axis)
 
Howard Kushner
author
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Fear not the parser!
And you probably don't have to sweat the compression either. Let the HTTP client and server do their magic. I presume you are using SOAP over HTTP but then again YMMV.
WRT yer other question, I don't use straight AXIS, I use the much cooler stuff provided by WebSphere, which extends the Apache stuff.
Hope this helps!
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Howard Kushner:
I use the much cooler stuff provided by WebSphere, which extends the Apache stuff.
Ok Howard, it's time to reveal all the nitty gritty details about what is it exactly that they've added
 
Howard Kushner
author
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,
I don't make the stuff... I'm just a user.
But I do have a couple of friends in the Raleigh and Toronto labs where the make WebSphere products.
To tell the truth, they don't pass around the source. You just get a bunch of awesome jar's.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was just wondering what makes you think the world of IBM's "improved" SOAP engine? Does it really show (and if it does, how)?
 
Howard Kushner
author
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay... you're forcing me to pony up...
So here's the short list:
  • JAX-RPC
  • JSR-109
  • SOAP over JMS
  • Security (including OASIS stuff: SOAP Message Security Draft 1.3, etc)
  • WS-I (Basic Profile 1.0)


  • Ta da!
    But it ain't exactly yer Apache SOAP any more... bein as how it is much more "Axis-esque".
    [ November 02, 2003: Message edited by: Howard Kushner ]
     
    Lasse Koskela
    author
    Sheriff
    Posts: 11962
    5
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Originally posted by Howard Kushner:
    So here's the short list:
  • JAX-RPC
  • JSR-109
  • SOAP over JMS
  • Security (including OASIS stuff: SOAP Message Security Draft 1.3, etc)
  • WS-I (Basic Profile 1.0)

  • As you said, it's more like Axis, which also supports JAX-RPC and SOAP over JMS. However, IBM is definitely leading in security features, JSR-109 and probably the interop stuff as well. Thanks.
    [ November 03, 2003: Message edited by: Lasse Koskela ]
     
    JeanLouis Marechaux
    Ranch Hand
    Posts: 906
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Thanks a lot Howard,
    Do you have any IBM official document we could consult about WebSphere 5.1 Web services improvements ??
    (I mean techDoc here, not commercial stuff)
    Kyle, if you are around here, maybe you could help us on that ??
     
    Howard Kushner
    author
    Ranch Hand
    Posts: 361
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Here ya go:
    http://www7b.software.ibm.com/wsdd/library/techarticles/0310_flurry/flurry1.html
    Cheers,
     
    JeanLouis Marechaux
    Ranch Hand
    Posts: 906
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Thanks a lot Howard.
    Your link gonna be very useful !
    I also found this one :
    WSAD 5. at a glance
     
    It is sorta covered in the JavaRanch Style Guide.
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!