Urgent :post xml for xsql difference with html form post

Hi,
We are developing an application to process xml request
posted by external party. The requests arrive by
http-post operation
We developed and tested with an html-form.
Now we encounter problems in testing with http-post
The xsql page is processed correctly but
insert only fixed text when formatting xml-data as input for
the insert-request, string inserted is empty.
Everything is by the book and html-forms works great.
Is anybody else using xsql to insert xml data in the database on this version? Maybe can you help by looking into a testcase ? Issued a tar but am on terrible deadline
so need help very soon.
Details: HP-UX 11.11 Oracle 9.2.0.4 java1.4 ojdbc 1.4
Tnx in advance,
Jeroen

Mark,
Have an external partner which sends xml-requests.
Have to read those, store them and process them.
Idea is let them
1)post the xml at a url where an xsql page is reading the xml
2) transforming this for an insert into
the database. The column is defined to store the complete xml-message.
3) A trigger takes care of processing the stuff and preparing the output
4) and a query in the xsql-page reads the output from an output table
When developing and testing this with an html-form that posts the xml is works great.
$ cat newclobins.xsql
<?xml version="1.0"?>
<page connection="demo" xmlns:xsql="urn:oracle-xsql" >
<xsql:set-session-param name="id">
select msgid.nextval from dual
</xsql:set-session-param>
<xsql:dml>
delete cbs_msg_in where id={@id}
</xsql:dml>
<xsql:insert-request table="cbs_msg_in" column="id,msg" transform="cbsform_1.xsl"/>
<data>
<xsql:query null-indicator="yes">
select msgid,msg from cbs_xml_out where msgid={@id}
</xsql:query>
</data>
</page>
$ cat cbsform_1.xsl
<?xml version="1.0"?>
<ROWSET xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xsl:version="1.0">
<xsl:for-each select="request">
<ROW>
<MSG><xsl:value-of select="parameters/doc" /></MSG>
<ID><xsl:value-of select="session/id" /></ID>
</ROW>
</xsl:for-each>
</ROWSET>
1) When using a tool like
http://www.programmersheaven.com/articles/adrian/getpost/article.html it fails with
No rows to modify -- the row enclosing tag missing. Specify the correct row enclosing tag.
2) When using the commandline utility like
xsql jeroen5.xsql posted-xml=test3.xml
this works great when inserting plain text but not
when inserting xml-format data into a column
So problem 1 is why external tools like above or my partner that uses .net to do something similar gives this strange error?
Problem nr 2 is should I stick to just the data in xml and forget about storing the xml-formatted data?
Hope you can help because I am getting quite desparate here.
Regards,
Jeroen

Similar Messages

  • 2 Formatting issues with HTML forms

    I have a couple of issues that we can't seem to get past with adobe livecycle designer 7.0. We have an internal form, rendered in HTML, that is emailed between departments, and the data entered is stored in an XML file that is created using the code similar to the following:
    protected void doPost(HttpServletRequest request,
    HttpServletResponse response) throws
    ServletException, IOException
    oOutput = response.getOutputStream();
    try {
    FormServerWithXML fsb = new FormServerWithXML();
    fsb.processForm(request);
    File file = File.createTempFile("Form_", ".tmp", new
    File("d:\\xmlFiles"));
    BufferedWriter(new FileWriter(file));
    out.write(fsb.getXMLString());
    out.close();
    When we use a numeric field and try to format it with any display pattern containing dollar signs, decimals, etc... the xml data for that field isn't being written to the xml file. All of the other fields are being written properly.
    The next issue we're having is that with HTML forms, when we create a multiline text field we are unable to limit the number of characters that are allowed in the field.
    I'm pretty new with this, so please send some advice my way if you have any.
    Thanks,
    Chad

    Thanks Rakhi, but that did not resolve my issue. Below is new out as per the thread suggestion and this is not what I wanted.:
    "<H>Thank you for choosing Enterprise.</> We look forward to seeing you at 9:00 am on Monday,
    November 28, 2011. This message is to confirm you have updated your reservation.
    Following are the details for the updated reservation:
    P.S. Remember us when you're renting in town. Enterprise is always nearby at more than 6,500
    neighborhood locations."
    - shalini

  • Update XML files with HTML forms...

    Hi,
    I would like to know if its possible to update or insert data
    to XML files from a HTML form? And how can I do it?
    Does dreamweaver have any extension that does this?

    hi bregent!
    im using php.
    i have a xml flash slide show script, and i want to insert
    this slide show on a site. No problem here, but i would like to
    create a backoffice were i can update or insert the pictures of the
    xml slide show.
    can you help me on this?

  • Convert XML Schema Files (XSD) in HTML Forms

    Hi Everybody,
    I am new in the topic of the XML, XSD, the situation is the following , I have a few files .XSD and need to generate automatic html forms based on these .XSD to gather information and later convert them into XML files and save them in a repository and later a middleware will process this information.
    My first serious question if it is possible to develop the above mentioned task automatic? And the second one where you recommend to me to start investigating?.
    Thanks in advance for your answer
    Regards from Peru.

    There are products which do that already, I think. XMLSpy is one. Check that out to see if I'm right (not sure about the HTML part). Otherwise, welcome to the club of several hundred people who have asked basically that same question (only not with the HTML part) here.

  • Help...  Populate pdf form fields with html form inputs.

    I have a website that allows users to choose the pdf document they want and create. After selecting which pdf they want to create they are redirected to a web page with a html form. The html form has questions that corresponds with the the form fields of the pdf document the user selected. When submitted the code (ASP, PHP whatever is the easier) runs a script that populates the pdf document form fields. The user is then prompted if they want to save or open the document. The newly created pdfs and the user inputs do not need to be saved on the server.
    I create the pdf templates using PDF 6.0 professional
    Server can be windows or linux
    I understand ASP a little but will use whatever is feasible
    Purchasing a program is okay as long as its reasonable and is changeable by me and I have full control.
    Any help would be appreciated...
    Thanks,
    John

    Try the Developers/SDK forum...
    This forum is for questions about the PDF Language itself.
    Leonard

  • Help with HTML form,please!

    Hi everybody,
    I'm trying to write an HTML form that would allow user to login if he/she has already created username and password AND that would let him/her create an account in case the user is not registered yet. The code below creates a form that allows the user login after what this provided data would be sent to some servlet:
    <HTML>
    <HEAD>
    <TITLE>Meeting-scheduling</TITLE>
    </HEAD>
    <BODY>
    <H2>Login To Meeting-Scheduling Program</H2>
    <FORM METHOD="POST" ACTION="someServlet">
    Username: <INPUT TYPE="TEXT" NAME="username" SIZE="25"><BR>
    Password: <INPUT TYPE="PASSWORD" NAME="password" SIZE="25"><P>
    <INPUT TYPE="SUBMIT" VALUE="Submit">
    <INPUT TYPE="RESET" VALUE="Clear">
    </FORM>
    </BODY>
    </HTML>
    Now,I can't figure out how to add another button, for example, that would trigger another servlet and/or open another form and that would allow user to create an acount. Is this feasible at all? What I basically need is two forms on a single page triggering two different servlets. Thanks a lot,Jimmy.

    Yes u can trigger as many as servlets u want ,by using Javascript.make a normal button to act as submit button
    for e.g
    document.frm.action="/servlet/servletname"
    dovument.frm.method=post
    document.frm.submit()
    I hope this helps u :),if u still have problem mail me at
    [email protected]

  • Unifiers for drag & relate with oracle forms application

    Hi All,
      Is it possible to do drag & relate functionality in the portal with oracle forms application?? Is there any unifiers already available for drag & relate functionality with oracle forms application ?? If yes, then can anyone share the information.
    Regards
    Moses

    Hi Moses, you can use D&R with querys in Oracle using query iviews.
    You can find a lot of information in:https://www.sdn.sap.com/sdn/ep.sdn?page=unification_welcome.htm
    Regards.

  • Urgently Need Code for Copy & Paste from Html Table in JSP to Excel file

    I am creating a html table in JSP file .
    I need code for 'Cut,Copy,Paste' functions ie. if someone wants to copy data from my table to excel file or from excel file to html table he shud be able to do that.
    Can someone give me code for 'Cut,Copy and Paste' i.e. some javascript functions which can do cut, copy and paste which i can put in my jsp file
    Thanks
    Message was edited by:
    javatechguru2007

    package com.chinmayananda
    public class Tetris{
    // complete here
    code]
    public abstract class AbstractTetris {
       public abstract void start();
       public abstract void stop();
    }nearly done

  • Correspondence Type for F.27 with ADOBE form.

    Hi All,
    I am stuck into one issue. See the below details:
    Requirement: I want to create a new correspondence type with new PDF form which can be attached to F.27.
    What I did so far: I have created a new ADOBE form to fulfill the PDF requirement and created a fresh Z driver program to run it. Also Functional people attached this driver program and form with newly created correspondence type for particular company code. When I am running my Z program directly from SE38 it is running correctly and giving me PDF output in a proper way.
    My Problem: The problem is when I am running it from F.27, whatever user is giving parameters in F.27 selection screen is not passing to my Z program and the output is not coming as required. In this case what it is doing is simply going to my piece of code neglecting the user entered parameters and picking up the parameter given in variant of my Z program and giving me output.
    I am very new to correspondence type and all so kindly help me in fetching F.27's selection parameters into my program.
    Thanks a lot in advance.
    Best Regards
    Virendra Kedia

    Hi Raj,
    The selection screen for f.27 is coming from ob78. And the link of Correspondence program and correspondence is difined in OB78.
    Regards

  • Help with HTML form code

    I need help on some HTML code if at all possible.
    What I am trying to do is set up a page that someone can
    enter their name address and email into a form and when they hit
    the submit button it automatically sends them a premade email of my
    choosing that I make prior and somehow maybe embeded into the html
    code to the address that they entered? I dont know if it is
    possible but I am sure it can be.
    Thank you in advance

    Actually, you could be subject to "abuse complaints", not
    "abuse".
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "bregent" <[email protected]> wrote in
    message
    news:fb547q$b49$[email protected]..
    > >What I am trying to do is set up a page that someone
    can enter their name
    > address
    >
    > Sure, you can do it fairly easily with any scripting
    language. You need to
    > be
    > cautious about sending automated emails to anyone
    without first validating
    > that
    > they are the actual owners of the email address,
    otherwise you open your
    > site
    > up to abuse.
    >
    > >I dont know if it is possible but I am sure it can
    be.
    >
    > Huh?
    >

  • Captivate button with HTML form action

    Hello,
    How would I create a button in Captivate 6.0 that would perform the following action below?
    <form method="post" action="https://suppliers.company.com/tracker/reg/CourseReg.cfm">
    <input name="submit" type="submit" value="Receive Credit">
    <input name="CourseId" type="hidden" value="TR001234">
    </form>
    I though it would be simple, but not sure what to use. If it should be vaiables, advance actions or javascript?
    thanks!

    You havent closed these two tags
    Sex :
    <html:radio property="sex" value="M">Male
    <html:radio property="sex" value="F">Female<br>ram.

  • Problem with HTML form on Android

    Hello,
    we are experiencing problems with quite simple HTML/Javascript form included in Adobe DPS publication on Android. It's working on iPad without problem, it's working on standard Android Chrome viewer, but when included in DPS publication, we can't write anything in the form.
    Does somebody encountered same problem and found solution? seems that this problem appeared on some newer version of Android, circa 4.3.
    Thanks
    Martin

    Hi, there, a couple of things to double check on your emulator settings:
    When configuring the Android emulator, please make sure the emulator emulates ARM Processor (armeabi - v7).  ADF Mobile only works with ARM processors - both device and emulator.
    Under Memory Options, please ensure RAM is at least 768 or greater.  This of course is also constraint by the amount of memory your development machine has, but generally you should have at least 768 MB allocated.  ADF Mobile app itself won't take up nearly that much RAM of course, but there are a lot of Android apps that are started in the background when Android emulator starts.
    Also, make sure there is 500 MB of internal storage configured - you can go as low as 200 MB but the space will quickly.
    Lastly, before you compile/deploy again, please go to JDeveloper menu item Build - Clean All to clean up any left over deployment artifacts.
    Thanks,
    Joe Huang

  • Planning Web Form Differences with SmartView Form

    We have a planning form that "hides" (hide the segment on the data form option enabled) a couple of columns. This works fine when we open the planning form via the planning web application. However, if we open the same form via Excel/SmartView the form shows the columns that should be hidden. Has anyone come accross this issue? We are on Hyperion Planning/Essbase v11.1.1.3.

    Hi,
    Planning web and smartview front ends have not walked at the same pace so far. You are facing one of the many variations between web and smartview. Another critical difference is the lack of composite forms in smartview which made us decide to rule out the usage of smartview in number of cases. However, luckily this is bound to change in 11.1.2 release as I see from the way things are happenning.
    Cheers,
    Alp

  • Define Clearing Accts for Payment Diff. with Altern.Currency

    Dear SAP Gurus,
    Please suggest difference between Define Clearing Accts for Payment Diff. with Altern.Currency & Define Accounts for Payment Differences with Altern. Currency.
    I am not able to understand what the use of defining Accounts for Payment Differences with Altern. Currency in two activities.
    Early reply would be appreciated.
    Regards,
    Prafful kansal

    Hi,
    For this Scenario payment clearing is based on the exchange rate currencies for that purpose we configure that 2 setup accounts.
    Briefly: If Invoice is raised as per date feb 1st  (1 us dollar = 45 rupees)and payment received on that 1 mar ( 1 us dollar=40 Rupees)for this the exchage rate values are may be different for that purpose.
    For this scenarios it will be loss or gain.
    Hope you will understand.
    Regards,
    Kanike

  • Displaying images in HTML Forms inside Servlets

              Dear friends
              How are you?
              I am developing Servlets in WebGain Studio Pro V4.1 VisualCafe
              V4.1 to display dynamic HTML forms with embedded
              images (*.jpg and *.gif).
              Please see the following sample code -
              "<DIV ID=\"Logo\" STYLE=\"position:absolute; left: 4%; top: 4%;
              width: 25%; height: 12%; z-index:1; visibility:visible\">" +
              "<IMG SRC=\"FigLogo.gif\" WIDTH=\"100%\" HEIGHT=\"100%\">" +
              "</DIV>"
              Then I deploymed servlets to BEA WLS 6.0 by including Servlets
              in the Web.xml file. However, I do not see the images when
              viewed in IE5.0 browser.
              I appreciate all comments and suggestions.
              Thanking you
              Very truly yours
              Sriram (Ram) Peddibhotla, PhD
              

              Dear Friends
              How are you?
              I moved all images (*.jpg, *.gif) to the subdirectory
              /myDomain/applications/DefaultWebApp_myServer/images
              and they are displaying now in the servlets with HTML forms.
              Thanking you
              Very truly yours
              Sriram (Ram) Peddibhotla, PhD
              "Sriram (Ram) Peddibhotla" <[email protected]> wrote:
              >
              >Dear Friends
              >
              >How are you?
              >
              >When the Servlet displays in the browser (IE5.0), when I click on where
              >the image
              >should be, I see the path
              >http://localhost:7001/servlet/FigureName.jpg (????). Why did it add
              >the /servlet
              >part to the path, I thought that was exclusively for deploying servlets
              >in web.xml
              >file.
              >
              >Thanking you
              >Very truly yours
              >Sriram (Ram) Peddibhotla, PhD
              >
              >
              >"Xiang Rao" <[email protected]> wrote:
              >>
              >>Check access.log to see the status of your image request (status code
              >>and response
              >>size). You can also check weblogic.log. On the other hand, IE cache
              >setup
              >>(e.g.,
              >>"Never") could cause this problem.
              >>
              >>"Sriram (Ra) Peddibhotla" <[email protected]> wrote:
              >>>
              >>>Dear friends
              >>>
              >>>How are you?
              >>>
              >>>I am developing Servlets in WebGain Studio Pro V4.1 VisualCafe
              >>>V4.1 to display dynamic HTML forms with embedded
              >>>images (*.jpg and *.gif).
              >>>
              >>>Please see the following sample code -
              >>>"<DIV ID=\"Logo\" STYLE=\"position:absolute; left: 4%; top: 4%;
              >>>width: 25%; height: 12%; z-index:1; visibility:visible\">" +
              >>>"<IMG SRC=\"FigLogo.gif\" WIDTH=\"100%\" HEIGHT=\"100%\">" +
              >>>"</DIV>"
              >>>
              >>>Then I deploymed servlets to BEA WLS 6.0 by including Servlets
              >>>in the Web.xml file. However, I do not see the images when
              >>>viewed in IE5.0 browser.
              >>>
              >>>I appreciate all comments and suggestions.
              >>>
              >>>Thanking you
              >>>Very truly yours
              >>>Sriram (Ram) Peddibhotla, PhD
              >>>          
              >>
              >
              

Maybe you are looking for

  • Mass update of Item category in Sale order

    Hi all,    Kindly guide me to do the mass updating of item category in a sale order.    I want to update the item category of all the items in a sale order.    User will be giving large number of sale orders as an input.    How to proceed to achieve

  • Document Manager Task Flow

    Advanced Edit on folders/files not working when using the Document Manager Task Flow. Is any settings/configuration required? I tale it's possibe to make cahnges to security groups/Clasification/account in portal using the docunebt manager task flow.

  • Having two itunes accounts in two different countriesntries

    Hopefully this hasn't been answered before - I couldn't find it using a search. I spend my time living between Australia and Canada. I currently use the Australian itunes store with an Australian credit card (with an Australian billing address).  How

  • No streaming video on ipad

    My iPad mini is no longer steaming video.  I am not able to view news casts any more? Any ideas, pls help. Thank you.

  • Image In Outer Frame

    I used this code snippet to change the image of my main window : Image qq=Toolkit.getDefaultToolkit().getImage("a:\123.jpg"); frame.setIconImage(qq); The java cup is gone but nothing displays. Why doesn't the 123.jpg display? Are there any restrictio