|
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.
|
|
|
|
|
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
|
|
|
|
|
Hello,
I have a java program that runs/looks fine in windows however the "window" or the area of the screen containing the program remains small when viewing on a mac. The small size is causing fields to be truncated. For example part of the date of birth is not visible. I have googled the issue and noticed that users of yahoo games are having the same issue with java and macs.
The reason I posted this in the java forums is I was wondering if there is any java code I can include to force the window to expand on a mac? The mac I am testing this on has the Lion os and java version (well apple's version) 634.
Thank You for your help,
Vix
|
|
|
|
|
I believe you can detect the type of OS and VM by looking at the system variables.
Look at System.getenv() or System.getProperties(). Just enumerate through either list to see what is in there.
|
|
|
|
|
Following on from jschell's answer the values that will be most useful are
os.arch
os.name
os.version
which are returned by the System.getProperties() method.
|
|
|
|
|
how to make screen sharing in java
|
|
|
|
|
The simple answer is that you can't.
Java runs an an application so it doesn't have access to the 'screen'. It is possible to share the application with another application though.
One could do something with Java but it would require writing something in another language besides Java (like C++) and then have the java app interact with the C++ code. Although I suspect in such a case the java code itself might be only a small part of the overall solution.
|
|
|
|