CXML PO posting on HTTPS url

Hi,
My scenario is to post an cXML PO document on HTTPS url using XI.
I tried to import cXML DTD (standard) in XI, but it is of no use, as Vendor wants a customize cXML message. My approach is to create an underline xml structure in XI and then using Adapter Module programing add the additional cXML tag to the XML structure.
Also, the credentials are passed through Ariba Network.
Please let me know, whether my approach is right? or do I need to ask my Client to go buy an adapter from Seeburger or iWay?
Please advise.
Regards,
Amit

Thanks Prateek,
I will create a base xml structure in IR, as per the Vendor's xml structure (excluding tag for cXML) and then using adapter Module program, I will add additional tag of cXML. Will it work?
MY xml structure is like this:
<cXML payloadID="111122222333335556667678889999999999=" timestamp="2007-03-12T13:13:59-04:00" version="1.2.011" xml:lang="en-US">
  <Header>
</Header>
<Request>
</Request>
</cXML>
Header & Request structure will be created in IR and then using adapter module program add a tag for cXML.
Regards,
Amit

Similar Messages

  • Problems with SAP BC to post a request to https URL

    Hello,
    in a integration scenario one of our partners wants to send a xml to our server via https.<br/>
    I tried this internal with a test business connector. I simple use the WmPublic.pub.client http service.<br/>
    I try to post a record to an https:// URL and get an error. It seems that there is some trouble with the ssl handshake. However it is working in the browser.<br/>
    The option Security -> Certificates -> Trusted Certificates -> CA Certificates Directory is 'unspecified'. Therefore no server certificate should be reject.<br/>
    <br/>
    Now I got an 'iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure<br/>
    ' error. I do not find any helpful entries in this forum. Did anyone solve this issue?<br/>
    <br/>
    Thank you,<br/>
    Nils<br/>
    <br/>
    error:<br/>
    2009-08-03 10:08:13 CEST iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure<br/>
         at iaik.security.ssl.r.f(Unknown Source)<br/>
         at iaik.security.ssl.x.b(Unknown Source)<br/>
         at iaik.security.ssl.x.a(Unknown Source)<br/>
         at iaik.security.ssl.r.d(Unknown Source)<br/>
         at iaik.security.ssl.SSLTransport.startHandshake(Unknown Source)<br/>
         at iaik.security.ssl.SSLTransport.getInputStream(Unknown Source)<br/>
         at iaik.security.ssl.SSLSocket.getInputStream(Unknown Source)<br/>
         at com.wm.net.NetURLConnection.trySSLConnect(NetURLConnection.java:691)<br/>
         at com.wm.net.NetURLConnection.httpsConnect(NetURLConnection.java:562)<br/>
         at com.wm.net.NetURLConnection.connect(NetURLConnection.java:171)<br/>
         at com.wm.net.HttpURLConnection.getOutputStream(HttpURLConnection.java:419)<br/>
         at com.wm.net.HttpContext.getOutputStream(HttpContext.java:578)<br/>
         at com.wm.net.HttpContext.getOutputStream(HttpContext.java:554)<br/>
         at com.wm.net.HttpContext.post(HttpContext.java:338)<br/>
         at pub.client.http(client.java:512)<br/>
    <br/>
    SAP BC Info:<br/>
    Software <br/>
    Product webMethods Integration Server <br/>
    Version 4.6 (Standard Encryption)    Release Notes  <br/>
    Updates BC46_CoreFix7  <br/>
    Build Number 940 + CoreFix 7 [Fixes 1-205 + SP1-3] <br/>
    SSL Standard (40-bit), Provider: IAIK 2.6 <br/>
      <br/>
    Server Environment <br/>
    Java Version 1.3.1_20 (47.0) <br/>
    Java Vendor Sun Microsystems Inc. <br/>
    Java Home /usr/jdk1.3.1_20/jre <br/>
    Java VM Version 1.3.1_20-b03 <br/>
    Java VM Info Java HotSpot(TM) Client VM (mixed mode) <br/>
    Classpath /usr/local/sapbc46/server/updates/BC46_CoreFix7.jar<br/>
    /usr/local/sapbc46/server/lib/server.jar<br/>
    /usr/java/lib/i18n.jar<br/>
    /usr/java/jre/lib/rt.jar<br/>
    /usr/java/lib/i18n.jar<br/>
    /usr/java/jre/lib/rt.jar<br/>
    /usr/java/lib/i18n.jar<br/>
    /usr/java/jre/lib/rt.jar<br/>
    /usr/java/lib/i18n.jar<br/>
    /usr/java/jre/lib/rt.jar<br/>
    /usr/java/lib/i18n.jar<br/>
    /usr/java/jre/lib/rt.jar<br/>
    /usr/java/lib/i18n.jar<br/>
    /usr/java/jre/lib/rt.jar<br/>
    /usr/local/sapbc46/server/lib/classes<br/>
    /usr/local/sapbc46/server/lib/client.jar<br/>
    /usr/local/sapbc46/server/lib/mail.jar<br/>
    /usr/local/sapbc46/server/lib/server.jar<br/>
    packages/SAP/code/classes<br/>
    packages/SAP/code/jars/static/inqmyxml.jar<br/>
    packages/SAP/code/jars/static/jARM.jar<br/>
    packages/SAP/code/jars/static/jCO.jar<br/>
    packages/SAP/code/jars/static/sapjco.jar<br/>
    packages/SAP/code/jars/static/sapxmltoolkit.jar<br/>
    packages/WmPartners/code/classes<br/>
    packages/WmWin32/code/classes <br/>
    OS Linux <br/>
    OS Platform i386 <br/>
    OS Version 2.6.18.8-0.13-default <br/>
    Current User sapbc <br/>
    Working Dir /usr/local/sapbc46/server<br/>

    Ok - in this case you need to include to session based SSL setup in your flow (scenario).
    The pub.security:setKeyAndChain and pub.security:clearKeyAndChain services are used to control which client certificate
    the SAP BC server presents to remote servers. You need to use these services to switch between certificates and
    certificate chains if you are not using aliases for remote servers.
    List of services to be used:
    pub.security:clearKeyAndChain
    -- Associates the default key and certificate chain with the subsequent set of invoked services.
    pub.security:setKeyAndChain
    -- Processes a digital signature to make sure that the provided data has not been modified. The signature input is the DER encoding of the PKCS#7 SignedData object.
    pub.security.pkcs7:sign
    -- Creates a PKCS7 SignedData object.
    pub.security.pkcs7:verify
    -- Processes a digital signature to make sure that the provided data has not been modified.
    pub.security.util:createMessageDigest
    -- Generates a message digest for a given message.
    pub.security.util:getCertificateInfo
    -- Retrieves information (e.g., serial number, issuer, expiration date) from a digital certificate.
    pub.security.util:loadPKCS7CertChain
    -- Converts a certificate chain that is in PKCS7 format to a list (a one-dimensional array) of byte arrays.
    Example:
    Invoke pub.client:http to send data to Company D.
    Invoke pub.security:setKeyAndChain using the key and certificate chain for Company B.
    Invoke pub.client:http to send data to Company B.
    Invoke pub.security:setKeyAndChain using the key and certificate chain for Company C.
    Invoke pub.client:http to send data to Company C.
    Invoke pub.security:clearKeyAndChain to revert back to the default key and certificate chain for Company
    Au2019s server.
    Invoke pub.client:http to send data to Company D.
    Edited by: Kai Lerch-Baier on Aug 3, 2009 1:47 PM

  • Need to post to HTTP destination with a dynamic URL

    I have a working interface that posts to a static URL using an HTTP via an SM59 connection.
    however i now need to do something similar, but use a dynamic field from the data to post as part of the url...
    so it will be something like...
    http://host.fqdn:port/path/goes/boldfield1bold/here/to/remove
    field1 being a variable in my xml.
    i guess i post to a URL with URL Address instead of HTTP destination, and i can use the header fields in adapter specific message attributes... however i do not want to send the xml....  so do i have to map just the single field to my target xml?  how do i not send the xml as it is integrated within the URL?
    how do i add the field1 within the path:   /path/goes/boldfield1bold/here/to/remove into the options within the communication channel?
    does that make sense?

    Hi Barry,
    If I understood well, and you have one part of the target URL fixed, and the other one is going to be dynamic.
    You can use, as you said, the ASMA for HTTP adapter, and in the middle of the mapping you can create a simple UDF to create the URL. But as the result of that UDF, you just return the same value that you'd map if the UDF didn't exist.
    For example you can use a funcion "setURL" and you can have 2 inputs: "url" and "companyname", but you just return "companyname" that is the value that really has to be mapped.
    I hope this helps you.
    Juan.

  • Post an XML on HTTPS URL using XI

    Hi All,
    My scenario is SAP SRM - XI - HTTP, where I am posting an XML message from XI to HTTPS URL using HTTP receiver adapter.
    Can you tell me what all step needs to be done to configure HTTP receiver adapter in this case. Also, since I have to post an XML message on HTTPS URL (Which is outside the domain), do I need to apply SSL certificates as well?
    Appreciate your help!!!
    Thanks & Regards,
    Amit

    Hi Amit
    regarding HTTP URl  just check these
    You can use the HTTP adapter. Refer to following SDN TV demo of the HHTP adapter for details steps involved into it.
    https://media.sdn.sap.com/SDNTV/main.asp?mediaId=107
    HTTPS using XMLSPY
    http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/frameset.htm
    The HTTPS configuration data of the Adapter Engines has to be configured in the SLD.
    More Information in the "SAP Security Guide XI"
    http://help.sap.com/saphelp_nw04/helpdata/de/f7/c2953fc405330ee10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
    Under Security Check for Inbound Messages, you can specify which HTTP Security Level is to be assumed for incoming messages. You can choose from the following security levels:
    &#9675; HTTP (default value)
    &#9675; HTTPS without client authentication
    &#9675; HTTPS with client authentication
    http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/65/6a563cef658a06e10000000a11405a/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm
    <b>Pls reward if useful </b>

  • ACE match http url with post data

    I need to make a layer-7 load balancing decision at the ACE module based on a URL string that includes form POST data. It is important that the balancing decision include and parse the part of the URL after the question mark. This doesn't seem to work with the "match http url" config on the ACE. My interpretation is that the ACE does not consider the POST data to be part of the URL string, and therefore does not include it in the regular expression matching. Am I missing something here, or have I run into a limitation of the ACE module?
    class-map type http loadbalance match-any L7__URL_MATCH_CLASS
    2 match http url index.php\?field=content.*

    Hi
    The '?' has a special meaning in the URL. It means the end of the main URL and the beginning of the URL query.
    Its not possible to match ? in the url.
    One option could be using secondary cookie matching in ACE.
    class-map type http loadbalance match-any xyz
    2 match http cookie secondary field cookie-value content
    Thanks
    Syed

  • How to post a link (URL) in "Apple Discussions"

    You can shorten your links (URLs) by using HTML coding.
    This is preferable when the URL is very long. Posting the entire URL can extend the width of a post beyond the range of many computer screens. This can make a post difficult to read, as it necessitates sideways scrolling.
    This is the format to use:
    <a href="Insert URL Here">Type Title Here</a>
    The quotation marks are necessary.
    This link Search Apple Support, would be formatted like this:
    <a href="http://search.info.apple.com/">Search Apple Support</a>
    The title can be anything you choose.
    To avoid typos, it is helpful to go to the web page you are linking to, and copy & paste the URL from the address bar of your browser.
    Some helpful Utilities:
    level4 "Panther only" at present
    Typeit4me
    And for more HTML tricks, check this out How Can I Format My Post by Joerg Weise
    Have Fun!
    ali b

    How to post a link (URL) in "Apple Discussions"
    You can shorten your links (URLs) by using HTML coding.
    This is preferable when the URL is very long. Posting the entire URL can extend the width of a post beyond the range of many computer screens. This can make a post difficult to read, as it necessitates sideways scrolling.
    This is the format to use:
    <a href="Insert URL Here">Type Title Here</a>
    The quotation marks are necessary.
    This link Search Apple Support, would be formatted like this:
    <a href="http://search.info.apple.com/">Search Apple Support</a>
    The title can be anything you choose.
    To avoid typos, it is helpful to go to the web page you are linking to, and copy & paste the URL from the address bar of your browser.
    Some helpful Utilities:
    level4 "Panther only" at present
    Typeit4me
    And for more HTML tricks, check this out How Can I Format My Post by Joerg Weise
    Have Fun!
    ali b

  • [CS3 JS SDK] Possible to Use HTTP URLs for Links?

    I am attempting to use JavaScript to implement a connector from CS3 (InDesign/InCopy in my case) to our content management system. Our CMS provides an HTTP-based API. By using the HttpConnection object (from the Bridge code, see posts on "httpwebaccess library") I can access our repository using HTTP URLs and, for example, get an InDesign document or INX file (and the UI support in CS3 scripting makes it possible for me to build all the UI components I need without having to write a true plugin).
    However, what I *can't* seem to do is create Link objects that use a URL, rather than a File, to access resources.
    My goal is to be able to store in our repository InDesign documents that use URLs to other resources in the repository for links (e.g., to graphics and InCopy articles).
    However, as far as I can tell from the scripting documentation and my own experiments, the URL property on Link is read-only in JavaScript (even though the scripting API HTML indicates it's a read/write property) and Link instances can only be constructed using File objects.
    My question: have I missed some trick in the scripting API (or elsewhere) that would allow me to create links that use URLs instead of files (and having done so would InDesign resolve those URLs?)? Our repository does support WebDAV, so that might be an option, but it would depend on mounting WebDAV services in consistent places on client machines, which is dicey at best, given the weak nature of the WebDAV clients on both Windows and OS X).
    Or are my only options to either copy linked resources to the client's local file system (or a shared network drive) or implement a plugin that implements my desired behavior for links?
    And if the answer is a plugin, will that even work?
    This is in the context of CS3. Has the Link mechanism changed at all in CS4 such that I could do what I want in CS4 where I cannot in CS3?
    Thanks,
    Eliot

    Hi,
    It is not possible to use HTTP URLS in CS3. You will have to create a plug-in to use Custom Data Links.
    I think it is possible to use HTTP URLs in CS4 as per the User Guide.
    Regards,
    Anderson

  • HTTP-CODE 500 when POST via https

    Hi,
    I've a serious problem here. When I try to post some data to a https server I'll always get an 500 internal Server Error back. What could be the problem? Here is my code that is responsible for posting:
            System.setProperty("proxySet","true");
            System.setProperty("https.proxyHost",prxy);
            System.setProperty("https.proxyPort",prxyPrt);
    String hh = "https://" + host;
                URL u = new URL(hh);
                con = (HttpsURLConnection)u.openConnection();
                con.setDoOutput(true);
                con.setDoInput(true);
                PrintWriter out = new PrintWriter(con.getOutputStream());
                out.write(daPost);
                out.flush();
                BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));
                int c;
                while((c = in.read()) != -1) {
                    System.out.write(c);
                con.disconnect();The stuff that is stored in daPost is bullet-proof correct, because when it is posted with a VB-Application everything is ok........ and it is verified that both my java-application and the vb-application are producing the same POST-Data
    What could be the problem?
    Big thx in advance.
    LoCal

    Did you try to make the same post from an html form using a browser? That might show some extra info on what the problem with the post excactly is. Also, you are using a proxy server, the 500 reply could come from the host you are posting to, but also from the proxy server.
    What's in host? Is there a full url in it, or just the hostname? It might be you are trying to post to "https://somewhere.com" instead of to "https://somewhere.com/somescript.cgi".

  • Can any body help me in reading from HTTPS URL

    I need to read an HTTPS URL and store the response within a table .
    How will I manage to do it from within a servlet using URLConnection and openStream as it does'nt work .
    How will JSSE help in this regard .
    Since I also need to give the userid and password to get into the file and read the file
    https://anyhost.com/readthisfile.html
    somnath
    Web Developer

    Hi,
    The Java Secure Socket Extension (JSSE) library from Sun Microsystems lets you access a secure Web server from behind a firewall via
    proxy tunneling. To do this, the JSSE application needs to set the https.ProxyHost and https.ProxyPort system properties. The
    tunneling code in JSSE checks for "HTTP 1.0" in the proxy's response. If your proxy, like many, returns "HTTP 1.1", you will get an
    IOException. In this case, you need to implement your own HTTPS tunneling protocol.
    In this article, I will show you how to create a secure socket that tunnels through the firewall, and pass it to the HTTPS stream handler to
    open HTTPS URLs using the URLConnection class.
    Open the http tunnel socket to the proxy
    The first step to creating your secure socket is to open the tunneling socket to the proxy port. The code needed to do this proxy
    handshaking can be found in the sample code SSLClientSocketWithTunneling.java that comes with the JSSE distribution. First, a normal socket is created that connects to
    the proxy port on the proxy host (line 65). After the socket is created, it is passed to the doTunnelHandshake() method where the proxy's tunneling protocol is called:
    54 SSLSocketFactory factory =
    55 (SSLSocketFactory)SSLSocketFactory.getDefault();
    56
    57 /*
    58 * Set up a socket to do tunneling through the proxy.
    59 * Start it off as a regular socket, then layer SSL
    60 * over the top of it.
    61 */
    62 tunnelHost = System.getProperty("https.proxyHost");
    63 tunnelPort = Integer.getInteger("https.proxyPort").intValue();
    64
    65 Socket tunnel = new Socket(tunnelHost, tunnelPort);
    66 doTunnelHandshake(tunnel, host, port);
    In doTunnelHandshake(), an http "CONNECT" command is sent to the proxy, with the secure site's hostname and port number as the parameters (line 161). In the original
    tunneling code on line 206 in JSSE, it then checks for "HTTP/1.0 200" in the proxy's reply. If your organization's proxy replies with "HTTP 1.1", an IOException will be
    thrown. To get around this, the code here checks for the reply "200 Connection Established", which indicates that tunneling is successful (line 207). You can modify the
    code to check for the expected corresponding response from your proxy:
    139 private void doTunnelHandshake(Socket tunnel, String host, int port)
    140 throws IOException
    141 {
    142 OutputStream out = tunnel.getOutputStream();
    143 String msg = "CONNECT " + host + ":" + port + " HTTP/1.0\n"
    144 + "User-Agent: "
    145 + sun.net.www.protocol.http.HttpURLConnection.userAgent
    146 + "\r\n\r\n";
    147 byte b[];
    148 try {
    149 /*
    150 * We really do want ASCII7 -- the http protocol doesn't change
    151 * with locale.
    152 */
    153 b = msg.getBytes("ASCII7");
    154 } catch (UnsupportedEncodingException ignored) {
    155 /*
    156 * If ASCII7 isn't there, something serious is wrong, but
    157 * Paranoia Is Good (tm)
    158 */
    159 b = msg.getBytes();
    160 }
    161 out.write(b);
    162 out.flush();
    163
    164 /*
    165 * We need to store the reply so we can create a detailed
    166 * error message to the user.
    167 */
    168 byte reply[] = new byte[200];
    169 int replyLen = 0;
    170 int newlinesSeen = 0;
    171 boolean headerDone = false; /* Done on first newline */
    172
    173 InputStream in = tunnel.getInputStream();
    174 boolean error = false;
    175
    176 while (newlinesSeen < 2) {
    177 int i = in.read();
    178 if (i < 0) {
    179 throw new IOException("Unexpected EOF from proxy");
    180 }
    181 if (i == '\n') {
    182 headerDone = true;
    183 ++newlinesSeen;
    184 } else if (i != '\r') {
    185 newlinesSeen = 0;
    186 if (!headerDone && replyLen < reply.length) {
    187 reply[replyLen++] = (byte) i;
    188 }
    189 }
    190 }
    191
    192 /*
    193 * Converting the byte array to a string is slightly wasteful
    194 * in the case where the connection was successful, but it's
    195 * insignificant compared to the network overhead.
    196 */
    197 String replyStr;
    198 try {
    199 replyStr = new String(reply, 0, replyLen, "ASCII7");
    200 } catch (UnsupportedEncodingException ignored) {
    201 replyStr = new String(reply, 0, replyLen);
    202 }
    203
    204 /* We check for Connection Established because our proxy returns
    205 * HTTP/1.1 instead of 1.0 */
    206 //if (!replyStr.startsWith("HTTP/1.0 200")) {
    207 if(replyStr.toLowerCase().indexOf(
    208 "200 connection established") == -1){
    209 throw new IOException("Unable to tunnel through "
    210 + tunnelHost + ":" + tunnelPort
    211 + ". Proxy returns \"" + replyStr + "\"");
    212 }
    213
    214 /* tunneling Handshake was successful! */
    215 }
    Overlay http tunnel socket with SSL socket
    After you have successfully created the tunneling socket, you overlay it with the SSL socket. Again, this is not difficult to do:
    54 SSLSocketFactory factory =
    55 (SSLSocketFactory)SSLSocketFactory.getDefault();
    56
    57 /*
    58 * Set up a socket to do tunneling through the proxy.
    59 * Start it off as a regular socket, then layer SSL
    60 * over the top of it.
    61 */
    62 tunnelHost = System.getProperty("https.proxyHost");
    63 tunnelPort = Integer.getInteger("https.proxyPort").intValue();
    64
    65 Socket tunnel = new Socket(tunnelHost, tunnelPort);
    66 doTunnelHandshake(tunnel, host, port);
    67
    68 /*
    69 * Ok, let's overlay the tunnel socket with SSL.
    70 */
    71 SSLSocket socket =
    72 (SSLSocket)factory.createSocket(tunnel, host, port, true);
    73
    74 /*
    75 * register a callback for handshaking completion event
    76 */
    77 socket.addHandshakeCompletedListener(
    78 new HandshakeCompletedListener() {
    79 public void handshakeCompleted(
    80 HandshakeCompletedEvent event) {
    81 System.out.println("Handshake finished!");
    82 System.out.println(
    83 "\t CipherSuite:" + event.getCipherSuite());
    84 System.out.println(
    85 "\t SessionId " + event.getSession());
    86 System.out.println(
    87 "\t PeerHost " + event.getSession().getPeerHost());
    88 }
    89 }
    90 );
    The code had called the SSLSocketFactory's getDefault() method earlier to get an instance of the SSLSocketFactory (line 54, repeated above). Next, it passes the
    tunneling socket that was created in the previous step to the createSocket() method of the SSLSocketFactory. The createSocket() method returns an SSLSocket that is
    connected to the destination host and port via the proxy tunnel. You can optionally add a HandshakeCompletedListener to the socket if you wish to be informed when the
    SSL handshaking is completed.
    The SSLSocket created is basically ready for use to transfer secure contents. The startHandshake() method is called to start the SSL handshaking (line 98). After which, you
    can issue the http "GET" command to retrieve the secure pages (line 105):
    91
    92 /*
    93 * send http request
    94 *
    95 * See SSLSocketClient.java for more information about why
    96 * there is a forced handshake here when using PrintWriters.
    97 */
    98 socket.startHandshake();
    99
    100 PrintWriter out = new PrintWriter(
    101 new BufferedWriter(
    102 new OutputStreamWriter(
    103 socket.getOutputStream())));
    104
    105 out.println("GET http://www.verisign.com/index.html HTTP/1.0");
    106 out.println();
    107 out.flush();
    However, issuing http commands to the tunneling SSL socket to access Webpages is not ideal because it would mean having to rewrite the whole http protocol handler from
    scratch. Instead, you should use the HTTPS URL APIs that the JSSE already includes for that purpose. To do this, you have to pass the tunneling SSL socket to the HTTPS URL
    stream handler.
    Pass SSL socket to HTTPS URL stream handler
    The JSSE library has an HttpsURLConnection class that is in the com.sun.net.ssl package, which extends the java.net.URLConnection class. An HttpsURLConnection object
    is returned by the URL object's openConnection() method when "HTTPS" is specified as the protocol. The HttpsURLConnection class has a method, setSSLSocketFactory(),
    that lets you set an SSLSocketFactory of your choice. To pass the tunneling SSL socket to the HTTPS URL stream handler, you would set the setSSLSocketFactory()
    method's parameter with a socket factory that returns the tunneling SSL socket that you created previously.
    To do this, you would wrap the code discussed previously in an SSLTunnelSocketFactory class that extends from the SSLSocketFactory class. The SSLSocketFactory is an
    abstract class. To extend it, you must implement the createSocket() method to return the tunneling SSL socket that you created earlier:
    12 public SSLTunnelSocketFactory(String proxyhost, String proxyport){
    13 tunnelHost = proxyhost;
    14 tunnelPort = Integer.parseInt(proxyport);
    15 dfactory = (SSLSocketFactory)SSLSocketFactory.getDefault();
    16 }
    44 public Socket createSocket(Socket s, String host, int port,
    45 boolean autoClose)
    46 throws IOException,UnknownHostException
    47 {
    48
    49 Socket tunnel = new Socket(tunnelHost,tunnelPort);
    50
    51 doTunnelHandshake(tunnel,host,port);
    52
    53 SSLSocket result = (SSLSocket)dfactory.createSocket(
    54 tunnel,host,port,autoClose);
    55
    56 result.addHandshakeCompletedListener(
    57 new HandshakeCompletedListener() {
    58 public void handshakeCompleted(HandshakeCompletedEvent event) {
    59 System.out.println("Handshake finished!");
    60 System.out.println(
    61 "\t CipherSuite:" + event.getCipherSuite());
    62 System.out.println(
    63 "\t SessionId " + event.getSession());
    64 System.out.println(
    65 "\t PeerHost " + event.getSession().getPeerHost());
    66 }
    67 }
    68 );
    69
    70 result.startHandshake();
    71
    72 return result;
    73 }
    Notice that the SSLTunnelSocketFactory contains a default SSLSocketFactory object. The default SSLSocketFactory object can be instantiated from a call to the static
    method getDefault() (line 15). You need this SSLSocketFactory object to overlay the tunnel socket with the SSL socket, as discussed earlier. You also call the default
    object's getDefaultCipherSuites() and getSupportedCipherSuites() methods when implementing the corresponding abstract methods of the SSLSocketFactory super
    class. For implementation details, please refer to the complete source code for the SSLTunnelSocketFactory in Resources.
    Tunnel through the proxy via URLConnection
    To tunnel through the proxy via URLConnection in your JSSE application, after you call the openConnection() method, check if the returned object is that of the
    HttpsURLConnection. If so, you instantiate your SSLTunnelSocketFactory object and set it in the setSSLSocketFactory() method (lines 22 through 25):
    10 public class URLTunnelReader {
    11 private final static String proxyHost = "proxy.sg.ibm.com";
    12 private final static String proxyPort = "80";
    13
    14 public static void main(String[] args) throws Exception {
    15 System.setProperty("java.protocol.handler.pkgs",
    16 "com.sun.net.ssl.internal.www.protocol");
    17 //System.setProperty("https.proxyHost",proxyHost);
    18 //System.setProperty("https.proxyPort",proxyPort);
    19
    20 URL verisign = new URL("https://www.verisign.com");
    21 URLConnection urlc = verisign.openConnection(); //from secure site
    22 if(urlc instanceof com.sun.net.ssl.HttpsURLConnection){
    23 ((com.sun.net.ssl.HttpsURLConnection)urlc).setSSLSocketFactory
    24 (new SSLTunnelSocketFactory(proxyHost,proxyPort));
    25 }
    26
    27 BufferedReader in = new BufferedReader(
    28 new InputStreamReader(
    29 urlc.getInputStream()));
    30
    31 String inputLine;
    32
    33 while ((inputLine = in.readLine()) != null)
    34 System.out.println(inputLine);
    35
    36 in.close();
    37 }
    38 }
    You can then access the HTTPS URLs using the APIs provided by the URLConnection class. You don't need to worry about the format of the http GET and POST commands,
    which you would if you used the SSL Socket APIs.
    The complete source code for the SSLTunnelSocketFactory and the application code that connects to a secure URL using proxy tunneling is included in Resources. To
    compile and run the application, you would need to download and install Sun's JSSE from its Website, also listed in Resources.
    Conclusion
    If your JSSE application could not tunnel through your organization's firewall, you need to implement your own tunneling socket. The sample code included with the JSSE
    distribution shows you how to open an SSL socket tunnel. This article goes one step further to show you how to pass the tunneling socket to the HTTPS URL stream handler,
    and saves you the trouble of rewriting a http handler
    I hope this will help you.
    Thanks
    Bakrudeen

  • Dynamically append values to http url in BPEL http bindings

    hi ,
    I have a requirement where I have to post an xml over the http url 'http://todm2344:67033/access/auth'.
    I have created a wsdl file with http bindings and the schema that this url expects and invoked that wsdl from my bpel process.
    But now the requirement is that I need to send a value of an id appended to the above url.
    Each time when i post an xml i should send it as say ''http://todm2344:67033/access/auth/34372''.
    That appended value is some value that comes in the request of the my BPEL.
    Please let me know on how this can be done.
    Thanks in advance!!!

    See thread Re: Noob Q - Override a WSDL location attribute
    Several good answers. I wrote:
    If you want to set the WS address at run time, e.g. from a property in your BPEL process that knows whether you in in DEV versus PROD, you just do a copy/assign from a variable with an XML fragment straight to the partnerlink. Looks weird, but it works (at least in 10.1.3):
    +<assign name="asn_set_endpoint">+
    +<copy>+
    +<from variable="var_endPointAddress" query='/ns1:EndpointAddress"/>+
    +<to partnerLink="myPartnerLinkName"/>+
    +</copy>+
    +</assign>+
    +There's a good walkthrough at:+
    +http://www.oracle.com/technology/pub/articles/bpel_cookbook/carey.html+
    +They define a variable called partnerReference, and then show screen shots of how to assign it to the partnerlink (step 8).+
    Good luck, Andy

  • Print PDF from http URL

    I have a project wherein a piece of it will require me to retrieve a PDF file from a http URL (i.e.
    http://www.somewebsite.com/test.pdf) and print the PDF.  I've been looking for examples of how to do this but I'm not finding any. Is the only way to do this download the PDF to disk and then send to a
    printer? Speaking of printing, I need to send the PDF to an IP address which I've not done before either. If someone could point me to a good example of that, I'd appreciate it.
    Thank you.

    Since I had access to ABCPDF8, I ended up using it to print the PDF.  ABCPDF comes with example projects that helped me figure out what I needed to get the PDF to print.  For anyone who also has access to
    ABCPDF and needs to use it to print a PDF, I've pasted my code below.  The code is a cut-down version of the ABCPDF example as I did not need a lot of the functionality the example had. 
    Thanks again to all who responded to my post.
    ABCPDF8 code:
                private static WebSupergoo.ABCpdf8.Doc mDoc = null;
                private static System.Drawing.Printing.PrintDocument mPrint = null;
                private static int mPage = 0;
                private static int mPageSaved = 0;
                private static int mCopiesNumber;
                private static string pdfFile;
                private static string pdfPrinterName;
                private static string pdfPrinterTray;
                public enum Method
                    AdobeReader,
                    ABCPDF8
                /// <summary>
                /// </summary>
                /// <param name="pdfFilePath"></param>
                /// <param name="printerName"></param>
                /// <param name="printMethod"></param>
                public static void DoPrint(string pdfFilePath, string printerName, string printerTray, Method printMethod)
                    if (System.IO.Path.GetExtension(pdfFilePath).Trim().ToUpper() != ".PDF")
                        throw new System.ApplicationException(String.Format("File '{0}' is not a PDF!", pdfFilePath));
                    pdfFile = pdfFilePath;
                    pdfPrinterName = printerName;
                    pdfPrinterTray = printerTray;
                    switch (printMethod)
                        case Method.AdobeReader:
                            PrintViaAdobeReader();
                            break;
                        case Method.ABCPDF8:
                            PrintViaABCPDF8();
                            break;
                        default:
                            break;
               private static void PrintViaABCPDF8()
                    mDoc = new WebSupergoo.ABCpdf8.Doc();
                    //read in the PDF
                    mDoc.Read(pdfFile);
                    //crete new print document
                    mPrint = new System.Drawing.Printing.PrintDocument();
                    mPrint.DocumentName = System.IO.Path.GetFileName(pdfFile);
                    mPrint.PrinterSettings.PrinterName = pdfPrinterName;
                    mPrint.PrinterSettings.FromPage = 1;
                    mPrint.PrinterSettings.ToPage = mDoc.PageCount;
                    mPrint.PrinterSettings.MinimumPage = 1;
                    mPrint.PrinterSettings.MaximumPage = mDoc.PageCount;
                    mPrint.QueryPageSettings += (sndr, args) =>
                        if (!String.IsNullOrWhiteSpace(pdfPrinterTray))
                            for (int i = 0; i < mPrint.PrinterSettings.PaperSources.Count; i++)
                                if (mPrint.PrinterSettings.PaperSources[i].SourceName.ToLower().Trim() == pdfPrinterTray.ToLower())
                                    args.PageSettings.PaperSource = mPrint.PrinterSettings.PaperSources[i];
                                    break;
                    mPrint.BeginPrint += new System.Drawing.Printing.PrintEventHandler(DoBeginPrint);
                    mPrint.EndPrint += new System.Drawing.Printing.PrintEventHandler(DoEndPrint);
                    mPrint.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(DoPrintPage);
                    mPrint.Print();
                    mDoc.Clear();
                    mDoc.Dispose();
                /// <summary>
                /// Start printing via ABCPDF8
                /// </summary>
                /// <param name="sender"></param>
                /// <param name="e"></param>
                private static void DoBeginPrint(object sender, System.Drawing.Printing.PrintEventArgs e)
                    mPage = mPrint.PrinterSettings.FromPage;
                    mPageSaved = mDoc.PageNumber;
                    mCopiesNumber = 1;
                /// <summary>
                /// Print page using ABCPDF8
                /// </summary>
                /// <param name="sender"></param>
                /// <param name="e"></param>
                private static void DoPrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e)
                    mDoc.PageNumber = mPage;
                    if (mCopiesNumber++ >= mPrint.PrinterSettings.Copies)
                        mPage++;
                        mCopiesNumber = 1;
                    e.HasMorePages = mPage <= mPrint.PrinterSettings.ToPage;
                    using (System.Drawing.Graphics g = e.Graphics)
                        if (mDoc.PageCount == 0) return;
                        if (mDoc.Page == 0) return;
                        WebSupergoo.ABCpdf8.XRect cropBox = mDoc.CropBox;
                        double srcWidth = (cropBox.Width / 72) * 100;
                        double srcHeight = (cropBox.Height / 72) * 100;
                        double pageWidth = e.PageBounds.Width;
                        double pageHeight = e.PageBounds.Height;
                        double marginX = e.PageSettings.HardMarginX;
                        double marginY = e.PageSettings.HardMarginY;
                        double dstWidth = pageWidth - (marginX * 2);
                        double dstHeight = pageHeight - (marginY * 2);
                        const bool autoRotate = true;
                        int rotate = 0;
                        if (autoRotate && srcWidth != srcHeight && dstWidth != dstHeight
                            && (srcWidth > srcHeight) != (dstWidth > dstHeight))
                            double temp = pageWidth;
                            pageWidth = pageHeight;
                            pageHeight = temp;
                            temp = marginX;
                            marginX = marginY;
                            marginY = temp;
                            temp = dstWidth;
                            dstWidth = dstHeight;
                            dstHeight = temp;
                            rotate = GetPageRotation(mDoc) % 360;
                            if (rotate <= -180)
                                rotate += 360;
                            else if (rotate > 180)
                                rotate -= 360;
                            rotate = rotate > 0 ? 90 : -90; // default to -90
                            // Use -90 because we want the staple to be at a top corner
                            // of the page.  Assuming a rotation of "rotate" (0 or 180 degrees)
                            // produces upright contents, a rotation of -90 or 90 degrees
                            // (respectively) produces outputs whose top is at the
                            // left edge of the portrait page.  The staple at the top-left
                            // corner of the portrait page will be at the top-right corner of the
                            // contents.
                        else
                            rotate = GetPageRotation(mDoc) % 360;
                            if (rotate != 180 && rotate != -180)
                                rotate = 0;
                        // if source bigger than destination then scale
                        if ((srcWidth > dstWidth) || (srcHeight > dstHeight))
                            double sx = dstWidth / srcWidth;
                            double sy = dstHeight / srcHeight;
                            double s = Math.Min(sx, sy);
                            srcWidth *= s;
                            srcHeight *= s;
                        // now center
                        double x = (pageWidth - srcWidth) / 2;
                        double y = (pageHeight - srcHeight) / 2;
                        // save state
                        double saveDotsPerInch = mDoc.Rendering.DotsPerInch;
                        mDoc.Rendering.AutoRotate = false;
                        System.Drawing.RectangleF theRect = new System.Drawing.RectangleF((float)x, (float)y, (float)srcWidth, (float)srcHeight);
                        int theRez = e.PageSettings.PrinterResolution.X;
                        if (e.PageSettings.Color) // color is generally CMYK so to translate from dpi to ppi we divide by four
                            theRez /= 4;
                        if (theRez <= 0) // Invalid printer resolution - use the default value
                            theRez = 72;
                        // draw content
                        mDoc.Rect.SetRect(cropBox);
                        System.Drawing.Drawing2D.Matrix oldTransform = null;
                        if (rotate != 0)
                            oldTransform = g.Transform;
                            switch (rotate)
                                case 90:
                                    using (System.Drawing.Drawing2D.Matrix matrix = new System.Drawing.Drawing2D.Matrix(0,
    1, -1, 0,
                                        (float)(2 * y + srcHeight), 0))
                                        g.MultiplyTransform(matrix);
                                    break;
                                case -90:
                                    using (System.Drawing.Drawing2D.Matrix matrix = new System.Drawing.Drawing2D.Matrix(0,
    -1, 1, 0,
                                        0, (float)(2 * x + srcWidth)))
                                        g.MultiplyTransform(matrix);
                                    break;
                                case 180:
                                case -180:
                                    using (System.Drawing.Drawing2D.Matrix matrix = new System.Drawing.Drawing2D.Matrix(-1,
    0, 0, -1,
                                        (float)(2 * x + srcWidth), (float)(2 * y +
    srcHeight)))
                                        g.MultiplyTransform(matrix);
                                    break;
                        g.SetClip(theRect);
                        if (!mDoc.Encryption.CanPrintHi)
                            mDoc.Rendering.DotsPerInch = 72;
                            using (System.Drawing.Bitmap bm = mDoc.Rendering.GetBitmap())
                                g.DrawImage(bm, theRect);
                        else
                            mDoc.Rendering.DotsPerInch = theRez;
                            mDoc.Rendering.ColorSpace = WebSupergoo.ABCpdf8.XRendering.ColorSpaceType.Rgb;
                            mDoc.Rendering.BitsPerChannel = 8;
                            byte[] theData = mDoc.Rendering.GetData(".emf");
                            System.IO.MemoryStream theStream = new System.IO.MemoryStream(theData);
                            using (System.Drawing.Imaging.Metafile theEMF = new System.Drawing.Imaging.Metafile(theStream))
                                g.DrawImage(theEMF, theRect);
                        if (oldTransform != null)
                            g.Transform = oldTransform;
                            oldTransform.Dispose();
                        // restore state
                        mDoc.Rendering.DotsPerInch = saveDotsPerInch;
                        mDoc.Rendering.AutoRotate = true;
                /// <summary>
                /// End printing ABCPDF8
                /// </summary>
                /// <param name="sender"></param>
                /// <param name="e"></param>
                private static void DoEndPrint(object sender, System.Drawing.Printing.PrintEventArgs e)
                    mDoc.PageNumber = mPageSaved;
                /// <summary>
                /// Current page number
                /// </summary>
                public static int PageNumber
                    get
                        if (mDoc == null)
                            return 0;
                        else
                            return mDoc.PageNumber;
                    set
                        if (mDoc != null && value <= mDoc.PageCount && value != mDoc.PageNumber)
                            mDoc.PageNumber = value;
                /// <summary>
                /// </summary>
                /// <param name="theDoc"></param>
                /// <returns></returns>
                private static int GetPageRotation(WebSupergoo.ABCpdf8.Doc theDoc)
                    return (theDoc != null) ? theDoc.GetInfoInt(theDoc.Page, "Rotate") : 0;

  • Setting form method to POST to hide URL using WWW_GET_REPORT with webrfc

    I want to hide the URL details when running webrfc reports. The link contains information that we want to hide form the user.
    Is there a way of setting the form method to POST rather than GET when running a report using webrfc function WWW_GET_REPORT.
    Thank you
    Karen

    yes its possible.
    for example, if you have a report with a selection screen parameter called abc .
    (parameters: abc(10) .)
    then the code would be
    form method="POST" action="http://abaphost.domain.com:1080/sap/bc/webrfc?sap-client=001" >
    input name="PARC_ABC" size= 10 maxlength= 10 >
    input type=hidden name= _FUNCTION  size= 30  value= WWW_GET_REPORT >                                                                      
    input type=hidden name= _REPORT  size= 30  value= Y_TEST_WEBRFC > 
      input type="submit" value="Execute report">    
      /form>
    Regards
    Raja

  • Https URL entry in AAM SharePoint

    Hi, I need to publish one SharePoint site over Internet with https URL.
    Currently I am using default URL to access internally, so I am creating new URL for Internet under Internet Zone in AAM with "https://desiredURL" .
    So my question is can I entry https URL in AAM in Central Admin?
    Or else there are other options to publish https URL for SharePoint site.
    guide me. 

    You need to extend your web application and enable SSL for the extended web site. After these changes, update the changes in AAM. Refer to the following post for more information
    https://nhutcmos.wordpress.com/2013/07/26/configure-ssl-certificate-for-sharepoint-external-https-access/
    https://store.bamboosolutions.com/kb/article.aspx?id=12666
    Cheers,

  • Need help with contacting HTTPS URL

    Hi,
    I am new bie to Java Security. I do not know where to start off with. Here is the requirement.
    I need to contact an HTTPS URL and this URL gives me output which is encypted data.
    I have to save this ecnrypted data into a file and I have the KEY to decrypt the data.
    I have tried several ways (all listed below) to get it working. But I am not successful. I get
    "javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found"
    Can you guys give me some insight on how to proceed?
    Thanks
    Mathew
    import java.util.*;
    import java.text.*;
    import java.net.*;
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import java.net.HttpURLConnection;
    import java.net.URL;
    import java.security.Permission;
    import javax.net.ssl.HttpsURLConnection;
    import java.security.*;
    import java.security.cert.*;
    import javax.net.ssl.*;
    import java.io.*;
    public class temp
         protected BufferedReader messageResponseReader;
         private static final String CERTIFICATE_TYPE = "SunX509";
         private static final String KEYSTORE_TYPE = "JKS";
         private static final String SSL_PROTOCOL = "TLS";
         private static final String CERTIFICATE_FACTORY_TYPE = "X.509";
         public static void main(String args[])
              try
                   try{
                             temp tmp = new temp();
                             String url = "https://test.mysite.com/one/perform.jsp?mode=get&check=true";
                             tmp.sendRequest(url);
                        }catch(Exception e)
                             e.printStackTrace();
              catch(Exception e){
                   e.printStackTrace();
    public String sendRequest(String urlString) throws Exception
    StringBuffer response = null;
    BufferedReader messageReader = null;
    try
                   String username = "user";
                   String password = "pwd";
                   String encoding = new sun.misc.BASE64Encoder().encode("username:password".getBytes());
                   //java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
                   //System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
                   // Needed for validation of the server certificate
                   //System.setProperty("javax.net.ssl.trustStore","C:\\cert\\key.txt");
                   // Needed for providing a clint certificate for client authentication
                   //System.setProperty("javax.net.ssl.keyStore","C:\\cert\\key.txt");
                   //System.setProperty("javax.net.ssl.keyStorePassword","te5t1ng");
                   //System.setProperty("ssl.SocketFactory.provider", "com.sun.net.ssl.internal.ssl.Provider");
                   KeyStore ks;
                   ks = KeyStore.getInstance("JKS");
                   CertificateFactory cf = CertificateFactory.getInstance(CERTIFICATE_FACTORY_TYPE);
                   TrustManagerFactory tmf = TrustManagerFactory.getInstance(CERTIFICATE_TYPE);
                   KeyManagerFactory kmf = KeyManagerFactory.getInstance(CERTIFICATE_TYPE);
                   FileInputStream fis = new FileInputStream("C:\\cert\\key.txt");
                   BufferedInputStream bis = new BufferedInputStream(fis);
                   Collection c = cf.generateCertificates(fis);
                   Iterator i = c.iterator();
                   while (i.hasNext()) {
                   java.security.cert.Certificate cert = (java.security.cert.Certificate)i.next();
                   System.out.println(cert);
                   ks.load(null, null);
                   X509Certificate the_cert = (X509Certificate)cf.generateCertificate(bis);
                   ks.setCertificateEntry("server_cert",the_cert);
                   tmf.init(ks);
                   ks = KeyStore.getInstance(KEYSTORE_TYPE);
                   ks.load(null, null);
                   the_cert = (X509Certificate)cf.generateCertificate(new FileInputStream("key.txt"));
                   ks.setCertificateEntry("client_cert",the_cert);
                   kmf.init(ks, null);
                   SSLContext ctx = SSLContext.getInstance(SSL_PROTOCOL);
                   KeyManager[] km = kmf.getKeyManagers();
                   TrustManager[] tm = tmf.getTrustManagers();
                   ctx.init (km, tm, null);
                   HttpsURLConnection.setDefaultSSLSocketFactory(ctx.getSocketFactory());
    urlString = urlString.replaceAll(" ","%20");
    URL url = new URL(urlString);
    //HttpsURLConnection urlCon = (HttpsURLConnection)url.openConnection();
    HttpURLConnection urlCon = (HttpURLConnection)url.openConnection();
    //com.sun.net.ssl.HttpsURLConnection urlCon = (com.sun.net.ssl.HttpsURLConnection)urlCon;
    /*urlCon.setRequestProperty("Host", url.getHost());*/
    urlCon.setDoOutput(true);
    urlCon.setDoInput(true);
    urlCon.setRequestMethod("POST");
    urlCon.setUseCaches (false);
    urlCon.setAllowUserInteraction(true);
    urlCon.setInstanceFollowRedirects(true);
    urlCon.setRequestProperty ("Authorization", "Basic " + encoding);
    //Permission permision = urlCon.getPermission();
    //System.out.println("permission name:"+permision.getName());
    urlCon.connect();
    //messageReader = new BufferedReader(new InputStreamReader(urlCon.getInputStream()));
    //response = new StringBuffer();
    //String line;
    //while((line = messageReader.readLine()) != null){
    // response.append(line);
    // response.append("\n");
    catch (Exception e) {
    e.printStackTrace();
    throw e;
    return "testing";

    sorry for the junk data.. Need to post it again

  • Difficulty with HTTPS URL monitoring using GRMG Lite

    Hello,
    I am getting error when i use GRMG lite scenario which is HTTPS URL. The error that i get is 'Reason for HTTP POST failure:No error message returned' when i start my scenario, and scenario failed. Could you please help me?
    Thanks a lot
    Venky

    Hello Venky
    I have the same problem
    Could you solve this in the meantime?
    Thank you
    Theo

Maybe you are looking for

  • Why does my 24fps look bad on my TV?

    I just got the Panasonic AG-HMC150. I have shot some footage at both 1080p24 and 720p24. I transcode the files to Pro Res in FCP and they look pretty good, I realize the panning isn't as smooth as 60i. I drag one of the files into the FCP timeline an

  • Migration Assistant Problem: Old MacBook Pro does not see new MacAir

    I have a brand new MacAir (OSX 10.7 and a 4 year old Macbook Pro (OSX 10.6)...trying to use Migration Assistant using Wifi, they're both on my network, but the new MacAir can "see" the old Macbook, but the old Macbook doesn't "see" the new MacAir...t

  • Unable to set breakpoint at statement CALL CUSTOMER-FUNCTION

    HI, I am try to set break point at CALL CUSTOMER-FUNCTION , to know the exit name for VA01 screen. But even after setting the break point it is not stopping . can anyone tell me wht could be the problem. i am setting like this , 1) entering '/h' 2) f

  • How to run a jar file using Java application.

    Hi all, I know that jar file can run using the following command, using the command prompt. java -jar jar-fileBut I don't know how to run that command through a Java code. Hope it's clear to you. So can you please explain how can I do it. Thanks, its

  • Insufficient disk space when rendering for print to video

    We have a new hard drive (1.5 terabytes) with one project and when printing to video, the "insufficient disk space" window appears and remove rendered files dialog box ahows.  167 mb of rendered files which could not be removed.  What is the solution