Resources for implementing HTTP web server using java

hi ,
Thanks for giving your precious time in reading the message.I want to build a HTTP web server using java,which will run on my machine and I can communicate with it through web browser(IE) using HTTP requests and response.
I know java language, but quite new to network programming.I want to gain enough knowledge on network programming in java.Can you please suggest me good books or any other resources available on the internet for the required subject.Any help will be greatly appreciated.
my email-id is : [email protected]

hi there my friend,
I am writing my own web server too. in w3c there is a sample web server called jigsaw-open source :) and simple-
I do think it worth trying.
you can contact me if you want to share some source and info. cause I will.
[email protected]
but within 2 weeks I will be back for studying for my web server. you have to wait for a while.

Similar Messages

  • Monitor a web server using java

    Hi All,
    How can we monitor the webserver and its performance using java? what are the steps we should follow to do it and which java package i should concentrate to do this task?Give me some ideas about this?
    regards,
    Maheshwaran Devaraj

    I should monitor the up time, response time, status of server , and If it is going to Not responding state I should recover the server and also need to generate the report about the server performance.

  • Connecting to http web site using java socket

    Hi,
    Sockets in Java I believe are reusable. Once created, it can be used to send a request using its input stream and get back a response using the output stream. My problem is I am trying to connect to a website using java socket but I am unable to get a response (though the same works fine I use URL and URLConnection). Can anyone tell me whats wrong? Below is the client program:
    public class HttpAdapterTest {
         public static void main(String[] args) {
              try {
                   Socket socket = new Socket("www.google.com", 80);
                   BufferedWriter out = new BufferedWriter(
                                  new OutputStreamWriter(socket.getOutputStream()));
                   out.write("GET /help/basics.html HTTP/1.1");
                   out.flush();
                   BufferedReader in = new BufferedReader(
                                            new InputStreamReader(ucon.getInputStream()));
                   String line = null;
                   while((line = in.readLine()) != null) {
                        System.out.println(line);
                   in.close();
              } catch (Exception e) {
                   e.printStackTrace();
    }

    Look at the JSSE examples. You need to setup a key store, add the jsse jars to your classpath, yadda, yadda, yadda....

  • Creating Web Services using Java Implementation

    Hi,
    This is quite a general question on how to create a Web Service using Java Implementation that needs to conform to a client XML schema.
    Here are my Version specs,
    I am using Jdeveloper 10.1.3.4.0 and deploying onto OAS 10.1.3.
    I will be creating a J2ee 1.4 (JAX-RPC) Web Service using Document/Wrapped style.
    I have been provided an XML schema from the client which is quite complex.
    Using a top-down approach, I can create my WSDL file and import the XML Schema for my type definitions.
    The Web service aim is to accept some parameters and return some data from the Oracle Database. The
    XML response from the web service must conform to the element, attribute definitions in the provided XML schema.
    From a Java implementation approach, what is the best (simplest or quickest) way to retrieve data from the Oracle
    tables and map each fields/column to the required XML output (defined in the XML schema).
    I'm not too concerned with using Java to retrieve data from the Database, more with how I can map the data returned
    to the required output. Can this mapping task be controlled within the Java program?
    Thanks in advance.

    Hi,
    This is quite a general question on how to create a Web Service using Java Implementation that needs to conform to a client XML schema.
    Here are my Version specs,
    I am using Jdeveloper 10.1.3.4.0 and deploying onto OAS 10.1.3.
    I will be creating a J2ee 1.4 (JAX-RPC) Web Service using Document/Wrapped style.
    I have been provided an XML schema from the client which is quite complex.
    Using a top-down approach, I can create my WSDL file and import the XML Schema for my type definitions.
    The Web service aim is to accept some parameters and return some data from the Oracle Database. The
    XML response from the web service must conform to the element, attribute definitions in the provided XML schema.
    From a Java implementation approach, what is the best (simplest or quickest) way to retrieve data from the Oracle
    tables and map each fields/column to the required XML output (defined in the XML schema).
    I'm not too concerned with using Java to retrieve data from the Database, more with how I can map the data returned
    to the required output. Can this mapping task be controlled within the Java program?
    Thanks in advance.

  • Using private key installed on Sun One web server in java code.

    Hi,
    I am digitally signing an XML string. I have been able to successfully do this using the .keystore and the JSSE API.
    I need to run this code in the SUN ONE Web server, hence I have installed a self signed cert in the web server, using the web console.
    I need to load the .keystore that is being maintained by the Sun One Web Server in my Java program as a �KeyStore� object
    Presently I am using the following JSSE calls:
    KeyStore keystore = KeyStore.getInstance(KeyStore.getDefaultType());
    // Load the keystore contents
    FileInputStream in = new FileInputStream(keystoreFile);
    keystore.load(in, keystorePassword);
    in.close();
    Now how do I access the keystore and the certs that I have added in the web server? Is there any SUN API for this?
    Any help will be appreciated!
    Regards,
    Nandan
    Message was edited by:
    NANDAN

    The global zone should offer no services to the network except services required to administer the system. SSH from known IPs. Put everything in zones for the security of the system. Zones have no performance penalty so there is no advantage to running on the host system in the global zone.
    Sun's Java Enterprise server software webserver, directory server, etc required a full zone due to Solaris Package issues or conflicts; writing stuff in /usr; or both. A whole root for this software should not be a big deal. I create zones 9 at a time numbered in sequence. Zone 8 and 9 are whole root zones for requirements such as this.
    I'll leave to others to alert us if the whole root zone requirement changes for Sun's Java Enterprise Server software.
    Message was edited by:
    jgmarce

  • Security Filtering on the v7 Web Server using sed_request

    I have been trying to improve protection of an application from cross-site scripting and SQL injection attackes. The ideal solution is the modsecurity rulebase but this is for Apache 2 only so I haev been looking for other solutions. I'm not going to guarantee all of the following since I haven't finished testing it but it looks hopeful so far as an avenue for investigation.
    A direct port of the modsecurity engine to the Sun One / iPlanet web server has been started, with an unsupported implementation with near complete functionality in the version 7 codebase, but not all keywords required for the rules are available in this release and it remains unsupported for production use. A simpler but fully supported solution is the sed filter; which is also provided with the version 7 product, but as a separate NSAPI plugin implementing the sed_request and sed_response server application functions (SAFs) which could theoretically be lifted out and run against earlier versions of the web server.
    So, how does the sed filter help? Well, although the functionality is less than that of the full modsecurity engine and performance is more limited, as implementing the Unix stream editor (sed) support for simple basic regular expressions it is possible to port some of the key modsecurity rules. The approach is a simple one:
    * Choose the key rules for modsecurity that are to implemented, e.g. SQL injection, cross-site scripting, etc
    * Open the rule set for each and copy out the extended regular expression
    * Translate the extended regular expression to a standard basic regular expression, including replacing the found string with nothing
    * Import the new sed rule into the obj.conf for the web server instance
    This is best explained with a simple example.
    First download the modsecurity source code from http://www.modsecurity.org and unpackage the tarball. In the resulting directory tree go to the rules/base_rules subdirectory and open the modsecurity_crs_41_sql_injection_attacks.conf file. In this file are a number of security rules defined, but a simple examination of each will show the format, the phase and a description after the SecRule keyword and some type information. Note that many of the security rules can be applied unchanged by the unsupported Sun One / iPlanet modsecurity engine that will be a full implementation in a future release. After the type information the extended regular expression used to define when the rule is to be applied can be found. For example, consider one SQL injection rule:
    SecRule REQUEST_FILENAME|ARGS_NAMES|ARGS|XML:/* "\buser_tab_columns\b" \
    "phase:2,rev:'2.0.5',capture,t:none,ctl:auditLogParts=+E,pass,no
    log,auditlog,msg:'Blind SQL Injection Attack',id:'959536',tag:'WEB_ATTACK/SQL_INJECTION',tag:'WASCTC/WASC-19',tag:'OWASP_TOP_10/A1',tag:'OWASP_AppSensor/CIE1',tag:'PCI/6.5.2',logdata:'%{TX.0}',severity:'2',setvar:'tx.msg=%{rule.msg}',setvar
    :tx.sql_injection_score=+%{tx.critical_anomaly_score},setvar:tx.anomaly_score=+%
    {tx.critical_anomaly_score},setvar:tx.%{rule.id}-WEB_ATTACK/SQL_INJECTION-%{matched_var_name}=%{tx.0}"
    In this the extended regular expression saying when this rule applies is "\buser_tab_columns\b"
    which tells the rules engine to look for the phrase “user_tab_columns” in the input stream.
    We want to replace this with nothing, so a sample sed rule for this would be
    sed="s/\buser_tab_columns\b//g"
    This says to replace all occurences found in the stream with nothing.
    Taking this to its extreme, which will not result in the fastest processing, but will ptotect from cross-site scripting and SQL injection POST attacks against a back end Oracle environment, we end up with a complex segment of an obj.conf for Oracle iPlanet Web Server 7.09. Details are in the next post.

    This is something like:
    <Object name="default">
    Input fn="insert-filter"
    method="(GET|POST|HEAD)"
    filter="sed-request"
    sed="s/</\\</g"
    sed="s/%3c/\\</g"
    sed="s/%3C/\\</g"
    sed="s/>/\\>/g"
    sed="s/%3e/\\>/g"
    sed="s/%3E/\\>/g"
    sed="s/\x2Eexecscript\b//g"
    sed="s/<body\b.*?\bonload\b//g"
    sed="s/\blivescript://g"
    sed="s/\bsettimeout\b[^a-zA-Z_0-9]*?//g"
    sed="s/\x3C ?iframe//g"
    sed="s/\bsrc\b[^a-zA-Z_0-9]*?\bjavascript://g"
    sed="s/\bsrc\b[^a-zA-Z_0-9]*?\bvbscript://g"
    sed="s/\btype\b[^a-zA-Z_0-9]*?\btext\b[^a-zA-Z_0-9]*?\becmascript\b//g"
    sed="s/\x2Ecookie\b//g"
    sed="s/\x3C\x21\x5Bcdata\x5B//g"
    sed="s/\x2Eaddimport\b//g"
    sed="s/\bhref\b[^a-zA-Z_0-9]*?\bjavascript://g"
    sed="s/\btype\b[^a-zA-Z_0-9]*?\btext\b[^a-zA-Z_0-9]*?\bjscript\b//g"
    sed="s/\balert\b[^a-zA-Z_0-9]*?\x28//g"
    sed="s/\btype\b[^a-zA-Z_0-9]*?\bapplication\b[^a-zA-Z_0-9]*?\bx-vbscript\b//g"
    sed="s/\x3C ?meta\b//g"
    sed="s/\bsrc\b[^a-zA-Z_0-9]*?\bhttp://g"
    sed="s/\btype\b[^a-zA-Z_0-9]*?\btext\b[^a-zA-Z_0-9]*?\bvbscript\b//g"
    sed="s/\bhref\b[^a-zA-Z_0-9]*?\bvbscript://g"
    sed="s/\burl\b[^a-zA-Z_0-9]*?\bjavascript://g"
    sed="s/\x2Einnerhtml\b//g"
    sed="s/\x40import\b//g"
    sed="s/\x3C ?script\b//g"
    sed="s/\btype\b[^a-zA-Z_0-9]*?\btext\b[^a-zA-Z_0-9]*?\bjavascript\b//g"
    sed="s/\x2Efromcharcode\b//g"
    sed="s/\burl\b[^a-zA-Z_0-9]*?\bvbscript://g"
    sed="s/\bsettimeout\b[^a-zA-Z_0-9]*?\x28//g"
    sed="s/<(a|abbr|acronym|address|applet|area|audioscope|b|base|basefront|bdo|bgsound|big|blackface|blink|blockquote|body|bq|br|button|caption|center|cite|code|col|colgroup|comment|dd|del|dfn|dir|div|dl|dt|em|embed|fieldset|fn|font|form|frame|frameset|h1|head|hr|html|i|iframe|ilayer|img|input|ins|isindex|kdb|keygen|label|layer|legend|li|limittext|link|listing|map|marquee|menu|meta|multicol|nobr|noembed|noframes|noscript|nosmartquotes|object|ol|optgroup|option|p|param|plaintext|pre|q|rt|ruby|s|samp|script|select|server|shadow|sidebar|small|spacer|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|ul|var|wbr|xml|xmp)[^a-zA-Z_0-9]//g"
    sed="s/(asfunction|javascript|vbscript|data|mocha|livescript)://g"
    sed="s/(fromcharcode|alert|eval)\x73*\x28//g"
    sed="s/<!\x5Bcdata\x5B|\x5D>//g"
    sed="s/['\"<]xss['\">]//g"
    sed="s/(88,83,83)//g"
    sed="s/'';!--\"<xss>=&{()}//g"
    sed="s/&{//g"
    sed="s/<!(doctype|entity)//g"
    sed="s/(?i:<style.*?>.*?((@[i\\\\])|(([:=]|(&[#\x28\x29=]x?0*((58)|(3A)|(61)|(3D));?)).*?([(\\\\]|(&[#()=]x?0*((40)|(28)|(92)|(5C));?)))))//g"
    sed="s/(?i:[ /+\t\"\'`]style[ /+\t]*?=.*?([:=]|(&[#()=]x?0*((58)|(3A)|(61)|(3D));?)).*?([(\\\\]|(&[#()=]x?0*((40)|(28)|(92)|(5C));?)))//g"
    sed="s/(?i:<object[ /+\t].*?((type)|(codetype)|(classid)|(code)|(data))[ /+\t]*=)//g"
    sed="s/(?i:[ /+\t\"\'`]datasrc[ +\t]*?=.)//g"
    sed="s/(?i:<base[ /+\t].*?href[ /+\t]*=)//g"
    sed="s/(?i:<link[ /+\t].*?href[ /+\t]*=)//g"
    sed="s/(?i:<meta[ /+\t].*?http-equiv[ /+\t]*=)//g"
    sed="s/(?i:<?import[ /+\t].*?implementation[ /+\t]*=)//g"
    sed="s/(?i:<embed[ /+\t].*?SRC.*?=)//g"
    sed="s/(?i:[ /+\t\"\'`]on\x63\x63\x63+?[ +\t]*?=.)//g"
    sed="s/(?i:<?frame.*?[ /+\t]*?src[ /+\t]*=)//g"
    sed="s/(?i:<isindex[ /+\t>])//g"
    sed="s/(?i:<form.*?>)//g"
    sed="s/(?i:<script.*?[ /+\t]*?src[ /+\t]*=)//g"
    sed="s/(?i:<script.*?>)//g"
    sed="s/(?i:[\"\'][ ]*(([^a-z0-9~_:\'\" ])|(in)).*?(((l|(\\\\u006C))(o|(\\\\u006F))(c|(\\\\u0063))(a|(\\\\u0061))(t|(\\\\u0074))(i|(\\\\u0069))(o|(\\\\u006F))(n|(\\\\u006E)))|((n|(\\\\u006E))(a|(\\\\u0061))(m|(\\\\u006D))(e|(\\\\u0065)))).*?=)//g"
    sed="s/(?i:[\"\'][ ]*(([^a-z0-9~_:\'\" ])|(in)).+?(([.].+?)|([\x5B].*?[\x5D].*?))=)//g"
    sed="s/\bsys\x2Euser_catalog\b//g"
    sed="s/\bsys\x2Euser_tables\b//g"
    sed="s/\bcharindex\b//g"
    sed="s/\bsys\x2Eall_tables\b//g"
    sed="s/\bsys\x2Euser_constraints\b//g"
    sed="s/\bselect\b.{0,40}buser\b//g"
    sed="s/\bwaitfor\b[^a-zA-Z_0-9]*?\bdelay\b//g"
    sed="s/\bselect\b.{0,40}\bsubstring\b//g"
    sed="s/\bsys\x2Euser_triggers\b//g"
    sed="s/\blocate[^a-zA-Z_0-9]+\x28//g"
    sed="s/\bsys\x2Euser_tab_columns\b//g"
    sed="s/\battnotnull\b//g"
    sed="s/\bsys\x28tab\b//g"
    sed="s/\bselect\b.{0,40}\bascii\b//g"
    sed="s/\bsys\x2Euser_views\b//g"
    sed="s/\binstr[^a-zA-Z_0-9]+\x28//g"
    sed="s/\bsys\x2Euser_objects\b//g"
    sed="s/\buser_tables\b//g"
    sed="s/\buser_tab_columns\b//g"
    sed="s/\ball_objects\b//g"
    sed="s/\bsubstr\b//g"
    sed="s/\bsysdba\b//g"
    sed="s/\btextpos[^a-zA-Z_0-9]+\x28//g"
    sed="s/\buser_password\b//g"
    sed="s/\buser_users\b//g"
    sed="s/\buser_constraints\b//g"
    sed="s/\bcolumn_name\b//g"
    sed="s/\bsubstring\b//g"
    sed="s/\bobject_type\b//g"
    sed="s/\bobject_id\b//g"
    sed="s/\buser_ind_columns\b//g"
    sed="s/\bcolumn_id\b//g"
    sed="s/\btable_name\b//g"
    sed="s/\bobject_name\b//g"
    sed="s/\brownum\b//g"
    sed="s/\buser_group\b//g"
    sed="s/\butl_http\b//g"
    sed="s/\bselect\b.*?\bto_number\b//g"
    sed="s/\bgroup\b.*\bbyb.{1,100}?\bhaving\b//g"
    sed="s/\bselect\b.*?\bdata_type\b//g"
    sed="s/\bisnull\b[^a-zA-Z_0-9]*?\x28//g"
    sed="s/\bunion\b.{1,100}?\bselect\b//g"
    sed="s/\binsert\b[^a-zA-Z_0-9]*?\binto\b//g"
    sed="s/\bselect\b.{1,100}?\bcount\b.{1,100}?\bfrom\b//g"
    sed="s/\x3B[^a-zA-Z_0-9]*?\bdrop\b//g"
    sed="s/\bloadb[^a-zA-Z_0-9]*?\bdata\b.*\binfile\b//g"
    sed="s/\bselect\b.*?\bto_char\b//g"
    sed="s/\bdbms_java\b//g"
    sed="s/\bnvarchar\b//g"
    sed="s/\butl_file\b//g"
    sed="s/\binner\b[^a-zA-Z_0-9]*?\bjoin\b//g"
    sed="s/\bselect\b.{1,100}?\bfrom\b.{1,100}?\bwhere\b//g"
    sed="s/\bintob[^a-zA-Z_0-9]*?\bdumpfile\b//g"
    sed="s/\bdelete\b[^a-zA-Z_0-9]*?\bfrom\b//g"
    sed="s/\x3B[^a-zA-Z_0-9]*?\bshutdown\b//g"
    sed="s/\bautonomous_transaction\b//g"
    sed="s/\bdba_users\b//g"
    sed="s/\bselect\b.{1,100}?\btop\b.{1,100}?\bfrom\b//g"
    sed="s/\b(?:coalesce\b|root\x40)//g"
    sed="s/\b(?:(?:rel(?:(?:nam|typ)e|kind)|to_(?:numbe|cha)r|d(?:elete|rop)|group\b[^a-zA-Z_0-9]*\bby|insert|where)\b|s(?:(?:ubstr(?:ing)?|leep)[^a-zA-Z_0-9]+\x28|(?:hutdown|elect)\b)|(?:b(?:enchmark|in)|find_in_set|position|mid)[^a-zA-Z_0-9]+\x28|c(?:o(?:n(?:cat[^a-zA-Z_0-9]+\x28|vert\b)|unt\b)|ha?r\b)|u(?:n(?:hex[^a-zA-Z_0-9]+\x28|ion\b)|pdate\b)|l(?:o(?:cate|wer)[^a-zA-Z_0-9]+\x28|ength\b)|a(?:ttn(?:ame|um)\b|scii[^a-zA-Z_0-9]+\x28)|h(?:aving\b|ex[^a-zA-Z_0-9]+\x28))//g"
    sed="s/(?:[\\\x28\x29\x25#]|--)//g"
    sed="s/\b(?:benchmark|encode)\b//g"

  • How do i connect to sql server using java?

    hi ever body
    i need to connect to sql server using java
    what is the driver i will use?
    thanks

    Microsoft make a jdbc driver and it is readily available through MSDN. Here is a link http://msdn2.microsoft.com/en-us/data/aa937724.aspx. Whatever jdbc driver you are looking for, Google it, and if it exists you'll find it in 10 seconds.

  • Post a File to a web server using HTTP_POST

    Hello,
    I have to generate a program to post a file ".TXT" to a web server using a HTTP POST with multipart form and a couple of variables (user, password).
    I was investigating and I found that I can do it using SAPHTTP but I dont know how to work with the FM HTTP_POST.
    Does anyone have a sample code?
    Thanks
    Ariel

    sample usage:
      CALL FUNCTION 'HTTP_POST'
        EXPORTING
          ABSOLUTE_URI                = IM_OFX_CONTROL_DATA-ADDRESS
          REQUEST_ENTITY_BODY_LENGTH  = RESPONSE_ENTITY_BODY_LENGTH
          RFC_DESTINATION             = IM_OFX_CONTROL_DATA-HTTP_RFCDEST
          USER                        = IM_OFX_CONTROL_DATA-HTTP_USER
          PASSWORD                    = IM_OFX_CONTROL_DATA-HTTP_PASSWORD
          BLANKSTOCRLF                = 'X'
        IMPORTING
          STATUS_CODE                 = STATUS
          STATUS_TEXT                 = STATUS_TEXT
          RESPONSE_ENTITY_BODY_LENGTH = RLENGTH
        TABLES
          REQUEST_ENTITY_BODY         = LT_REQUEST
          RESPONSE_ENTITY_BODY        = RESPONSE
          RESPONSE_HEADERS            = LT_RESPONSE_HEADERS
          REQUEST_HEADERS             = LT_HTTP_HEADERS
       EXCEPTIONS
            OTHERS                      = 1.
    Refer the programs:
    LFPIFF02            
    LOFXALSU04          
    LPRGN_URL_RESPONSEU01
    LSBCCU01            
    LSFTPU09            
    for some idea.
    regards,
    ravi

  • Create web service using java class

    Hi,
    I created the web service using java class then i deployed this web service in to the weblogic admin server.when i tested this process it is working fine.
    when I tested The generated WSDL to this process in browser(IE). it is not working.
    I need to to invoke this webservice from another BPEL but this WSDL is not working.

    Hi,
    when i created the webservice in jdeveloper by default it is connected to integrated weblogic server and generates this wsdl.
    http://localhost:7101/helloApplication-javaexcel-context-root/MyWebService1Soap12HttpPort?WSDL
    then I deployed this webservice in to the Adminserver.it gives the following URL.
    http://192.168.56.1:7001/extracExcelToCSV-extractExcelToCSV-context-root/ExtractExcelToCSVSoap12HttpPort?wsdl
    This URL is not working but when i tested this process it is working fine.
    It is giving below error when i try to invoke from jdeveloper
    Error while reading wsdl file
    caused by:java.net.connectExcepption :Connection timed out:connect

  • Printing Web contents using Java Fx.

    Hi,
    How to Print Web contents using Java Fx application? ie, displaying a web page as it is on the application..........
    Thanks......

    You might want to try to SwingComponentize third-party Java web browser (JDic, NativeSwing).
    Another recommended alternative is to wait for the JWebPane because it is designed to work with JavaFX (http://weblogs.java.net/blog/alex2d/archive/2008/12/jwebpane_projec_1.html). No date is given to JWebPane's release though. JWebPane will be my Christmas's wish.

  • Web Server in Java- Running Servlets and JSP files?

    I am developing a web server in java. i wish to execute server side tools(jsp and servlets) in this web server. how i can add this functionalities to this server? is any tools in java are available for running these?

    There certainly are. Perhaps the best known is Tomcat, part of the Jakarta project at http://jakarta.apache.org.

  • How can I authenticate to a XI server using java via SOAP (SAAJ)

    Hi everybody!
    I need to connect (SOAP) to a XI server using JAVA
    I'm using SAAJ api.The problem is XI server need authentication but I can't found the way to do it! this is a part of code
    SOAPConnectionFactory soapConnFactory = SOAPConnectionFactory.newInstance();
    SOAPConnection connection = soapConnFactory.createConnection();
    URL destination = new URL("https://host:port");
    SOAPMessage reply = connection.call(message, destination);
    (message is the XML code)
    but the application has the following error:
    com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection post
    GRAVE: SAAJ0009: Fallo en el envío del mensaje
    I think, maybe is a authentication problem, because the XI server needs it. But I don't have idea how can I send the user and pass
    Any IDea???? please
    the libraries are ok imported, I use netweaver to develop-
    thanks in advantage

    hi Leslie,
    there are only a few of these errors,
    you can try this:
    http://www.oxygenxml.com/forum/ftopic1103.html&sid=0abee8c719481a3dd783ff7d5cd84105
    are you sure your URL is accessible from your location?
    you may also check:
    http://www.google.pl/search?hl=pl&q=HttpSOAPConnectionpostSAAJ0009%3A&lr=
    Regards,
    michal

  • Can data be passed to an external web server using the "in-course web browsing" feature in ver. 7?

    Can data be passed to an external web server using the "in-course web browsing" feature in ver. 7? I would like to display a simple web page, and I would like to pass to that web page the answers to all the quiz questions, quiz score, etc. In other words, instead of passing quiz results to a SCORM-compliant LMS like Moodle, I'd like to pass that data to a Drupal Webform using a URL like:
    https://www.example.com/my-drupal-webform?param1=value1&param2=value2...&paramn=valuen
    Is this possible?
    Thanks,
    John

    You have to make sure every step in MOS Document ID 726414.1 that is applicable to your E-Business Suite 12.1.x release is performed. Enabling ASADMIN is just one of the steps. In spite of following all the steps in this Document you continue to get the error when clicking "Generate WSDL", please log a Service Request with Oracle Support.I will check all steps again. Maybe I missed one... Thanks!

  • How to embed 3D models in web page using JAVA?

    Hello
    I'm doing a project at University to create a virtual tour of a village. I am creating the buildings in MAYA using polygon planes and cubes and then exporting to VRML.
    I plan to embed each individual model into a separate web page. Then when the user clicks on a location in a 2D map they will be taken to the web page containing that building.
    However, I can't work out how to embed these 3D models into web pages using JAVA. Can anyone help me with this, please?
    Also, I've been told to use JAVA 3D to interact with the project but am unclear as to how JAVA 3D would be used in this project - aqny ideas/suggestions welcome!
    M.

    If you use Java-plugin, you can embed Java3D in a web page.
    Here is the URL(http://www.geovista.psu.edu/products/demos/LorenzAttractor3D/index.html) which used Java3D.
    I hope this helps.
    Masa

  • HTTP Web Server

    Hi!
    I have to make an http web server: in a browser, I write http://ServerName:port/file and the browser must display the file. The only problem now seems to be that I changed
    This line gets the OutputStream of the client socket
    out = new PrintWriter(new OutputStreamWriter(scliente.getOutputStream(),"8859_1"),true) ;And this thing sends the response to the browser:
    out.println("HTTP/0.9 200 ok");
                    out.println("Server: Nombre del Servidor/1.0");
                    out.println("Date: " + new Date());
                    out.println("Content-Type: text/html");
                    out.println("Content-Length: " + file.length());
                    out.println(System.getProperty("line.separator"));
                    BufferedReader localFile= new BufferedReader(new FileReader(archivo));
                    String line= "";
                    do         
                        line = localFile.readLine();
                        if (line != null )
                            // sleep(500);
                            out.println(line);
                    while (linea!= null);The thing is... That didn't work for displaying images and other file types, which is why I changed the previous code to:
    out = scliente.getOutputStream();And the other part to:
    byte[] contenido;
                    int tamano;
                    escribirEnCliente("HTTP/1.1 200 ok");
                    escribirEnCliente("Server: Nombre del Servidor/1.0");
                    escribirEnCliente("Date: " + new Date());
                    escribirEnCliente("Content-Type: " + new MimetypesFileTypeMap().getContentType(archivo));
                    escribirEnCliente("Content-Length: " + archivo.length());
                    FileInputStream archivoLocal = new FileInputStream(archivo);
                    tamano = archivoLocal.available();
                    contenido = new byte[tamano];
                    do         
                      tamano = archivoLocal.read(contenido);
                      out.write(contenido);
                    while (tamano != -1);escribir en cliente is a procedure like this:
    public void escribirEnCliente(String str)
                out.write(str.getBytes("8859_1"));
    }This way, I thought, I could send all types of files, not only text files. But it doesn't work, it doesn't even load the page. Any suggestions?

    ...and in your do/while loop think what happens when read() does return -1. You still write the entire buffer. You should do something like this instead:
        while (true) {
            int count = in.read(buf);
            if (count == -1)
                break;
           out.write(buf, 0, count);
        }

Maybe you are looking for

  • My iphone will no longer pair with my blue ant st3 bluetooth

    We just upgraded an ipone 3 to an iphone5 and it will not pair with our blueant st3 bluetooth. My iphone4 is paired with my other blueant st3 and works fine. If I go into settings on my iphone4 and selett bluetooth it tells me the device is not compa

  • Fragment Bundle Classpath problems

    Does anyone have any tips for solving classpath problems in fragment bundles? I'm getting a no-class-def that I can't explain. I've used maven to create a fragment, hosted by com.day.crx.sling.server, to create a custom login. It needs to call a web

  • Apparent bug in 3.1's handling of color labels

    This ties is with [Applescipt manipulating color label|http://discussions.apple.com/thread.jspa?threadID=2645193&tstart=15] posted earlier today. If you set the color label of an image to have no color label via the pulldown in the metadata tab of th

  • Reader X (10.01) locks up on Save As... (with workaround)

    I wouldn't normally be posting this because frankly there are enough users of Reader out there who can post bug reports. However, I found a really strange workaround that I wanted to make sure was "out there" in case someone else in the community mig

  • After loading data to data targer

    wen fetching the query,at wat sequence data will come from tables(like fact table,dim table,sid table,master data table)which one is first?