UDPDatagramConnection receive() problem

Hi,
I have a very simple server running on the TC65 terminal. It just accepts udp datagrams and processes them. But for some reason when I call the receive method on the UDPDatagramConnection class it throws an exception.
Hit caught exception java.io.IOException, in class com.sun.midp.io.j2me.datagram.Protocol
As far as I can see this method should block until it receives a datagram from a client. Here is my code;
String url = "datagram://:7988;bearer_type=gprs;access_point=access;username=username;password=password;timeout=40";
UDPDatagramConnection connection = (UDPDatagramConnection)Connector.open(url);
Datagram datagram = connection.newDatagram(MAX_SIZE);
connection.receive(datagram);
String test = datagram.readUTF();
Any help would be greatly appreciated. Thanks in advance.
sunethpr

Yep, I double checked. The message I see is given by
the debugger. Its not given by the code. I'm still
open for any suggestions.Have you tested TCP/ip with the same gprs settings?
I would appreciate if you can point me to
document/post that explains how to setup the
System.out for the TC65 terminal.I can't help you with that I fear. We don't have the terminal, just our own hardware. But I guess it should be as simple as connecting of of the terminal ports to hyperterminal, selecting 115200 kbps, and opening the comm port.

Similar Messages

  • FTP receiver problem

    Hello,
    I have read lots of threads for FTP receiver problems wiht overwriting files....
    But I am not sure which is the correct solution.
    We have:
    - Cluster (6nodes), PI711  (SP03)
    - a time stamp shoudl be in the file name
    - there is dynamice filename, because first char of the filename must be set from mapping
    - each mesasge must be put in a single file (not APPEND mode)
    After few test it seems that files are overwriten.
    I tried ADD MESSAGEID, which seems to work correctly, but with dynamic filenametimestampmsgid the filename is to long for the next application.
    I saw in a note, that the cluster can be the problem....
    Any idea how I can solve my problem?
    Does "use temporaly filename" help?
    How is it used correctly????
    best reagrds
    Werner

    Hi Werner,
    In Processing Parameters tab, keep the file construction mode as "Add timestamp" and in the Putfile use" Use Temporary file". This should help you...
    Refer the below link regarding Configuring the Receiver FTP Adapter 
    http://help.sap.com/saphelp_nwpi711/helpdata/en/44/69d7cfa4b633eae10000000a1553f6/content.htm
    Thanks,

  • Nokia 112 Signal Receiver Problem

    I am Using Nokia 112 (New Mobile).So many time tower is getting hide..And automatically tower is coming.In main cities also this problem is coming.I have cleaned my sim then inserted.But till that problem is coming.Actually Nokia 112 Having this type of Signal Receiver Problem? For new mobile i want to service?

    You may try another SIM (borrow from your friends / family members) . Preferably you may try SIMs from different operators. This will tell you whether its the problem with your Phone, your Operator or your particular SIM. If all SIMs give same result, it may be an issue with the phone..If other Operators SIM work fine but the other SIM from the same Operator as yours do not then its Network issue. If all othe SIMs work then get your SIM repalced ..           

  • Exchange 2013 - Mail receive problem -Help!

    Exchange 2013 SP1 -fresh install -test environment with one test mailbox setup in addition to the Administrator account. Using default Receive Connectors and it is set for Anonymous. Using OWA and Outlook 2010 for testing.
    We can send/receive mail INTERNALLY in both Outlook & OWA between our test user and the Administrator user.
    We can send mail externally from both accounts.
    We are not receiving mail into the Inbox of either OWA or Outlook.
    We are not seeing any authentication issues with Outlook -always shows connected to Exchange. But if we have same problem in OWA then we are just testing with it for now.
    We ran the Microsoft Connectivity Analyzer for both Inbound and Outbound SMTP and it passed with no errors/warnings L
    We did NSLOOKUP, from a Command prompt at the server wtith this result -not sure why it shows server as unknown?:

    Thank you for replying. Yes the mailbox is at Time Warner and I can use their webmail interface and see the messages I sent to the test user are there.
    No, our domain name is companyname.com  (if you need the actual name..I am not sure if I should send it to you?) and we use
    [email protected] for email.
    Our external A records and MX records are at Network solutions and that is posted here-- but decided to start another thread with more concise information as I learned of it:
    http://social.technet.microsoft.com/Forums/office/en-US/0b18e928-0207-4ab9-bc12-c00a75088bdc/new-deployment-outlook-can-send-but-not-receiving-messages?forum=exchangesvrsecuremessaging
    When I do NSLOOKUP of our domain I get just the two MX records at Time Warner. Not anything with our actual domain name for email in it. I just added the A records for mail.companyname.com and autodiscover at Network Solutions yesterday...but though those
    were only for use externally for OWA, ActiveSync, etc
    Note we do not use Split-DNS on our internal domain either. Our AD name is different than our public domain name - The AD is named with a subdomain: qs.companyname.com
    Lastly, I did not create an MX record at network solutions for mail.domainname.com. Should I do that and set it to a higher priority?

  • SOAP receiver problems

    Hi Folks,
    I am sending data to the webservice using SOAP receiver. In the runtime workbench I can see the message as successfull, but the end user is claiming that , he didn't get the data from XI.
    What could be the possible reason for this?
    Where might the message lost?
    And for one message which is using SOAP receiver as communication channel , In the audit log I can see the steps as below:
    SOAP: request message entering the adapter with user J2EE_GUEST
    SOAP: completed the processing
    SOAP: continuing to response message
    SOAP: sending a delivery ack
    SOAP: sent a delivery ack
    The message was successfully delivered to the application using connection SOAP_http://sap.com/xi/XI/System.
    MP: Leaving module processor
    The message status set to DLVD.
    For other message I can see the log as :
    SOAP: request message entering the adapter with user J2EE_GUEST
    SOAP: completed the processing
    SOAP: continuing to response message
    SOAP: sending a delivery ack ...
    SOAP: sent a delivery ack
    MP: Leaving module processor
    The message was successfully delivered to the application using connection SOAP_http://sap.com/xi/XI/System.
    The message status set to DLVD.
    Both are using same communication channel. still u can see the difference in the steps that are exicuted (check leaving module processer line in both).
    Is it mandatory that the series of steps should be same for all the messages?
    I have 2 queries, please answer both......
    Thanks SPMD

    HI
    As a first test , import the wsdl shared by third party  in soap uI/MS infopath/xml spy , fill in the test data (preferably same which you are trying to post now) and do a test :- doing this you will get to know if there is any problem in the WS iteslf. if you get http 200 ok then posting happened and ask the third party to check if they got any request.
    If you have sync soap then you will be getting the desired response back to soap ui .
    Also check if you need to put soap action also check the content type if its text/xml or app/xml  some WS dont accept App/xml u may need to use message transformation bean in modules tab.
    if there is any connectivity at ntwrk level then please try  if you can trouble shoot using this blog
    /people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi
    Regards
    $rinivas

  • SOAP Receiver problem

    Hi everyone.
    I'm facing a new problem with SOAP Receiver adapter.
    We have an WSDL that works perfectly using SOAP Clients such as SOAPUI or StylusStudio. End-point is HTTPS://XXXXX:XXX/XXXXX
    WSDL is like this :
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <!--  Call Adapter
      -->
    <tes:registraEntrada0Request xmlns:tes="http://testing.com" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
      <asu_id>SIO7</asu_id>
      <asu_descripcion>desc</asu_descripcion>
      <uo_id>1272</uo_id>
      <nombre>nombre</nombre>
      <ape1>ape1</ape1>
      <ape2>ape2</ape2>
      <usu_id>virtualdesa</usu_id>
      <usu_pass>virtualdesa</usu_pass>
    </tes:registraEntrada0Request>
    Problem is when i try to use this webservice from XI using a SOAP Receiver communication channel. I get a strange error :
    soap fault: No Deserializer found to deserialize a ':asu_id' using encoding style 'null'. [java.lang.IllegalArgumentException]
    I don't know if the problem is because HTTPS. All the process has been defined correctly in XI and my doubt is about the configuration of the RECEIVER SOAP or the WSDL structure.
    Hope you can help me
    Regards,
    Inigo.

    hi,
    check out response by Ricardo,
    Re: Error in Receiver Soap Adapter for Google API
    maybe you need to fill some attributes in an adapter module like mentioned there
    Regards,
    michal

  • IDOC Receiver problem with 7.11 and ECC6

    Hello,
    we have a IDOC_2_IDOC scenario on old XI system which worked fine.
    We are moving now to PI7.11 and get the problem, that all IDOCs in the receiving ECC6 system
    go to status 51 "No status record was passed to ALE by the application"
    It seems to be a problem of processing of too many IDOCs at the same time,
    because if there is enought ime between the IDOCs the the procsing in ECC6 works.
    Only if too many IDOCs are sent from PI to ECC6 then I get this error.
    I have checked aRFC and tRFC options in SM59 but there is no difference.
    IDOC packing is not activated on sending system and on PI.
    At the moment the scenario should work as is worked on 7.0......
    Any ideas which setting is different or where to look?
    best regards
    Werner

    Hello,
    which ALE settings do you mean???
    on PI or receiving ECC6
    PI:
    here we only use SM59, IDX1, IDX2.... for IDOC adapter
    ECC6: only partner profile INBOUND PARAMETER
    On the sending R/3 system I can not change something.....and there was no change.
    best regards
    Werner

  • SOAP receiver problem to configurate a soaplite WS

    Hello,
    I have the problem to connect a web service of an partner which is wrote in perl and uses the soap:lite implementation.
    Here is the code the partner have send to me:
    Simple Web Interface = http://rico1.orionwt.co.uk/cgi/whXMLLoad.pl
    XML Interface = <See sample Perl script
    #!/usr/bin/perl
    use SOAP::Lite;
    Get Args
    my $User = $ARGV[0];
    my $Pass = $ARGV[1];
    my $File = $ARGV[2];
    my ($XmlBuffer, $Line);
    open (XML, $File);
    while ($Line = <XML>) {
    $XmlBuffer .= $Line;
    close (XML);
    my $service = SOAP::Lite -> uri('urn:Orion::warehouse::whXMLFuncs')
    ->
    proxy('http://rico1.orionwt.co.uk/cgi/warehouse/whOrionXML.pl');
    my $result = $service -> ProcXML($XmlBuffer) -> result();
    if (! $result) {
    print "No XML result detected\n";
    } else {
    print "XML result detected \n$result\n";
    sub SOAP::Transport::HTTP::Client::get_basic_credentials{
    return $User => $Pass;
    >
    Have anyone an idea, if and how I can configurate this web service with the SAP XI SOAP Adapter?
    Or isn't it possibly to configure this service, or generally soaplite services, with the SOAP adapter?

    hi,
    check out response by Ricardo,
    Re: Error in Receiver Soap Adapter for Google API
    maybe you need to fill some attributes in an adapter module like mentioned there
    Regards,
    michal

  • BPM Synchronous Receive Problem.

    I have a following scenario
    Outbound Interface : Send Message to through SysA BPM.
    BPM :
    Receive Message ( Synchronosuly )
        This opens Sync/Async Bridge.
    Transofroms
    Send Message to Other Sys ( Sync)
    Close of Sync/Async bridge.
    I have defined the receive Determination and Intefrace Determination (but no agreement as not needed)
    The receiver agreement for BPM looks like below
    Sender : SysA
    Receiver : BPMProcess.
    Interface Determination looks as below
    Sender Interface : SenderInterface.
    Receiver Interface : Abastract Sync Interface (BPM)
    There is no interface mapping.
    When I post the message on Outbound Interface it complains NO_RECEIVER_CASE_BE:
    which suggest that there is no Receiver Determination.
    I am not sure where I am missing the configuration.Any pointer would be greatly appreicated.
    Thanks
    Samir

    Thanks for response.The problem is in receiving message by BPM not the sending message out of BPM.
    As explained in the scenario BPM is configured to recieve the message synchronously (Opens Sync/Async Bridge) and then does some logic to split the message and send each one to different sys ( synchronously) and then closes the bridge.
    The problem is when the message is sent from outbound Inteface ( exposed as WebService) the receiver BPM is not getting it.
    I have configured the recevier determination and Interface determination which looks like below.
    Interface Determination:
       Sender : SenderSys
       Interface : OutBoundInterface_Message (Sync , outbound)
       Reciver:  : BPM
       Interface : BPM_Interface ( Sync, abastract)
    Receiver Determination:
       Sender : SenderSys
       Interface : OutBoundInterface_Message
    Inbound Recives: BPM
    But when I try to post the message on OutBoundInterface which actually should have received by BPM it complains the following:
        NO_RECEIVER_CASE_BE:
    Hope this explains my problem more clear.

  • HTTP receiver problem

    hi all,
    though some of u replied to my previous post regarding http receiver, i'm unable to find a solution for it....so if possible please send me a few snapshots of how a HTTP receiver is configured and a sample jsp program for accesing the payload sent by xi......
    the scenario is http>xi->http..the thing is
    1)xi gets the input from a web page..this is successfully done.
    2)xi does the mapping...this is also successfully done..
    3)xi send the mapping result to the http adapter.....problem with configuration i think...i want xi to send the payload to http://sysname:port/virtual-dir/x.jsp .... when it is the case i get some no-mapping error......and i would like to know in what parameter name the payload is fixed in the query string to that url so that i could get it in jsp page a request.getParameter("parametername")......
    please do help me in it..i'm struck with it for a long time........thanks in advance...

    Hi SPS,
      Check this link
    /message/654739#654739 [original link is broken]
    code attached here
    sample html code
    <html>
    <script type="text/javascript">;
    <!--
    function button1_onclick() {
    var result = "Result: ";
    var payload = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>";
    // escape "http://"
    var senderNamespace = escape(document.MessageParameters.SenderNamespace.value);
    var reqString = "http://"
    reqString = reqString + document.MessageParameters.Server.value+":";
    reqString = reqString + document.MessageParameters.Port.value + "/sap/xi/adapter_plain?";
    reqString = reqString + "namespace=" + senderNamespace;
    reqString = reqString + "&interface=" + document.MessageParameters.SenderInterface.value;
    reqString = reqString + "&service=" + document.MessageParameters.SenderService.value;
    reqString = reqString + "&party=" + document.MessageParameters.SenderParty.value;
    reqString = reqString + "&agency=" + document.MessageParameters.SenderAgency.value;
    reqString = reqString + "&scheme=" + document.MessageParameters.SenderScheme.value;
    reqString = reqString + "&QOS=" + document.MessageParameters.Qos.value;
    reqString = reqString + "&sap-user=xiappluser&sap-password=xipass";
    reqString = reqString + "&sap-client=" + document.MessageParameters.Client.value + "&sap-language=D";
    var xhttp = new ActiveXObject("msxml2.xmlhttp");
    xhttp.open ("POST", reqString, false);
    if (document.MessageParameters.Source[0].checked == true) {
    payload = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?> "+ document.MessageParameters.xmlData.value;
    xhttp.send (payload);
    else{
    var xmlDoc = new ActiveXObject("microsoft.xmldom");
    xmlDoc.async=false;
    xmlDoc.load (document.MessageParameters.xmlFile.value);
    xhttp.send (xmlDoc);
    result = result + "\n" + xhttp.responseText;
    xhttp.close;
    document.MessageParameters.response.value=result;
    //-->
    </script>
    <head></head>
    <body>
    <h3>Client Http Adapter </h3>
    <form name="MessageParameters">
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
    <h4>Header</h4>
    <tbody>
    <tr>
    <td width="10%"><label>ServerHost</label> </td>
    <td width="22%">
    <input type="text" id="host" name="Server"
    value="sapcoe01" size="20" /> </td>
    <td width="10%"><label>ServerPort</label> </td>
    <td width="22%"><input type="text" id="port" name="Port" value="8000" size="10" /> </td>
    </tr>
    <tr>
    <td width="10%">Client</td>
    <td width="22%">
    <input type="text" id="client" name="Client"
    value="020" size="3" /></td>
    <td width="10%"> </td>
    <td width="22%"> </td>
    </tr>
    <tr>
    <td width="10%"><label>SenderService</label> </td>
    <td width="22%"><input type="text" id="senderService"
    name="SenderService" value="TravelAgencyCS" size="40" /> </td>
    <td width="10%">QOS</td>
    <td width="22%"><input type="text" id="qos" name="Qos" value="EO" size="4" /> </td>
    </tr>
    <tr>
    <td width="10%"><label>SenderInterface</label> </td>
    <td width="22%"><input type="text" id="senderInterface"
    name="SenderInterface" value="BookingOrdersOut" size="40" /> </td>
    <td width="10%"><label>SenderNamespace</label> </td>
    <td width="22%">
    <input type="text" id="senderNamespace"
    name="SenderNamespace" value="http://sap.com/xi/rkt/CaseStudy/group99"
    size="40" /></td>
    </tr>
    </tbody>
    </table>
    &#160;
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
    <h4>Optional Parameters</h4>
    <tbody>
    <tr>
    <td width="10%">SenderParty</td>
    <td width="22%"><input type="text" id="senderParty" name="SenderParty"
    size="40" /> </td>
    </tr>
    <tr>
    <td width="10%">SenderAgency</td>
    <td width="22%"><input type="text" id="senderAgency" name="SenderAgency"
    size="40" /> </td>
    <td width="10%">SenderScheme</td>
    <td width="22%"><input type="text" id="senderScheme" name="SenderScheme"
    size="40" /> </td>
    </tr>
    </tbody>
    </table>
    &#160;
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
    <h4>Payload</h4>
    <tbody>
    <tr>
    <fieldset style="padding: 2">
    <td width="50%"><input type="radio" name="Source" value="Textarea" checked="checked" />Type in XML</td>
    <td width="50%"><input type="radio" name="Source" value="File" />Upload File</td>
    </fieldset>
    </tr>
    <tr>
    <td width="50%"><textarea name="xmlData" rows="10" cols="60">&lt;a&gt;test&lt;/a&gt;</textarea></td>
    <td width="50%"><input type="file" name="xmlFile" size="40" /> </td>
    </tr>
    </tbody>
    </table>
    <p>
    <input type="button" value="Send" id="button1" name="button1" LANGUAGE="javascript" onclick="button1_onclick()" />
    </p>
    <hr />
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
    <h4>Result</h4>
    <tbody>
    <tr>
    <td width="50%"><textarea name="response" rows="5" cols="60"></textarea></td>
    </tr>
    </tbody>
    </table>
    </form>
    </body>
    </html>
    the code in that uses an Active X object, but if you can align your JSP code to receive the response in similar way, then probably your prob is solved,
    Best of luck
    Regards
    Vishnu

  • WEB SMS receiving problem. Please, give me some help.

    Hi, i´m having a problem with web sms receiving. I receive sms from another cellphones but i cant receive the web sms. Is there a fix for this?
    I have a lot of services that send me web sms, like internet banking and others, so i cant use my services because my iphone cant receive this sms from web.

    The code is too complex, so I can put all code at here. sorry.
    The logic is:
    a frame has a JDialog object,and show the JDialog object if need,all controls were added to the JDialog in the function jbInit() when the JDialog object was created.
    The point that I want to know is what reasons may cause the problem.
    thank so very much.
    masstensor
    //--------------->> some code fragment
    class MyDialog extens JDialog {
    JPanel myPanel = new JPanel();
    JButton myButton = new JButton();
    public MyDialog() {
    super(frame, title, false);
    try {
    jbInit();
    pack();
    catch(Exception ex) {
    ex.printStackTrace();
    void jbInit() throws Exception {
    myPanel.setLayout(null);
    getContentPane().add(myPanel);
    myPanel.add(myButton, null);
    }

  • Email receiving problems

    Hi,
    I am having Emails receving problems with my BB 8320 Curve. Somehow I can not receving no emails from no emails accounts, but I can send them with out problem. As I noticed I get on my oldest BB device a email notification after I registered on BB Internet Service, I get an notification for service book. Here on this new one, I do not get anything, simply the mail seams like it is registered, I can sending emails, but I can not recive anything.
    I bought this BB from second hand and was bought in T - mobile somewhere.
    If somebody is knowing anything, I will appreciate this a lot.
    Thank's.
    Boštjan (Slovenia)
    Solved!
    Go to Solution.

    Hi and welcome to the forums!
    Do you have a data plan from your carrier?
    Can you use the internet?
    Send a PIN message to your self, if your don't receive it you do not have a
    data plan, or the carrier had not correctly provisoned it.
    Let us know,
    Thanks,
    Please remember to resolve your thread. Put the check mark in the green box that contained your answer! Thanks  
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • Socket data send-receive problem

    I hv J2ME client application and vb.net socket server application communicating over sockets. Client connection is made successfully but cant send data to server. When I exit from client application then server application receives those data. (application works pretty fine on emulator but on real device gives above problem)
    WTK Sample application gives same problem when I tried.
    Any idea abt this problem ? gr8 ful if u have some working code.

    yeah your idea works..
    I hv used flush() method and now it works (Live on Nokia E62) nicely.
    But to keep connection opened during whole application I dont close InputStream/OutputStream connection. I close it only at EXIT of application so that I get optimum performace in transactions.

  • Another send and receive problem

    We have three accounts setup on our iMac. Mine, my wife, and our children.
    My account and the kids have no problem sending or recieving email. But my wife can only send and receive emails hit and miss. We are all using the same pop account, so I have those setting correct. Some times she gets the prompt asking to retry send. Some times it just takes them off line.
    Any ideas?

    The easiest fix would be to just use safari and a webmail interface.
    For example, I have yahoo in my mail app. But on some internet connections it just won't work, so I use safari to get to yahoo.com and access my mail that way.
    Your mail provider should have a web interface and you could use that.

  • Reconstruct / receive problem after a smtp crash / pop receiving problem

    Hi,
    The smtp hooked up yersteday, I deleted the locked files and it could then send emails again... Thanks to Chad for his help.
    After restarting all the services, it appears that I can receive mails only from my webmail. When I try with Outlook, it says that there is no new mail. When I connect with my wemail it says there are new mails. Why ?
    I tried reconstruct -m and -r -p primary, also cleandb, dirsync, etc... Nothing does.
    The IMAP service is also functionning, but even if there are emails in the folders, it says they are empty.
    Please help me, I am short with ideas
    Thanks Fr�

    It often really, really helps us to help you, if you let us know what exact version/hotfix you're running.
    If you had a serious crash, you may have some damaged index files. When you ran reconstruct -r, did it complete, or did reconstruct crash at some point? Have any of the processes crashed since the big problem?
    I'd suggest stopping all the messaging server, checking that all the processes are indeed down,
    restarting it,
    run
    reconstruct -r -f on yourself
    reconstruct -r -f user/your_userid

Maybe you are looking for

  • Would like to declare a variable Public/Global in an IF statement

    Is there way to declare a variable as Public in an IF statement. My goal is to declare the variable as global (since this variable is used somewhere in the code and should not get initialized when there is loop back to the top of the code, hence usin

  • Apple TV cannot load my Itunes lybrary

    First of all I´m in Brazil and some things do not work as in US. My Apple TV 2 suddenly cannot see (load) my Itunes lybray. I´ve already tried many tricks and nothing seems to work. Restarted all devices, used different account but nothing really wor

  • 4.2 "Include Standard JavaScript and CSS" option removed ?

    Hi, APEX 4.2, Oracle 11g r2. I was using the option *"Include Standard JavaScript and CSS"* from the page attributes. It was set to *"No"* in all pages as I manage my own JQuery versions. We upgraded to 4.2 yesterday, and I see the option is still he

  • How do I reset drop shadows to default setting, pse6?

    Drop shadows have disappeared except for 'neon'; how do I get the default setting back?

  • Re-installing an application does not work

    I want to re-install an application to an individual machine by going to the machine and delete the registry key at SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\AppMgmt\REGISTRY ID.  Then I reboot the machine. After the machine comes back o