|
|
<pre lang="xml"><apispec>
<api version="v1" name="findplaces" provider="ibm" />
<request type="json">
<uri path="/findplaces" mapping="/appengine/data/ibm/places">
[CDATA[List places of a city]]
</uri>
<queryparams>
<param name="country" mapping="/appengine/data/ibm/places/place[@country]">
[CDATA[Country is an attribute of place]]
</param>
<param name="city" mapping="/appengine/data/ibm/places/place[@city]">
[CDATA[City is an attribute of place]]
</param>
<param name="limit" mapping="limit">
[CDATA[Number of places to be returned]]
</param>
</queryparams>
</request>
<response type="json" deflimit="10">
<place name="/appengine/data/ibm/places/place[@name]" city="/appengine/data/ibm/places/place[@city]" country="/appengine/data/ibm/places/place[@country]" address="/appengine/data/ibm/places/place[@address]" zip="/appengine/data/ibm/places/place[@zip]">
<location lat="/appengine/data/ibm/places/place/location[@lat]" long="/appengine/data/ibm/places/place/location[@long]" />
</place>
</response>
</apispec></pre>
|
|
|
|
|
Please edit this remove the flag 'Treat my content as plain text, not as HTML'
Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
|
|
|
|
|
i need code what u replied, i didn't get
|
|
|
|
|
Your original message cannot be clearly read, so you will not get the help you want, edit it so the tags can be applied properly and make it easier for everyone to read.
Gaurav Sharma from Bangalore, India wrote: i need code
If you need code, then I advise you to write some. If you are having trouble then let us know where you have a problem and then we can help. CP is not here to do your [home]work for you.
Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
|
|
|
|
|
<apispec>
<api version="v1" name="findplaces" provider="ibm" />
<request type="json">
<uri path="/findplaces" mapping="/appengine/data/ibm/places">
[CDATA[List places of a city]]
</uri>
<queryparams>
<param name="country" mapping="/appengine/data/ibm/places/place[@country]">
[CDATA[Country is an attribute of place]]
</param>
<param name="city" mapping="/appengine/data/ibm/places/place[@city]">
[CDATA[City is an attribute of place]]
</param>
<param name="limit" mapping="limit">
[CDATA[Number of places to be returned]]
</param>
</queryparams>
</request>
<response type="json" deflimit="10">
<place name="/appengine/data/ibm/places/place[@name]" city="/appengine/data/ibm/places/place[@city]" country="/appengine/data/ibm/places/place[@country]" address="/appengine/data/ibm/places/place[@address]" zip="/appengine/data/ibm/places/place[@zip]">
<location lat="/appengine/data/ibm/places/place/location[@lat]" long="/appengine/data/ibm/places/place/location[@long]" />
</place>
</response>
</apispec>
|
|
|
|
|
What is the point of reposting the original which is still not correctly formatted? Use <pre> tags around your code block and explain excactly what your problem is.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
<pre lang="xml"><apispec>
<api version="v1" name="findplaces" provider="ibm" />
<request type="json">
<uri path="/findplaces" mapping="/appengine/data/ibm/places">
[CDATA[List places of a city]]
</uri>
<queryparams>
<param name="country" mapping="/appengine/data/ibm/places/place[@country]">
[CDATA[Country is an attribute of place]]
</param>
<param name="city" mapping="/appengine/data/ibm/places/place[@city]">
[CDATA[City is an attribute of place]]
</param>
<param name="limit" mapping="limit">
[CDATA[Number of places to be returned]]
</param>
</queryparams>
</request>
<response type="json" deflimit="10">
<place name="/appengine/data/ibm/places/place[@name]" city="/appengine/data/ibm/places/place[@city]" country="/appengine/data/ibm/places/place[@country]" address="/appengine/data/ibm/places/place[@address]" zip="/appengine/data/ibm/places/place[@zip]">
<location lat="/appengine/data/ibm/places/place/location[@lat]" long="/appengine/data/ibm/places/place/location[@long]" />
</place>
</response>
</apispec></pre>
Gaurav Sharma
|
|
|
|
|
Are you unable to understand the comments or suggestions you have been given? Please stop reposting the same dump and provide the information (properly formatted) that you have been asked for.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
OP has the 'treat as plain text' option on his post.
I have offered to help but he refuses to listen.
Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
|
|
|
|
|
Some people you can't help.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
<pre lang="text"><apispec>
<api version="v1" name="findplaces" provider="ibm" />
<request type="json">
<uri path="/findplaces" mapping="/appengine/data/ibm/places">
[CDATA[List places of a city]]
</uri>
<queryparams>
<param name="country" mapping="/appengine/data/ibm/places/place[@country]">
[CDATA[Country is an attribute of place]]
</param>
<param name="city" mapping="/appengine/data/ibm/places/place[@city]">
[CDATA[City is an attribute of place]]
</param>
<param name="limit" mapping="limit">
[CDATA[Number of places to be returned]]
</param>
</queryparams>
</request>
<response type="json" deflimit="10">
<place name="/appengine/data/ibm/places/place[@name]" city="/appengine/data/ibm/places/place[@city]" country="/appengine/data/ibm/places/place[@country]" address="/appengine/data/ibm/places/place[@address]" zip="/appengine/data/ibm/places/place[@zip]">
<location lat="/appengine/data/ibm/places/place/location[@lat]" long="/appengine/data/ibm/places/place/location[@long]" />
</place>
</response>
</apispec></pre>
|
|
|
|
|
|
Try one of these[^].
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
|
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
THAT already sounds false.
I guess you should think again and use another approach.
|
|
|
|
|
Need help in writing a java soap web service with soap header.
.net client should pass the user name and password in soap header to java web service.
on authentication the function should be accessible to .net client.
How can I achieve this please help me.
|
|
|
|
|
See here[^].
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Hello the standard RXTX (http://rxtx.qbang.org/[^]) communication library is not suitable because priory to occupying the specified port it lists all available ports is the system. This is time consuming because sometimes it delays up to 4 (four) minutes to list the ports.
Is there any other library which lets to assign (occupy) the specified port directly by giving its name without listing all the ports in the system?
|
|
|
|
|
The rxtx library code is available so you could always modify it. There might also be an option or execution path to avoid your problem area.
Here is another product (you pay money for) that I found after a short search.
http://serialio.com/products/serialport/serialport.php[^]
I am also curious what "sometimes" means? Does that mean on one computer this sometimes happens? Or that on many computers this sometimes happens?
|
|
|
|
|
jschell wrote: I am also curious what "sometimes" means? Does that mean on one computer this sometimes happens? Or that on many computers this sometimes happens?
No, it does not depends on computer but on ports. I had installed bluetooth which occupied few ports for which listing (identifying: more precisely an instruction
CommPortIdentifier.getPortIdentifiers(); ) RXTX took around four minutes. But when I uninstalled bluetooth and manually deleted (from Device Manager) the ports, the newly installed port for communication with my microcontroller could be identified "in a moment".
|
|
|
|
|
Kujtim Hyseni wrote: I had installed bluetooth which occupied few port
So it is the bluetooth discovery process itself which is taking a long time.
Presumably you only intend to eliminate the discovery process after the port is initially configured. Also presumably you only allow fixed ports because otherwise without the discovery confirmation your application will fail in unexpected ways if the port disappears.
|
|
|
|
|
i want to implement registration form which include unique id. when user enter email id in textbox after leave textbox automatic match that email id if this id is take by another user then give error to existing user.
like nik@gmail.com is save in database.
new user ABC enter Nik@gmail.com at that time give error without reload entire page.
how can Possible in java.
Nikunj Patel
|
|
|
|
|
You might want to consider what happens if the user wants to change their email address.
Other than that your basic conceptual model is.
1. Create database table to store email address
2. Choose one of the following options
a. Store email as is, then search using a 'lower case' SQL function.
That function will be specific to your database.
b. Lower case the email then store it.
None of the above has anything to do really with Java - but it is all possible in java as well as a number of other languages.
|
|
|
|