Invalid SOAP Error :

Hi,
I have created a Jar out of a WSDL file and am using it to envoke a webservice.
I am thriugh declaring all the objects ( instantiating them ) and when i make a web service call it give me a error saying invalid SOAP, The Web Service is behind 2 proxys :
I had previously used :
URL Url = new URL(this.url);
HttpURLConnection connection = (HttpURLConnection) Url.openConnection();
BASE64Encoder Base64 = new BASE64Encoder();
String user = "*******";
String password = "*********";
String credentials = user + ":" + password;
byte[] credentialBytes = credentials.getBytes("UTF8");
String base64credentials = new String(Base64.encode(credentialBytes));
connection.setRequestProperty("Authorization", "Basic " + base64credentials);
System.setProperty("http.proxySet", "true");
System.setProperty("http.proxyHost", "**********************");
System.setProperty("http.proxyPort", "**");
String proxyUser = "********", proxyPassword = "******";
connection.setRequestProperty("Proxy-Authorization","Basic " + new sun.misc.BASE64Encoder().encode((proxyUser + ":" + proxyPassword).getBytes()));
This to bypass proxy but would it work with SOAP ???

People,
most of errors like that are 401 (unauthorized), 403 (forbidden), 404 (not found) and so on. To be sure, check the message content that comes back from the webservice, in the Message Monitoring.
Obs: To visualize sync messages payload in Message Monitoring, you'll have to set the Messaging.syncMessageRemover.removebody parameter to <i>false</i> (default is <i>true</i>) in SAP XI AF Messaging service, in the Visual Administrator.
Regards,
Henrique.

Similar Messages

  • SOAP: error occured: java.io.IOException: invalid content type for SOAP: TE

    Hi,
    We are implementing an XI scenario as follows: Mail Adapter->XI->SOAP Receiver.
    Basically, we pass the XML File attachment from the Mail Adapter through XI to the SOAP Adapter. However, we keep getting the following error:
    <i>SOAP: error occured: java.io.IOException: invalid content type for SOAP: TEXT/HTML</i>
    Any ideas on where we could look to fix this problem?
    Thanks,
    EC

    People,
    most of errors like that are 401 (unauthorized), 403 (forbidden), 404 (not found) and so on. To be sure, check the message content that comes back from the webservice, in the Message Monitoring.
    Obs: To visualize sync messages payload in Message Monitoring, you'll have to set the Messaging.syncMessageRemover.removebody parameter to <i>false</i> (default is <i>true</i>) in SAP XI AF Messaging service, in the Visual Administrator.
    Regards,
    Henrique.

  • GWWS_CAT:1022: SOAP Error: Invalid SOAP Body While processing Valid Soap Request

    Hi,
    I Following tuxedo version on AIX 6.1 Power 7 64 bit.
    INFO: Oracle Tuxedo, Version 10.3.0.0, 64-bit, Patch Level 095
    Service Meta Information is :
    service=StockQuote
    export=y
    servicetype=service
    tuxservice=STOCKQUOTE
    svcdescription=This service is used to demo security and xml buffer interop.
    inbuf=XML
    outbuf=XML
    param=XMLBuffer
    type=xml
    access=inout
    size=1000
    this is actually picked from salt sample packaged with version 10.3.
    Request Message:
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns1="urn:salt.samples.wsdl"
    xmlns:ns2="urn:pack.samples_typedef.salt11">
    <SOAP-ENV:Body>
    <ns2:StockQuote>
    <ns2:inbuf>
    </ns2:inbuf>
    </ns2:StockQuote>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    I put GWWS under tracing and found following.
    Response Messag:
    150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --WAKEUP-->Created
    150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --Inbound-->Receive
    150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --Found-->ParseHTTP
    150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:HTTP Parsing: Buffer length 1140 -- POST /secsapp HTTP/1.1^M
    Host: uaix4070.unix.rabobank.nl:8070^M
    User-Agent: gSOAP/2.7^M
    Content-Type: text/xml; charset=utf-8^M
    Content-Length: 437^M
    Connection: close^M
    SOAPAction: "StockQuote"^M
    ^M
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLS
    150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:chema"
    xmlns:ns1="urn:salt.samples.wsdl"
    xmlns:ns2="urn:pack.samples_typedef.salt11">
    <SOAP-ENV:Body>
    <ns2:StockQuote>
    <ns2:inbuf>
    </ns2:inbuf>
    </ns2:StockQuote>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:parse_header_field() return 6
    150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --OK-->HTTPDispatch
    150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:A HTTP message is received, SCO index=4095
    150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:Finding endpoint, soap->path is /secsapp, request_uri is /secsapp
    150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --Post-->ParseSOAPHeader
    150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --Default-->ParseHeaderRoot
    150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:A SOAP message is received, SCO index=4095
    150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --None-->ParseSOAPBody
    150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --Default-->ParseBodyRoot
    150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --OK-->ParseBodyElement
    150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:Begin data transformation of request message, buffer type = XML, SCO index=4095
    150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --Fail-->SOAPFault
    150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --OK-->PackSOAPBody
    150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --OK-->PackSOAPHeader
    150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --Default-->WSRMHandle3
    150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --OK-->PackHTTP
    150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:SCO[4095] FSM State Transition: --Default-->Send
    150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:Sending HTTP Header: HTTP/1.1 500 Internal Server Error^M
    Server: gSOAP/2.7^M
    Content-Type: text/xml; charset=utf-8^M
    Content-Length: 311^M
    Connection: close^M
    ^M
    150237.uaix4070!GWWS.5767178.1046.0: TRACE:ms:Sending SOAP Message: <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>GWWS_CAT:1022: SOAP Error: Invalid SOAP Body.</faultstring></SOAP-ENV:Fault><
    /SOAP-ENV:Body></SOAP-ENV:Envelope>
    Is there something wrong with the request ? Are there known bugs with handling of Soap request in this version ?
    Thanks & Regards,
    Ajeet Tewari

    Ajeet,
    I believe that may be caused by the fact that the payload is empty (<inbuf></inbuf>). The gateway is very strict on that...
    Regards,
    Maurice

  • External WebService call from CAF Core returns Invalid soap message

    I am trying to perform the very simple action of calling a WebService from a CAF Core app service.
      1. I imported the WS (Axis Web service running on NW 2004s SP9 server) with WSDL (option 2 on import external service page).
      2. I then assembled the call in an app service method and invoke it.
      3. I made sure to configure the end point for the service and the method using the External Service configuration.
    When I execute the CAF core method using a simple Callable Object test client, I get the following error:
    com.sap.caf.mp.base.exception.EngineException: Invalid soap message received
         at com.sap.caf.mp.core.data.service.manager.wsdl11.SOAPToMessageValueConverter.processComplexTypeMode(SOAPToMessageValueConverter.java:290)
         at com.sap.caf.mp.core.data.service.manager.wsdl11.SOAPToMessageValueConverter.generateComplexTypeValue(SOAPToMessageValueConverter.java:179)
         at
    truncated.
    I have also captured the XML request/reponse trace using tcpmon :
    REQUEST:
    POST /NWTestExpressWAR/services/TestExpressService HTTP/1.1
    Host: 192.168.99.120:8078
    Content-Type: text/xml; charset=UTF-8
    Content-Length: 348
    SOAPAction: http://www.testsys.com/TestExpressService/getAvailableModels
    <?xml version="1.0" encoding="utf-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Body><ns1:GetAvailableModels xmlns:ns1="http://www.testsys.com/TestExpressService"/></SOAP-ENV:Body></SOAP-ENV:Envelope>
    RESPONSE:
    HTTP/1.1 200 OK
    Server: SAP J2EE Engine/7.00
    Set-Cookie: saplb_*=(J2EE11743000)11743050; Version=1; Path=/
    Content-Type: text/xml; charset=utf-8
    Date: Mon, 04 Dec 2006 02:19:39 GMT
    Transfer-Encoding: chunked
    Set-Cookie: JSESSIONID=(J2EE11743000)ID1261187150DB11296929644926762709End; Version=1; Domain=192.168.99.120; Path=/
    1f3
    <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><GetAvailableModelsResponse xmlns="http://www.testsys.com/TestExpressService"><modelNames><name>Great Oak Manufacturing-January03 Test</name><name>PriceCheck-default</name></modelNames><errorMessagesReturn/></GetAvailableModelsResponse></soapenv:Body></soapenv:Envelope>
    0
    The only problem I can think off is that the transfer-encoding is marked as chunked which is causing the characters '1f3' and '0' to appear after and before the response and that this is causing the app to crash.
    192.168.99.120 is the server the hosts the WS. It is also a 2004s SP9 server. The client server that hosts the CAF core service is of the same configuration. 8078 is the port I redirect for tcpmon purposes.
    Could anyone shed some light on my problem?
    Thanks,
    Pratap.

    It looks like NW WS client cannot handle Transfer-encoding of chunked even though this is part of HTTP 1.1. What seems to be happening is that the NW WS client is creating a HTTP 1.1 request. The service (axis ws running on NW) seeing this is creating a HTTP 1.1 response w/ chunked encoding. However, the client cannot handle this encoding and barfs. The solution is to change the service to return a HTTP/1.0 response since NW cant handle HTTP 1.1.
    Pratap.

  • Invalid Token Error in Verification Service. Received invalid token

    Hi,
    Actually I have deployed a cluster installation of SOA Suite following the indications available in Oracle® Application Server Enterprise Deployment Guide 10g Release 3 (10.1.3.1.0) B28939-03. I have integrated the WorkList Application with Active Directory.
    I have deploy a process including a human task and added a simple task form. My problem rise when I tried to check the detail of a task in the worklist application. Sometimes worklist show the following exception
    An error occured while processing your request.
    Error while inoking URL to display the content. Error while invoking URL. http://myhost.com.co:7777/default/StarLoan/1.0/LoanApproval/Template1.jsp Check the underlying exception and correct the error. Contact oracle support if error is not fixable..
    In the logs I can see the error
    <2008-10-21 18:40:22,774> <ERROR> <default.collaxa.cube.services> <::> WorkflowService:: VerificationService.validateContext: invalid token: c9pHcmBFtc5lSM/g/slFB4MynulA3WZ5mgzsiEDn/zIU9oI97im6QwNIRJSfiG+LnWr4TAzedz3E5di50ocWbdEg+ZFrBFtBMUqFngoPHMTpMVugdIUxmLtPwZcacwzxJpeFRTQ0+dx8CO6drJlAvnvWAuB6GmzCfIoiNAVl/y3CQckD9sLAD/HWStKX7VB2TSzjVuLLH0Qmkp0eRjoXNg==
    <2008-10-21 18:40:22,775> <ERROR> <default.collaxa.cube.services> <::> ORABPEL-30503
    <2008-10-21 18:40:22,775> <ERROR> <default.collaxa.cube.services> <::>
    <2008-10-21 18:40:22,775> <ERROR> <default.collaxa.cube.services> <::> Invalid Token Error in Verification Service.
    <2008-10-21 18:40:22,775> <ERROR> <default.collaxa.cube.services> <::> Invalid Token Error in Verification Service. Received invalid token c9pHcmBFtc5lSM/g/slFB4MynulA3WZ5mgzsiEDn/zIU9oI97im6QwNIRJSfiG+LnWr4TAzedz3E5di50ocWbdEg+ZFrBFtBMUqFngoPHMTpMVugdIUxmLtPwZcacwzxJpeFRTQ0+dx8CO6drJlAvnvWAuB6GmzCfIoiNAVl/y3CQckD9sLAD/HWStKX7VB2TSzjVuLLH0Qmkp0eRjoXNg== in validateContext
    <2008-10-21 18:40:22,775> <ERROR> <default.collaxa.cube.services> <::> Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
    <2008-10-21 18:40:22,775> <ERROR> <default.collaxa.cube.services> <::>
    <2008-10-21 18:40:22,775> <ERROR> <default.collaxa.cube.services> <::>      at oracle.bpel.services.workflow.verification.impl.VerificationService.validateContext(VerificationService.java:917)
    <2008-10-21 18:40:22,775> <ERROR> <default.collaxa.cube.services> <::>      at oracle.bpel.services.workflow.verification.impl.VerificationService.validateContext(VerificationService.java:930)
    <2008-10-21 18:40:22,775> <ERROR> <default.collaxa.cube.services> <::>      at oracle.bpel.services.workflow.verification.impl.VerificationService.getContext(VerificationService.java:541)
    <2008-10-21 18:40:22,775> <ERROR> <default.collaxa.cube.services> <::>      at oracle.bpel.services.workflow.query.impl.TaskQueryService.getWorkflowContext(TaskQueryService.java:171)
    <2008-10-21 18:40:22,775> <ERROR> <default.collaxa.cube.services> <::>      at Footer1.jspService(_Footer1.java:131)
    <2008-
    What can I do to fix the problem?

    well, no, you're not the only one. I just got the BPEL worklist app running, and I have the same error. I've deployed the app on a different server from the bpel / oc4j container, and I'm using the SOAP client. Using wireshark, I can see that the authentication is happening properly - valid requests and responses to the TaskQuery service, but after that I get:
    <::> TaskQueryServiceSOAPClient: Soap Response:
    <::> ORABPEL-30504
    <::>
    <::> Internal Error in Verification Service.
    <::> Internal Error in Verification Service for user . getWorkflowContextFromElement
    <::> Check the underlying exception and correct the error. Contact oracle support if error is not fixable.

  • Invalid soap address, unknown protocol jms

    Hi, All,
    I try to create a web service project based on a WSDL which soap based on JMS as following:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="AsyncBusiness"
         targetNamespace="http://www.alsb.com/AsyncBusiness/"
         xmlns="http://schemas.xmlsoap.org/wsdl/"
         xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
         xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
         xmlns:tns="http://www.alsb.com/AsyncBusiness/"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <types>
              <xsd:schema targetNamespace="http://www.alsb.com/AsyncBusiness/"
                   xmlns:order="http://www.alsb.com/order/">
                   <xsd:import namespace="http://www.alsb.com/order/"
                        schemaLocation="order.xsd" />
                   <xsd:element name="submitOrder" type="order:Order" />
              </xsd:schema>
         </types>
         <message name="submitOrder">
              <part element="tns:submitOrder" name="submitOrder" />
         </message>
         <portType name="AsyncBusiness">
              <operation name="submitAsyncOrder">
                   <input message="tns:submitOrder" />
              </operation>
         </portType>
         <binding name="AsyncBusinessSOAP" type="tns:AsyncBusiness">
              <soap:binding style="document"
                   transport="http://www.openuri.org/2002/04/soap/jms" />
              <operation name="submitAsyncOrder">
                   <soap:operation
                        soapAction="http://www.alsb.com/AsyncBusiness/submitOrder" />
                   <input>
                        <soap:body parts="submitOrder" use="literal" />
                   </input>
              </operation>
         </binding>
         <service name="AsyncBusiness">
              <port binding="tns:AsyncBusinessSOAP" name="AsyncBusiness">
                   <soap:address
                        location="jms://192.168.48.1:7001/AsyncOrderSelf_WS/AsyncBusiness?URI=jms.WebServiceQueue" />
              </port>
         </service>
    </definitions>
    the problem is when I generate web service based on that, error found: invalid soap address, unknown protocol jms. How can I make it work?
    I'm using workshop 10.3 for weblogic. Thanks in advance.
    Best Regards,
    Bill
    Edited by: Bill Cao on May 20, 2009 11:13 AM

    Bill,
    Soap Address should always should be standard.
    But you can change the action type under the wls binding part
    for example I will provide one sample and it work perfectly at my end.
    <!-- ************************************************************* -->
    <!-- Web Service JMS Binding Definition -->
    <!-- ************************************************************* -->
    <wsdl:binding name="SampleJMSSoapBinding" type="invws:SamplePort">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/jms" />
    <wsdl:operation name="DeleteParty">
    <soap:operation soapAction="http://xmlns.oracle.com/communications/webservice/DeleteParty" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    <wsdl:fault name="InventoryFault">
    <soap:fault name="InventoryFault" use="literal" />
    </wsdl:fault>
    <wsdl:fault name="ValidationFault">
    <soap:fault name="ValidationFault" use="literal" />
    </wsdl:fault>
    </wsdl:operation>
    </wsdl:binding>
    <!-- ************************************************************* -->
    <!-- Web Service Port Binding Definition -->
    <!-- ************************************************************* -->
    <wsdl:service name="Sample">
    <wsdl:port name="SampleHTTPPort" binding="invws:SampleHTTPSoapBinding">
    <soap:address location="http://localhost:7001/Sample/SampleHTTP" />
    </wsdl:port>
    <wsdl:port name="SampleJMSPort" binding="invws:SampleJMSSoapBinding">
    <soap:address location="jms://localhost:7001/Sample/SampleJMS?URI=inventoryWSQueue" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    let me know whether this will help any where.
    Regards,
    Kal.

  • Invalid SOAP format, Web Service

    Hi All,
    I am trying to send a SOAP request to get the list of Activity ID using the following code:
    SOAPPart soapPart = message.getSOAPPart();
    SOAPEnvelope envelope = soapPart.getEnvelope();
    envelope.addAttribute(envelope.createName"xmlns:xsi"), "http://www.w3.org/2001/XMLSchema-instance");
    envelope.addAttribute(envelope.createName("xmlns:xsd"), "http://www.w3.org/2001/XMLSchema");
    SOAPBody body = envelope.getBody();
    SOAPElement bodyElement = body.addChildElement("ActivityNWS_Activity_QueryPage_Input","ns1","urn:crmondemand/ws/activity/10/2004");
    SOAPElement childElement = bodyElement.addChildElement("ListOfActivity","ns1","urn:/crmondemand/xml/activity");
    SOAPElement childElement2 = childElement.addChildElement("Activity");
    childElement2.addChildElement("ActivityId");
    childElement2.addChildElement("CreatedDate");
    message.saveChanges();
    String destination = "https://secure-ausomxbwa.crmondemand.com/Services/Integration;jsessionid"+SODSession;
    SOAPMessage reply = connection.call(message, destination);
    But I am getting the following SOAP error when I try to send the SOAP request.
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Client</faultcode>
    <faultstring>SOAPAction '&lt;?&gt;' is of invalid format:
    SOAPAction should be of the form "rpc/operationName" or "document/operationNa
    me".(SBL-EAI-08006)</faultstring>
    <detail><siebelf:errorstack xmlns:siebelf="http://www.siebel.com/ws/fault">
    <siebelf:error><siebelf:errorsymbol/>
    <siebelf:errormsg>SOAPAction '&lt;?&gt;' is of invalid format: SOAPAction should be of the form "rpc/operationName" or "document/operationName".(SBL-EAI-08006)</siebelf:errormsg>
    </siebelf:error></siebelf:errorstack></detail></SOAP-ENV:Fault>
    Is there anything else that needs to be added to the code?

    Hi ,
    You might have not read that on top of the web page on left of the "Welcome + your name" there is the note
    "Community Feedback and Suggestions (Do Not Post Product-Related Questions Here)"
    Post your problem to:
    http://forums.oracle.com/forums/forum.jspa?forumID=97
    Greetings...
    Sim

  • Youtube Facebook Google etc, Invalid URL error

    For many years now I've been putting up with a CONSTANT lingering problem with my Mac OS. These (on a very regular basis) irritating, "Invalid URL" errors.
    The picture that you see below is an example of my problem.  This example of a Youtube video giving me an error is from a recent article on www.macrumors.com.
    Where the youtube video is supposed to be is just an Error.  And as I scrolled down the page, all of the subsequent youtube videos had this same error.
    So I went to youtube.  After typing in the web address, I get the same error except that it fills the entire screen.
    After about 20 minutes (of constant screen refreshes and data dumps within safari) the youtube videos finally loaded as if nothing was wrong (as you can see in the second photo).
    Sometimes this problems lasts for 10 seconds.  But normally it can take between 10 minutes to an hour to begin working again.
    The other two websites that give me this same trouble is Google.com and Facebook.com.  But Facebook being the most notorious.  Not just because my actual facebook page won't load, but because of all of the news sites that load facebook garbage and coding searching for facebook.  When the facebook ip address cannot be resolved, these annoying error pop-ups begin bombarding my screen.  One minute facebook will work, and I'm reading down the newfeed, then all of the sudden nothing new will load.  When I try to refresh the page, I get an error stating that it cannot load the page.  Then I just have to wait.
    As you can see from the picture below, Sometimes facebook just gives me an error that states, "Safari cannot open the page Facebook.com because Safari cannot establish a secure connection to the facebook server."
    This happens EVERY single day.  It's really just a crap-shoot whether or not I will be able to get onto Facebook.
    Youtube is a little less often (usually happening about 3 or 4 times per week).
    Google got so bad that I finally had to change my search provider to Bing, because Google almost never worked.
    Has anyone else experienced these problems on their MAC?
    I ask because I have 3 MAC computers.  2 Laptops and a MacPro tower. 
    And EVERY single one has this same problem.
    This wasn't such a big deal; ie something I learned to live with... Up until I bought my wife (and Windows Vista convert) her new Macbook Air.  And within an hour of booting that thing up for the first time, her Facebook errored out.  And has done it pretty consistantly every day, at least twice, since then.
    If anyone else has this problem, how did you fix it????????

    Here are the results:
    I hope someone can make heads or tails out of this.
    And please keep in mind that in the past I have completely wiped and reinstalled after reformatting and within an hour or 2 I get the same errors on the these websites.
    Start time: 23:05:23 06/15/14
    Model Identifier: MacBookPro5,5
    System Version: OS X 10.9.3 (13D65)
    Kernel Version: Darwin 13.2.0
    Boot Mode: Normal
    Time since boot: 49 minutes
    FileVault: FileVault master keychain appears to be installed
    Diagnostic reports
       2014-05-19 UserEventAgent crash
       2014-05-23 qmasterqd crash
       2014-05-26 qmasterqd crash
       2014-06-02 DivX Player crash
       2014-06-02 PluginProcess crash
       2014-06-02 com.apple.WebKit.WebContent crash
       2014-06-02 com.apple.WebKit.WebContent crash
       2014-06-02 com.apple.WebKit.WebContent crash
    Log
       Jun 13 01:43:18 AFP_VFS afpfs_dead:  called on vfsid 4
       Jun 13 01:43:18 ASP_TCP CancelPendingReqsWithID : Adding the invalid vfsid 4 and counter is 0 to the list
       Jun 13 01:43:18 ASP_TCP CancelOneRequest: cancelling slot 15 error 89 reqID 2801 flags 0x29 afpCmd 0x45 so 0xffffff801586fca0
       Jun 13 01:43:18 ASP_TCP CancelOneRequest: cancelling slot 16 error 89 reqID 2802 flags 0x29 afpCmd 0x22 so 0xffffff801586fca0
       Jun 13 01:43:18 ASP_TCP CancelOneRequest: cancelling slot 17 error 89 reqID 2803 flags 0x29 afpCmd 0x22 so 0xffffff801586fca0
       Jun 13 01:43:18 ASP_TCP CancelOneRequest: cancelling slot 18 error 89 reqID 2804 flags 0x29 afpCmd 0x22 so 0xffffff801586fca0
       Jun 13 22:40:53 AFP_VFS afpfs_DoReconnect:  Max reconnect time: 30 secs, Connect timeout: 15 secs for /Volumes/Storagedisk_6_1TB
       Jun 13 22:41:28 AFP_VFS afpfs_dead:  called on vfsid 3
       Jun 13 22:41:28 ASP_TCP CancelPendingReqsWithID : Adding the invalid vfsid 3 and counter is 0 to the list
       Jun 13 22:41:28 ASP_TCP CancelOneRequest: cancelling slot 20 error 89 reqID 10889 flags 0x29 afpCmd 0x22 so 0xffffff802230a058
       Jun 13 22:41:28 ASP_TCP CancelOneRequest: cancelling slot 21 error 89 reqID 10890 flags 0x29 afpCmd 0x22 so 0xffffff802230a058
       Jun 13 23:26:04 process Preview[95635] caught causing excessive wakeups. Observed wakeups rate (per sec): 744; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45020
       Jun 14 00:16:15 process Preview[2207] caught causing excessive wakeups. Observed wakeups rate (per sec): 2593; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45020
       Jun 14 00:17:23 process Preview[2339] caught causing excessive wakeups. Observed wakeups rate (per sec): 1991; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45210
       Jun 14 02:45:19 process QuickLookUIHelpe[4321] caught causing excessive wakeups. Observed wakeups rate (per sec): 189; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45586
       Jun 15 00:44:53 msdosfs_fat_uninit_vol: error 6 from msdosfs_fat_cache_flush
       Jun 15 00:46:08 jnl: disk3s1: replay_journal: from: 283136 to: 1024512 (joffset 0x7a000)
       Jun 15 00:46:12 jnl: disk3s1: journal replay done.
       Jun 15 01:37:24 jnl: disk3s1: do_jnl_io: strategy err 0x6
       Jun 15 01:37:24 jnl: disk3s1: write_journal_header: error writing the journal header!
       Jun 15 01:37:24 jnl: disk3s1: close: journal 0xffffff8013ac5c20, is invalid.  aborting outstanding transactions
       Jun 15 01:37:26 jnl: disk3s1: replay_journal: from: 367616 to: 1361408 (joffset 0x3f000)
       Jun 15 01:37:27 jnl: disk3s1: journal replay done.
       Jun 15 10:33:57 process qmastercc[163] caught causing excessive wakeups. Observed wakeups rate (per sec): 1016; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 59722
       Jun 15 22:20:37 process smcFanControl[246] caught causing excessive wakeups. Observed wakeups rate (per sec): 324; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 46105
    kexts
       com.squirrels.airparrot.framebuffer (3)
    Daemons
       org.macosforge.xquartz.privileged_startx
       com.oracle.java.Helper-Tool
       com.microsoft.office.licensing.helper
       com.google.keystone.daemon
       com.adobe.fpsaud
    Agents
       org.macosforge.xquartz.startx
       com.oracle.java.Java-Updater
       com.hp.help.tocgenerator
       com.google.keystone.system.agent
       com.divx.update.agent
       com.divx.dms.agent
       org.w0lf.cDock
       com.adobe.ARM.UUID
    launchd
       /System/Library/LaunchAgents/com.apple.AirPortBaseStationAgent.plist
                 (com.apple.AirPortBaseStationAgent)
       /Library/LaunchAgents/com.divx.dms.agent.plist
                 (com.divx.dms.agent)
       /Library/LaunchAgents/com.divx.update.agent.plist
                 (com.divx.update.agent)
       /Library/LaunchAgents/com.google.keystone.agent.plist
                 (com.google.keystone.system.agent)
       /Library/LaunchAgents/com.hp.help.tocgenerator.plist
                 (com.hp.help.tocgenerator)
       /Library/LaunchAgents/com.oracle.java.Java-Updater.plist
                 (com.oracle.java.Java-Updater)
       /Library/LaunchAgents/org.macosforge.xquartz.startx.plist
                 (org.macosforge.xquartz.startx)
       /Library/LaunchDaemons/com.adobe.fpsaud.plist
                 (com.adobe.fpsaud)
       /Library/LaunchDaemons/com.apple.aelwriter.plist
                 (com.apple.aelwriter)
       /Library/LaunchDaemons/com.google.keystone.daemon.plist
                 (com.google.keystone.daemon)
       /Library/LaunchDaemons/com.microsoft.office.licensing.helper.plist
                 (com.microsoft.office.licensing.helper)
       /Library/LaunchDaemons/com.oracle.java.Helper-Tool.plist
                 (com.oracle.java.Helper-Tool)
       /Library/LaunchDaemons/org.macosforge.xquartz.privileged_startx.plist
                 (org.macosforge.xquartz.privileged_startx)
       Library/LaunchAgents/com.adobe.ARM.UUID.plist
                 (com.adobe.ARM.UUID)
       Library/LaunchAgents/com.apple.AddressBook.ScheduledSync.PHXCardDAVSource.UUID. plist
                 (com.apple.AddressBook.ScheduledSync.PHXCardDAVSource.UUID)
       Library/LaunchAgents/org.w0lf.cDock.plist
                 (org.w0lf.cDock)
    Bundles
       /System/Library/Extensions/APExtFramebuffer.kext
                 (com.squirrels.airparrot.framebuffer)
       /System/Library/Extensions/hpPlugInInit.kext
                 (com.hp.scanner.PlugInInit)
       /System/Library/Extensions/hpPlugInInit.kext/Contents/Resources
                 (com.hp.scanner.PlugInInit)
       /System/Library/Extensions/ssuddrv.kext
                 (com.devguru.driver.SamsungComposite)
       /Library/Audio/Plug-Ins/Components/Ambience.component
                 (com.smartelectronix.magnus.Ambience)
       /Library/Audio/Plug-Ins/Components/ARIA Player AU.component
                 (N/A)
       /Library/Audio/Plug-Ins/Components/SmartMusicSoftSynth.component
                 (com.makemusic.audiounit.smartmusicsoftsynth)
       /Library/Audio/Plug-Ins/VST/ARIA Player VST Multi.vst
                 (N/A)
       /Library/Audio/Plug-Ins/VST/ARIA Player VST.vst
                 (N/A)
       /Library/Internet Plug-Ins/DivX Web Player.plugin
                 (com.divx.DivXWebPlayer)
       /Library/Internet Plug-Ins/Flash Player.plugin
                 (N/A)
       /Library/Internet Plug-Ins/googletalkbrowserplugin.plugin
                 (com.google.googletalkbrowserplugin)
       /Library/Internet Plug-Ins/JavaAppletPlugin.plugin
                 (com.oracle.java.JavaAppletPlugin)
       /Library/Internet Plug-Ins/o1dbrowserplugin.plugin
                 (com.google.o1dbrowserplugin)
       /Library/Internet Plug-Ins/OVSHelper.plugin
                 (com.divx.OVSHelper)
       /Library/Internet Plug-Ins/SharePointBrowserPlugin.plugin
                 (com.microsoft.sharepoint.browserplugin)
       /Library/Internet Plug-Ins/SharePointWebKitPlugin.webplugin
                 (com.microsoft.sharepoint.webkitplugin)
       /Library/Internet Plug-Ins/Silverlight.plugin
                 (com.microsoft.SilverlightPlugin)
       /Library/Internet Plug-Ins/SurveillanceClient.plugin
                 (com.boxdeng.xvmsplugin)
       /Library/PreferencePanes/Flash Player.prefPane
                 (com.adobe.flashplayerpreferences)
       /Library/PreferencePanes/HP Scanjet.prefPane
                 (com.hp.scanjet.prefs)
       /Library/PreferencePanes/JavaControlPanel.prefPane
                 (com.oracle.java.JavaControlPanel)
       /Library/QuickTime/CanonMJPEGAVI.component
                 (jp.co.canon.MJPEGAVIExporter)
       /Library/QuickTime/CanonMJPEGAVIDec.component
                 (jp.co.canon.CanonMJPEGAVIDec)
       /Library/QuickTime/CanonText.component
                 (jp.co.canon.Text)
       /Library/Spotlight/Finale.mdimporter
                 (com.makemusic.MDImporter.Finale)
       Library/Address Book Plug-Ins/SkypeABDialer.bundle
                 (com.skype.skypeabdialer)
       Library/Address Book Plug-Ins/SkypeABSMS.bundle
                 (com.skype.skypeabsms)
       Library/Caches/com.apple.Safari/Extensions/AdBlock.safariextension
                 (com.betafish.adblockforsafari)
       Library/Caches/com.apple.Safari/Extensions/ExifExt.safariextension
                 (de.phriedrich.exifext)
       Library/Caches/com.apple.Safari/Extensions/My eBay Manager-2.safariextension
                 (com.ebay.safari.myebaymanager)
       Library/Caches/com.apple.Safari/Extensions/Social Fixer.safariextension
                 (com.socialfixer)
       Library/Caches/com.apple.Safari/Extensions/Turn Off the Lights.safariextension
                 (com.stefanvd.turnoffthelights)
       Library/Internet Plug-Ins/Google Earth Web Plug-in.plugin
                 (com.Google.GoogleEarthPlugin.plugin)
       Library/Internet Plug-Ins/WebEx64.plugin
                 (com.cisco_webex.plugin.gpc64)
       Library/ScriptingAdditions/EasySIMBL.osax
                 (com.github.norio-nomura.EasySIMBL.osax)
    dylibs
       /usr/lib/libdvdcss.2.dylib
    Contents of /etc/ssh_config
        Host *
          SendEnv LANG LC_*
       Host *
           XAuthLocation /opt/X11/bin/xauth
    Font issues: 41
    Listeners
       launchd: afpovertcp
       launchd: microsoft-ds
       launchd: ssh
       kdc: kerberos
       nfsd: 1023
       rpc.statd: exp1
       rpc.lockd: 1017
       rpcbind: sunrpc
       rpc.rquot: garcon
    Wi-Fi
       link auth: wpa-psk
    User login items
       iTunesHelper.app
       smcFanControl
       Auto Mute.app
       SurplusMeterAgent.app
       RightZoom.app
       SpeechSynthesisServer.app
    Hidden apps
       .magicJack/Softphone/magicJack.app
       .magicJack/Softphone/splash.app
    Restricted files: 2584
    Safari extensions
       ExifExt
       Turn Off the Lights
       My eBay Manager
       AdBlock
       Social Fixer
    Elapsed time (s): 387

  • "Invalid Binary" error on app. Apple's reason is "Missing 64-bit support" due to changes from Feb 1st 2015

    Hello
    Can anyone help me with an "Invalid Binary" error on my app.
    Apple's response is:
    Dear developer,
    We have discovered one or more issues with your recent submission for "DPS Notes". To process your submission, the following issues must be corrected:
    Missing 64-bit support - Beginning on February 1, 2015 new iOS apps submitted to the App Store must include 64-bit support and be built with the iOS 8 SDK. Beginning June 1, 2015 app updates will also need to follow the same requirements. To enable 64-bit in your project, we recommend using the default Xcode build setting of “Standard architectures” to build a single binary with both 32-bit and 64-bit code.
    Once these issues have been corrected, use Xcode or Application Loader to upload a new binary to iTunes Connect. Choose the new binary on the app’s Details page in My Apps on iTunes Connect, and click Submit for Review.
    Regards,
    The App Store team
    Can someone from the Adobe DPS team let me know how I can recreate the .ipa file so that it will meet Apple's requirements.
    They seem to have moved the goalposts since I created the original .ipa file in December. I thought I'd submitted it, just went back through iTunes Connect to check info as I hadn't heard anything from them, then hit this brick wall. Any help offered would be much appreciated.
    Thanks
    Rebecca

    Hi
    I've Updated App Builder, gone back to the DPS App Builder portal, regenerated new zip and ipa files and downloaded them.
    I clicked the Application Loader 3.0 link, downloaded the latest Appication Version, clicked on the "Deliver your App" button, and submitted the newly built App that was built using 32.4.2 version. (All the app icons were listed as "stored on server" so I presume they are all ok). The .zip file appeared to 'deliver' to Apple successfully. I've tried to resubmit it but get ta "Redundant Binary Upload. There already exists a binary upload with build version..." error message, so presume the orginal binary upload was successful. I have no idea how I can get this app from the "prepare for submission", to "in review". The last time I thought I'd submitted this app I got as far as the "waiting for review" status, and no further.
    At the moment I don't have a"+" button in the Build section - as mentioned on page 66 of Adobe's Step_by_step_guide_to_dps_se.pdf.
    So I can't add the new .zip file to the iTunes Connect > My Apps portal in the Build section of the Versions tab.
    I have put a support email into Apple, but don't expect a reply any day soon.
    The problem with starting all the way back through the App wizard is that I really want to use all the same App Name, Bundle ID, and details etc.
    Do you mean, going back to the Folio Producer Panel, and building a whole new App?
    This process certainly isn't for the faint-hearted!
    HELP!

  • Case When Statement and ORA:01722 Invalid number error

    Hi folks, I have posted this under another heading as well under E-business suite so apologies if some you have already seen it but I would really appreciate some help on this one. Any suggestions are most welcome.
    We are trying to put together a calculation that returns the number of days absent an individual has had in a given time period. We need to cater for those absences that started before the period and are closed during it, absence that start during the period and end after it, and those that open and close within it.
    The period is always a rolling 6 months from sysdate.
    This is the calc we have come up with so far which works for some people but we get the invalid number error if the absence includes a half day - so 0.5, 1.5,etc.
    This is probably over complicated but we are not techie at all so are learning as we go!
    We are using the HRMS - Administration - Oracle Human Resources (Core) business area in 10G and the Absence Attendance and Person folders.
    SUM(TO_NUMBER(NVL(( CASE WHEN Absence Attendance.Actual Start Date < TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') THEN ( CASE WHEN Absence Attendance."Actual End Date" > SYSDATE THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),SYSDATE) ) ELSE ( CASE WHEN ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) END ) END ) END ) IS NULL THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),SYSDATE) ) ELSE ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) END ) END ) END ) END ) END ) ELSE ( CASE WHEN ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) END ) END ) END ) IS NULL THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),SYSDATE) ) ELSE ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( Absence Attendance.Duration Days ) END ) END ) END ) END ) END ),( DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") )),'999999990D00'))

    Hi,
    It could be that this is because you are using SYSDATE which contains the time as a fraction rather than TRUNC(SYSDATE) which just contains the current time. It could be that your working_dates_between raises this error.
    However, your formula is far more complicated than it needs to be.
    Firstly, you want to look at the date window ADD_MONTHS(TRUNC(SYSDATE), -6) to TRUNC(SYSDATE). Then you want to look at the portion of the absence that falls in the date window. This is GREATEST(Absence Attendance.Actual Start Date, ADD_MONTHS(TRUNC(SYSDATE), -6)) to LEAST(NVL(Absence Attendance."Actual End Date",TRUNC(SYSDATE)), TRUNC(SYSDATE)). You may need to add 1 to the absence end date because this is the last day of their absence rather than the date they return. It depends how you calculate the days between the start and end
    date of the absence. You can create calculations for the start and end date of the absences within the 6 months time window. Create calculation AbsenceStart as
    GREATEST(Absence Attendance.Actual Start Date, ADD_MONTHS(TRUNC(SYSDATE), -6))
    and AbsenceEnd as
    LEAST(NVL(Absence Attendance."Actual End Date",TRUNC(SYSDATE)), TRUNC(SYSDATE))
    Then you need to only pick up absence that a part of the absence in your 6 month date window. You can use a condition in the workbook or a condition in a case statement to do this. You then need to calculate the difference between these dates and SUM all the values.
    SUM(CASE WHEN AbsenceEnd >= AbsenceStart THEN WORKING_DAYS_BETWEEN(AbsenceStart, AbsenceEnd) END)
    That's it. Not so complicated after all.
    Rod West

  • Case When Statement and ORA:1722 Invalid number error

    Sorry I posted this in the wrong forum - I have the answer now
    Cheers
    HELP!!!
    We are trying to put together a calculation that returns the number of days absent an individual has had in a given time period. We need to cater for those absences that started before the period and are closed during it, absence that start during the period and end after it, and those that open and close within it.
    The period is always a rolling 6 months from sysdate.
    This is the calc we have come up with so far which works for some people but we get the invalid number error if the absence includes a half day - so 0.5, 1.5,etc.
    This is probably over complicated but we are not Techie at all so are learning as we go! We are using the HRMS - Administration - Oracle Human Resources (Core) business area in 10G and the Absence Attendance and Person folders.
    SUM(TO_NUMBER(NVL(( CASE WHEN Absence Attendance.Actual Start Date < TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') THEN ( CASE WHEN Absence Attendance."Actual End Date" > SYSDATE THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),SYSDATE) ) ELSE ( CASE WHEN ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) END ) END ) END ) IS NULL THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),SYSDATE) ) ELSE ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) END ) END ) END ) END ) END ) ELSE ( CASE WHEN ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) END ) END ) END ) IS NULL THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),SYSDATE) ) ELSE ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( Absence Attendance.Duration Days ) END ) END ) END ) END ) END ),( DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") )),'999999990D00'))
    Edited by: CPearce on Sep 25, 2008 8:03 AM

    Hi,
    It could be that this is because you are using SYSDATE which contains the time as a fraction rather than TRUNC(SYSDATE) which just contains the current time. It could be that your working_dates_between raises this error.
    However, your formula is far more complicated than it needs to be.
    Firstly, you want to look at the date window ADD_MONTHS(TRUNC(SYSDATE), -6) to TRUNC(SYSDATE). Then you want to look at the portion of the absence that falls in the date window. This is GREATEST(Absence Attendance.Actual Start Date, ADD_MONTHS(TRUNC(SYSDATE), -6)) to LEAST(NVL(Absence Attendance."Actual End Date",TRUNC(SYSDATE)), TRUNC(SYSDATE)). You may need to add 1 to the absence end date because this is the last day of their absence rather than the date they return. It depends how you calculate the days between the start and end
    date of the absence. You can create calculations for the start and end date of the absences within the 6 months time window. Create calculation AbsenceStart as
    GREATEST(Absence Attendance.Actual Start Date, ADD_MONTHS(TRUNC(SYSDATE), -6))
    and AbsenceEnd as
    LEAST(NVL(Absence Attendance."Actual End Date",TRUNC(SYSDATE)), TRUNC(SYSDATE))
    Then you need to only pick up absence that a part of the absence in your 6 month date window. You can use a condition in the workbook or a condition in a case statement to do this. You then need to calculate the difference between these dates and SUM all the values.
    SUM(CASE WHEN AbsenceEnd >= AbsenceStart THEN WORKING_DAYS_BETWEEN(AbsenceStart, AbsenceEnd) END)
    That's it. Not so complicated after all.
    Rod West

  • "Invalid Cursor" Error in Form

    Hi,
    I wrote a procedure that take a REF CURSOR as an IN OUT argument. This procedure does an "OPEN cursor FOR qry" with a dynamic query:
    OPEN l_cursor FOR
           'SELECT A '||
             'FROM B '||
            'WHERE C = :l_var'
         USING myVar;After calling the procedure, I do a LOOP with FETCH.
    It works well when I use it in SQL*Plus with DBMS_OUTPUT but it returns a "ORA-01001 invalid cursor" error in Forms.
    Any help is welcome!
    Regards,
    Olivier.

    I found a solution on Metalink:
    Note:170881.1
    Note: 1007395.6
    Olivier.

  • XML Publisher Report ends with Warning -- Invalid Character Error in XML

    Hi,
    I have migrated the standard report 'Invoice Print Selected Invoices' from Reports 6i to XML Publisher. It has to print a Euro(€) in the report. It does not even generate the XML File fully. It gives the below error in the XML File. When i remove the special character, it works fine.
    Please let me know the settings to ensure that XML file also accepts the special characters. How do i get the Euro symbol printed in XML File with out giving Invalid Character Error?
    ===========================================================The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again
    later.
    An invalid character was found in text content. Error processing resource 'http://dfw1svdevapp03.ora.rackspace.com:8040/OA_...
    <C_INV_CURRENCY_SYMBOL>
    N class="m">>
    <LINE_UOM />
    <LINE_UNIT_SELLING_PRICE />
    ===========================================================
    The XML File even does not show which character set it uses. The output file starts with:
    ===========================================================
    <?xml version="1.0" ?>
    - <!-- Generated by Oracle Reports version 6.0.8.25.0
    -->
    ===========================================================

    Hi Tim,
    Thanks for your adhoc response.
    I have gone thru the Document 222663.1 and it says that the Developer 6.0.8.23 is required to handle this problem. We are using almost the updated Developer version i.e., Developer 6.0.8.25. So, this should be handled automatically, but it still errors out. Please suggest.
    Thanks,
    Kesava

  • HT5113 "Invalid code error" and "can't connect to the iTunes Store." Any suggestions?

    I keep getting an "invalid code error" when trying to preview a course with the enroll code. When I click on the link to the course, I get an error that says "can't connect to the iTunes Store." Any suggestions?
    I tried previewing a test course I made about a year ago. I was able to request access to the course, went into Course Manager and approved it, but hours later it still says awaiting approval on my iPad.
    Any ideas as to what could be going on, aside from a cruel April Fool's joke?
    Thanks.
    David

    How about trying to sign out of your account on the iPad, restart the iPad, sign back into the account and then try again?
    Settings>Store>Apple ID - tap on your ID and sign out - restart - go back - sign in.
    Other than going through the support article - if you haven't already done so - the only other thing I can think of is to reset/reboot the iPad. That can clear the memory and it does help solve a lot of "hinky" issues.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • How can I get a SOAP Error message in ABAP ?

    Dear all.
    I'm trying to get SOAP Error message during XI Interface.
    I've got an Error ( T-code : sxi_monitor ) and I need to get the Error message and write to screen.
    I used
    CATCH CX_AI_APPLICATION_FAULT.
    CATCH CX_AI_SYSTEM_FAULT.
    but couldn't get the error message.
    The Error occured as below.
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ZTSD0030' (structure 'stmt1'): java.sql.SQLException: FATAL ERROR: Column 'ORDER' does not exist in table 'ZTSD0030'</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I exactly need 'BOLD' style message.
    Any help is appreciated.
    Thanks!

    Hi,
      This is an application fault,
      error log clearly saying that''ORDER' does not exist in table 'ZTSD0030'.
      these are specific to interfaces, in order to handle those
    u need to configure apllication log at 'SLG1' t.code.
    i mean, u have to use following function moules to handle application log in ABAP Proxy .
    i.e
    APPL_LOG_WRITE_HEADER
    APPL_LOG_WRITE_MESSAGES
    APPL_LOG_WRITE_DB.
    warm regards
    mahesh.

Maybe you are looking for

  • Erro message when syncing with itunes

    i can't syncing iphone with itunes, then i choose store > authorize this computer i did that, but i can't sync my phone pls help me.

  • CS5.5 Adobe Master collection upgrade

    Hello, I currently have the Adobe Master collection CS5.5, I want to update should I upgrade to the CC version or the Creative suite. however I dont think its available. Note : Im on a student edition + its a mac.

  • Changing ipod mini updating option

    My ipod mini repeatedly updates the same "selected itunes playlists" that I initially chose as an updating option. I am not able so far to select the "manual update" or update all songs and playlist. Additionally, experiencing the "blue screen, reboo

  • 2KEE Report

    Hi, How we can add custom field in standard report 2kee. I need one extra field to add in 2kee report for the same is there any customization req. Regards Ravi

  • Output type - repeat authmatically

    hi, when i create PO, i need to click the button "repeat output" every time if i want to print it again. Any setting which i dont need to do that, and the output message will be displayed again after the first output is created. thanks