Search:

Type: Posts; User: weichsel

Search: Search took 0.10 seconds.

  1. Replies
    1
    Views
    1,648

    Problem with restful web services

    Hi all, Im having problems with this web services using restful on eclipse.

    When I use the debug the program start working fine, but when is going to create the socket (DatagramSocket socket = new...
  2. Replies
    13
    Views
    1,226

    Re: Problem with socket.receive

    I was using Hercules before
  3. Replies
    13
    Views
    1,226

    Re: Problem with socket.receive

    not really, I have to do it with the GPS, but I can give you the IP and port from the device in a PM.
  4. Replies
    13
    Views
    1,226

    Re: Problem with socket.receive

    did u test it? I continue with same problem :(
  5. Replies
    13
    Views
    1,226

    Re: Problem with socket.receive

    Im using hercules in another computer.

    You mean, copy the full text of the error?
  6. Replies
    13
    Views
    1,226

    Re: Problem with socket.receive

    the socket.receive(receivePacket); doesn't work, the application stop at this point. its important for me get the message but thats not working, i cant read the incomming message.

    I get this...
  7. Replies
    13
    Views
    1,226

    Re: Problem with socket.receive

    the device responds almost instantly. I think after 5sec.
  8. Replies
    13
    Views
    1,226

    Problem with socket.receive

    Hi, some days ago I posted about a web aplication for send and udp command to a GPS, now I can do it, but Im having a problen with the code for get the incomming messages just with socket.receive, I...
  9. Replies
    10
    Views
    4,169

    [SOLVED] Re: Send Hex data in a UDP frame

    I finnaly get it, i used this:



    HexBinaryAdapter adapter = new HexBinaryAdapter();
    byte[] bytes = adapter.unmarshal(data);


    with that i convert the hex data captured in the strin variable...
  10. Replies
    10
    Views
    4,169

    [SOLVED] Re: Send Hex data in a UDP frame

    cant get it. remember i just have 2 weeks using java and my english its not good.

    Can tell me more about that
  11. Replies
    10
    Views
    4,169

    [SOLVED] Re: Send Hex data in a UDP frame

    yes i have it in a string, i read command, after that i add 00010400 and in the next step i convert to hex the commands without change the first 8 characters, i save this in a string variable.
  12. Replies
    10
    Views
    4,169

    [SOLVED] Re: Send Hex data in a UDP frame

    idk how to it, can help me telling me what I need add to the java code. at this moment i have 0001044154 but idk how change it to {0x00, 0x01, 0x04, 0x00, 0x41, 0x54 }; and send it that the datagram...
  13. Replies
    10
    Views
    4,169

    [SOLVED] Re: Send Hex data in a UDP frame

    ok, done
  14. Replies
    10
    Views
    4,169

    [SOLVED] Send Hex data in a UDP frame

    Hi, Im trying to make a web aplication using servlet with Java Eclipse.

    I need send through a web aplication commands to a GPS, it only accepts hex frames by UDP, I have some code done, but it is...
  15. Replies
    11
    Views
    1,386

    Re: Help with a Java Web aplication

    Thats the problem, i dont know anything about Java. I dont have done anything.
  16. Replies
    11
    Views
    1,386

    Re: Help with a Java Web aplication

    exactly
  17. Replies
    11
    Views
    1,386

    Re: Help with a Java Web aplication

    Thats ok
  18. Replies
    11
    Views
    1,386

    Re: Help with a Java Web aplication

    These work like a normal connection, like a phone. The GPS have a public IP, and i decide the port that is going to have when i programm the GPS before being installed in a car.

    Just need send hex...
  19. Replies
    11
    Views
    1,386

    Re: Help with a Java Web aplication

    The GPS use GPRS, then Is possible send data by internet using UDP protocol.
    The Gps is installed in a car, and sending hex data by UDP is not important where the user is connected, can be in a...
  20. Replies
    11
    Views
    1,386

    Help with a Java Web aplication

    Hi all. I want to know if maybe anyone cant help me. Im so bad in Java, just I programm in C or Phyton, but I need make a web aplication for can send commands to a GPS (Skypatrol TT8750), just need 3...
Results 1 to 20 of 20