[JBossWS] - Re: Specifying the server's URL in the client?
by EricJava
No one has any ideas on this?
Right now it looks like my options are either a) the client must fetch the WSDL every single time it makes a request, or b) the server's URL must be hard-coded in the WSDL file that is bundled with the client.
Neither of these are good. There's no reason at all for the client to keep on fetching the WSDL. If the WSDL were to change, the client wouldn't be able to work with it, because it wouldn't be able to process the interaction. So there's really no point in a client fetching the WSDL. But I don't want to hard-code the server URL in the bundled WSDL either.
Did Sun just not think of this? Imagine a client which makes frequent requests, like a chat client for example. This might make requests once per second or more. Did they really think that it would be good to keep on fetching the same WSDL over the net, once per second, when that file can never even change? The bandwidth on this hypothetical chat client would consist about 99% of the same WSDL transmitted over and over, and about 1% actual data.
I must be missing something. Can this possibly be correct?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128603#4128603
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128603
18 years, 2 months
[Beginners Corner] - Re: fileupload
by PeterJ
Yes, I meant upload. One of these days I will learn how to spell. Or type. Or just plain learn to keep my mind focused on the topic at hand instead of wandering off in 18 related and unrelated directions. (I have no hope whatsoever of achieving that final goal.)
I always assumed that that the file size would be made available before the file was transfered, but I could be wrong. I could write a quick test, but this is the week of JBossWorld and I expect to be busy all week with little keyboard time. But then you could easily test this yourself - try uploading a huge file and see what it takes to get the filesize. If it takes a long time and the available disk space was drastically reduced, or not, you have your answer. Then you can be the expert and tell us.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128594#4128594
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128594
18 years, 2 months