Receiving and responding to xml post

Hi there,
I have a project where I have to receive certain parameters in a Post using an XML document, and then respond with a XML response document.
My application is a standalone java app.
I have created the sockets, and can receive and send on them, I just don't quite understand yet how to receive the document and respond.
any help will really be appreciated.
Thanks
Brenda

Brenda,
Tomcat is a J2EE container (well a Java web container without EJB support) it does supply javax.servlet classes.
In answer to you other question, I have a web application that uses xerces within a servelet and it's fine. A web container like Tomcat will support just about any code as long as it can load the classes.
You need to look into War (web archive) files for production use, but to get started, just consider the file locations:
C:\tomcat\webapps\ROOT\WEB-INF\classes
This is where the root context loads its class files from
C:\tomcat\webapps\ROOT\WEB-INF\lib
This is where it loads jarred class files (e.g. xerces.jar)
Also you'll need to create a servelet entry in your
C:\tomcat\webapps\acuo\WEB-INF\web.xml
file:
<servlet id="Servlet_2">
<servlet-name>name</servlet-name>
<description>Your description</description>
<servlet-class>com.package.Classname</servlet-class>
</servlet>
So, it's all straightforward enough once you know where to put everything. There are also tools around that make the war file creation easier.
So, best of luck,
Dom.

Similar Messages

  • Receive and respond to meeting invitations only for Microsoft Exchange

    Hello,
    On Apple support page it says to iPhone Software version 3.0:
    "If you have a Microsoft Exchange account, you can receive and respond to meeting invitations."
    That means with MobileMe it's still not possible.
    What kind of service is that, if Apple supports Microsoft better than their own service?
    Regards,
    JO

    Hi All--
    I have been looking for this feature with MobileMe. I was hoping that it would have come with 3.0 -- but no luck. It would be really nice for MobileMe users to send/receive/accept/decline event or meeting invites from their iPhone or iCal.
    I heard something about event invites in Snow Leopard iCal... will have to wait and see.
    Brad

  • Apple Please read and respond to this post

    There are many of us who have upgraded and installed the new version of itunes 7.0. From within the itunes store, if you select either television shows or movies, many of us are getting an error message that states, "itunes is unable to browse album covers on this computer". My question is simple, why is this occurring? Does the new version require more computer power that previous versions? Come on Apple, we know and see you browse these discussions. The courtesy of a reply would be appreciated.

    To be honest, I've never tried what you're doing. However, I
    have used xml (most rss feeds are built on xml anyway, right?).
    Look into the different xml functions available. Then, once you
    figure it out, you can use something like the code below. I'd look
    more into the xml in flash if this is what you want. Hope that
    helps.

  • Not receiving email alert when someone responds to my post

    In my posts I have checked the option "Alert me when someone responds to this post", but am not receiving the alerts. I checked my Microsoft profile and my email address is correct.
    Thanks in advance.
    Jerome Smith
    Jerome Smith BI Consultant, MCP

    Hi Jerome,
    Have you checked the alert address set for your forum profile? That's set by clicking on the 'Quick access' dropdown in the upper left (under the 'Ask a question' button) and choosing 'My settings'. There's a 'Configure alerts' section there where you can
    specify an address to use for alerts.
    Don't retire TechNet! -
    (Don't give up yet - 13,225+ strong and growing)

  • Reset transfer posting for doubful receivables and its provisions

    Dear Expert,
    I have run f103 (transfer posting for doubful receivables) and f104 (provisions for doubful receivable) but the value is wrong.
    is it possible if i want to reset/cancel f103 and f104 and the rerun it? how can it be?
    Thx n regards,
    Marilyn

    SE93 add variant

  • How  to config receiver http adapter for HTTP POST without XML tags ??

    Hi All,
    Can you please provide some infornation on How  to config receiver http adapter for HTTP POST (Request) without XML tags ?? Our receiving product doesn't support XML formats.
    Is there any option to bypass server authentication on the XI?
    If anybody has the same experience or know how to please provide inputs.
    Thanx
    Navin

    Hi,
    you can use xsl mapping for this in which u xtract
    the contents only but not the xml tag.
    Ranjit

  • Where do I go to stay posted on when Icloud will be up and running with respect to receiving and sending email?

    Where do I go to stay posted on when Icloud will be up and running with respect to receiving and sending email?

    http://www.apple.com/support/icloud/systemstatus/

  • Hello All:  What to thank everyone in advance for taking the time to respond to this post:  We just had a 600 laptop image delopoyment of macbook pro's and since we  were rushed to do this in one day-. i forgot to connect them to wireless before creating

    Hello All:
    What to thank everyone in advance for taking the time to respond to this post:
    We just had a 600 laptop image delopoyment of macbook pro's and since we
    were rushed to do this in one day…. i forgot to connect them to wireless before
    creating an image.  (worked from 5am ~ 5 am)
    DOES ANYONE KNOW HOW TO create a login script, where to place it,
    and how to push out wireless setting so when a user logs in, it would automatically
    bind them to a certain wireless?
    We want to strictly do this through our Mac os x server snow leopard. 
    Please help as I am going back this Sunday to resolve this.  I will have to
    manually open up 600 laptops and add them to the wireless if i don't
    find out a solution.

    THANKS A BUNCH!
    BUT!!!
    can you help me create a script with this information.
    You led me to the right direction.  I will be using mac os x server and doing login script.
    here is what i typed up so far but i don't know how to make the file. I know the command to run throgh shell but do not know how to make the file run so when i put it in login script it will place this wireless setting on all computers.
    They are ging to be using this information:
    /usr/sbin/networksetup -addpreferredwirelessnetworkatindex Airport atams 0 WPA2 [F3fd+mi7yV]]
    /usr/sbin/networksetup -setairportnetwork Airport atams F3fd+mi7yV
    -removepreferredwirelessnetwork Airport heritage
    I did this on terminal and it worked.  so how can i know deploy this to all laptops that are directly plugged in.

  • T_Code 1KEK - Transferring Receivables and Paybles to PCA

    Hi SAPients,
    We normally do the transfer of Receivables and Paybles to PCA through T-code 1KEK as a period end closing process. Now something strange is happening which was never before. While transferring the Receivables and Paybles through 1KEK, all the line items are getting transferred to Dummy profit Centre rather the respective ones which is resulting in the mismatch in basic ledger and comparision ledger in T-code GCAC ( Ledger Comparision ). Can any body explain why it is happening and where the dummy profit centre is getting picked from for 1KEK?
    Thanks,
    BABA

    Hi,
    The following needs to be done.
    1) Ensure you have assigned all B/S accounts in 3KEH.
    2)Execute F.5D (Calculate Balance Sheet Adjustment)
    3) Execute F.5E (Post Balance Sheet Adjustment) (mark the option "Post to profit center")
    4) Execute 1KEK.
    Regards,
    Assign points if useful.

  • ICal invitations are sent with work email calendar and respond to personal

    Ical is set up to receive my work calendar called [email protected] Work email is a google webmail account. Office workers send invited to me from google calendar. I can accept these and they DO show on my .mac Ical.
    On Ical, i have a list of standard calendar topics (home, work, school, etc). I have the shared google calendar set up as a second calendar on the ICal application. No problem.
    My VCard has all work information. No personal at all. Work email, etc.
    My email mailboxes for both inbound and sent Are in rank order meaning "work" email is draqgged over ".mac personal" on both scenarios.
    Problem is This: When I create invites for "work calendar" , a new event pops up, "work email" shows as the Calendar and everything looks good and it does go to the invitee.
    1. Invitee receives the invitation and the invite states that it is from the ".mac PERSONAL" calendar
    2. My name shows as the organizer however has my personal email as the default (Not my work email as listed in my VCard)
    3. Most annoying of all, my "[email protected]" email address(If clicked on by the invitee) states my Wifes name on the email address bar.
    I have checked everywhere as to why my wife is showing up as the "owner" or my personal .mac account. Not anywhere on my .me account, .mac account, VCard, etc.
    Help?
    I want to send my invites from my work email account using Ical with the responses showing, and responding to the same work email address. Simple right?

    I have to admit... Im getting frustrated.
    I deleted the shared google calendar. Starting over. I created a work calendar called "MSL" under the "calendars" drop down in ical.
    Created a test event, sent it to a personal account, clicked the link to accept and the link sends me to Entourage? See Below... Says iCal... Link goes to Entourage.
    MSL Packaging and Fulfillment' has invited you to the iCal event: New Event Test, scheduled for December 16, 2009 at 4:00 PM (Eastern Standard Time). To accept or decline this invitation, click the link below.
    I want to:
    1.Sync google calendar with my [email protected] webmail account and my ICAL.
    2. Send invites from my ICAL when using my work address in imail, have them send from my work address, respond to my work address, and show up on google and ical calendars.

  • My last effort to stay with verizon, hopefully a rep will see this and respond

    I would like to start off by saying that between my self and my father we have been with verizon since he bought an analog cell phone in 1998. But that should not matter because all customers should be treated the same. I will explain my recent issue below.
    This past week a family member who was on my account decided to up and leave verizon and got his own account with T Mobile, who in my area has very good coverage. This is based on actual people who use T Mobile, not looking at a coverage map. He basically stuck me with his line and a $190 ETF. I fully understand that i am responsible for that fee and I'm not arguing that. However this all ties in together with my next part of the story.
    Also, in the middle of all this we have been looking at ways to lower the bill. Currently the bill was around $200 sometimes less sometimes as high as $220. that was for 3 phones and only 2GB of data! only 1 line is under contract . the other 2 have been month to month for probably 2 years. I was unsuccessful at lowering the bill with out having to sacrifice, such as removing insurance, etc. So i explore other carriers. AT&T for 10GB of data, yes 10 GB of data, thats 5 times as much, comes out to 145 a month (100 for data 15 for each device. Compare that to verizon over 200 for only 2GB? thats incredible over $55 a month savings plus 5 times as much data usage. with my 22% off discount from the 100 data id save another $20 so now I'm at $125. with verizon i only get the discount from the data package as well. so $50 ends up being about $40 . not a real savings there .
    current promo - will give me $100 for every line that i open or port over to ATT
    Next stop is T Mobile, unlimited everything for 3 lines is $90 a month for 500 mb of LTE data per line.  if i upgrade that to 2.5 GB per line of LTE data the price is $120 total. and theres no overages after 2.5 GB they only throttle the speed down. for $150 a month i can get unlimited LTE for all 3 lines. but for my case i would only need the 2.5 gb of LTE for 1 line. which puts me at $100 a month and never will have overages. and i can upgrade or downgrade the data on the other lines for only $10 more a month. not a bad deal. I'm between $90-150 depending on how much high speed i want, will never have overages and can change the plan at any time to get more high speed. this works great if I'm taking a trip and will use more data i know i won't have overages. my discount here would be 15% off the entire bill so 110 ends up being 93.50
    current promo - will pay my ETF
    so here are my options -
    att is $125 a month for 10 GB which i will never never never go over.
    t mobile $93.50 a month for unlimited everything and 2.5gb LTE and for only $10 more i can have unlimited LTE
    verizon $200 for 2gb of LTE
    not to mention prepaid carriers .. straight talk, net10 the list goes on.unlimited for $45. all of which have great service in the philly/southjersey area and use the main carriers service anyway.
    before going any further i will say i have 3 unlocked phones that i can use so I'm not factoring in cost of the device. please do not try to justify using one carrier over the other because of the different ways they finance the device.  the device costs are the same at all carriers so that wouldn't change. only thing that changes is how much to put down or pay per month. iphone is always 650, 750, 850 no matter what.
    so now lets put these 2 problems together. I call customer care to see options for canceling the line that the family member stuck me with. Its $190 to cancel. i admit i am responsible for it and explain that i can not afford that fee and if i have to pay that then i will be switching to ATT or t mobile. both who will give me month for switching (tmobile pays the ETF and att will credit me $100 per line so $300 total)
    the rep immediately says i can transfer the contract date to one of the lines with no contract. . I tell him that is a nice offer however those 2 lines have been out of contract for 2 years. and when i want to upgrade them i dont want to be stuck with the upgrade date. i also explained the only phone is used very little for work purposes and i will never upgrade or put a contract on that line. he understands and advises me that that is the only option to cancel a line with no ETF.i move on to my bill. i ask him what can be done about it. i asked about the loyalty plans. he advises me that for my main line i can have $60 loyalty plan which is 2gb data and unlimited talk/text with $15 overage per GB. however theres always a catch. i have to sign a 1 year agreement, i can not thether the data, i can NOT use my discount with a loyalty plan . for the other line i do not use much the only option is 30 minutes no text no data for $15 a month or $45 for unlimited talk/text and 500mb of data and $15 overage for every 250 MB which is crazy . I'm better off just taking 2 of the $60 options. but again i must sign a 1 year agreement, no thether, crazy overage fees and no discount.  so now i end up having 2 lines that are out of contract put onto a contract. 1 of which i can not upgrade until the date of the contract that they switched over. so after 2 years of paying subsidized prices and not having a contract, the only way to get a better price plan is to sign a contact (which was never offered before when you sign a contract) then they dictate how i can use my data by saying i can't thether, plus have overages and no discount.  2gb is borderline. yes i can stay under if I'm constantly checking my data count and only use the phone when i need to. not for fun.
    needless to say i told the rep i would on consider and call back. today i call back 2 times to get more information and see if theres a different type of loyalty plan. one time i get the run around. the next time I'm on "hold", but the theres no hold music, etc is just quiet..... so i hung up after 20 mins.
    At this point the only way I'm considering staying with verizon is if i can get a good price plan.
    hopefully a rep will see this and respond. my billing cycle ends the 6th and this is the last weekend i have to make the switch before I'm billed another $200 for 2gb of data.

    Unfortunately since you didn't mark your post as a question, the VZW reps that roam this community won't see it nor will they respond to it.
    Signed,
    Just another customer

  • Receiver File channel for XML files: with carriage return

    Hi all,
    we are using a receiver FILE channel to generate an XML file that is sent to an external partner.
    The XML file looks good in a parser (IExplorer). But in fact there are not carriage return / line feeds between the XML tags
    of the XML payload in the file.
    Our partner now requires the XML file in a more vertical structure which means: for every tag a separate line (like it is displayed in a parser)
    Does anybody know a more general way to convert to a vertical XML structure (so with carriage return line feed).
    There is one entry in the SDN dealing with this topic but suggesting using an UDF. I think this is a very specific way.
    I don't think it is a good way to change/enhance the message mapping just because of a general formating change.
    Is it better to use an XSLT mapping as a second step in the interface mapping or a JAVA adapter module to convert ?
    any experiences? suggestions? examples?
    Thank you very much
    best regards
    Hans
    examples:
    original by XI receiver FILE adapter
    <?xml version="1.0" encoding="UTF-8"?>
    <MT_batchStatus><type>BS</type><header><message><messageSender>SENDER</messageSender><messageDate>20090723143720</messageDate> ... and so on
    required:
    <?xml version="1.0" encoding="UTF-8"?>
    <MT_batchStatus>
    <type>BS</type>
    <header>
    <message>
    <messageSender>SENDER</messageSender>
    <messageDate>20090723143720</messageDate>
    ... and so on

    >
    Hans Georg Walter wrote:
    > Is it better to use an XSLT mapping as a second step in the interface mapping or a JAVA adapter module to convert ?
    > any experiences? suggestions? examples?
    In such a case, the best is to write an generic XSLT or Java mapping that will attempt to do the pretty printing/formatting of the xml.
    The advantage of a generic one is that you can reuse the same class/jar for many other scenarios.
    so the flow will be as below in your interface mapping;
    1. your specific source to target mapping
    2. the generic formatting class

  • How do I set up a POP account that links to my business email account for both receiving and sending

    How do I set up a POP account that links my icloud email to my business email account for both receiving and sending?

    Can you post your Troubleshooting Information?
    Help (Alt-H) - Troubleshooting Information

  • FI and PCA doesn't match/Receivables and Payables?

    Hi!
    I have a problem with Profit center accounting. I try to match receivables and payables in FI and PCA, but they don't match (transaction KE5T).
    If I look transaction 1KEK, e.g. account xxxx shows 500.000 EUR. When I look e.g. transaction FS10N, the same account shows 800.000 EUR (cumulated balance).
    So all the entries have not transfered to PCA from FI. Whe have done the period-end transfers (transactions 1KEK and 2KES).
    So why not all the entries have transfered to PCA and how to fix this problem?
    Points will be given!

    Hi
    Please ensure that the referred GL account is added in T.Code 3KEH.
    If not, you have to add the same with a default PC and need to post all the existing documents posted in that GL account, manually to PCA using t.code 1KE8.
    Regards

  • Issue with XML post when port used with server name

    Hi Guys,
    We are currently using an agent on our application servers which puts a server in "inservice standby" if the CPU load on the system goes above 75%. This agent is using an XML post on the CSM to achieve this and put the server back inservice using XML post as well.
    Currently we are trying to use the same agent for another application which has a port number defined as well and it does not seem to work.
    To give an example where it works:
    serverfarm TEST
    nat server
    nat client TEST
    real name BLABLA
    inservice
    The example where it does not work:
    serverfarm TEST
    nat server
    nat client TEST
    real name BLABLA 50000
    When we get the server name via XML we see that CSM returns the name as BLABLA: 50000 however using the same in the script does not work.
    Would someone know how to put the port number in an XML script so that the CSM understands which server need to be changed.
    Thanks,
    Murtaza

    It would be some thing in line with the following example
    <?xml version="1.0" ?>
    The DTD for CSM XML will let you know what tags and attributes are available to use:
    http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/mod_icn/csm/csm4
    _1_2/icn/xmldtd.htm
    HTH
    Syed

Maybe you are looking for

  • Quota generation after organizational reassignment

    Hi all: Has anyone come across the issue below? If so, what steps did you take to remedy this? We generate quotas via RPTIME00. The main issue is that after an org. change, once time evaluation processes on the day of the accrual (in the new PSG), th

  • Albums in iCloud photo library

    Can I create albums in iCloud Photo Library that are visib across all my devices? ALso, can I add photo albums from my PC(not taken on iOS device) to my library?

  • Problem in Backup/Recovery 10g

    Hi I am Trying to Take Backup in Oracle 10g ........ RMAN > Configure retention policy to recovery window of 4 days RMAN > configure controlfile autobackup on; RMAN > Configure device type disk backup type to compressed backupset; RMAN> backup as bac

  • FP 1601 status led shows red continuously

    I am trying to use FP 1601 which was already configured long before. But now the status LED is continuously red .Power LEd is green and all other LEds are off. Am giving 24V power and checked that it is given to V and C properly .Ethernet connection

  • System restart error in Module pool

    Hi Experts, I have created one modulepool Prgram with Table control it is working fine for Display, whenever i want to try to Save i am getting system error System Restarted;Session terminated. i am attatching the screen shot of that..