Got "Reponse is not well-formed XML" error when calling FormDataIntegration web service

Hi,
I'm using Windows Server 2008 + LiveCycle Server ES2 (Reader Extensions) + ASP.NET
This problem only happened when I run the ASP.NET program with the licensed version of the server, (which i installed form the CD provided)
However, there is no problem in my development environment with the trial version downloaded from Adobe website, the import data was successful and a correct PDF form can be returned.
My question is that whether there is a problem within the LiveCycle services? or there is missing component that needs to be installed?? Thanks
After call the importData of FormDataIntegration, I got below error
Response is not well-formed XML.
System.InvalidOperationException: Response is not well-formed XML. ---> System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlReader.MoveToContent()
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
--- End of inner exception stack trace ---
I checked in LiveCycle's jboss log, I found below errors:
2011-02-17 14:16:37,086 ERROR [org.apache.axis.encoding.ser.BeanSerializer] Exception:
java.lang.NullPointerException
at com.adobe.idp.dsc.provider.impl.soap.axis.ser.ArraySerializer.serialize(ArraySerializer.j ava:76)
at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1 504)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:707)
at com.adobe.idp.dsc.provider.impl.soap.axis.ser.AdobeAxisBeanSerializer.serialize(AdobeAxis BeanSerializer.java:281)
at java.lang.Thread.run(Thread.java:619)
2011-02-17 14:16:37,087 ERROR [org.apache.axis.encoding.ser.BeanSerializer] Exception:
java.io.IOException: java.lang.NullPointerException
at com.adobe.idp.dsc.provider.impl.soap.axis.ser.AdobeAxisBeanSerializer.serialize(AdobeAxis BeanSerializer.java:326)
at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1 504)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
: at java.lang.Thread.run(Thread.java:619)
2011-02-17 14:16:37,088 ERROR [org.apache.axis.SOAPPart] Exception:
java.io.IOException: java.io.IOException: java.lang.NullPointerException
at com.adobe.idp.dsc.provider.impl.soap.axis.ser.AdobeAxisBeanSerializer.serialize(AdobeAxis BeanSerializer.java:326)
at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1 504)
at java.lang.Thread.run(Thread.java:619)
2011-02-17 14:16:37,088 WARN  [org.apache.axis.attachments.AttachmentsImpl] Exception:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname: XXXX
ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
... 33 more
Caused by: java.lang.NoClassDefFoundError: com/adobe/formServer/utils/LogUtils
at com.adobe.formServer.utils.CommonGibsonUtils.PDFDocumentFromDocument(CommonGibsonUtils.ja va:122)
at com.adobe.livecycle.formdataintegration.server.FormData.importData(FormData.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
... 74 more
2011-02-17 14:16:37,090 ERROR [org.apache.axis.encoding.ser.BeanSerializer] Exception:
java.lang.NullPointerException
at com.adobe.idp.dsc.provider.impl.soap.axis.ser.ArraySerializer.serialize(ArraySerializer.j ava:76)
at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1 504)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:707)

it's base64, here's the codes i called, any hints?
            FormDataIntegration.FormDataIntegrationService dataIntClient = new FormDataIntegration.FormDataIntegrationService();
            dataIntClient.Url += "?blob=base64";
            dataIntClient.Credentials = new System.Net.NetworkCredential(account, password);
            FormDataIntegration.BLOB inXMLData = new FormDataIntegration.BLOB();
            inXMLData.binaryData = xmlData;
            FormDataIntegration.BLOB inPDFForm = new FormDataIntegration.BLOB();
            string pathPDF = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "bin\\ReplySlipByEmail.pdf");
            FileStream fsPDF = new FileStream(pathPDF, FileMode.Open);
            int lenPDF = (int)fsPDF.Length;
            byte[] bytePDF = new byte[lenPDF];
            fsPDF.Read(bytePDF, 0, lenPDF);
            inPDFForm.binaryData = bytePDF;
            FormDataIntegration.BLOB result = dataIntClient.importData(inPDFForm, inXMLData);
            return ApplyUsageRightsToPDF(result.binaryData, account, password, LCCertName);

Similar Messages

  • Got error when calling a web service, "XMLParametersToComHashtable:LoadXML failed"

    Hi, I'm using vs2012, c# and asp.net.
    In my asp.net web form project I got the error at the LOC when I call the web service's Search method.  What does this error mean and how do I fix this?  Am I to use some type of reader or loader?  The Search method returns a XMLNode type.
     But I thought using InnerText should be fine but I'm still getting the error.
    thank you.
    var restApi = new someWebServices.restApi();
    strParm1 = restApi.Login(XXXXXXXXXXX);
     var rtnSrv = (restApi.Search(strParm1, strParm2, 1, -1, false, @"<![CDATA[<parameters><parameter name=""XXXXXXXXX"" value=""XXXXXXXXXXXXXXXXXXXXX""/></parameters>]]>")).InnerText;
    Thank you

    There is a Web service section in the ASP.NET forum.
    http://forums.asp.net/

  • DCA-40000: internal error when calling a web service

    Hello,
    I would like to call a web service in Oracle UCM with basic authentication (CheckInUniversal). In JDeveloper 11.1.1.2 I can specify username and password for the WS at design time and the JSPX runs fine.
    Now I have added some piece of code into a managed bean (CheckInBean) to use a specific username and password at runtime. When I run the page I get a DCA-40000 with the following error stack:
    <Utils><buildFacesMessage> ADF: Adding the following JSF error message: The Web Service call failed due to an internal error.
    oracle.adf.model.adapter.AdapterException: DCA-40000: The Web Service call failed due to an internal error.
         at oracle.adfinternal.model.adapter.webservice.WSDataControl.invokeOperation(WSDataControl.java:270)
         at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:430)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:257)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1625)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2141)
         at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:467)
         at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:730)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:394)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at integration.view.CheckInBean.execute(CheckInBean.java:134)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    With debugger I found that it happens when the iterator CheckInUniversalResultIterator is called.
    HTTP Analyzer shows that there are only empty SOAP messages sent to UCM but the correct values are present in the the bean.
    Here is the code of the bean:
    package integration.view;
    import java.util.HashMap;
    import java.io.*;
    import java.util.Properties;
    import javax.el.ELContext;
    import javax.el.ExpressionFactory;
    import javax.el.MethodExpression;
    import javax.el.ValueExpression;
    import javax.faces.application.Application;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ActionEvent;
    import oracle.adf.model.BindingContainer;
    import oracle.adf.model.BindingContext;
    import oracle.adf.model.binding.DCBindingContainer;
    import oracle.adf.model.binding.DCDataControl;
    import oracle.adfinternal.model.adapter.webservice.WSDataControl;
    import oracle.adfinternal.model.adapter.webservice.security.SecurityModel;
    // import oracle.binding.BindingContainer;
    import oracle.webservices.model.Port;
    public class CheckInBean extends SecurityModel {
    private String fileName;
    private String fileContent;
    private HashMap primaryFile;
    String mSavedCSFKey = null;
    public CheckInBean() {
    public void setFileName(String fileName) {
    this.fileName = fileName; }
    public String getFileName() {
    return fileName;
    public void setFileContent(String fileContent) {
    this.fileContent = fileContent;
    public String getFileContent() {
    return fileContent;
    public void setPrimaryFile(HashMap primaryFile) {
    this.primaryFile = primaryFile;
    public HashMap getPrimaryFile() throws IOException {
    FacesContext facesCtx = FacesContext.getCurrentInstance();
    Application app = facesCtx.getApplication();
    ExpressionFactory elFactory = app.getExpressionFactory();
    ELContext elContext = facesCtx.getELContext();
    // gets the value from the managed bean
    fileName = elFactory.createValueExpression(elContext, "#{pageFlowScope.ReportBean.reportName}", Object.class).getValue(elContext).toString();
    System.out.println(fileName);
    // puts the file name and the content into a hash map
    HashMap hashMap = new HashMap();
    hashMap.put("fileName",fileName);
    System.out.println(fileName);
    hashMap.put("fileContent",getFileInBytes(ReportBean.reportPath, fileName));
    return hashMap;
    private static byte[] getFileInBytes(String reportOutputPath, String fileName) throws IOException {
    File file = new File(reportOutputPath,fileName);
    System.out.println(reportOutputPath + "+" + fileName);
    InputStream inputStream = new FileInputStream(file);
    // Get the size of the file
    long size = file.length();
    System.out.println("Size of the file: "+ size);
    // Check that size is not larger than Integer.MAX_VALUE
    if (size > Integer.MAX_VALUE) {
    System.out.println("File too large !!");
    return null;
    // Read the bytes into the byte array
    byte[] byteArray = new byte[(int)size];
    System.out.println("New Byte Array");
    int offset = 0;
    int byteRead = 0;
    while ((offset < byteArray.length)
    ((byteRead=inputStream.read(byteArray, offset, byteArray.length-offset)) >= 0)){
    byteRead = offset + byteRead;
    System.out.println(byteRead);
    inputStream.close();
    return byteArray;
    public void execute(ActionEvent aev) {
    FacesContext fctx = FacesContext.getCurrentInstance();
    Application app = fctx.getApplication();
    ExpressionFactory expF = app.getExpressionFactory();
    ValueExpression ve = expF.createValueExpression(fctx.getELContext(), "#{bindings}", DCBindingContainer.class);
    DCBindingContainer cont = (DCBindingContainer)ve.getValue(fctx.getELContext());
    DCDataControl dc = cont.findDataControl("CheckInECM");
    if(dc.getAdaptedDC() instanceof WSDataControl)
    WSDataControl wsdc = (WSDataControl)dc.getAdaptedDC();
    wsdc.getProvider().setSecurityModel(this);
    // execute the data control method, that was bound to this
    // button's action listener.
    MethodExpression me = expF.createMethodExpression(fctx.getELContext(),
    "${bindings.CheckInUniversal.execute}", Object.class,
    new Class[0]);
    me.invoke(fctx.getELContext(), null);
    // public BindingContainer getBindings() {
    // return (BindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    // override security properties for any policy on the current port
    // before the method execution.
    public void initSecurity(Port thisPort) {
    super.initSecurity(thisPort);
    System.out.println(thisPort.hashCode());
    Properties callP = (Properties)this.getCallProperties(thisPort);
    callP.put("javax.xml.ws.security.auth.username", "sysadmin");
    callP.put("javax.xml.ws.security.auth.password", "welcome1");
    mSavedCSFKey = (String)callP.remove("csf-key");
    this.saveCallProperties(thisPort, callP);
    // Restore the config at the end of the request.
    public void clearSecurityParameters(Port thisPort) {
    super.clearSecurityParameters(thisPort);
    Properties callP = (Properties)this.getCallProperties(thisPort);
    callP.remove("javax.xml.ws.security.auth.username");
    callP.remove("javax.xml.ws.security.auth.password");
    //put back the saved csf key as default...
    callP.put("csf-key", mSavedCSFKey);
    this.saveCallProperties(thisPort, callP);
    }

    If you could enclose your code inside tag it will improve readability for us.
    Anyways, first thing that I could think of is - what is the scope of your managed bean..? If its in request scope can you try changing it to higher scope level (session scope or page view scope).
    regards,
    ~K                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Error when calling Java Web Services from ABAP.

    Hello experts:
        In my project, I will call Java Web Services with ABAP coding. With WSDL, I generated a proxy class and created a HTTP connection (t-code: SM59) and a logical port (t-code:lpconfig) for this proxy class. But when running, I would receive the folllowing errors:
       SOAP:1.023 SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: HTTP COMMUNICATION FAILURE")
       If I used HTTPS, there is no problem.
    Regards
    Bob

    Hi Bob,
    It might be the possibility that your java web server is configured to listen only on HTTPS.
    If your HTTPS is working fine, then first check with your JAVA server for HTTP connectivity, then try it calling through ABAP.
    Regards,
    Piyush

  • Error when calling a web service in PLSQL, "the page could not be displayed

    Hi, I have a simple web service based on a function returning the name of the employee, I tested it against the standalone oc4j instance and it's working fine, but when I try to call it from PLSQL the error "the page could not be displayed" appears.
    What am I doing wrong?
    CREATE OR REPLACE package body p_call_ws is
    function f_query_ws( pIp varchar2 default '100') return varchar2 is
    v_wsresponse varchar2(2000) := null;
    begin
    utl_http.set_proxy('pccproxy', NULL);
    select utl_http.request( 'http://localhost:8888/ws/wsemp?invoke=pNombre&pId='||pIp)
    into v_wsresponse
    from dual;
    return(v_wsresponse);
    end f_query_ws;
    procedure p_call is
    v_wsresponse varchar2(2000) := null;
    begin
    v_wsresponse := f_query_ws('100');
    dbms_output.put_line(v_wsresponse);
    end p_call;
    end p_call_ws;
    =====================
    Whe I call the function in SQLPLUS> select p_call_ws.f_query_ws from dual;
    The output generated is
    Problem-->The page cannot be displayed

    Sorry I cannot help with this utility. What is your database version? In 10.1 and later, the recommended way is using JPublisher. Download JPublisher 10.2 and the webservice callout utility.
    http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
    http://www.oracle.com/technology/sample_code/tech/java/jsp/dbwebservices.html

  • "Invalid text value" error when calling a web service from a workflow in SharePoint Online

    I'm trying to create a workflow that loops through a list in SharePoint Online using a REST web service call. However, I'm having
    some trouble trying to pass the authentication token as described in the following article.
    http://www.fabiangwilliams.com/2013/09/03/more-on-sharepoint-2013-r...
    Basically, the workflow stops right at the "Call web service" action, and the only error it tells me is the following.
    Invalid text value.
    A text field contains invalid data. Please check the value and try again
    Has anyone had success with web service calls to SharePoint Online?
    Dan Kreitz, Solutions Architect, Séafra Inc.

    Hi DanPoint,
    Thank you for your sharing!
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • 0x8004005 / Error: Configuration file is not well-formed XML

    Hello,
    I am getting a complete headache from this! I uninstalled Visual Studio 2013 Ultimate and installed in on another hard drive. Since then nothing works! It seems to be an error with IIS...
    The following happens:
    When I want to create ASP.NET Empty Web Application:
    When I ceate an ASP.NET MVC 4 Web Application
    When I open an existing project:
    similar to first screenshot, can only upload 2 images...
    I already tried the following:
    Reinstalling Visual Studio Ultimate 2013 
    Reinstalling IIS Express 8
    Thanks!

    Hi,
    In order to resolve your problem. You should give us some information:
    First, is there any error occur when you install the VS or do you can successfully install the VS? You can use
    http://aka.ms/vscollect to gather the latest installation logs. After using it, you will find vslogs.cab from %temp% folder. Please upload the file to
    https://Onedrive.live.com/ and share the link here.
    Second, the error may related to .NET FrameWork. You can use the tool in the link to check the .NET Framework Setup:
    http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx
    If there are something wrong, you should repair the .NET framework.
    At last, there is a blog related to the error, you can follow up to handle your issue:
    http://blogs.msdn.com/b/acoat/archive/2013/04/23/iisexpress-configuration-file-is-not-well-formed-xml.aspx
    Best Wishes!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Not well-formed XML

    Hi guys,
    I need to parse an XML file which is not well formed.
    For example, the value of an element named 'topic' contains html tags which are not ended properly etc..
    e.g. <topic>Some text <BR></topic>
    Why do I need this? Because some idiots on their web site publish XML data (not well formed) which indeed is very valuable to me, and I want to use it. I tried contacting them on the "not-well-formed-XML" issue but haven't managed to get a reply yet. Hence I have been struggling with this using the SAX API and so on...
    I think there should be a way to ignore some elements' content when parsing the XML data but I haven't been able to do it...I am not experienced on SAX or DOM API's...
    For example if the problem is caused only by the BR tags then when I encounter it, either startTag or endTag, I should be able to ignore it. When I say "ignore", I mean "not change the state of the parser", or undo the last state change or whatever...Well at least I think I would write an XML parser like this if I were to do that...
    Any help is appreciated...

    Sorry to be the bearer of bad news.
    There is no such thing as an "XML file which is not
    well formed." There are files that look like they
    might be XML files but are not valid. I think that is
    what you have. One of the key differences between XML
    and HTML is that HTML has allowed sloppy habits to
    become routine. XML prohibits them from getting past
    the hurdle of validation.
    Dave PattersonI'm not sure about the comments that you have made about the validity and well-formedness about XML documents. As I said I'm not experienced in XML but as far as I understand, a document is called "valid" when it conforms to all the constraints imposed by a DTD. However, there is no DTD in my case and the XML document I have is not "well-formed" as defined below:
    A well-formed XML document is syntactically correct. It does not have any angle brackets that are not part of tags. (The entity references < and > are used to embed angle brackets in an XML document.) In addition, all tags have an ending tag or are themselves self-ending (<slide>..</slide> or <slide/>). In addition, in a well-formed document, all tags are fully nested. They never overlap, so this arrangement would produce an error: <slide><image>..</slide></image>. Knowing that a document is well formed makes it possible to process it. A well-formed document may not be valid however. To determine that, you need a validating parser and a DTD.
    According to the above definition the XML document I have violates the constraints and not well formed. But you can argue that the XML document I got is not an XML document but it is just some document :) Then anyway, I am not sure about all this terminology...
    The technique you suggested seems reasonable but as far as I know the SAX parser stops parsing when a fatal error is encountered. So I don't know how I will trap/ignore the error and continue...
    As for the JTidy suggestion:
    I have tried using HttpUnit which uses JTidy and couldn't get it right. I think when a DOM is created using JTidy the document must also be well formed (XHTML or whatever)...Am I wrong here?
    Thanks a lot...

  • XML Custom Panels: Samples With Doc are Not Well Formed XML

    The custom panel samples in the XMP Custom Panels document (and the accompanying sample file) is not well formed XML (which means that CS3 can't be parsing the file as XML, which would explain how this error made it publication). In particular, the XML declaration is missing the closing "?".
    <br />
    <br />As published it is:
    <br />
    <br /><?xml version="1.0"?>
    <br />
    <br />It should be:
    <br />
    <br /><?xml version="1.0"?>
    <br />
    <br />Note the "?&gt;" rather than "&gt;".
    <br />
    <br />This is in addition to the DOCTYPE SYSTEM URL not resolving to an actual DTD declaration set (which would be:
    <br />
    <br />
    <br /> title CDATA #REQUIRED
    <br /> type NMTOKEN #REQUIRED
    <br />&gt;
    <br />
    <br />Cheers,
    <br />
    <br />Eliot

    You'll have to do something to prevent your logger from appending to old logs that have been closed. Sorry if that is not very helpful, but I'm not familiar with the logging features in SDK 1.4. For your interest, though, Log4J (which you can get from Apache) also features XML logging, and it solved that rather obvious problem thus:
    "The output of the XMLLayout consists of a series of log4j:event elements as defined in the log4j.dtd. It does not output a complete well-formed XML file. The output is designed to be included as an external entity in a separate file to form a correct XML file."
    In other words, you would have to wrap the output in an XML header and a root node to be able to use it, which is not difficult to do.

  • Not well formed  XML data in XI

    HELLO !!
    Can XI handle a non welll formed XMl messages as an input  ?
    THANKS
    ~Peeru

    Hey
    >>we can use java mapping to make it well formed XMl.
    What exactly you mean by "not well formed XML" ?
    >>Does it mean that java mapping can take the value as a stream of data and then at the next step the XML parser is va;idating the msg ?
    Yeah thats the way Java mapping works,it takes input in the form of Input stream and gives output as an output stream.
    Bottom line is XML structure should be valid,you can't handle a invalid XML structure with any mapping,once you get the message  then you can use graphical message mapping for simple structures or use Java for complex ones(i guess by non-well formed you mean the ones which can be handled only by Java mapping)
    Thanx
    Aamir

  • Assembler Service API Quick Starts Web service API, Response is not well-formed XML

    Hi,
    I am trying to get the "Assembler Service API Quick Start" webservice api example to work in a asp.net application.
    The following line produces the exception below.
    // Send the request to the Assembler Service
    AssemblerResult result = asOb.invoke( ddxDoc, inputMap, assemblerSpec );
    "Response is not well-formed XML. at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at AssemblerServiceService.AssemblerServiceService.invoke(BLOB inDDXDoc, mapItem[] inputs, AssemblerOptionSpec environment)"
    Any help would be greatly appreciated.
    Thanks
    cheeves
    (the code is exactly as it is in the example, except for adding "?blob=base64" to the url of the AssemblerServiceService obeject, and I have the 3 files in the root of my c drive)

    after looking at the example more closely I discovered that there is a key name called "optionsLink.pdf" that doesn't match the source in the DDX file.

  • DI Webservice - Response not well-formed XML & OBServer.dll failed extract

    Hi,
    My company just implement SAP B1 this year.
    So far, we encounter 2 issue :
       1. Every month we encounter "Response is not well-formed XML" using DI Server Webservice.
       2. Failed to extract OBServer.dll from CAB file (encounter also once a month)
    For issue 1, restart DI Server service will not help.
    I need to reboot the Windows OS to make it work again.
    For issue 2, restart DI Server service will help to solve the problem.
    But the question why this happening ?
    Please help.
    Thanks.

    Hi,
    To begin troubleshooting, you may check any monthly applications' running like update or anti-virus.
    Thanks,
    Gordon

  • Error when querying REST web services from web-based InfoPath form 2013 environment

    Error when querying REST web services from web-based InfoPath form 2013 environment, we are trying to consume REST web service in InfoPath form ( SharePoint 2013 version) 
    http://spapp/sites/litigation/Intake/_api/web/lists/getbytitle('Email%20Profiles')/items(1)
    it works in preview but does not when it is published. because of claim based authentication i m getting below error
    The form cannot run specified query, the underlying connection was closed. An expected error occurred 
    same works in 2010 environment .. are we missing anything in 2013 servers?? please let me know how we can resolve it.. thank you 
    guru

    everyone face this issue, nothing in event viewer, its easy to reproduce error at ur end also.. 
    just you need to use below web service in infopath and populate some data on form load like id = 1 pull the title and try to set in form any field...the
    list has one item thats all
    guru

  • Errors when compiling the web service (SAP Web Service Design Tool)

    After downloading and installing the SAP de Web Service Design Tool (for Crystal Reports Server) I created a connection, a simple query and was able to deploy a web services. I tested the web service with an Xcelsius dashboard within InfoView. Thereafter I created a second connection (other name but same ODBC connection / server) and created another simple query with two date(range) parameters and a group by year and month function in order to do a select count(). It executes fine, but when I try to publish the web service I get an error.
    There are errors when compiling the web service.
    Is does not say whatu2019s wrong or how I can solve this problem.
    Who can help me?
    Some notes:
    1) Within expert mode I used a MONTH() SQL function which does not show in the normal mode.
    2) It seams that the u2018administrationu2019 of Web Service Design Tool got u2018corruptedu2019 after only creating the two connections, queries and services mentioned above. I believe so because I could select one of two queries when I created the second service, but within the current connection I had only one query.
    Thanks for any help,
    Ron
    ADDITIONAL INFO: The parameters seam to be the problem. After removing the parameters I can publish the service. But without parameters it is NO SOLOTION.
    Edited by: RonKoudijs on Aug 26, 2010 6:28 PM

    Hello Taylan,
    I think the error that you received was due to packaging issues.I placed the
    UtilClass.java file under a directory called data which was present under
    the project directory.
    When you want to access a java class, you can either place the compiled
    class file in the WEB-INF/classes folder or you can place the java file
    under the project directory.
    I have attached the sample project that I created with your files.
    Let me know if you have any other questions.
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "taylan" <[email protected]> wrote in message
    news:3d6351b0$[email protected]..
    >
    I am trying to write a simpe web service in WebLogic Workshop, but havingan error
    which I could not understand. Could you please help me? Thanks in advance.
    Regards,
    Taylan
    My web service code is like belows:
    import weblogic.jws.control.JwsContext;
    import data.*;
    public class WebService1
    /** @jws:context */
    JwsContext context;
    * @jws:operation
    public UtilClass testType(UtilClass tTest){
    UtilClass returnObj=new UtilClass();
    if(tTest.getName()!= null){
    returnObj.setName(tTest.getName());
    return returnObj;
    and my UtilClass is placed in the data directory under the same directorywith
    my web service code. It is a simpe class as belows:
    package data;
    public class UtilClass
    private String name;
    public void setName(String name){
    this.name=name;
    public String getName(){
    return name;
    However I got an error when I try to compile the webservice class. Theerror is
    like belows:
    File Line Message
    WebService1.jws 0 Resource found on system classpath: data.UtilClass
    Build complete - 1 error(s), 0 warning(s)
    [ngroup.zip]

  • Error in calling External web service from soa suite 11.1.1.3

    Hi
    I am getting following error while calling external web service......
    ####<Jan 20, 2011 6:54:26 PM IST> <Warning> <oracle.integration.platform> <in-mum-adina05> <soa_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-490B9BABECE372A277DF> <24b9eca72eaaa6a3:-4bc6fb7c:12da206ca2c:-7ffd-0000000000006287> <1295529866047> <SOA-20136> <WS Binding: exception durign SOAP invocation: java.util.NoSuchElementException>
    ####<Jan 20, 2011 6:54:26 PM IST> <Warning> <oracle.soa.mediator.common> <in-mum-adina05> <soa_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-490B9BABECE372A277DF> <24b9eca72eaaa6a3:-4bc6fb7c:12da206ca2c:-7ffd-0000000000006287> <1295529866047> <BEA-000000> < Payload after BaseActionHander.requestMessage :{parameters=oracle.xml.parser.v2.XMLElement@bd2382}>
    ####<Jan 20, 2011 6:54:26 PM IST> <Warning> <oracle.soa.mediator.common> <in-mum-adina05> <soa_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-490B9BABECE372A277DF> <24b9eca72eaaa6a3:-4bc6fb7c:12da206ca2c:-7ffd-0000000000006287> <1295529866063> <BEA-000000> < Properties after BaseActionHander.requestMessage :{ReferenceInstance=[email protected]63ea5,
    ####<Jan 20, 2011 6:54:29 PM IST> <Error> <oracle.webservices.service> <in-mum-adina05> <soa_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <24b9eca72eaaa6a3:-4bc6fb7c:12da206ca2c:-7ffd-0000000000006287> <1295529869375> <OWS-04115> <An error occurred for port: FabricProvider: javax.xml.rpc.soap.SOAPFaultException: oracle.fabric.common.FabricInvocationException.>
    I am able to hit external ws from soap ui and getting response but while calling from soa suite getting this error.
    Any clues?
    Thanks
    Vibhor

    WS Binding: exception durign SOAP invocation: java.util.NoSuchElementException
    Looks like the error is in the data sent to or expected from the service in your composite. Check that audit logs and composite flow to make sure your soap message when using soapui matches what you are working with in soa suite.

Maybe you are looking for

  • ARE THESE USER-ACCOUNTS BY DEFAULT: ADAMS...

    Hi everybody, I was doing a round of all the views in the SYS adminstrator account. I came across the following user-accounts in the view ALL_VIEWS: ADAMS, JONES, CLARK and BLAKE Maybe the guy who was using Oracle before me had created these user acc

  • OracleStatement.defineColumnType().  example

    have a query which involves multilpe tables and joins and function calls and inline views in the from clause. If I run the query using TOAD the query is fast takes about 50 secs to 1 min. If I run the same query in java program by JDBC using a parame

  • ABAP Table - Invoice number & accounting doc date

    Hi , In which ABAP Table i can get invoice number and Accounting document date ? Srini

  • Where can I find the Oracle Home Directory

    hi, When i try to setup SALT g10R3, I will have to specifiy the oracle home directory. I have a global variable $ORACLE_HOME which contains this path : /produits/oracle/product/10.2.0 ! I try to validate but this message appears : ===================

  • FIM Password Synchronization Not Catching All Password Changes

    I have a FIM 2012 R2 environment and I'm about to start synchronizing password changes from AD into our legacy systems.  I have PCNS installed on my DCs and the AD MA in FIM configured as a password sync source. Everything works - just not all of the