Re: SOAP-over-UDP
"Martin Gainty" <[email protected]> Sat, 28 May 2005 16:27:25 -0400
| Newsgroups | gmane.text.xml.soap.user |
|---|---|
| Message-ID | <[email protected]> |
Mark/Francesco I would caution on use of UDP as the SOAP Portocols (e.g. HTTP) is/are decidely not UDP but instead a connection-oriented TCP To date I have not seen UDP Ports used for SOAP transmission although since there is no requirement for verifiable connection and or handshakes I would venture to guess UDP is available as the transmission medium but I have not seen any UDP Ports used for SOAP thus far Anyone else ??? Ciao- Martin- ----- Original Message ----- From: "mdonaghue" <[email protected]> To: <[email protected]>; "'Francesco Munari'" <[email protected]> Sent: Saturday, May 28, 2005 3:14 PM Subject: RE: SOAP-over-UDP > Hi Franceso, > > I've worked briefly with the apache soap api, not that familiar with it. > Typically a soap message is sent to a single soap server address, which is > specified by a url or an ip address, as well as a port. So your server > address on the LAN might be something like 192.168.100.2:8080. (I'm not > sure > what the port is for UDDI, so just using standard TomCat Web Server port). > > IIRC, you there's a point at which you specify that address in the setup > for > your soap call. One thing you could try is to change the address to the > subnet's broadcast address, 255.255.255.0:8080, assuming a class c network > where the first 3 quads specify the network portion of the submask. > > However, this may not a scalable solution, since the broadcast wouldn't > carry beyond the physical subnet on which you are located. Using UDDI to > discover services is one thing, but dynamically discovering UDDI servers > is > obviously a different problem. It also doesn't address the issue of more > than one UDDI server running on the same subnet. > > A more generalized solution might involve a distributed ip lookup service, > namely DNS. For example when DNS looks up the ip address of Yahoo.com, at > some point the actual ip address that serves the request is dynamically > assigned to one of dozens (or hundreds) of servers based on a scheduling > scheme. You could locally enable DNS lookup, and create an entry based on > some url like "myuddpsever.com", and give it your local UDDI server's ip > address, and the rest would be handled within the network. The advantage > to > this is your UDDP server could be anywhere and your message would still > reach it. > > hth, > Mark > > > > > > -----Original Message----- > From: Francesco Munari [mailto:[email protected]] > Sent: Saturday, May 28, 2005 4:58 AM > To: [email protected] > Subject: SOAP-over-UDP > > Hi, I'm desperate! > I'm trying to find out how to send a broadcast SOAP request to a UDDI > registry in a LAN, but I'm not able to do this. I've looked for some > example but I've not found anithing. > > Please...could anybody help me? > I'm making a thesis for the University of Florence (Italy) and I have > to discovery dinamically web service published in some UDDI registry > somewhere in a LAN. I have to send a broadcast SOAP request to these > UDDI registry (as I wrote few lines above). > Of course I'm using Java language. > > Thank you very much for your help...I'm in a great hurry...thanks very > very much to everyone could help me! > > Best reguards, > > Francesco > >