How to create a Post String in HTTP Post Action - 11.5 SR3

Hi Guys,
I am trying to post a string to a servlet using HTTP Post. The servlet excepts a Parameter with name b2mml. I am trying to send the Post String in the HTTP Post actions as a name value pair b2mml=xmlencode("my xml here"). Is this the way that I am supposed to send the HTTP Post. In Java, I url encode the key and value and send it to the servlet in a Post.
What should be my post string in this case? does a simple name value pair suffice, which I think is not working in the test. I put the debugger on the servlet and I have seen that no data is coming in the request.
Thanks,
Ravi.

Thanks Sam. But that doesnot seem to solve the problem.
The transaction has the input 'b2mml' with is a xml. In  the http post action, I configured the 'PostData' property using the link editor as
"b2mml="&Transaction.b2mml
The servlet is trying to read parameter b2mml but it is not there in the request object.
Ravi.

Similar Messages

  • How to create dynamic connection string with variables using ssis.

    Hello,
    Can anyone let me know on how to create dynamic connection string with variables using ssis?
    Any help would be appreciated.

    Hi vinay9738,
    According to your description, you want to connect multiple database from multiple servers using dynamic connection.
    If in this case, we can create a Table in our local database (whatever DB we want) and load all the connection strings.  We can use Execute SQL Task to query all the connection strings and store the result-set in a variable of object type in SSIS package.
    Then use ForEach Loop container to shred the content of the object variable and iterate through each of the connection strings. And then Place an Execute SQL task inside ForEach Loop container with the SQL statements we have to run in all the DB instances. 
    For more details, please refer to the following blog:
    http://sql-developers.blogspot.kr/2010/07/dynamic-database-connection-using-ssis.html
    If there are any other questions, please feel free to let me know.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to create a new user over HTTPS

    Hi. I have set up conf.xml and web.xml so that when the user accesses a page in the secure area of the website, then they are taken to a login page where they enter their username and password and the form calls j_security_check on the server. All this happens over SSL as the transport garauntee is CONFIDENTIAL. But how to create a new user over HTTPS? If I have a create new account pages in the secure area of the website, then the only way the user can access these pages is by logging in, but they don't have a login as yet.

    An update. It looks that if the auth-constraint section (which lists the roles that can access this area) is missing, then everyone can access the region and it is over HTTPS. So far, the following seems to be working
       <security-constraint>
          <display-name>View My Account</display-name>
          <web-resource-collection>
             <web-resource-name>My Account Area</web-resource-name>
             <url-pattern>/myaccount/*</url-pattern>
          </web-resource-collection>
          <auth-constraint>
             <role-name>myrole</role-name>
          </auth-constraint>
          <user-data-constraint>
             <transport-guarantee>CONFIDENTIAL</transport-guarantee>
          </user-data-constraint>
       </security-constraint>
       <login-config>
          <auth-method>FORM</auth-method>
          <realm-name>Form-Based Authentication Area</realm-name>
          <form-login-config>
             <form-login-page>/newaccount/login.html</form-login-page>
             <form-error-page>/newaccount/loginerr.html</form-error-page>
          </form-login-config>
       </login-config>
       <security-role>
          <role-name>myrole</role-name>
       </security-role>
       <security-constraint>
          <display-name>Create New Account</display-name>
          <web-resource-collection>
             <web-resource-name>New Account Area</web-resource-name>
             <url-pattern>/newaccount/*</url-pattern>
          </web-resource-collection>
          <user-data-constraint>
             <transport-guarantee>CONFIDENTIAL</transport-guarantee>
          </user-data-constraint>
       </security-constraint>

  • How to create Actual Posted CCtr field mandatory in Interal Order

    Hi Experts,
    Can anybody tell me how to make Actual Posted CCtr field mandatory in KO01 or while creating Internal Order ?
    Experts help would be great on this.
    Regards,
    Sharvari Joshi.
    Moderator: SImply define it as mandatory field in field status for the order type in question. Please, avoid asking basic questions

    Hi Tarang,
    I think there is a transaction/screen variant maintained for that. Ask your ABAP team member to debug and check if there is any coding done to make it mandatory. There is no customizing for this one. There must be some code written to make it mandatory.
    But you are correct, if you maintain the sort string in BOM, it gets copied on to the planned order, the reservation and the production order as well.
    Regards,
    Pradeep.

  • How to create a post card with elements 8.0?

    I need help creating a post card using my pics..

    Try this video tutorial:
    http://www.photoradar.com/techniques/video/get-creative-with-type

  • Address (how to create the right string)

    I have to pass to a JFileChooser a patch of a server directory.
    the client recive from the server the string... (example C:\ )
    now i can have the socket address with socket.getInetAddress();
    now i would like to create with those string a tring that is the right address for the server.
    Many thanks

    You can't access sockets with a JFileChooser. It is a component to see files and not IP connections
    If you need to access a directory in your server using a JFileChooser in your client, you should use something like:
    //name_of_the_server_machine/shared_directory (if you are under windows, or in linux if you can use samba or nfs)

  • Can Anyone give me a step by step on how to create a poster frame?

    I am trying to create a poster frame for a video I edited with Final Cut Express HD. I have read all kinds of topics but they seem complicated. Does anyone know a simple way of creating a poster frame ?
    Thanks!

    QDigital wrote:
    I am trying to create a poster frame for a video I edited with Final Cut Express HD. I have read all kinds of topics but they seem complicated. Does anyone know a simple way of creating a poster frame ?
    Thanks!
    Poster frame can mean a few things.
    More info please on what exactly you mean.
    Al

  • How to create SQL Connections String using JSP

    Hi, Dear I wrote sample Jsp program(Create a table and Inserted to Table) using SQLConnection
    I got this Error, how to rectify please help me?
    This is my Connection String
    <%
    String driver = "com.microsoft.sqlserver.jdbc.SQLServerDriver";
         Class.forName(driver).newInstance();
         Connection con=null;
         ResultSet rst=null;
         Statement stmt=null;
         try
              String url=java.sql.DriverManager.getConnection("jdbc:sqlserver://10.1.5.6:1433;Database=manickaraj;User=sa; Password=test*");
              con=DriverManager.getConnection(url);
              stmt=con.createStatement();
         catch(Exception e)
    System.out.println(e.getMessage());
         if(request.getParameter("action") != null)
              String CategoryName=request.getParameter("Category1");
              String Description=request.getParameter("Description1");
    String Status=request.getParameter("Status1");
              stmt.executeUpdate("insert into Category(CategoryName,Description) values('"+CategoryName+"','"+Description+"','"+Status+"')");
              rst=stmt.executeQuery("select * from Category");
    %>
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 5 in the jsp file: /CategoryAction.jsp
    Generated servlet error:
    C:\Documents and Settings\manickaraj\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\SampleJsp\org\apache\jsp\CategoryAction_jsp.java:61: incompatible types
    found : java.sql.Connection
    required: java.lang.String
    An error occurred at line: 5 in the jsp file: /CategoryAction.jsp
    Generated servlet error:
              String url=java.sql.DriverManager.getConnection("jdbc:sqlserver://10.1.2.4:1433;Database=manickaraj;User=sa; Password=test*");
              ^
    1 error
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)

    package shop;
    import java.sql.*;
    import java.sql.Connection;
    import java.sql.SQLException;
    import java.sql.Statement;
    import javax.naming.InitialContext;
    import javax.sql.DataSource;
    public class DAClass {
         private static Connection conn;
         private static ResultSet rs;
         private static PreparedStatement ps;
         public static void connect(String dsn, String un, String pwd) {
              try {
                   //access or Mysql odbc connectivity
                   //Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   //conn=DriverManager.getConnection("jdbc:odbc:"+dsn,un,pwd);
                   //mysql
                   //Class.forName("com.mysql.jdbc.Driver");
                   //conn=DriverManager.getConnection("jdbc:mysql://127.0.0.1:3306/eshop?user=root&password=root");
                InitialContext ctx = new InitialContext();
         DataSource ds = (DataSource) ctx.lookup("jdbc/eshop");
          conn = ds.getConnection();
         //DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/MySQLDB")
              catch(Exception e) {
                   //return "not soory";
         public static boolean chkPwd(String un, String pwd) {
              try {
                   boolean b=false;
                   ps=conn.prepareStatement("select * from cust_info where cust_name=? and cust_pwd=?");               
                   ps.setString(1,un);
                   ps.setString(2,pwd);
                   rs=ps.executeQuery();
                   while(rs.next()) {
                        b=true;
                   return b;
              catch(Exception e) {
                   return false;
    }changed the code like this other part is same.implemented connection pooling but still its too lazy loding can you guide me?

  • How to create a service for Oracle HTTP Server

    Hi,
    I hope someone can help me.
    I would like to create a service for an Oracle HTTP Server.
    We are running APEX 3.2 on an 10.2.0.4 database (not XE).
    We have a Windows XP system.
    To run APEX on a 10g we need the HTTP Server.
    Unfortunately no service was created while the installing of the Oracle HTTP Server.
    How can I create a service later. After the installation.
    I know that you can create a service with Instrsrv.exe and Srvany.exe. But I dont know wheather I can use this in this case.
    I need an .exe file for that.
    The HTTP-Server has the opmnctl.exe.
    But I have to write opmnctl.exe startall when I start or opmnctl.exe stopall when I want to stop it . How can I realize that in a Service?
    Thanks for your answer
    Jens

    Hi,
    I hope someone can help me.
    I would like to create a service for an Oracle HTTP Server.
    We are running APEX 3.2 on an 10.2.0.4 database (not XE).
    We have a Windows XP system.
    To run APEX on a 10g we need the HTTP Server.
    Unfortunately no service was created while the installing of the Oracle HTTP Server.
    How can I create a service later. After the installation.
    I know that you can create a service with Instrsrv.exe and Srvany.exe. But I dont know wheather I can use this in this case.
    I need an .exe file for that.
    The HTTP-Server has the opmnctl.exe.
    But I have to write opmnctl.exe startall when I start or opmnctl.exe stopall when I want to stop it . How can I realize that in a Service?
    Thanks for your answer
    Jens

  • How to create a SA that use HTTP BC

    Hello.
    I try to exposes a external Web Services throw Open ESB.
    I got this for ServiceMix, and i got deploy the SA developed in ServiceMix in Open ESB.
    http://cwiki.apache.org/SM/deployment-of-a-service-assembly-in-openesb.html
    But now, i want to developed this in Open ESB, and this is completly diferent that ServiceMix.
    I already install the developed environment with Netbeans 5.5, and i know that Composite Applications are Service Assemblies, and i have seen some examples about Composite Applications and BPEL SE, but i don't find any examples for Composite applications and BC.. and how to used the some BC avalaibles.
    All help is good
    Thanks

    Hi Carl-Marius,
    If you look in CUCM Admin there is an area called Voicemail Profile. This area allows you to configure a Profile that points to a specific DN/Voicemail Box. When you apply this Profile to any other DN's any call that forwards to the Voicemail System from these DN's will be directed to the specified Voicemail. The Forward can be via CFWDALL,CFNoAnswer or CFBusy as long as it gets to the VM Pilot#. Unity will match the profile and route the call to the proper mailbox.
    For example: you want all calls that go to DN's 3333,3444 and 3555 to go to the Admin mailbox. This "Admin" mailbox is on DN 3700.
    You would create a Profile in CCM called "Admin Info" which points to DN 3700. Apply this profile to 3333,3444 and 3555 and when calls route through these numbers to voicemail they will recieve the Sales Info 3700 Greeting etc.
    This "new" profile will then be applied to the phones that you want to be able to forward to this Admin number (Under>Device>Phone>Directory Number>Voicemail Profile)
    **You can also use Alternate extensions as you nicely noted but the only drawback is that there can be a Max of 9 Alt.Extensions. Sometimes we need more than that.
    Hope this makes sense!
    Rob

  • How to create dynamic Connection String in SSIS Package???

    Hi
    I created OLEDB Source Connnection String for that Package,
    i need Create OLEDB Destination Connection String Dynamically,
    Same server name,but i need to add DW at the end of the Database
    ex:
    Source database name is Demo,
    Destination database should come DemoDW.
    i need to create Dynamic Destination Connection String..
    any possible to Create 
    Thanks in advance
    Pandiyan
    pandiyan

    Hi Pandiyanpvp,
    According to your description, the OLEDB Destination Connection String should be dynamically based on the OLEDB Source Connection String. They are all the same, except adding “DW” at the end of the Database of OLEDB Source Connection String in OLEDB Destination
    Connection.
    To achieve this requirement, we can create a variable with the Database name of OLEDB Source Connection String, then use expression to control the OLEDB Source and OLEDB Destination Connection Strings. For more details, please refer to the following steps:
    Create a variable named Source with the Database name of OLEDB Source Connection String as value.
    Click the OLEDB Source Connection Manager to navigate to the Properties window.
    Click “…” next to Expressions to add a ConnectionString Property with the expression like below:
    "Data Source=.;Initial Catalog="+@[User::Source] + ";Provider=SQLNCLI11.1;Integrated Security=SSPI;Auto Translate=False;"
    Click the OLEDB Destination Connection Manager to navigate to the Properties window.
    Click “…” next to Expressions to add a ConnectionString Property with the expression like below:
    "Data Source=.;Initial Catalog="+ @[User::Source] + "DB"+";Provider=SQLNCLI11.1;Integrated Security=SSPI;Auto Translate=False;"
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to create Inventory Posting layout

    how to layout report to display
    Item,Total quantity of item delivered,returned
    thanks

    Hi Romel,
    Please check below link.
    Sample layouts and reports - Business One - SCN Wiki
    http://www.pioneerb1.com/wp-content/uploads/2012/04/How-to-work-with-Crystal-Reports-8.8.pdf
    SAP Business One Crystal Enhancements and Integration - YouTube
    Hope this helps
    Regards::::
    Atul Chakraborty

  • How to create list of string from set of parameters?

    Hey,
    I have query methods who gets set of parameters for example:
    getUser(String userName, int userAge)I use in int because this field is not null!!!
    I want to create a general auditing method - the auditing method get list of query param names and query param values, so i need to create a generic method that get set of valus (can be from any type) and return List<String>.
    Array.asList will not work because i have primitive types (like int)
    Thank you

    I wrote a helper for this.
    I dont know if there is supported helper in java.
        public static List<String> getStringList(Object... arguments)
            List<String> list = new ArrayList<String>();
            for (Object object : arguments)
                if (object == null)
                    list.add("NULL");
                else
                    list.add(object.toString());
            return list;
        }

  • How to create one soap interface with two soap action?

    Hi,
    I need to create one SOAP Interface with two or more webmethods (soap action), for example:
    Interface: MI_Outb_User
    Webmethods: createUser, searchUser, deleteUser.
    Can anybody helpe me?

    Hi Santos,
    I assume you will use one action at a time and depending upon certain condition you want to invoke the webservice and the corresponding action. If this is yes, then please check michaels reply in this thread:
    How can I handle serveral soap actions 
    or see stefans reply:
    Re: Is SOAP Adapter Action field can contain 2 or more "SOAP Actions"
    If this is not, then please ignore it.
    Regards,
    ---Satish

  • How to create widget Dynamically at run time using action script

    i have created  widget's in my application . but in the main page i want only selected widgets to be displayed..
    lets say i have 3 categories of users for which i've created 3 widget groups i.e. search , update , report. with in these groups i have number of widgets. if user belongs to searchUser category only search widget group has to be displayed in my main page, if user belongs to updateUser group i want to display search and update widget group in my main page and so  on..
    thanx

    Assuming these widgets are always on your main page, you could bind the visible parameter of the widget to variable, and then set that variable depending on the users group.  So you could mark your groups search =1, update =2, report =3.  Have a Bindable variable that you can set corrisponding to the group of the current user
    [Bindable]private var groupLevel:int;
    then in your search widget tag, set the visible parameter like so visible={(groupLevel>=1)?true:false}
    user widget would be visible={(groupLevel>=2)?true:false}
    and report widget visible={(groupLevel==3)?true:false}
    that should allow the widget so appear for the appropriate group.

Maybe you are looking for

  • Document password restriction

    I have mavericks OS X and created a new user due to problems with my older user account.  The genius bar helped move all of my files over to the new user without any problems.  However now when I am on my new user and I go to make any changes to thes

  • How to set different pointsize  (Font Size) for different text range in the single textframe.

    I have a one textframe in which i want to  set three different pointsize(font size) for three different text ranges. I have set different tag name for different text ranges . So How can I set different pointsize in the single texmframe. Please reply

  • Vendor with last transaction date

    Hi, Can I generate any report which contains all vendors with last transaction date? THis is for audit purpose. Thanks & Regards, Rajaneesh.C

  • A noobish question about kernel upgrades

    Hi, I am a noob lol. I just installed Arch a couple of weeks ago and I like it a lot. Seems like a lot more fun than most other distros I've tried. Very tight, fast and flexible. I've been through a couple of upgrades now including one kernel upgrade

  • Illustrator CS6 help thinks it's not connected to the internet

    This problem just cropped up for me today after using illustrator online and offline for the last year. The app suddenly thinks it's not connected to the internet when we are. I get the error message: "To access online help or to download help conten