×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    2

    Get HTTP response code 400 when execute the Originating Application

    Hi,

    I've downloaded the OriginatingApplication sample from MMS Java Library 1.1 and changed only port no and ip address of MMSC server to my testing server then I compiled and run it, I found this error print out:

    java.io.IOException: Server returned HTTP response code: 400 for URL: http://100.200.300.400:5000 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:604)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:235)
    at com.nokia.mms.MMSender.send(MMSender.java:172)
    at com.nokia.mms.MMSender.send(MMSender.java:99)
    at OriginatingApp.<init>(OriginatingApp.java:37)
    at OriginatingApp.main(OriginatingApp.java:152)
    MMSenderException was caught
    com.nokia.mms.MMSenderException: Server returned HTTP response code: 400 for URL: http://100.200.300.400:5000
    at com.nokia.mms.MMSender.send(MMSender.java:214)
    at com.nokia.mms.MMSender.send(MMSender.java:99)
    at OriginatingApp.<init>(OriginatingApp.java:37)
    at OriginatingApp.main(OriginatingApp.java:152)

    anyone have any suggestion for this error message??

    Br,
    Saowanee

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Tampere, Finland
    Posts
    1,115

    RE: Get HTTP response code 400 when execute the Originating Application

    Hi,

    And your server has MMSC functionality???

    Best regards,
    V / Forum Nokia

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    2

    RE: Get HTTP response code 400 when execute the Originating Application

    Hi,

    I can solve this problem. Actually, I send a wrong format to the mmsc server.(by mistake) Thanks, anyway.

    Br.
    Saowanee

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×