[SOLVED] vpnc no response from target

I have been using vpnc successfully for the past few years, but just recently discovered that I can no longer connect to any VPN from my home Arch box. I always get the message:
vpnc: no response from target
I have tried setting debug modes, but I'm not sure what I am looking for in those logs. The connection appears to hang and then the no response message comes through.
I have also tried all the suggestions here: http://prystash.blogspot.com/2009/09/vp … arget.html, but those options make no difference.
Strangely, the exact same configuration script works fine from my Arch system at work, so there must be some setting here that is causing the problem. Any ideas?
Last edited by yamad (2012-04-08 12:42:08)

Any chance that port 500 has become blocked by a (1) new firewall, (2) your router, (3) your friendly neighborhood ISP ?
http://www.gentoo-wiki.info/Vpnc

Similar Messages

  • SAP Idocs -How to handle response from target system

    Hi,
    I am working on a scenario in which I will send Idocs asynchronously from SAP thro a SOAP adapter to a  webservice deployed on the target system.
    After the Idoc data is posted in the target system,the target system will send the acknowledgement for the receipt(basically response message).How to handle this scenario?
    SAP Idoc( outbound asynchronous)---> SAP XI3.0(soap adapter) ---> Target system(inbound synchronous)
    Do I need to go for BPM to handle this situation?
    Is there any alterantive to BPM.
    If any of the forum members who have worked on the similar scenario could help me in finding a better solution,I will be thankful to them.
    Thanks,
    Leo

    Hi Udo,
    Thanks for the info.My scenario is like this.
    SAP R/3 Idoc -> SAP XI 3.0 <-> Webservice in the target system.
    The webservice in the target system will receive the Idoc as a request messsage and send a response message synchronously.
    Since Idoc is sent asynchronously( I believe Idocs sent from SAP are always asynchronous),there is no Proxy waiting in SAP R/3 to receive the response message from the target system.
    If I go for BPM for the above scenario,will the BPM steps look like the following.
    1)Receive Idoc from SAP.
    2)Send Idoc sysnchronously to webservice
    3)Receive the response from the webservice synchronously.
    4.Post the response message to a proxy which can handle it further in SAP R/3.
    Please note that my knowledge in BPM is limited and correct me if I am wrong.
    Thanks in advance
    S.Banukumar

  • My iPad Mini iOS7 is showing only Apple Logo which happened during software update. I tried to restore using iTunes but it asking me to response from iPad. But my ipad only shows apple logo. How can i response? How to solve this problem?

    My iPad Mini iOS7 is showing only Apple Logo which happened during software update. I tried to restore using iTunes but it asking me to response from iPad. But my ipad only shows apple logo. How can i response? How to solve this problem?

    FORCE IPAD INTO RECOVERY MODE
    1. Turn off iPad
    2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
    3. Plug USB cable into computer's USB port
    4. Hold Home button down and plug the other end of cable into docking port.
    DO NOT RELEASE BUTTON until you see picture of iTunes and plug
    5. Release Home button.
    ON COMPUTER
    6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
    7. Select "Restore iPad"...
    Note:
    1. Data will be lost if you do not have backup
    2. You must follow step 1 to step 4 VERY CLOSELY.
    3. Repeat the process if necessary.

  • Socket Problem, Problem about printing the response from server

    Or even I am not sure if there is a response from server. My code is like that
                   //Connection between, httpProxy and target adress
                   Socket clientSocket= new Socket("some host", 80);
                   DataOutputStream outToServer= new DataOutputStream(clientSocket.getOutputStream());
                   BufferedReader inFromServer= new BufferedReader(new     InputStreamReader(clientSocket.getInputStream()));
                   //The first way
                   //outToServer.writeBytes("GET http://www.somehost.com/ HTTP/1.1"+ '\n');
                   //System.out.println("FROM SERVER: "+inFromServer.readLine());
                   //The second way
                   PrintWriter out_writer = new PrintWriter(outToServer, false);
                   out_writer.println("GET http://www.somehost.com/ HTTP/1.1");
                   out_writer.println("Host: localhost:80");
                   out_writer.println("Connection: Close");
                   out_writer.println();
                                        //The second way cont.
                   String s = null;
                   while ((s = inFromServer.readLine()) != null)
                   System.out.println(s);
                   inFromServer.close();There are the two ways that I tried, and both of them didn't work. Why they are not working ? How can I solve it ?

    problem is solved, the reason it doesn't work is i didn't write the parts correctly. I mean it should be exactly the same packetIf you mean that the entire request must be sent in a single IP packet, this isn't true.
    and host name must also be exactly sent to server.Of course.
    They must be like in the wireshark.No. The actual data you send must be the same, but the server has no way of telling about what the IP packet looks like or how many there were.
    One of your problems is that newlines in HTTP are defined as \r\n. In one case you're just using \n and in the other case you're using whatever the platform line terminator is. Neither is correct.

  • Never got any response from this forum!!!!

    Never got any response from this forum!!!!

    PLEASE DO HELP ME, ELSE I WILL BE KICKED OUT FROM MY JOB!!!
              I have been encountering the same problem for two weeks, but I couldn't solve it yet since I am using WebLogic not Websphere, and I'm not using SAPJ2EE server.
              Running it under Windows, there is no problem. But in Linux, it does. I always encounter,
              java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO; nested exception is: java.rmi.RemoteException: EJB Exception:
              The configurations are right on LD_LIBRARY_PATH. I mean, the file "librfccm.so" and "libsapjcorfc.so" are being refered. Also the sapjco.jar is set to CLASSPATH.
              I am using JCO in Linux and deploying it in WebLogic. I already put the
              APP_CLASSPATH=$APP_HOME/sapjco.jar. I guarantee you that the configurations on path and classpath are correct.
              Is there anything to do with "application.xml" of the j2ee? Do I need to add some tag there?
              I tried also putting the "sapjco.jar" in WEB-INF\lib but it doesn't wiork.
              The tag below obviously, wouldn't work for me.
              <reference reference-type="hard">
              <reference-target
              provider-name="engine.sap.com"
              target-type="library">com.sap.mw.jco
              </reference-target>
              </reference>
              PLEASE DO HELP SINCE MY DAYS ARE NUMBERED

  • How do you get a RESPONSE from Verizon?

    How does one get a response from Verizon?  Here's my situation...
    Given the amount of trouble that I have had with a recent order, you would think that I was trying to land a 747 jet on my roof.  In reality, all I was aiming to do was to cancel the $19.99 per month phone service that I never used.  I do not even own a phone, for that matter.  I also had enhanced high speed Internet, and I wanted to retain the high speed Internet.  A few days before January 13, 2012, I called Verizon and spoke to the 1st sales representative, who ensured me that it was no problem to cancel the phone service and yet retain the high speed Internet for the same monthly price.  24 hours later, my high speed DSL service was no longer functioning.  I will try to briefly explain the disastrous customer service that ensued. 
    The first several phone calls to Verizon were not productive as I was transferred to the wrong department, and then at least one of my phone calls was dropped by the Verizon server.  The representative did not call me back.  I finally got in touch with a technical support representative, the 2nd Verizon representative, who informed me that the high speed Internet had been turned off and that I had to speak to a sales representative to solve the issue.  Another sales representative, the 3rd Verizon representative, informed me that the 1st representative had cancelled my phone line, and thus cancelled all of my services.  Great.  The 3rd representative informed me that he was absolutely capable of handling the problem and that he would simply add a new order for high speed Internet, which was to be activated the next morning.  The next morning came and went, and guess what?  No Internet.  I called again.  The 4th Verizon representative told me that everything that had been done previously was incorrect and that the sales department is not capable of making such changes.  She told me that she could not help me and that my claim had to be submitted to a different department, which has the authority to un-do all of the previous changes.  She told me that I would receive a call back the same day to resolve the issue.  Given my previous experiences with Verizon, I was confident that I would not, in fact, receive a call back and so I asked her how I could get transferred to this department, if I needed to call again.  She said that I could not be transferred.  Okay.  So then I asked her what to ask for so that next time I called, I could be transferred to the correct department without dealing with yet another sales representative who gives me yet a different story.  She informed me that she could not provide that information to customers.  The Department That Shall Not Be Named (and that I cannot contact) did not call me, and I was not surprised.  Unfortunately, I did not know how to go about contacting them, because, as I was told, customers aren’t allowed to do that. 
    The 6th phone call to Verizon was dropped by the Verizon server.  The 7th phone call to Verizon went to the 5th Verizon representative, a sales associate who placed us on hold for the first 15 minutes only to inform us that she could not find any record of our Internet service.  What the heck was she doing, checking her Facebook account?  She finally returns, puts us on another extended hold, and then adamantly tells us that we need to speak with technical support, which, if you recall, was the first Verizon party that I spoke at the beginning of this debacle.  The 5th  representative transfers me again to technical support.  Of course, the technical support personnel, the 6th Verizon representative said what the first one did, that the account was inactive and that we needed to talk to the sales department.  My husband was on the phone at this point because I was DONE.  When the 6th technical support representative tried to transfer him back to the sales department, my husband insisted that the 6th technical support representative remain on the line while we spoke to yet another sales representative, the 7th Verizon representative.  The 6th technical support representative patiently waited with us while we sat in yet another long queue to speak with a member of the sales department. 
    The 7th sale representative, from the retention department based out of New Jersey, found that all previous orders had been set up erroneously.  She cancelled the old orders and reinstated a completely new order.  The DSL began working a few days later.  MAGIC.  She then left me a voicemail message saying that she would eliminate the activation and shipping fee (duh) as I never canceled the account to begin with and as I already had the equipment.  She also applied a coupon to reduce the price to around $30 per month, assured for the next 2 years.  I was relieved. 
    You can imagine our frustration then when we received the bill for $79 on February 6, 2012, which included a much higher monthly rate (around $45) and the shipping and activation fee of $19.99 that we were assured we would not pay. Again, nothing was shipped to us because we already had the equipment.
    Our next phone call to Verizon landed us with a guy, the 8th Verizon representative, who had no intention of helping us.  According to him, there was no record of these wrongs, and despite the fact that we had an old account number and three order numbers that were screwed up, he did not deem that there was enough evidence to change our monthly bill.  (Unfortunately, the 7th Verizon representative did not make notes or appropriately document the situation on the new account.)  The 8th Verizon representative then had the audacity to comment that we could be lying to him, yet he was unwilling to view the evidence that we could have presented.  Instead, he suggested that we call tech support again and try to go through the same process to get connected to the mysterious “retention department” which he knew nothing about. 
    At this point, I was beyond fed up.  The attitude of the 8th Verizon representative put me over the edge.  I filed a complaint with the Better Business Bureau (BBB) with an abbreviated version of this story.  I did not file the complaint to get back at Verizon.  Instead, I filed the complaint because I knew that another phone call to Verizon would be useless.  I’ve been dealing with this issue for over a month, and I’m sick of it.  I have better things to do with my time, believe it or not, and this situation has resulted in a significantly waste of my time over what, in my opinion, was a very simple issue to resolve. 
    The BBB processed the complaint and I was contacted last Friday afternoon by a Verizon representative (the 9th) who said that she was looking into the matter and that she would respond to me within two to three business days.  Well, it’s almost the end of the week, and I have received no response.  Again, after all of this, how could I be surprised? 
    I have been a Verizon customer, wireless and residential, for as long as I can remember, but I am reaching the point of outrage.  This situation is truly unacceptable. 
    You would think that, in 2012, with all of the technology available to us and the fact that Verizon is a COMMUNICATIONS COMPANY, that at least Verizon employees would be able to make a basic change to an existing order and that at least one out of 9 Verizon representatives would be able to solve this issue in a span of over four weeks.  Think again. 
    How does one get a response from Verizon? 

    dougiedc wrote:
    It boggles the mind.  The Verizon store on L Street downtown Washington, D.C. cannot access my Verizon account.  They can only sell cellphones then it's up to me to contact Verizon on my own to get the hook up. I even asked "Are you Verizon employes?  Is this a vendor store or is it really a Verizon owned and operated store?"  The answer "Yes, we are Verizon employes, yes this is a Verizon owned and operated store" ...
    Yes, it indeed boggles the mind.  I'm of course referring to the fact that your post concerns Verizon Wireless products and services.  This forum is dedicated exclusively to Verizon Communications services.   As you probably know, Verizon Wireless and Verizon Communications operate as separate companies.
    If you need help for a Verizon wireless product or service, it's best to direct questions to the Verizon Wireless forums.  You can reach them by clicking on "Wireless" (either here or at the top of the page).
    Good luck and I sincerely hope you get your issue resolved.

  • How to remove namespace prefix from target payload when using HTTP in PI7.0

    Hi,
    i have a requirement to remove namespace prefix from target payload when receiver receives the payload by an HTTP request.
    i am not able to use XML Anonymizer Bean as in HTTP channel its not possiile.
    Target structure after mapping now is:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns3:Order xmlns:ns3="urn:xxx-com:pi:project">
    fields
    </ns3:Order>
    i need the target structure after mapping should look like:
    <?xml version="1.0" encoding="UTF-8"?>
    <Order xmlns:="urn:xxx-com:pi:project">
    fields
    <Order>
    i removed namespace from source and target Message Type of message mapping but still getting "ns3" prefix. My requirement is to just have this ns3 removed.
    Please reply if anyone has solved this problem before.
    Thanks

    Hi ,
    >>>i removed namespace from source and target Message Type of message mapping but still getting "ns3" prefix. My requirement is to just have this ns3 removed.
    Which process you've used for removing namespace...java/xslt mapping. In case of java mapping plese remove ns3 while creating the target element. Please go through the below blog it may help you.
    Quick Tips: Dealing with Namespaces in XI/PI
    Regards,
    Priyanka

  • Error trying to publish (real time) to delivery: No response from remote execute trying to save assettype [error was -103].

    Hi all,
    I'm trying to publish for first time to a new environment (delivery).
    The light of target destination is green.
    When i click on "inicialize" i get these errors and in the docs i cannot find why or what i have to do.
    Trying to publish asset types during inicialization it returns this error:
    No response from remote execute trying to save assettype [error was -103].
    Looking for the meaning for this i found: No table. What does it mean? Why the tool has not created the table?
    And then, the next error message is shown (all of them are shown in the same screenshot) trying to mirroring. It might have to do with the previos error message... but i have no idea!
    -12011. No response from remote execute trying to save assettype [error was -103]
    sites.log in delivery environment says as follows
    [2014-01-24 12:13:52,496 CET] [ERROR] [.kernel.Default (self-tuning)'] [fatwire.logging.cs.db] SQLException loading table definition for SiteCatalog with state HY000: [FMWGEN][SQLServer JDBC Driver]Object has been closed.
    java.sql.SQLException: [FMWGEN][SQLServer JDBC Driver]Object has been closed.
    [2014-01-24 12:13:52,527 CET] [ERROR] [.kernel.Default (self-tuning)'] [com.fatwire.logging.cs] ContentServer exception running CS recursively
    COM.FutureTense.Common.ContentServerException: pagename not supplied  Error code:BAD PARAMETER
    [2014-01-24 12:13:52,543 CET] [ERROR] [.kernel.Default (self-tuning)'] [logging.cs.satellite.request] Error accessing the external page with pmd: page: ?Browser=Unknown  Browser&SystemAssetsRoot=/dlv/futuretense_cs/&errdetail=0&errno=0&null= &pagename=fatwire/wem/sso/casInfo
    [2014-01-24 12:13:52,543 CET] [ERROR] [.kernel.Default (self-tuning)'] [fatwire.logging.cs.request] COM.FutureTense.Common.ContentServerException: ContentServerException: (Reading page page: ?Browser=Unknown  Browser&SystemAssetsRoot=/dlv/futuretense_cs/&errdetail=0&errno=0&null= &pagename=fatwire/wem/sso/casInfo from co-resident Content Server failed (errno=0).) Error code:GENERIC SERVER ERROR
    [2014-01-24 12:14:06,021 CET] [ERROR] [.kernel.Default (self-tuning)'] [fatwire.logging.cs.db] SQLException loading table definition for SystemInfo with state HY000: [FMWGEN][SQLServer JDBC Driver]Object has been closed.
    java.sql.SQLException: [FMWGEN][SQLServer JDBC Driver]Object has been closed.
    Does anybody know how to help here?
    Thank you very much.
    Gala

    What SQL server driver are you using, Microsoft's or the jTDS driver (see jTDS JDBC Driver)? It may be worth trying the other.
    Also, can you enable
    com.fatwire.logging.cs=DEBUG
    in log4j.properties and retest, then post the entire resulting sites.log and application server log somewhere for us to see? e.g somewhere like pastebin.com
    Phil

  • Response from one stored proc. to another stored procedure call in JDBC

    Hi,
    I have to call 2 stored procedures, where the response from first stored procedure ( an id) is mapped as a parameter to the second stored procedure call.
    My question is that can this be achieved without using BPM?
    Can we somehow map the response from the stored procedure 1 to stored procedure 2 parameter w/o using BPM?
    I have to insert multiple rows using the stored procedure.
    Should I use STATEMENT unbounded times ( which means stored procedure is called multiple times) or should I use the parameter as unbounded ( like an array, maybe define the parameter as an array in the stored procedure)?
    From the performance standpoint, which approach is better?
    Please suggest.

    Hi Ardent !
    I think you could use 2 mapping programs (message mapping objects) in your interface mapping. The first one, executes and returns the ID to a message type defined by you for internal use only between both stored procedure executions. The second ones uses that message type as source message and the XML required by the JDBC for the second stored procedure execution as target message type. This can be done without BPM.
    Regards,
    Matias.

  • RDS 2012 R2: A timeout (30000 milliseconds) was reached while waiting for a transaction response from the (name-of-service) service

    Hi guys,
    On a random base (daily, weekly) we're experiencing major log-in problems on our Windows Server 2012 R2 Remote Desktop Services farm. The VM's are hosted on Hyper-V 2008 hosts and we're not using Citrix techniques etc.
    Users are reporting that they cannot log-in, the log-in sessions hangs with a blank screen when loading their user profile (e.g. Please Wait For The User Profile Service).
    In the System event log of the server on which the user is logging on the following errors are shown:
    Source:        Service Control Manager
    Date:          23-12-2014 7:28:01
    Event ID:      7011
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Description:
    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the UmRdpService service.
    …and after 30 (or sometimes 60) seconds, the same error only another service (in random order):
    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the UmRdpService service.
    …and after exactly 30 seconds, the same error only another service:
    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the UxmSms service.
    etcetera, with the following errors:
    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the Netman service.
    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the AudioEndPointBuilder service.
    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the WPDBusEnum service.
    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the NlaSvc service.
    The Portable Device Enumerator Service service failed to start due to the following error:
    The service did not respond to the start or control request in a timely fashion.
    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the TrkWks service.
    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the UmRdpService service.
    These errors are logged continuously.
    An administrator cannot solve this since he isn't able to login in as well (console or remotely), only a hard reset of the VM is possible to use the affected server again.
    I took different steps to solve this problem without any success, like:
    - Installing the latest Windows updates
    - Removed unnecessary printer drivers, print monitors and print processors (no local printers/drivers are installed, only Remote Desktop Easy Printer driver is used)
    - Searched different forum posts, but found only hotfixes for Windows Server 2008 R2.
    Can someone please help me with this annoying problem?
    Many thanks!!
    EDIT:
    Of course is increasing the time-out not really an option here... http://social.technet.microsoft.com/wiki/contents/articles/13765.event-id-7011-service-timeout.aspx

    Hi Jeroentjuhh,
    1)Do you see this problem on all VM's or only on Windows 2012 R2 server?
    2)Are these VMs' in hyper-v cluster?
    3)Do you see event id 56 or 50? Please see the below link if it helps you to resolve these events.
    http://blogs.msdn.com/b/scstr/archive/2012/02/29/how-to-troubleshoot-the-terminal-server-security-layer-detected-an-error-in-the-protocol-stream-and-has-disconnected-the-client-client-ip-and-the-rdp-protocol-component-x-224-detected-an-error-in-the-protocol-stream-and-has-d.aspx
    Thanks,
    Umesh.S.K

  • Received response from host (router IP address) with invalid source port 32784

    I replaced my old wireless router with a Cisco Linksys E4200, running firmware version 1.0.02 build 13  May 24, 2011.  About once a minute the router sends an unsolicited DNS message to the IPV4 multicast address 01:00:5e:00:00:fb with a destination IP address of 224.0.0.251.  The unsolicited message is a DNS response with source port 32784, transaction ID 0, flags 0x8400 (standard query response, no error), questions 0, answer RRs 2, authority RRs 0 and additional RRs 1.  The two answers both relate to the router itself: one has Name Cisco18738.local, type A (host address), class 1 (IN), cache flush true, time to live 1 minute, data length 4, and the address of the router.  The other is the reverse of the same address.  The additional record is for Cisco18738.local, type NSEC, class IN, cache flush true, time to live 1 minute, data length 5, next domain name Cisco18738.local, RR type A (host address).
    When my desktop computer receives these messages it logs an error, for example: "Jun 23 07:39:22 sauterws02 avahi-daemon[1067]: Received response from host 10.146.9.1 with invalid source port 32784 on interface 'eth0.0'"  The 10.146.9.1 is the router's IP address.  I also see these messages on the wireless link from my laptop.
    I suppose the E4200 is generating these DNS messages in a misguided attempt to make sure there is no old information about its name.  Is there a way to turn them off?  If not, is there a way to report this to Cisco as a bug?
    Solved!
    Go to Solution.

    gv wrote:
    1. To contact Linksys, call support.
    2. From the internet draft: "Multicast DNS implementations MUST
    silently ignore any Multicast DNS Responses they receive where the
    source UDP port is not 5353." Your avahi-daemon does not comply with this draft.
    Thank you for the reference.  For the sake of others who may read this thread, the current draft of multicast DNS is at http://www.ietf.org/id/draft-cheshire-dnsext-multicastdns-14.txt. 
    Here is the whole paragraph from which you quoted, from section 6 (Responding): "The source UDP port in all Multicast DNS Responses MUST be 5353 (the well-known port assigned to mDNS). Multicast DNS implementations MUST silently ignore any Multicast DNS Responses they receive where the source UDP port is not 5353."
    Thus, it appears that there are two errors here: the Cisco E4200 is not using 5353 as the source port, and the logger is not silently ignoring it.
    The message appears to be an announcement rather than an actual response to a query.  In section 8.3 (Announcing) I found this paragraph: "A Multicast DNS Responder MUST NOT send announcements in the absence of information that its network connectivity may have changed in some relevant way. In particular, a Multicast DNS Responder MUST NOT send regular periodic announcements as a matter of course."  Thus, it appears that there are three errors here.

  • App Store can't find any updates? No response from server.

    When I open iTunes I get a message saying "a new version of iTunes is ready for download". But when I click download/update it takes me to App Store where it can't find any updates. It keeps saying "Didn't get a response from the Software Update server (198.168.1.7)." every time I check for updates. Please help! I know there is a new update for iTunes and I can't update it.
    Please if you have any suggestions or ideas or explanations please let me know! I would greatly appreciate it!!!
    Thanks in advance.

    The system is configured to download updates from a private server, not from Apple. That server isn't working or isn't reachable. If you're bound to a network directory server, or if you're behind a firewall that doesn't allow downloading updates directly from Apple, your network administrator has to solve the problem. Otherwise, proceed as follows.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    /Library/Preferences/com.apple.SoftwareUpdate.plist
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    In the Finder, select
              Go ▹ Go to Folder…
    from the menu bar. Paste into the box that opens (command-V), then press return.
    A Finder window will open with a file selected. Delete the selected file. You may be prompted for your administrator password. Restart the computer and try Software Update again.

  • Mapping Array string response from Web service

    Hi
    Need to map the response from a sync call to a WS which contains an array of strings the response message looks like:
    - <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <SOAP-ENV:Body>
    - <rpl:readAllRecFromDQStrArrayResponse xmlns:rpl="urn:AS400DBAccessVi">
    - <rpl:Response xmlns:pns="urn:java/lang">
      <pns:String>Row 1</pns:String>
      <pns:String>Row 2</pns:String>
      <pns:String>Row 3</pns:String>
      </rpl:Response>
      </rpl:readAllRecFromDQStrArrayResponse>
      </SOAP-ENV:Body>
      </SOAP-ENV:Envelope>
    Need to map it to the following MT:
    WSResponse
       Response String  1..unbounded

    Hi Udo
    This the the source and target:
    SOURCE:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:AS400DBAccessWsd/AS400DBAccessVi/rpc" targetNamespace="urn:AS400DBAccessWsd/AS400DBAccessVi/rpc">
    <xsd:import namespace="urn:java/lang" />
    <xsd:element xmlns:ns1="urn:java/lang" name="Response" type="ns1:ArrayOfString" />
    </xsd:schema>
    TARGET:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://dubal.ae/SOP/SD003" targetNamespace="http://dubal.ae/SOP/SD003">
    <xsd:element name="executeDQResponse" type="executeDQResponse" />
    <xsd:complexType name="executeDQResponse">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    4c98a2b0c22d11dbbd74001125bd7544
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:sequence>
    <xsd:element name="String" type="xsd:string" minOccurs="0" maxOccurs="unbounded">
    <xsd:annotation>
    <xsd:appinfo source="http://sap.com/xi/TextID">
    09d279c0c01011dbb867001641ad833b
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    Thanks

  • Getting response from a server

    im working on a simple smtp mail sender and i want to get responses to the commands that i post to the DataOutputStream. in all examples on java.sun.com and the net, there is a while block used for reading response from the server.
    while((c=is.read()) != -1)
    sb.append((char)c);
    this code did not work on my application, i changed a bit like below:
    /**Get a response from server */
    private String getResponse() throws IOException {
    int CR = 0, LF = 0;
    int c;
    char ch;
    int count = 0;
    StringBuffer sb = new StringBuffer();
    while (true) {
    c = is.read();
    count++;
    ch = (char) c;
    if (c == -1) {
    break;
    else if (ch == '\r') {
    CR = count;
    else if (ch == '\n') {
    LF = count;
    if (LF - 1 == CR) { //CRLF seen
    sb.append(ch);
    break;
    sb.append(ch);
    return sb.toString();
    and i use this function in my code as
    os.write( ("QUIT\r\n").getBytes());
    System.out.println("QUIT : " + getResponse());
    this works, because it returns a single line that has a CRLF at the and of line, but if i want to read multi-line responses like greeting messages, i tried to change the code as on the examples like:
    /**Get a response from server */
    private String getResponse() throws IOException {
    int c;
    StringBuffer sb = new StringBuffer();
    while((c=is.read()) != -1)
    sb.append((char)c);
    return sb.toString();
    this code does not work, because i cannot reach the end of stream. i want to post one command and get one response for that command.
    how an algorithm i can develop to solve this problem?
    thanks for all help.

    i changed the code and it's working well now:
    /**Get a response from server */
    private String getResponse() throws IOException {
    int c;
    if((c=is.read()) != -1) {
    byte[] b = new byte[is.available()];
    StringBuffer sb = new StringBuffer();
    is.read(b);
    sb.append((char)c);
    for(int i=0; i<b.length; i++) {
    sb.append((char)b);
    return sb.toString();
    return "";
    if you directly use is.available() when there is no response currently available, it returns 0. we wait for the first character of server response, and then use is.available(). thanks to Kay_Kadner for the idea.
    (im a newbie, and dont know how to convert byte[] to String, tried b.toString() but only got meaningless values)

  • Staging different from target giving error

    Hi Friends.
    when i am making staging different from target its giving error not enough privillege to create table.
    What changes i should do so that my IKM will work.
    Thanks in advance for the help.
    Linkan

    Wow
    Thank you very much for such quick response.I have privillege to create table,view,..... in my staging area not on target. I had asked DBA but he denided to give create privillege in target.Its only in my staging schema.
    I will try to change the schema & will check if its working or not.
    Thank you very much again.

Maybe you are looking for

  • WRT610N v20090121 Media Server Problem!

    Since upgraded to the newfirmware, I was not able to view any video that was on the usb hardrive or flashdisk through my PS3 or PC via UPNP Media Server. I'm able to view or change the file through my network, but I want to be able to stream it to my

  • BUG: iPhoto 9 Slideshow - Text Slide Bugs and iPhoto Library Corruption

    I was wondering if anyone else has run into the following issues: I have had multiple issues with iPhoto crashing, stop responding, and database corruption where I cannot open iPhoto. These issues all began when I tried to use the new themed slidesho

  • OfficeWebApps Excel edit

    Hi , I've installed and set  officewebapps. word (view and edit)  working great. But I'm having problems also excel. http://.../_layouts/15/WopiFrame.aspx?sourcedoc=/...xlsx&action=edit    or  http://.../_layouts/15/WopiFrame.aspx?sourcedoc=/...xlsx&

  • Eliminating Download tab in gallery view window

    Is there a way to prevent people from downloading photos? I am building a site for my photography business and I didn't choose sharing option. I found no way to download the photos until I saw the download button in the secondary navigation bar when

  • Procedure unhappy with order by params

    Good day, I have the following procedure which is working correctly except it is ignoring the "sort" & "dir" params following the order by clause: create or replace PROCEDURE budgets_lookup (p_fields varchar2 default null ,p_query varchar2 default nu