Problem with WSDL file

Hi,
I'm new with web services and want to publish a stateless Java class as web service.
I've created the WSDL file by means of the Web Service Publishing Wizard.
when I run the "Web service stub/Skeleton Wizard" in step 1 of 2 appears the following warning message:
"WSDL validation failed with the following exception:
oracle.xml.parser.v2.XML.ParseException:
Withespace required".
Some idea ??
Thanks in advance
Alejandro von Eckenbrecher
[email protected]

Mike,
I'm working with the example of OTN "Publish a Stateless Pure Java Web Service".
I've find that the WSDL file is not being generated correctly, the latest two lines are:
<binding name="HelloImplBinding" type="tns:HelloImplPortType">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"
If I manually correct them as these:
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
</definitions>
(add the tags in bold),the XML parser don't report erros and can run the stub/skeleton wizard but in step 2 of 2 don't find any service.
I believe that the problem this in the WSDL file but them
are generated automatically from the example files.
below will find the complete file for reference.
Thanks
Alejandro
<?xml version = '1.0' encoding = 'UTF-8'?>
<!--Generated by the Oracle9i JDeveloper Web Services WSDL Generator-->
<!--Date Created: Wed May 07 15:00:46 ART 2003-->
<definitions
name="HelloImpl"
targetNamespace="http://HelloImpl.wsdl"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://HelloImpl.wsdl"
xmlns:ns1="http://IHelloImpl.xsd">
<types>
<schema
targetNamespace="http://IHelloImpl.xsd"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"/>
</types>
<message name="sayHello0Request">
<part name="param" type="xsd:string"/>
</message>
<message name="sayHello0Response">
<part name="return" type="xsd:string"/>
</message>
<portType name="HelloImplPortType">
<operation name="sayHello">
<input name="sayHello0Request" message="tns:sayHello0Request"/>
<output name="sayHello0Response" message="tns:sayHello0Response"/>
</operation>
</portType>
<binding name="HelloImplBinding" type="tns:HelloImplPortType">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"

Similar Messages

  • Problem with WSDL file generated by PI for sender SOAP

    I have a scenario SOAP to idoc that I am trying to test in PI7.1.  I have created my objects in the ESR and completed the configuration in IB.  When I test the configuration in IB, the data passes through PI to ECC correctly.
    Now I want to export the WSDL file from the Sender Service Interface being used for this scenario and test it using SOAPUI.  However, when I look at the WSDL file proposed by PI, there is no SOAP URL proposed in the WSDL.  My understanding from looking at other threads in the the forum is that the URL should be proposed in the WSDL file, and I can then export this WSDL file to my PC, and upload it into SOAPUI for testing.
    Why is the URL not being proposed in my WSDL file?
    Thanks in advance for any help.
    Terri

    Thanks Baskar that solved part of the problem. 
    When I use this newly generated WSDL file for testing in SOAPUI, I now get an error 401, which I believe has something to do with needing a user id and password.  However, my scenario is not setup to require a userid or password.  Any other help would be appreciated.
    Below is the actual results from SOAPUI:
    HTTP/1.1 401 Unauthorized
    server: SAP NetWeaver Application Server 7.11 / AS Java 7.11
    www-authenticate: Basic realm="XISOAPApps"
    connection: close
    pragma: no-cache
    content-type: text/html;charset=ISO-8859-1
    content-encoding: gzip
    date: Thu, 03 Mar 2011 22:49:56 GMT
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
         <title>Error Report</title>
    <style>
    td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;}
    A:link
    A:visited
    A:active
    </style>
    </head>
    <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0">
    <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75">
    <tr bgcolor="#FFFFFF">
        <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b>  401 &nbsp Unauthorized</b></font></td>
    </tr>
    <tr bgcolor="#3F73A3">
        <td height="23" width="84"><img width=1 height=1 border=0 alt=""></td>
        <td height="23"><img width=1 height=1 border=0 alt=""></td>
        <td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP NetWeaver Application Server 7.11 / AS Java 7.11 </b></font></td>
    </tr>
    <tr bgcolor="#9DCDFD">
        <td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td>
    </tr>
    </table>
    <br><br><br><br><br><br>
    <p><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>  Error: Unauthorized<p><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><b>  Troubleshooting Guide <a href="https://sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/wiki?path=/display/jsts/home">https://sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/wiki?path=/display/jsts/home</a></p><p></b></font></p>
    <p><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><table><tr><td valign="top"><b> Details:</b></td><td valign="top"><PRE>No details available</PRE></font></td></tr></table></font></p>
    </body>
    </html>

  • Problems with WSDL file from Webservice definition

    Hi all,
    I trying to import into XI the WSDL file from a web service. I´m doing it following the blog /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    But I do not why but it is not creating the messages.
    Any Idea,
    Many thanks and Regards
    Noelia

    Hi thnaks for your help!!
    this is the wsdl file. I think this is correct,but i´m not very familiar with this!
    <?xml version="1.0" encoding="utf-8"?>
    <!--            Generated by WSDLDefinitionsParser    --><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns0="urn:WS_ExtraccionNombramientoVi" targetNamespace="urn:WS_ExtraccionNombramientoWsd/WS_ExtraccionNombramientoVi/document" xmlns:tns="urn:WS_ExtraccionNombramientoWsd/WS_ExtraccionNombramientoVi/document">
      <wsdl:types>
        <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:WS_ExtraccionNombramientoVi" xmlns:tns="urn:WS_ExtraccionNombramientoVi" elementFormDefault="qualified">
          <xs:element name="ejecutarExtraccionNS">
            <xs:complexType>
              <xs:sequence>
                <xs:element name="fechaExplotacion" type="xs:string" nillable="true"/>
                <xs:element name="tipoXML" type="xs:string" nillable="true"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element name="ejecutarExtraccionNSResponse">
            <xs:complexType>
              <xs:sequence>
                <xs:element name="Response" type="xs:string" nillable="true"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
        </xs:schema>
      </wsdl:types>
      <wsdl:message name="ejecutarExtraccionNSIn_doc">
        <wsdl:part name="parameters" element="ns0:ejecutarExtraccionNS"/>
      </wsdl:message>
      <wsdl:message name="ejecutarExtraccionNSOut_doc">
        <wsdl:part name="parameters" element="ns0:ejecutarExtraccionNSResponse"/>
      </wsdl:message>
      <wsdl:portType name="WS_ExtraccionNombramientoVi_Document">
        <wsdl:operation name="ejecutarExtraccionNS">
          <wsdl:input message="tns:ejecutarExtraccionNSIn_doc"/>
          <wsdl:output message="tns:ejecutarExtraccionNSOut_doc"/>
        </wsdl:operation>
      </wsdl:portType>
    </wsdl:definitions>
    Regards Noelia

  • Problem with OutBound file binding

    Hi,
    I have a problem with sun-file-binding for write files in a directory.
    I have a service engine that send a message to the file-binding and the binding-component must write the file
    on a directory.
    But I have this error:
    FILEBC-E00791: Solicited Read Failed. service: {http://www.sun.com/jbi/examples/sample-service/echo}echoService2, endpoint: echoEP_JBIPort2, operation: {http://www.sun.com/jbi/examples/sample-service/echo}echo. Error was: FILEBC_E00760: Missing required Input properties for outbound file operation [{http://www.sun.com/jbi/examples/sample-service/echo}echo]..
    Consumer:Processing Message Exchange with status Error
    The log message is null.
    java.lang.Exception: Consumer:INOUT Message Exchange status ERROR.
    java.lang.Exception: FILEBC-E00791: Solicited Read Failed. service: {http://www.sun.com/jbi/examples/sample-service/echo}echoService2, endpoint: echoEP_JBIPort2, operation: {http://www.sun.com/jbi/examples/sample-service/echo}echo. Error was: FILEBC_E00760: Missing required Input properties for outbound file operation [{http://www.sun.com/jbi/examples/sample-service/echo}echo]..
    at com.sun.jbi.filebc.OutboundMessageProcessor.setError(OutboundMessageProcessor.java:820)
    at com.sun.jbi.filebc.OutboundMessageProcessor.processRequestReplyOutbound(OutboundMessageProcessor.java:301)
    at com.sun.jbi.filebc.OutboundMessageProcessor.run(OutboundMessageProcessor.java:174)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.Exception: FILEBC_E00760: Missing required Input properties for outbound file operation [{http://www.sun.com/jbi/examples/sample-service/echo}echo].
    at com.sun.jbi.filebc.OutboundMessageProcessor.validateOutboundMessageExchangeProperties(OutboundMessageProcessor.java:1499)
    at com.sun.jbi.filebc.OutboundMessageProcessor.processRequestReplyOutbound(OutboundMessageProcessor.java:272)
    ... 2 more
    at it.ditech.jbi.component.utils.RingOneMessageHandler.processInOutMessageExchangeOnConsumer(RingOneMessageHandler.java:262)
    at it.ditech.jbi.component.utils.RingOneMessageHandler.doInOutMessageExchange(RingOneMessageHandler.java:130)
    at it.ditech.jbi.component.utils.RingOneMessageHandler.processInOutMessageExchangeOnProvider(RingOneMessageHandler.java:325)
    at it.ditech.jbi.component.utils.RingOneMessageHandler.receiveAndProcessMessageExchange(RingOneMessageHandler.java:355)
    at it.ditech.jbi.component.utils.RingOneMessageHandler$1.run(RingOneMessageHandler.java:191)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    this is my WSDL file:
    <?xml version='1.0' encoding="UTF-8" standalone="yes" ?>
    <definitions
    targetNamespace="http://www.sun.com/jbi/examples/sample-service/echo"
    name="echo"
    xmlns:tns="http://www.sun.com/jbi/examples/sample-service/echo"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:file="http://schemas.sun.com/jbi/wsdl-extensions/file/">
    <types>
    <xsd:schema targetNamespace="http://www.sun.com/jbi/examples/sample-service/echo">
    <xsd:element name="item">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element type="xsd:string" name="value"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    </types>
    <message name="echo">
    <part name="part"
    element="tns:item">
    </part>
    </message>
    <portType name="echo">
    <operation name="echo">
    <input name="echo" message="tns:echo"/>
    </operation>
    </portType>
    <binding name="Binding" type="tns:echo">
    <file:binding/>
    <operation name="echo">
    <file:operation verb="write">
    <input name="echo" message="tns:echo">
    <file:message use="literal" fileName="output-%t.xml" fileNameIsPattern="true"/>
    </input>
    </file:operation>
    </operation>
    </binding>
    <service name="echoService2">
    <port name="echoEP_JBIPort2" binding="tns:Binding">
    <file:address fileDirectory="/home/roger/Scrivania/in-out"/>
    </port>
    </service>
    </definitions>
    Is there anyone that can help me?
    Thanks
    Roberto

    Hi,
    I have a problem with sun-file-binding for write files in a directory.
    I have a service engine that send a message to the file-binding and the binding-component must write the file
    on a directory.
    But I have this error:
    FILEBC-E00791: Solicited Read Failed. service: {http://www.sun.com/jbi/examples/sample-service/echo}echoService2, endpoint: echoEP_JBIPort2, operation: {http://www.sun.com/jbi/examples/sample-service/echo}echo. Error was: FILEBC_E00760: Missing required Input properties for outbound file operation [{http://www.sun.com/jbi/examples/sample-service/echo}echo]..
    Consumer:Processing Message Exchange with status Error
    The log message is null.
    java.lang.Exception: Consumer:INOUT Message Exchange status ERROR.
    java.lang.Exception: FILEBC-E00791: Solicited Read Failed. service: {http://www.sun.com/jbi/examples/sample-service/echo}echoService2, endpoint: echoEP_JBIPort2, operation: {http://www.sun.com/jbi/examples/sample-service/echo}echo. Error was: FILEBC_E00760: Missing required Input properties for outbound file operation [{http://www.sun.com/jbi/examples/sample-service/echo}echo]..
    at com.sun.jbi.filebc.OutboundMessageProcessor.setError(OutboundMessageProcessor.java:820)
    at com.sun.jbi.filebc.OutboundMessageProcessor.processRequestReplyOutbound(OutboundMessageProcessor.java:301)
    at com.sun.jbi.filebc.OutboundMessageProcessor.run(OutboundMessageProcessor.java:174)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.Exception: FILEBC_E00760: Missing required Input properties for outbound file operation [{http://www.sun.com/jbi/examples/sample-service/echo}echo].
    at com.sun.jbi.filebc.OutboundMessageProcessor.validateOutboundMessageExchangeProperties(OutboundMessageProcessor.java:1499)
    at com.sun.jbi.filebc.OutboundMessageProcessor.processRequestReplyOutbound(OutboundMessageProcessor.java:272)
    ... 2 more
    at it.ditech.jbi.component.utils.RingOneMessageHandler.processInOutMessageExchangeOnConsumer(RingOneMessageHandler.java:262)
    at it.ditech.jbi.component.utils.RingOneMessageHandler.doInOutMessageExchange(RingOneMessageHandler.java:130)
    at it.ditech.jbi.component.utils.RingOneMessageHandler.processInOutMessageExchangeOnProvider(RingOneMessageHandler.java:325)
    at it.ditech.jbi.component.utils.RingOneMessageHandler.receiveAndProcessMessageExchange(RingOneMessageHandler.java:355)
    at it.ditech.jbi.component.utils.RingOneMessageHandler$1.run(RingOneMessageHandler.java:191)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    this is my WSDL file:
    <?xml version='1.0' encoding="UTF-8" standalone="yes" ?>
    <definitions
    targetNamespace="http://www.sun.com/jbi/examples/sample-service/echo"
    name="echo"
    xmlns:tns="http://www.sun.com/jbi/examples/sample-service/echo"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:file="http://schemas.sun.com/jbi/wsdl-extensions/file/">
    <types>
    <xsd:schema targetNamespace="http://www.sun.com/jbi/examples/sample-service/echo">
    <xsd:element name="item">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element type="xsd:string" name="value"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    </types>
    <message name="echo">
    <part name="part"
    element="tns:item">
    </part>
    </message>
    <portType name="echo">
    <operation name="echo">
    <input name="echo" message="tns:echo"/>
    </operation>
    </portType>
    <binding name="Binding" type="tns:echo">
    <file:binding/>
    <operation name="echo">
    <file:operation verb="write">
    <input name="echo" message="tns:echo">
    <file:message use="literal" fileName="output-%t.xml" fileNameIsPattern="true"/>
    </input>
    </file:operation>
    </operation>
    </binding>
    <service name="echoService2">
    <port name="echoEP_JBIPort2" binding="tns:Binding">
    <file:address fileDirectory="/home/roger/Scrivania/in-out"/>
    </port>
    </service>
    </definitions>
    Is there anyone that can help me?
    Thanks
    Roberto

  • Problems with .ARW files and auto toning

    problems with .ARW files and auto toning
    let me try to explain this because this has happened in past and never found a way to resolve but i lived with it
    now that I have a Sony A7R the problem is more serious
    Firstly i take pride it making the picture happen all in camera, i use DRO lvl 5 to get enough light, like when i'm shooting at dusk. DRO its like doing HDR but in a single file, it lightens the darks. in my camera i'm happy with results
    but when I upload them to lightroom, they come out near black.
    allow me to explain
    lets say I import 100 images
    i double check my preferences and everything is UNCHECKED when it comes to importing options, there is no auto toning, nothing.
    as the images import i see a preview in the thumbnail which looks fine.
    i double click on one to enlarge it, hence leave grid view.
    for a brief 1 or 2 seconds, i see the full image in all its glory but than lightroom does something funny, it darkens the image
    one by one as it inspects each image, if it was a DRO image it makes it too dark.
    to make this clear, the image is perfect as it was in the beginning but after a few seconds lightroom for some reason thinks it needs to correct it.
    how to prevent lightroom from doing this, i want the image exactly as it is, why must lightroom apply a correction>?
    i think it has to do something with interpreting the raw file and lightroom applies its own algorithm.
    but here is what i dont get.....before lightroom makes the change i'm able to witness the picture exactly as it was taken and want it unchanged..
    now i have to tweak each file or find a profile for it which is added work.
    any ideas how to prevent lightroom from ruining my images and just leave them as they were when first detected...
    there are 2 phases...one is when it originally imports and they look fine
    second is scanning each image and applying some kind of toning which darkens it too much.
    thanks for the help

    sorry thats the auto reply message from yahoo email.
    i've disabled it now
    thing is, there is no DRO jpg to download from the camera
    its only ARW. so my understanding is when i use DRO setting, the camera makes changes to the ARW than lightroom somehow reads this from the ARW.
    but then sadly reverts it to no DRO settings.
    because i notice if i take normal picture in raw mode its dark but if i apply dro to it, it comes out brighter, yet when i d/l the image from camera to lightroom, which is an ARW - there are no jpgs. lightroom decides to mess it up
    so in reality there is no point in using DRO because when i upload it lightroom removes it.
    is there a way to tell lightroom to preserve the jpg preview as it first sees it.
    its just lame, picture appears perfect...than lightroom does something, than bam, its ruined,.
    what do i need to do to prevent lightroom from ruining the image? if it was good in the first place.

  • Problems with compressing  files with right hand click. it does not work.

    Problems with compressing files with right hand click.
    I am using the compress function in the Mac OS (File > Compress XX) from time to time. Today it does not work anymore. OS 10.5.6
    I get a message: The content list cannot be created for compressing.
    I tried it with files and folders and keep getting this message. Anybody any idea as to how to fix this

    Thanks I love my macbook!!!!
    I also got further problems such as copy-paste not working etc.
    so I fixed it just this morning by running Applejack 1.5 and am back up running noticing your post.
    thanks for helping though!

  • Problem with Image file

    Hi,
    Iam facing with one problem.I have one swing interface through which I can upload files(back end servlet programme).Now I can upload all types of file but problem with image file it uploading perfectly that means size of the uploaded file is ok but its format damaged.It can not be open.My backend servlet programme is ok coz i tested it with html form it is working perfectly.Problem with swing interface.Plz guide me where I done a mistake.Below r my codes:-
    ImageIcon Upload=new ImageIcon("images/Upload.gif");
         Button=new JButton(Upload);
         Button.setToolTipText("Upload");
    Button.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
              int returnVal = fc.showOpenDialog(ActionDemo4.this);
              if (returnVal == JFileChooser.APPROVE_OPTION) {
              File file = fc.getSelectedFile();
    String aa=file.getAbsolutePath();
              textArea3.append(aa);
                   textArea2.append("Local URL:");
    long l=file.length();
              try
              byte buff[]=new byte[(int)file.length()];
              InputStream fileIn=new FileInputStream(aa);
              int i=fileIn.read(buff);
              String conffile=new String(buff);
              String str1=textArea10.getText();
    url = new URL ("http://127.0.0.1:7001/servletUpload?x="+str1);
         urlConn = url.openConnection();
         urlConn.setDoInput (true);
         urlConn.setDoOutput (true);
         urlConn.setUseCaches (false);
         urlConn.setRequestProperty("Content-Type","multipart/form-data;boundry=-----------------------------7d11e410e500f2");
         printout = new DataOutputStream (urlConn.getOutputStream ());
    String content ="-----------------------------7d11e410e500f2\r\n"+"Content-Disposition: form-data;"+"name=\"upload\"; filename=\""+aa+"\"\r\n"+"Content-Type: application/octet-strem\r\n\r\n\r\n"+conffile+"-----------------------------7d11e410e500f2--\r\n";
    printout.writeBytes(content);
    printout.flush ();
    printout.close ();
    Best Regards
    Bikash

    The errors are here:
              byte buff[]=new byte[(int)file.length()];
              InputStream fileIn=new FileInputStream(aa);
              int i=fileIn.read(buff);
              String conffile=new String(buff); (conffile is a String object containing the image)
    and here:
    String content ="-----------------------------7d11e410e500f2\r\n"+"Con
    ent-Disposition: form-data;"+"name=\"upload\";
    filename=\""+aa+"\"\r\n"+"Content-Type:
    application/octet-strem\r\n\r\n\r\n"+conffile+"--------
    --------------------7d11e410e500f2--\r\n";
    printout.writeBytes(content);conffie is sent to the server but
    it's non possible to treat binary data as String!
    Image files must be sent as byte[] NOT as String ......

  • What is the exact problem with this file?

    Hi all,
    There is an old form , which was not in use from many days.
    Now when we tried to run the form, i got the error saying "FRM-40734:Internal Error:Pl/SQL error occured.", in the login form.
    When i tried to open the fmb file in Oracle Forms Builder 6i, i got the following error:
    FRM-10102: Cannot attach PL/SQL library d2kwutil. This library attachment will be lost if the module is saved., but the fmb file got open.
    The login button has the following code:
    DECLARE
      UNAME VARCHAR2(30);
      --USER_ID PARAMLIST;
      V_USER APUSERMA.USER_NAME%TYPE;
      V_PASSWED APUSERMA.USER_PASSWD%TYPE;
    BEGIN
    select user_CD INTO :GLOBAL.USER_ID from apuserma 
    where user_CD = :TI_USER_NAME AND user_PASSWD = :IT_USER_PASSWD
    AND SYSDATE BETWEEN USER_VALID_FRM AND USER_VALID_TO;
    :global.user_id  := substr(win_api_environment.read_registry('HKEY_LOCAL_MACHINE\system\currentcontrolset\control\computername\computername','computername'),1,10);
    :global.compname := :compname;
    compnm(:compname);
    --USER_ID := CREATE_PARAMETER_LIST('USER_id_NAME');
    call_form('Forms\MAIN_SCREEN',hide,DO_REPLACE);
    exception
      when no_data_found then
      MESSAGE('Incorrect Username or Password.  Please Re-Enter');
      message(' ');
      RAISE FORM_TRIGGER_FAILURE;
    END;
    EXIT_FORM;
    When i tried to compile, i got error saying ,
    Error 201 at line 10, column 28
    identifier 'WIN_API_ENVIRONMENT.READ_REGISTRY' must be declared.
    I am not getting to know What is the exact problem with this file?
    Help me with this please.
    Thank You.
    Oracle forms builder 6i.
    Oracle 9i.

    Vijetha wrote:
    I also want to know what is the use of  win_api_environment.read_registry('HKEY_LOCAL_MACHINE\system\currentcontrolset\control\computername\computername','computername') ??
    What does it do??
    If i comment the following line , will it be a problem??
    :global.user_id  := substr(win_api_environment.read_registry('HKEY_LOCAL_MACHINE\system\currentcontrolset\control\computername\computername','computername'),1,10);
    Because i commented the above line & compiled, so it is not giving any error now.
    So please tell me what win_api_environment.read_registry does??
    it's read windows registry value. So, no problem if you comment it.
    Thanks

  • Problem with Receiver File adapter

    Hi
    I have a problem with receiver file FTP adapter, while writting file in target folder, connection is failing, after retries, it writting file again. How to avoid this situation, is there any way to write the leftout part in the file.
    VS

    Hi
    Thank u all,  Problem is solved, i changed write mode to Over write existing file. It is working fine.
    VS

  • Has anyone had a problem with TapMedia File Manage on iPhone 5. I reported a WIFI functionality problem to the developer and asked for support. Instead they have been very unprofessional by name calling me instead of logically evaluate and troubleshoot th

    Has anyone had a problem with TapMedia File Manage installed on iPhone 5? I reported a WIFI functionality problem to the developer and asked for support. Instead the company has been very unprofessional by name calling me instead of logically evaluate and troubleshoot the problem

    Hi AKE1919,
    Welcome to the Support Communities!
    The following information should help you with this:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    http://support.apple.com/kb/HT1933?viewlocale=en_US
    Cheers,
    Judy

  • Problem with import file type setting

    Problem with import file type settings - In preferences>general I select "wav encoder" But then going to tools>Create it still says "create mp3 version".
    Can't find a way to overcome this. Thanks for any help.

    Doublechecking, roy. After making the preferences change, are you leaving the General tab by clicking the OK button down the bottom-right-hand corner of the tab?

  • Problem with URL File download

    Hi every one i am facing a problem with URL File read Technique
    import java.awt.Color;
    import java.io.DataOutputStream;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.net.URL;
    import java.net.URLConnection;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JProgressBar;
    public class JarDownloader
         boolean isSuccess = false;
         public JarDownloader(String url)
              downloadJar(url);          
         public boolean isDownloadingSuccess()
              return isSuccess;
         private File deleteExistingFile(String filename)
              File jarf = new File(filename);
              if(jarf.exists())
                   jarf.delete();
              return jarf;
         public static void main(String args[]){
              new JarDownloader("url/filename.extension");
         private void downloadJar(String url)
              try
                   URL jarurl = new URL(url);
                   URLConnection urlc = jarurl.openConnection();
                   urlc.setUseCaches(false);
                   urlc.setDefaultUseCaches(false);
                   InputStream inst = urlc.getInputStream();
                   int totlength = urlc.getContentLength();
                   System.out.println("Total length "+totlength);
                   // If the size is less than 10 kb that means the linkis wrong
                   if(totlength<=10*1024)throw new Exception("Wrong Link");
                   JFrame jw =new JFrame("Livehelp-Download");
                   JPanel jp =new JPanel();
                   jp.setLayout(null);
                   JLabel jl = new JLabel("Downloading required file(s)...",JLabel.CENTER);
                   jl.setBounds(10,10,200,50);
                   jp.add(jl);
                   JProgressBar jpbar = new JProgressBar(0,totlength);
                   jpbar.setBorderPainted(true);
                   jpbar.setStringPainted(true);
                   jpbar.setBounds(10,70,200,30);
                   jpbar.setBackground(Color.BLUE);
                   jp.add(jpbar);
                   jw.setContentPane(jp);
                   jw.pack();
                   jw.setResizable(false);
                   jw.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
                   jw.setLocationRelativeTo(null);
                   jw.setSize(220,150);
                   jw.setVisible(true);
                   int readlngth=0;
                   int position=0;
                   byte[] readbytes = new byte[totlength];
                   while(totlength-position > 0)
                        readlngth = inst.read(readbytes,position,totlength-position);
                        position+=readlngth;
                        jpbar.setValue(position);
                   File jarf = deleteExistingFile(filename);
                   jarf.createNewFile();
                   //FileWriter fwriter=new FileWriter(jarf,true);
                   FileOutputStream fout = new FileOutputStream(jarf,true);
                   DataOutputStream dout = new DataOutputStream(fout);
                   dout.write(readbytes);
                   dout.flush();
                   dout.close();
                   inst.close();
                   jw.setVisible(false);
                   jw.dispose();
                   isSuccess=true;
              }catch(Exception ex)
                   isSuccess=false;
    }From the above code i received the total length of the PAGE content (i.e here url is a file) when i tried to find the size of that file it return -1.
    please help me

    I think the real problem is that you don't check the return value from read (it's probably less than data.length indicating an incomplete read). Isn't there a readFully somewhere?

  • Problem with .sitx files (Safari but not Firefox???)

    Hi All,
    I have a website online (with help from iWeb and BBEdit) but am having a problem I cant figure out (this IS my first website!)
    I am hoping that someone much more knowledgeable than me can help me with it.
    I basically have a download section. Icons and desktops.
    Now, when I (or anyone else) tries to download- everything seems to be fine in FireFox (even IE!) but not in Safari.
    My desktops are compressed as .zip files. No problems there, everyone can download and open (including Safari users!)
    My icons are compressed as .sitx files. This is where the problems come in. Firefox and IE download them no problem ('save to disk?' etc) However when one attempts to download the icons (.sitx files) with Safari it simply displays pages of gibberish (starting with the word 'Stuffit') which I am presuming is Safari trying to 'display' the contents of the actual stuffit file.
    Why is this? Why wont safari simply download the .sitx files as it does .zip files?
    Does Safari have some sort of inherent problem with .sitx files? Is it some sort of configuration within Safari preferences? or (and probably most likely!) is it something I have done wrong?
    Oh, my website (page in question!) can be found here:
    http://aoimedia.co.uk/news/news.html
    Thanks in advance for all your valuable help
    Kind regards
    John
    12 G4 Powerbook/Superdrive. (she's named Skates!) Mac OS X (10.4.4)

    Hi,
    It sounds like the server the website/file is hosted on is not identifying the type correctly. As you've seen, different browsers will handle this situation differently.
    Have a read of this article:
    http://www.macosxhints.com/article.php?story=20040211102018600
    Hope that helps.

  • Problems with updating files in the cloud

    problems with updating files in the cloud

    What kind of problems?
    Have you recently upgraded to iCloud Drive on your iOS devices with iOS 8?
    Be aware, be careful, be prepared for iCloud Drive | TUAW: Apple news, reviews and how-tos since 2004

  • Error: There is a problem with the file and it cannot be copied

    I've been trying to copy (and essentially move) the contents of an NTFS-formatted external HDD to my iMac's internal HDD so I can then format the external HDD to Mac OS Extended. However, when I simply try to drag and drop, I get an error during the transfer that states:
    There is a problem with the file and it cannot be copied.
    I tried a basic cp command in Terminal to copy all contents of the external HDD to a folder on my iMac's desktop, and found that while there were no errors, there were many individual files missing full chunks of data (ie. original file would be 4GB on my external HDD, but only 350MB on my desktop).
    Any ideas on how I can successfully copy a large amount of data (approx. 170GB) from my external HDD to my internal HDD while avoiding this error, so I can ultimately format my external HDD to Mac OS Extended? ANY help is greatly appreciated.

    That's not a good error to see. It indicates something is very wrong. Pulled out of an old programming header file:
    ioErr = -36, /*I/O error (bummers)*/
    If Apple labelled it "bummers," they had a good reason! Unfortunately, that doesn't bode well for you.
    Try running Disk Utility again. Keep repairing over and over until one of two things happens: 1) Disk Utility says no repair was needed, or 2) Disk Utility reports the same error in two sequential repair sessions and is unable to repair it both times.
    If you hit the second case, or if you hit the first but still can't copy files, then you've got two basic options:
    = Buy a third-party disk utility or two and try them. Try TechTool as a first choice.
    = Recover what files you can and write the rest off as gone.
    = Send your drive to a data recovery service and hope they can extract more than you can.
    Of course, none of this is necessary if you have a backup of the contents of that hard drive. (If you don't, this is your learning experience. Once bitten, twice shy, so they say.) Also, regardless of the outcome, once you've got your data or have decided it's gone, you're going to want to wipe that drive completely clean. Reformat the drive with Disk Utility, then when it's done, select the drive in Disk Utility and hit command-i. (Don't select the new volume you just created on that drive, select the drive itself. Mine looks like "232.9 GB Hitachi ..." with the volume name indented underneath.) Look for an item that says S.M.A.R.T. Status, and if it doesn't say Verified, you might as well throw out the drive. Don't trust any more data to it.
    If all appears safe, you can start moving data back onto it. But, as always, make sure you have a backup of everything!

Maybe you are looking for

  • MacBook Pro 15" Late 2013 restarts itself

    Hello A few days ago it started with an error message after I logged in, but before the desktop appeard. Error message was about "your computer was restarted due to an error..." But in effect, it didn't restart. The message just appeard. After some i

  • UAT DB's nonsystem dfile corrupted. how can I restore it from Prod by rman

    I have an UAT env. some non system tablespace's datafile corrupted (one tb one dbfile) errors look like below and the db could just be in mount state. Database mounted. ORA-01157: cannot identify/lock data file 4 – see DBWR trace file ORA-01110: data

  • Regular Expressions with Unicode Strings - length restriction?

    Hi, I can't quite figure this one out. I am checking a String for the presence of a URL.. more specifically, a jpg or gif URL. Anyway, the following reg exp will work fine for me. However, when testing with unicode data (chinese text) the expression

  • How do I delete files that have been downloaded?

    there are files in my download I would like to remove as they seem to be causing a problem with my computer performance.

  • TAXINN ISsue

    Hi Team, I am working on TAXINN procedure on one project. i have made a dummy tax code Z0 through FTXP . No tax rate is maintained in it. I have to procure one material for which various taxes are applicable Excise duty (16%)  , Local Sales Tax (10%)