Output services throwing UserException.

Hi,
                I am getting a SOAP fault while calling the Adobe Livecycle Output service. Am I calling the service with wrong/invalid parameters.  In the same file I am calling FormServices with same credentials which works fine. Please help.
                String LC_OS_ENDPOINT = "http://"+host+"/soap/services/OutputService?blob=base64";
                ((javax.xml.rpc.Stub) outputOb)._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY, LC_OS_ENDPOINT);
                ((javax.xml.rpc.Stub) outputOb)._setProperty(javax.xml.rpc.Stub.USERNAME_PROPERTY, LC_USER);
                ((javax.xml.rpc.Stub) outputOb)._setProperty(javax.xml.rpc.Stub.PASSWORD_PROPERTY, LC_PW);
           String formName = "/Temp/Forms/TEstForm.xdp";
            String formDataXML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><form1><name>Naren</name><number>203922</number></form1>";
            BLOB indata = new BLOB();
            indata.setBinaryData(formDataXML.getBytes());
            com.adobe.PDFOutputOptionsSpec pdfOptions = new com.adobe.PDFOutputOptionsSpec();
            com.adobe.RenderOptionsSpec outRenderOptions = new com.adobe.RenderOptionsSpec();
            outRenderOptions.setCacheEnabled(true);
            BLOBHolder generatePDFOutputPDFDoc = new BLOBHolder();
            BLOBHolder  generatePDFOutputMetaDataDoc = new BLOBHolder();
            OutputResultHolder outResult = new OutputResultHolder();
          outputOb.generatePDFOutput(TransformationFormat.PDF,
                                        formName,
                                        "repository://",
                                        pdfOptions,
                                        outRenderOptions,
                                        indata,
                                        generatePDFOutputPDFDoc,
                                        generatePDFOutputMetaDataDoc,
                                        outRenderPDFFormResultDoc,
                                        outResult);
SOAP Resp:
     <?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>
    <soapenv:Fault>
      <faultcode>soapenv:Server.userException</faultcode>
      <faultstring>com.adobe.livecycle.output.exception.OutputException: ALC-DSC-000-000: com.adobe.idp.dsc.DSCException: Internal error.</faultstring>
      <detail>
        <faultData>
          <ns1:result xmlns:ns1="http://adobe.com/idp/services" xsi:nil="true"/>
        </faultData>
        <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">livdsapps19</ns2:hostname>
      </detail>
    </soapenv:Fault>
  </soapenv:Body>
</soapenv:Envelope>

Unfortunately this is a pretty generic "somethings wrong" message.  There should be more detail in the log on the LiveCycle server side.

Similar Messages

  • Invalid element RenderOptionsSpec - CB error while calling Output Service through web service

    Hi,
          I am trying to call generatePDFOutput from Output Service through web service.
    I have generated the proxy class using RAD webservice client option by http://10.235.0.232:8080/soap/services/OutputService?wsdl
    here is my code
    OutputServiceServiceLocator outputService =new OutputServiceServiceLocator();URL serviceURL =
    new URL("http://10.235.0.232:8080/soap/services/OutputService?blob=base64");OutputServiceSoapBindingStub outputClient =
    new OutputServiceSoapBindingStub(serviceURL, outputService); 
    ((javax.xml.rpc.Stub) outputClient)._setProperty(javax.xml.rpc.Stub.
    USERNAME_PROPERTY,DSC_CREDENTIAL_USERNAME);((javax.xml.rpc.Stub) outputClient)._setProperty(javax.xml.rpc.Stub.
    PASSWORD_PROPERTY,DSC_CREDENTIAL_PASSWORD); 
    //Reference XML data to merge into the PDF document
    BLOB inData =new BLOB();inData.setBinaryData("Input xml in bytes");
    formName =
    "/AdobePOC/Forms/sample.xdp"; 
    //Set PDF run-time options
    PDFOutputOptionsSpec pdfOptions =new PDFOutputOptionsSpec();pdfOptions.setFileURI(
    "repository://"); 
    RenderOptionsSpec renderOptions =
    new RenderOptionsSpec();renderOptions.setCacheEnabled(
    true); 
    BLOBHolder generatePDFOutputPDFDoc =
    new BLOBHolder();BLOBHolder generatePDFOutputMetaDataDoc =
    new BLOBHolder();BLOBHolder generatePDFOutputResultDoc =
    new BLOBHolder();OutputResultHolder outResultHolder =
    new OutputResultHolder(); 
    //Create a PDF Document
    outputClient.generatePDFOutput(TransformationFormat.PDFA, formName,"repository://", pdfOptions, renderOptions,inData, generatePDFOutputPDFDoc,generatePDFOutputMetaDataDoc, generatePDFOutputResultDoc,outResultHolder);
    return generatePDFOutputResultDoc.value;
    I am getting the following error while executing the above code.
    09 17:05:05:407 IST] 00000028 SystemErr R AxisFault
      faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userExceptionfaultSubcode:
    faultString: 
    org.xml.sax.SAXException: Invalid element in com.adobe.livecycle.output.client.RenderOptionsSpec - CBfaultActor:
    faultNode:faultDetail:
    {}faultData:<ns1:exception xmlns:ns1="http://adobe.com/idp/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><ns2:message xmlns:ns2="http://adobe.com/idp/services">Invalid element in com.adobe.livecycle.output.client.RenderOptionsSpec - CB</ns2:message>
    {http://xml.apache.org/axis/}hostname:A1AIGMD02018
     [6/25/09 17:05:05:407 IST] 00000028 SystemErr R org.xml.sax.SAXException: Invalid element in com.adobe.livecycle.output.client.RenderOptionsSpec - CB[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.message.SOAPFaultBuilder.createFault( 
    SOAPFaultBuilder.java:222)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.message.SOAPFaultBuilder.endElement( 
    SOAPFaultBuilder.java:129)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.encoding.DeserializationContext.endElement( 
    DeserializationContext.java:1087)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    [6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
    [6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source)
    [6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    [6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    [6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    [6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    [6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    [6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
    [6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.encoding.DeserializationContext.parse( 
    DeserializationContext.java:227)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.SOAPPart.getAsSOAPEnvelope( 
    SOAPPart.java:696)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.Message.getSOAPEnvelope( 
    Message.java:435)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke( 
    MustUnderstandChecker.java:62)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.client.AxisClient.invoke( 
    AxisClient.java:206)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.client.Call.invokeEngine( 
    Call.java:2784)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.client.Call.invoke( 
    Call.java:2767)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.client.Call.invoke( 
    Call.java:2443)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.client.Call.invoke( 
    Call.java:2366)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.client.Call.invoke( 
    Call.java:1812)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.adobe.idp.services.OutputServiceSoapBindingStub.generatePDFOutput( 
    OutputServiceSoapBindingStub.java:579)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.adobe.idp.services.WebOutputService.call( 
    WebOutputService.java:70)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.aig.dbg.cto.service.webService.controller.ServiceCallThroWebService.call( 
    ServiceCallThroWebService.java:13)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.aig.dbg.cto.service.webService.controller.WebServiceHandler.perform( 
    WebServiceHandler.java:92)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.struts.action.ActionServlet.processActionPerform( 
    ActionServlet.java:1787)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.struts.action.ActionServlet.process( 
    ActionServlet.java:1586)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.struts.action.ActionServlet.doGet( 
    ActionServlet.java:492)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.aig.dbg.cto.service.publishing.controller.PubServlet.doGet( 
    PubServlet.java:42)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at javax.servlet.http.HttpServlet.service( 
    HttpServlet.java:743)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at javax.servlet.http.HttpServlet.service( 
    HttpServlet.java:856)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service( 
    ServletWrapper.java:966)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest( 
    ServletWrapper.java:478)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest( 
    ServletWrapper.java:463)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest( 
    WebApp.java:3129)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest( 
    WebGroup.java:238)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest( 
    WebContainer.java:811)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.wswebcontainer.WebContainer.handleRequest( 
    WebContainer.java:1433)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready( 
    WCChannelLink.java:93)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination( 
    HttpInboundLink.java:465)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation( 
    HttpInboundLink.java:394)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete( 
    HttpICLReadCallback.java:102)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted( 
    AioReadCompletionListener.java:152)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback( 
    AbstractAsyncFuture.java:213)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions( 
    AbstractAsyncFuture.java:195)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.io.async.AsyncFuture.completed( 
    AsyncFuture.java:136)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.io.async.ResultHandler.complete( 
    ResultHandler.java:194)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop( 
    ResultHandler.java:741)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.io.async.ResultHandler$2.run( 
    ResultHandler.java:863)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run( 
    ThreadPool.java:1510)
    Please help me to fix this error.
    Thanks in advance
    Lavanya.

    Hodmi, Thanks for your reply.
    If i set RenderOptionsSpec values its not throwing Invalid element RenderOptionsSpec - CB error but its throwing ALC-DSC-000-000 internal error
    [6/26/09 17:11:35:021 IST] 00000029 SystemErr R AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userExceptionfaultSubcode:
    faultString: 
    com.adobe.livecycle.output.exception.OutputException: ALC-DSC-000-000: com.adobe.idp.dsc.DSCException: Internal error.faultActor:
    faultNode:faultDetail:
    {}faultData:<ns1:result xmlns:ns1="http://adobe.com/idp/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
    {http://xml.apache.org/axis/}hostname:A1AIGMD01299
     [6/26/09 17:11:35:021 IST] 00000029 SystemErr R  
    com.adobe.livecycle.output.exception.OutputException: ALC-DSC-000-000: com.adobe.idp.dsc.DSCException: Internal error.[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.message.SOAPFaultBuilder.createFault( 
    SOAPFaultBuilder.java:222)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.message.SOAPFaultBuilder.endElement( 
    SOAPFaultBuilder.java:129)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.encoding.DeserializationContext.endElement( 
    DeserializationContext.java:1087)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    [6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
    [6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source)
    [6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    [6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    [6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    [6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    [6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    [6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
    [6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.encoding.DeserializationContext.parse( 
    DeserializationContext.java:227)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.SOAPPart.getAsSOAPEnvelope( 
    SOAPPart.java:696)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.Message.getSOAPEnvelope( 
    Message.java:435)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke( 
    MustUnderstandChecker.java:62)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.client.AxisClient.invoke( 
    AxisClient.java:206)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.client.Call.invokeEngine( 
    Call.java:2784)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.client.Call.invoke( 
    Call.java:2767)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.client.Call.invoke( 
    Call.java:2443)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.client.Call.invoke( 
    Call.java:2366)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.client.Call.invoke( 
    Call.java:1812)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at com.adobe.idp.services.OutputServiceSoapBindingStub.generatePDFOutput( 
    OutputServiceSoapBindingStub.java:579)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at com.adobe.idp.services.WebOutputService.call(WebOutputService.java)
    [6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.aig.dbg.cto.service.webService.controller.WebServiceHandler.perform( 
    WebServiceHandler.java:76)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at org.apache.struts.action.ActionServlet.processActionPerform( 
    ActionServlet.java:1787)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at org.apache.struts.action.ActionServlet.process( 
    ActionServlet.java:1586)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at org.apache.struts.action.ActionServlet.doGet( 
    ActionServlet.java:492)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.aig.dbg.cto.service.publishing.controller.PubServlet.doGet( 
    PubServlet.java:42)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at javax.servlet.http.HttpServlet.service( 
    HttpServlet.java:743)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at javax.servlet.http.HttpServlet.service( 
    HttpServlet.java:856)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service( 
    ServletWrapper.java:966)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest( 
    ServletWrapper.java:478)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest( 
    ServletWrapper.java:463)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest( 
    WebApp.java:3129)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest( 
    WebGroup.java:238)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest( 
    WebContainer.java:811)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.wswebcontainer.WebContainer.handleRequest( 
    WebContainer.java:1433)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready( 
    WCChannelLink.java:93)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination( 
    HttpInboundLink.java:465)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation( 
    HttpInboundLink.java:394)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready( 
    HttpInboundLink.java:274)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators( 
    NewConnectionInitialReadCallback.java:214)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete( 
    NewConnectionInitialReadCallback.java:113)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted( 
    AioReadCompletionListener.java:152)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback( 
    AbstractAsyncFuture.java:213)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions( 
    AbstractAsyncFuture.java:195)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.io.async.AsyncFuture.completed( 
    AsyncFuture.java:136)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.io.async.ResultHandler.complete( 
    ResultHandler.java:194)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop( 
    ResultHandler.java:741)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.io.async.ResultHandler$2.run( 
    ResultHandler.java:863)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run( 
    ThreadPool.java:1510)
    Please help me to fix this also.
    Thanks in advance
    Lavanya.

  • Output Service Java API

    Hi,
    I have installed and deployed Adode LC ES 8.1 for weblogic. I have two questions;
    1) While deploying the components 'Workbench Admin', 'Rights Admin' and 'PDF generator', exceptions are thrown saying that somes jar can not be deployed. After this exception the deployment stops.
    a) PDF Generator Component
    [2007-07-11 17:44:02,751], FINE , Thread-11, com.adobe.livecycle.lcm.feature.deployment.LCMDeployerUtil, installComponent : ..\working\deployLC\deploy\adobe-pdfgconfig-dsc.jar
    [2007-07-11 17:44:08,749], SEVERE , Thread-11, com.adobe.livecycle.lcm.feature.deployment.DeployDSCs, Failed to deploy component.
    com.adobe.livecycle.lcm.core.LCMException[ALC-LCM-030-200]: Failed to deploy component.
    b) Righta Admin Component
    [2007-07-11 17:41:59,449], FINE , Thread-10, com.adobe.livecycle.lcm.feature.deployment.LCMDeployerUtil, installComponent : ..\working\deployLC\deploy\adobe-rightsmanagement-weblogic-dsc.jar
    [2007-07-11 17:42:10,314], SEVERE , Thread-10, com.adobe.livecycle.lcm.feature.deployment.DeployDSCs, Failed to deploy component.
    com.adobe.livecycle.lcm.core.LCMException[ALC-LCM-030-200]: Failed to deploy component.
    c) Workbench Admin Component
    [2007-07-11 17:37:03,329], FINE , Thread-8, com.adobe.livecycle.lcm.feature.deployment.LCMDeployerUtil, installComponent : ..\working\deployLC\deploy\adobe-workspacepersistence-dsc.jar
    [2007-07-11 17:37:05,001], SEVERE , Thread-8, com.adobe.livecycle.lcm.feature.deployment.DeployDSCs, Failed to deploy component.
    com.adobe.livecycle.lcm.core.LCMException[ALC-LCM-030-200]: Failed to deploy component.
    2) I do not know whether this is because of the above. When I am using Output Service with Java API, to generate PDF for a given xdp and xml data, I am getting the below exception,
    Exception in thread "Main Thread" com.adobe.livecycle.output.exception.OutputException: com.adobe.idp.DocumentError: error unmarshalling arguments; nested exception is:
    java.lang.ClassNotFoundException: Failed to load class com.adobe.idp.DocumentFileID (see the server-side log for details)
    at com.adobe.livecycle.output.client.OutputClient.generatePDFOutput(OutputClient.java:138)
    at adobe.CARSPDFGenerator.main(CARSPDFGenerator.java:46)
    Caused by: com.adobe.idp.DocumentError: error unmarshalling arguments; nested exception is:
    java.lang.ClassNotFoundException: Failed to load class com.adobe.idp.DocumentFileID (see the server-side log for details)
    Appreciated your help.
    Thanks
    Raghu

    Hi
    We are using ejp service for generating PDF.But our outputClient.generatePDFOutput() is not giving us anything.When it is being called program gets hang,nor it is throwing any exeption.
    I am running the program from my machine which has windows OS and LiveCycle is intalled on Linux machine and has Weblogic server on it.
    We are making connection in service Client.

  • New to Lifecycle, Error while generating PDF using Output service

    Hi All,
    I am using LC 8.x for weblogic. I am using the code given in the documents to generate PDF given XDP and XML data, using Output Service. I am getting the following error,
    Exception in thread "Main Thread" com.adobe.idp.DocumentError: error unmarshalling arguments; nested exception is:
    java.lang.ClassNotFoundException: Failed to load class com.adobe.idp.DocumentFileID (see the server-side log for details)
    at com.adobe.idp.DocumentManagerClient.clientSidePush(DocumentManagerClient.java:181)
    at com.adobe.idp.Document.passivateInitData(Document.java:865)
    at com.adobe.idp.Document.passivate(Document.java:704)
    at com.adobe.idp.Document.passivate(Document.java:661)
    at com.adobe.idp.Document.writeObject(Document.java:500)
    Any help is greatly appreciated.
    Thanks
    Raghu

    Hi
    I am also doing a similar activity. and getting a IllegalStateException.
    com.adobe.livecycle.output.exception.OutputException: java.lang.IllegalStateException
    at com.adobe.livecycle.output.client.OutputClient.generatePDFOutput(OutputClient.java:141)
    at CreatePDFDocument.main(CreatePDFDocument.java:56)
    Caused by: java.lang.IllegalStateException
    at com.adobe.idp.dsc.clientsdk.ServiceClientFactory$1.handleThrowable(ServiceClientFactory.j ava:67)
    at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:220)
    at com.adobe.livecycle.output.client.OutputClient.invokeRequest(OutputClient.java:436)
    at com.adobe.livecycle.output.client.OutputClient.generatePDFOutput(OutputClient.java:124)
    ... 1 more
    Caused by: java.lang.NoClassDefFoundError: org/apache/axis/soap/SOAPConstants
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at com.adobe.idp.dsc.clientsdk.ServiceClientFactory.createMessageDispatcher(ServiceClientFac tory.java:586)
    at com.adobe.idp.dsc.clientsdk.ServiceClientFactory.getMessageDispatcher(ServiceClientFactor y.java:543)
    at com.adobe.idp.dsc.clientsdk.ServiceClient.getMessageDispatcher(ServiceClient.java:239)
    at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:205)
    ... 3 more
    Please give a solution for this problom.
    regards
    Ullas

  • Output Service Tax India

    Hi,
    I want to configure Output service Tax, Our FI consultant has already created three condition type for service tax, education Cess and SH education Cess and assigned these conditions to TAXINJ.He has also created the output tax code S1.
    I need to replicate these three condition to my SD pricing procedure in order to calculate the service tax in the sales order.
    Please advice at the earliest
    Regards
    Rahul

    hi Rahul,
    Go to V/08 , select your pricing procedure , & maintain all the 3 conditions for service taxes in proper sequence. also maintain the account key against each condition type.
    for eg,
    line no.    counter      condition type                                           from to       A/C KEY
    850           0                  JSER SD - Service Tax                        837 837      VS9
    851           0                  JSTE SD - Ser.Tax - ECESS                850 850      SV0
    852           0                  JSTS SD - Ser.Tax-SECESS                850 850      VSS
    860           0                           SubTot (Ser.Tax+Charges )          837 859
    Line nos will be according to your  requirement & will depend on your pricing procedure. add other calculation logic based on your requirement.
    Regards,
    Chetan

  • Output Service invocation with webservices

    Hello,
    I want to invoke the output service with a Java Client using webservices. I have generated the proxy Java classes using Apache Axis, and then I wrote a Java Client invoking the output service, using a simple form (xdp file) and a data xml file.
    The service invocation looks good (I have no erros in the log file) but I have no pdf file generated and I get the following error message..
         Print request successful. No output generated as recordLevel or recordName does not matches with the data file.
    If anyone can help. Thanks !

    The problem looks like you have not referenced your data source properly. <br /><br />Assume that you had this XML data source:<br /><br /><?xml version="1.0" encoding="UTF-8"?><br /><batch><br /><LoanRecord><br /><mortgageAmount>500000</mortgageAmount><br /><lastName>Blue</lastName><br /><firstName>Tony</firstName><br /><SSN>555666777</SSN><br /><PositionTitle>Product Manager</PositionTitle><br /><Address>555 No Where Dr</Address><br /><City>New York</City><br /><StateProv>New York</StateProv><br /><ZipCode>51256</ZipCode><br /><Email>[email protected]</Email><br /><PhoneNum>555-7418</PhoneNum><br /><FaxNum>555-9981</FaxNum><br /><Description>Buy a home</Description><br /></LoanRecord><br /><LoanRecord><br /><mortgageAmount>300000</mortgageAmount><br /><lastName>White</lastName><br /><firstName>Sam</firstName><br /><SSN>555666222</SSN><br /><PositionTitle>Program Manager</PositionTitle><br /><Address>557 No Where Dr</Address><br /><City>New York</City><br /><StateProv>New York</StateProv><br /><ZipCode>51256</ZipCode><br /><Email>[email protected]</Email><br /><PhoneNum>555-7445</PhoneNum><br /><FaxNum>555-9986</FaxNum><br /><Description>Buy a home</Description><br /></LoanRecord><br /><LoanRecord><br /><mortgageAmount>700000</mortgageAmount><br /><lastName>Green</lastName><br /><firstName>Steve</firstName><br /><SSN>55566688</SSN><br /><PositionTitle>Project Manager</PositionTitle><br /><Address>445 No Where Dr</Address><br /><City>New York</City><br /><StateProv>New York</StateProv><br /><ZipCode>51256</ZipCode><br /><Email>[email protected]</Email><br /><PhoneNum>555-2211</PhoneNum><br /><FaxNum>555-2221</FaxNum><br /><Description>Buy a home</Description><br /></LoanRecord><br /></batch><br /><br />You must reference the XML data source that contains data records. An XML element is used to separate the data records. For example, in this XML data source, the XML element that separates data records is named LoanRecord.<br /><br />Plus - the XML element name must match the field name in your form. <br /><br />Your error is saying that the recordName or recordLevel does not match your data file. <br />     <br />Set the Record Name option by invoking the OutputOptionsSpec objects setRecordName method and passing a string value that specifies the XML element name in the data source that separates the data records. (For example-- LoanRecord).<br /><br />Hope this helps

  • Issue with PO change output - Service line items

    Hi All,
    This is issue with PO change output. We have PO with line item 10, 20 and item 10 has 4 service line items. PO is approved and initial print out is taken.
    Some one goes and makes changes to 1st service line items of PO line item 10.
    A change output gets triggered. When this output is printed, it prints line item 10 details. This is standard functionality as this item is changed. But its printing all the service line items for this PO line item. Consider a case where there are 3000 service lines for a PO item. If I add 1 service item to this PO line item, the change form prints 3001 services for that line item. There were no changes done to first 3000 service line items.
    Currently PO change form takes care of changes at PO line item but it does not take care of changes at service line item level.
    Is there any setting that needs to be done for this so that it only considers the changes at Service line item level also.
    Regards,
    Shahu

    If you're using a standard form, send a message to SAP. Otherwise make a change in the form.

  • Starting web service throws exception, Web Dynpro ABAP, for experts

    Hi,
    i have create a web service (from a FM), a proxy object (transactions: wsconfig, wsadmin) and a logical port (transaction: lpconfig).
    If i run the application an exception is thrown and the showText-Method says
    SOAP Error 4: Operation not supported
    I can't find anything about this error.
    Regards

    Hallo,
    thanks.
    My code:
    Client Proxy
    DATA: service TYPE REF TO zpc_co_reset_user_password .
    data: lo_sys_exception type ref to cx_ai_system_fault ,
            err_string type string.
      TRY.
          CREATE OBJECT service
            exporting
              logical_port_name = 'DEFAULT'.
        CATCH cx_ai_system_fault .
      ENDTRY.
      DATA: user TYPE zpc_reset_user_passwordinput .
      DATA: out TYPE zpc_reset_user_passwordoutput .
      TRY.
          user-bname = sy-uname.
          CALL METHOD service->zbc_reset_user_password
            EXPORTING
              input  = user
            IMPORTING
              output = out.
          message = out-message.
        catch cx_ai_system_fault into lo_sys_exception.
          err_string = lo_sys_exception->get_text( ).
        CATCH cx_ai_application_fault.
      ENDTRY.
    In the WSDL-File
    - <wsdl:portType name="ZWS_RESET_SAP_PASSWD">
    - <wsdl:operation name="ZbcResetUserPassword">
      <wsdl:input message="tns:ZbcResetUserPassword" />
      <wsdl:output message="tns:ZbcResetUserPasswordResponse" />
      </wsdl:operation>
      </wsdl:portType>
    How should i call the operation?
    I create the object for the proxy and then i call the proxy method zbc_reset_user_data.
    What's wrong?
    Regards

  • Problem with web service, throwing errors.

    Hi all,
    Need help on this.
    I have deployed webservice on oc4j, and while testing it is throwing NoClassDefFound exception in oracle/jdbc/pool/OracleDataSource.class. I have java 1.6 and oracle 11g, so i included ojdbc6.jar in the classpath and also start up script of oc4j. This webservice is for fetching data for report.
    Please, help if you all have any idea on this....
    [050812_100816808][][STATEMENT] Setting data definition:BRM_Corporate_Invoice_Report type:oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11
    [050812_100816808][][STATEMENT] Setting data definition:Inv_POID type:oracle.apps.xdo.servlet.data.bind.ReportParameterBoundValue
    [050812_100816809][][STATEMENT] Skip migration for cookie (ORA_XDO) is not found
    [050812_100821057][][STATEMENT] Skip migration for cookie (ORA_XDO) is not found
    [050812_100821063][][STATEMENT] temp file is created: /usr/local/OracleBI/oc4j_bi/j2ee/home/applications/xmlpserver/xmlpserver/xdo/tmp/xmlp4145013901549814632tmp
    [050812_100821063][][STATEMENT] WebServiceBoundValue11::getValue userID = null
    [050812_100821064][][STATEMENT] username = approx
    [050812_100821064][][STATEMENT] WebServiceBoundValue11::getValue m_xpath = null
    [050812_100821082][][STATEMENT] Webservice time out: 60000
    [050812_100821088][][EXCEPTION] AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
    faultSubcode:
    faultString: Caught exception while handling request: Caught exception while handling request: java.lang.NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace:Caught exception while handling request: Caught exception while handling request: java.lang.NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
    at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
    at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1345)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:362)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:308)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:213)
    at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:292)
    at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
    at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at oracle.apps.xdo.servlet.webservices.DynamicClient.invokeMethod(DynamicClient.java:179)
    at oracle.apps.xdo.servlet.data.server.WebServiceCall.doFetch(WebServiceCall.java:75)
    at oracle.apps.xdo.servlet.data.server.AbstractDataCall.execute(AbstractDataCall.java:63)
    at oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11.getValue(WebServiceBoundValue11.java:163)
    at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:412)
    at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:211)
    at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:81)
    at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:572)
    at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:270)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:266)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:246)
    at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:174)
    at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:197)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:100)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    {http://xml.apache.org/axis/}hostname:MelITBRM
    Caught exception while handling request: Caught exception while handling request: java.lang.NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
    at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
    at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1345)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:362)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:308)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:213)
    at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:292)
    at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
    at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at oracle.apps.xdo.servlet.webservices.DynamicClient.invokeMethod(DynamicClient.java:179)
    at oracle.apps.xdo.servlet.data.server.WebServiceCall.doFetch(WebServiceCall.java:75)
    at oracle.apps.xdo.servlet.data.server.AbstractDataCall.execute(AbstractDataCall.java:63)
    at oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11.getValue(WebServiceBoundValue11.java:163)
    at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:412)
    at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:211)
    at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:81)
    at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:572)
    at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:270)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:266)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:246)
    at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:174)
    at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:197)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:100)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    [050812_100821088][][EXCEPTION] AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
    faultSubcode:
    faultString: Caught exception while handling request: Caught exception while handling request: java.lang.NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace:Caught exception while handling request: Caught exception while handling request: java.lang.NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
    at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
    at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1345)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:362)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:308)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:213)
    at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:292)
    at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
    at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at oracle.apps.xdo.servlet.webservices.DynamicClient.invokeMethod(DynamicClient.java:179)
    at oracle.apps.xdo.servlet.data.server.WebServiceCall.doFetch(WebServiceCall.java:75)
    at oracle.apps.xdo.servlet.data.server.AbstractDataCall.execute(AbstractDataCall.java:63)
    at oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11.getValue(WebServiceBoundValue11.java:163)
    at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:412)
    at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:211)
    at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:81)
    at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:572)
    at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:270)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:266)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:246)
    at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:174)
    at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:197)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:100)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    {http://xml.apache.org/axis/}hostname:MelITBRM
    Caught exception while handling request: Caught exception while handling request: java.lang.NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
    at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
    at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1345)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:362)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:308)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:213)
    at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:292)
    at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
    at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at oracle.apps.xdo.servlet.webservices.DynamicClient.invokeMethod(DynamicClient.java:179)
    at oracle.apps.xdo.servlet.data.server.WebServiceCall.doFetch(WebServiceCall.java:75)
    at oracle.apps.xdo.servlet.data.server.AbstractDataCall.execute(AbstractDataCall.java:63)
    at oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11.getValue(WebServiceBoundValue11.java:163)
    at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:412)
    at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:211)
    at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:81)
    at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:572)
    at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:270)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:266)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:246)
    at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:174)
    at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:197)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:100)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    Any Clue as to what gone missing.
    Regards,
    Anirban.

    Aks wrote:
    Hi all,
    I have java 1.6 and oracle 11g, so i included ojdbc6.jar in the classpath and also start up script of oc4j. Apparently the wrong classpath, since whatever code that wants to fetch or create a datasource does not have access to the classes in ojdbc6.jar.
    There is only one real course of action: read the OC4J manual to figure out how to properly work with datasources. Or post in the OC4J forum like you've already been doing recently...

  • Error in Output Service generatePDFOutput

    Hello,
    I am trying to create a PDF using generatePDFOutput Folder and I keep getting error
    [10/5/09 11:00:02:695 EDT] 0000002a PivotHandlerW E org.apache.commons.logging.impl.Jdk14Logger error
    WSWS3400I
    : Info: unexpected exception.
    lava.lang.NullPointerException
    Can any body suggest me where I am going wrong
    SOAP RESPONSE
    <?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><soapenv:Fault><faultcode>soapenv :Server.userException</faultcode><faultstring>org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.</faultstring><detail><faultData><ns1:exception xsi:nil="true" xmlns:ns1="http://adobe.com/idp/services"/><ns2:message xmlns:ns2="http://adobe.com/idp/services">SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.</ns2:message></faultData><ns3:hostname xmlns:ns3="http://xml.apache.org/axis/">server</ns3:hostname></detail></soapenv:Fault></soapenv:Body> </soapenv:Envelope>
    My Code
    String XMLPath=root +
    "/WEB-INF/XML/" + XML; 
    OutputServiceServiceLocator ol =
    new OutputServiceServiceLocator();OutputService port = ol.getOutputService(
    new URL( 
    "http://localhost:80/soap/services/FormsService"));((javax.xml.rpc.Stub) port)._setProperty(
    javax.xml.rpc.Stub.
    USERNAME_PROPERTY,AdobeConstants.
    NGPS_USERNAME);((javax.xml.rpc.Stub) port)._setProperty(
    javax.xml.rpc.Stub.
    PASSWORD_PROPERTY,AdobeConstants.
    NGPS_PASSWORD);  
    BLOB inDataDoc =
    new BLOB(); 
    if (null != XML && XML.length() > 0) {  
    File XMLFileNameMap =
    new File(root + "/WEB-INF/XML/" + XML); 
    int XMLFileNameMapLength = new Long(XMLFileNameMap.length()).intValue();
    FileInputStream XMLFileNameMapIn =
    new FileInputStream(XMLFileNameMap);
    byte[] XMLFileNameMapArray = new byte[XMLFileNameMapLength];  
    System.
    out.println("LENGTH---------->"+XMLFileNameMapArray.length);inDataDoc.setBinaryData(XMLFileNameMapArray);
    PDFOutputOptionsSpec pdfOptions =
    new PDFOutputOptionsSpec();
     pdfOptions.setLookAhead(500);
     pdfOptions.setRecordLevel(1);
    RenderOptionsSpec renderOptions = new RenderOptionsSpec(); 
    renderOptions.setCacheEnabled(true);
    BLOBHolder generatePDFOutputPDFDoc =
     new BLOBHolder();  
    BLOBHolder generatePDFOutputMetaDataDoc =
    new BLOBHolder();  
    BLOBHolder generatePDFOutputResultDoc =
    new BLOBHolder();  
    OutputResultHolder outResultHolder =
    new OutputResultHolder();  
    String XDPPath = AdobeConstants.
    NGPS_ROOT_REPOSITORY
    + AdobeConstants.NGPS_FORMS_PATH;System.
    out.println("XDPPath---------->" + XDPPath);  
    port.generatePDFOutput(TransformationFormat.
    PDF, templateNm,XDPPath, pdfOptions, renderOptions, inDataDoc,
    generatePDFOutputPDFDoc, generatePDFOutputMetaDataDoc,
    generatePDFOutputResultDoc, outResultHolder);

    I noticed that you specify the target service URL, but not the blob data type.  Unless you specify that in the proxy class you will have to do it in your call.
    Try changing the line marked:
    OutputService port = ol.getOutputService(new URL("http://localhost:80/soap/services/FormsService"));
    to
    OutputService port = ol.getOutputService(new URL(http://localhost:80/soap/services/FormsService?blob=base64));
    BTW - there is an article about this on the DevNet site at:http://www.adobe.com/devnet/livecycle/articles/java_soap.html#

  • Get user name - web services throws error if a name has special character

    I am calling UserProfileService.asmx web service and using GetUserPropertyByAccountName. The method works for almost everyone except for those who has special characters in the Preferred Name. How do I fix this? We are having serious production issues and
    would like to know how to fix the issue.
    User: domain\aberg returns name as the name does not have any special characters. Arthur Berg
    User: domain\jobill returns following error because this use has a dash in the last name. Joe O-Bill
    User: domain\mobrien returns following error because this use has a dash in the last name. Mark O'Brien
    <?xml version="1.0" encoding="utf-16"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Client</faultcode>
    <faultstring>A user with the account name DOMAIN\jobill could not be found. ---&gt; An error was encountered while retrieving the user profile.</faultstring>
    <detail>
    <ErrorCode xmlns="http://microsoft.com/webservices/SharePointPortalServer/UserProfileService">UserCannotBeFound</ErrorCode>
    <ErrorMessage xmlns="http://microsoft.com/webservices/SharePointPortalServer/UserProfileService">An error was encountered while retrieving the user profile.</ErrorMessage>
    </detail>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>
    I am using codeplex tool "web service studio 2.0" to verify this.

    I have NO clue what is going on. When I go to user profile from Central Admin the user account is domainxp.net\username. But when I pull up the user using address bar (say in edit form) I see domain\usename. Could this be confusing the workflow which is
    calling the web services?
    I ran the following powershell and after few minutes it starting to resolve the user name without any errors. I like to know what is going on here. Problem is solved for now but I wont be surprise if I see the same problem after doing a Full AD sync.
    $adUser = "domain\user"
    $siteCollection = "http://local.site/sales"
    Set-SPUser -Identity $adUser -Web $siteCollection -SyncFromAD
    Thanks
    Brooke

  • BizTalk published WCF service throwing HTTP 404 error using ISA reverse proxy settings

    I have published my schemas as a WCF service from BizTalk 2010 "Publish WCF Service" wizard. I used Wcf-basicHTTP adapter in receive port. I am able to run the service successfully on localhost IIS and I tested my biztalk solution by sending request using SOAP UI and got response successfully.... Now: Actually, I need to give this service endpoint to my vendor who will send request from outside my company's network i.e. internet. In my infrastrucrue BizTalk is behind the firewall so, we setup a REVERSE proxy server at DMZ layer and it is configured properly. I have tested a simple WCF service by replacing the localhost with Proxy server configured address <DNSName> and it worked absolutely fine. But when I change localhost in my BizTalk schema based published WCF service it is not working and I am getting following error. Really strugling to get it resolved. I wasted a whole 3 days....very upset. Please help me out by giving the detailed step solution. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested URL: /BizTalkServiceInstance/MyService.svc I am surprized why other c# code based WCF services are working fine with reverse proxy settings. Server Error in '/' Application. The resource cannot be found.Is there any special things to consider Biztalk exposed wcf servcie over ssl in IIS cluster with ISA

    Hi Singam :)
    First I would start by browsing any other files (files other than the one from WCF) just to ensure that the reverse-proxy’s redirection rules are set correctly. If you get the same 404 error when you try to access other service/files “through reverse-proxy”,
    then it’s an issue in the redirection rule(s) in reverse-proxy.
    If others are fine i.e. no issue in reverse-proxy setup as such, then try the following for WCF service's web.config file. I have seen this issue in WCF service (not just BizTalk’s artifacts exposed as service in reverse-proxy). Add serviceHostingEnvironment
    config as show with in serviceModel section.
    <system.serviceModel>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
    </system.serviceModel>
    Regards,
    M.R.Ashwin Prabhu
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • OSB 11g - testing Business service throws Premature end of file.

    Hi,
    I am testing a business service which invokes a webservice. I have a load balancer.
    When testing business service from test console, I get the error "SoapService.doPost: unparseable XML in client Soap request, exception: org.xml.sax.SAXParseException: Premature end of file."
    I tried the following options:
    1. Changed <http:Connection> to close
    2. Added -DHTTPClient.disableKeepAlives=true in console - Servers-osbserver - Server Start
    Any pointers will be helpful.
    Thanks
    Ganesh
    Error:
    The invocation resulted in an error: Internal Server Error.
         <SOAP-ENV:Envelope      SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 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">
         <SOAP-ENV:Body      xmlns:m="urn:www.my-url.com">
         <SOAP-ENV:Fault>
         <faultcode>SOAP-ENV:Client.XMLFormatError</faultcode>
         <faultstring>Client XML Format Error</faultstring>
         <detail>
         <XML_PARSING_EXCEPTION>
         35: SoapService.doPost: unparseable XML in client Soap request, exception: org.xml.sax.SAXParseException: Premature end of file.
         </XML_PARSING_EXCEPTION>
         </detail>
         </SOAP-ENV:Fault>
         </SOAP-ENV:Body>
         </SOAP-ENV:Envelope>
    Response Metadata      
         <con:metadata      xmlns:con="http://www.bea.com/wli/sb/test/config">
         <tran:headers      xsi:type="http:HttpResponseHeaders" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <tran:user-header      name="Expires" value="Mon, 10 Jan 2011 17:49:17 CST"/>
         <tran:user-header      name="Last-Modified" value="Mon, 10 Jan 2011 17:49:17 CST"/>
         <http:Cache-Control>no-cache, no-store</http:Cache-Control>
         <http:Connection>Keep-Alive</http:Connection>
         <http:Content-Length>657</http:Content-Length>
         <http:Content-Type>text/xml</http:Content-Type>
         <http:Date>Mon, 10 Jan 2011 17:49:17 CST</http:Date>
         <http:Server>j2se/1.5x</http:Server>
         </tran:headers>
         <tran:response-code      xmlns:tran="http://www.bea.com/wli/sb/transports">2</tran:response-code>
         <tran:response-message      xmlns:tran="http://www.bea.com/wli/sb/transports">Internal Server Error</tran:response-message>
         <tran:encoding      xmlns:tran="http://www.bea.com/wli/sb/transports">iso-8859-1</tran:encoding>
         <http:http-response-code      xmlns:http="http://www.bea.com/wli/sb/transports/http">500</http:http-response-code>
         </con:metadata>

    35: SoapService.doPost: unparseable XML in client Soap request, exception: org.xml.sax.SAXParseException: Premature end of file.I am not sure but may be that the XML which you are passing as input, has got corrupted. Cross check the input XML and if possible use different input.
    Regards,
    Anuj

  • RUNNING PROXY CLIENT FOR X.509 CERTIFICATE WEB SERVICE THROWS SOAPFAULTEXCE

    Hi all!
    I have a problem on securing my web service.
    It's written: "Policy requires confidentialityenc key : 0"
    I found a few information here:
    https://metalink2.oracle.com/metalink/plsql/f?p=130:15:9796228426720331207::::p15_database_id,p15_docid,p15_show_header,p15_show_help,p15_black_frame,p15_font:BUG,7260434,1,1,1,helvetica
    Is it a bug? Please advice.

    Hi Talimeren,
    when you want to use certificates you have to setup SSL which you've started already. You have to get and import a server certificate which authenticates the server while the client creates a SSL connection. The cert has to assigned to the SSL port. For NW04 you can find the guide here http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm
    If you want client authentication by certificates as well you have to import at least one root certificate from a certficate authority (CA) which you trust and by which all user certificates are signed.
    SAP delivers the IAIK library for WebAS security, but this depends on your WebAS version and installation. I suggest you setup SSL and try to make a connection. If the connection can be made, the security library should be there.
    HTH
    Daniel
    Message was edited by: Correct Link
            Daniel Sass

  • Feature of Generate PDF Output Service?

    I noticed some useful tasks by the generatePDFOutput service, as its generates one or more PDF docs based on the supplied data file.
    Is this possible to accomplish my requirements using this service?
    I have form design with a table (which has 0 rows of data while designing)
    Is it possible to fill this table based on the number of records provided?
    For eg.g my data file looks like this:
    <data>
         <record>
                <table>
                      <row>
                           <name>my name</name>
                           <email>[email protected]</email>
                      </row>
                </table>
          </record>
         <record>
                <table>
                      <row>
                           <name>my name2</name>
                           <email>[email protected]</email>
                      </row>
                </table>
          </record>
    </data>
    Thanks,
    Nith

    You would accomplish that by creating a dynamic form with a flowable layout. When the server merges the data with the form, the rows in the table are added according to the number of records in the data. See this for an overview:
    http://livedocs.adobe.com/livecycle/8.2/wb_designer/000289.html
    scott

Maybe you are looking for