ParseTDS error using XSQL demos

I recently installed the Oracle XSQL servlet engine. When I try one of the demos that make use of object views, I get the following error message:
<?xml version="1.0" encoding="UTF-8" ?>
<ERROR>oracle.xml.sql.OracleXMLSQLException: Fout bij ontleden typedescriptor: parseTDS</ERROR>
There is some Dutch in this, which is a bit odd, but the text "Fout bij ontleden typedescriptor" means "Error parsing type descriptor". What could be wrong?

I am using an Oracle 8.1.6 server. On the machine that runs the XSQL servlet, I have an 8.0.5 Net8 connection, but I assume that this is not important, since this should not be used by the Oracle JDBC driver. All examples work as long as the objecty views are not used.
I don't know how this parser works internally, but I think it might have something to do with the absence of some of the field names in the query result.
Here's what I mean: when I try the insurance demo, and select example three, I get the correct result. When I execute the associated query in SQL*Plus, I get the following result:
SQL> select c.claimpolicy.primaryinsured as Customer
2 from insurance_claim_view c
3 where c.claimpolicy.primaryinsured.homeaddress.state = 'CA'
4 ;
CUSTOMER(CUSTOMERID, FIRSTNAME, LASTNAME, HOMEADDRESS(STREET, CITY, STATE, ZIP))
POLICYHOLDER_T(1044, 'Paul', 'Astoria', ADDRESS_T('123 Cherry Lane', 'SF', 'CA', 94132))
POLICYHOLDER_T(1044, 'Paul', 'Astoria', ADDRESS_T('123 Cherry Lane', 'SF', 'CA', 94132))
POLICYHOLDER_T(1045, 'Martina', 'Boyle', ADDRESS_T('55 Belden Place', 'SF', 'CA', 94102))
POLICYHOLDER_T(1045, 'Martina', 'Boyle', ADDRESS_T('55 Belden Place', 'SF', 'CA', 94102))
As you can see, all field names, which serve as tags in the XML result, are present. From this result, you can derive that there is a sub-object HOME_ADDRESS consisting of the fields STREET, CITY, STATE and ZIP.
For insurance example four, the result in SQL*Plus looks like this:
SQL> select v.claimpolicy.primaryinsured.homeaddress as address,
2 v.settlements
3 from insurance_claim_view v
4 ;
ADDRESS(STREET, CITY, STATE, ZIP)
SETTLEMENTS(PAYDATE, AMOUNT, APPROVER)
ADDRESS_T('123 Cherry Lane', 'SF', 'CA', 94132)
SETTLEMENTS_T(PAYMENT('05-JAN-99', 7600, 'JCOX'))
ADDRESS_T('123 Cherry Lane', 'SF', 'CA', 94132)
SETTLEMENTS_T(PAYMENT('15-MAR-98', 1800, 'MFOX'), PAYMENT('23-MAR-98', 7800, 'ULOWE'))
ADDRESS_T('55 Belden Place', 'SF', 'CA', 94102)
SETTLEMENTS_T(PAYMENT('01-JUL-97', 1500, 'JCOX'))
ADDRESS_T('55 Belden Place', 'SF', 'CA', 94102)
SETTLEMENTS_T(PAYMENT('05-JAN-99', 7600, 'JCOX'))
The result contains a reference to the object PAYMENT, but the definition of this object cannot be derived from the column names.
If the parser indeed uses these column names to derive an object structure, this may be the cause, but the question is: what went wrong during the installation that caused this problem?

Similar Messages

  • Error using XSQL 10 servlet

    I am using the XSQL servlet from the xdk_nt_10_1_0_2_0_production.zip package. When I run a example I always get the following error (NoSuchMethodError) I am using the xmlparserv2.jar from the xdk\lib dir. What could be wrong?
    java.lang.NoSuchMethodError
    at oracle.xml.util.QxName.<init>(QxName.java:65)
    at oracle.xml.util.QxNameHash.add(QxNameHash.java:116)
    at oracle.xml.util.QxNameHash.create(QxNameHash.java:72)
    at oracle.xml.parser.v2.XMLEntity.<init>(XMLEntity.java:136)
    at oracle.xml.parser.v2.XMLEntity.<init>(XMLEntity.java:156)
    at oracle.xml.parser.v2.DTD.<clinit>(DTD.java:1031)
    at oracle.xml.parser.v2.NonValidatingParser.<init>(NonValidatingParser.j
    ava:155)
    at oracle.xml.parser.v2.XMLParser.<init>(XMLParser.java:150)
    at oracle.xml.parser.v2.DOMParser.<init>(DOMParser.java:84)
    at oracle.xml.xsql.XSQLParserHelper.parse(XSQLParserHelper.java:104)
    at oracle.xml.xsql.XSQLConfigManager.reloadConfigFile(XSQLConfigManager.java:315)

    I am also getting the same error with the following call;
    OracleXMLSave xs2 = new OracleXMLSave(this.dbConnection,
    LimitsWorkflowXDKObjectDAO.LIMITS_WF_O_TABLE);
    if ( xs2 == null ) System.out.println("XML_SAVE IS NULL");
    else
    xs2.setKeyColumnList(pkArray);
    xs2.setIgnoreCase(true);
    xs2.setRowTag(LimitsWorkflowXDKObjectDAO.LIMITS_WF_O_ROW_TAG);
    if (dateFormat != null)
    xs2.setDateFormat(dateFormat);
    rows = xs2.insertXML(xmlDoc);
    javax.xml.namespace.QName.(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
         at oracle.xml.util.QxName.(QxName.java:65)
         at oracle.xml.util.QxNameHash.add(QxNameHash.java:116)
         at oracle.xml.util.QxNameHash.create(QxNameHash.java:72)
         at oracle.xml.parser.v2.XMLEntity.(XMLEntity.java:136)
         at oracle.xml.parser.v2.XMLEntity.(XMLEntity.java:156)
         at oracle.xml.parser.v2.DTD.(DTD.java:1031)
         at oracle.xml.parser.v2.NonValidatingParser.(NonValidatingParser.java:155)
         at oracle.xml.parser.v2.XMLParser.(XMLParser.java:150)
         at oracle.xml.parser.v2.DOMParser.(DOMParser.java:84)
         at oracle.xml.sql.dml.OracleXMLSave.initParser(OracleXMLSave.java:300)
         at oracle.xml.sql.dml.OracleXMLSave.saveXML(OracleXMLSave.java:2370)
         at oracle.xml.sql.dml.OracleXMLSave.insertXML(OracleXMLSave.java:1352)

  • Error using XSQL to generate RSS feeds on Unix

    I`m using an XSQL file used with a stylesheet to render an RSS 2.0 feed.
    RSS readers can pick the feed up successfully when I used a Windows based Oracle Application server installation but not when it was migrated to a Unix based server.
    Both servers do successfuly render the RSS feed into Internet Explorer as raw XML which looks identical.
    Any ideas?

    Check the content type of the response comming from your Unix server. There may be a different content type value for one of the HTTP header, which have some impact on your RSS reader.
    Using FireFox is another way to see if there are subtille differences in the responses that IE does not detect.
    Hope this helps,
    Eric

  • XSLT Error using XSQL:

    I am getting this error:
    Oracle XML Developers Kit 10.1.0.4.2 - Production
    XML-25011: Error processing XSLT stylesheet:
    file:///C:/Products/jboss-5.0.1.GA/server/default/deploy/ontrack.ear/ontrack.war/reports/manifest/container_lbl.xsl
    file:/C:/Products/jboss-5.0.1.GA/server/default/deploy/ontrack.ear/ontrack.war/reports/manifest/container_lbl.xsl:
    XML-22043: (Error) Extension function error: Method not found 'generate'
    Any ideas ?
    Thanks,

    After some shuffling of jar files, I now get:
    Oracle XML Developers Kit 10.1.0.4.2 - Production
    XML-25018: Unexpected Error Occurred processing stylesheet container_lbl.xsl
    java.lang.ClassCastException: org.apache.xerces.dom.ElementNSImpl cannot be cast to oracle.xml.parser.v2.XMLNode
    at oracle.xml.parser.v2.XSLExprValue.setExtensionValue(XSLExprValue.java:658)
    at oracle.xml.parser.v2.XSLExtFunctions.callStaticMethod(XSLExtFunctions.java:122)
    at oracle.xml.parser.v2.XPathExtFunction.evaluateMethod(XPathExtFunction.java:298)
    at oracle.xml.parser.v2.XPathExtFunction.evaluate(XPathExtFunction.java:225)
    at oracle.xml.parser.v2.XSLCopyOf.processAction(XSLCopyOf.java:103)
    at oracle.xml.parser.v2.XSLNode.processChildren(XSLNode.java:417)
    at oracle.xml.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
    at oracle.xml.parser.v2.XSLNode.processChildren(XSLNode.java:417)
    at oracle.xml.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
    at oracle.xml.parser.v2.XSLNode.processChildren(XSLNode.java:417)
    at oracle.xml.parser.v2.XSLForEach.processAction(XSLForEach.java:142)
    at oracle.xml.parser.v2.XSLNode.processChildren(XSLNode.java:417)
    at oracle.xml.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
    at oracle.xml.parser.v2.XSLNode.processChildren(XSLNode.java:417)
    at oracle.xml.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
    at oracle.xml.parser.v2.XSLNode.processChildren(XSLNode.java:417)
    at oracle.xml.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
    at oracle.xml.parser.v2.XSLNode.processChildren(XSLNode.java:417)
    at oracle.xml.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
    at oracle.xml.parser.v2.XSLNode.processChildren(XSLNode.java:417)
    etc...
    Any help would be most welcome,
    Thanks,
    Craig.

  • XSQL Apache  XSQL Demo errors on helloworld

    Hello I am trying to get the XSQL demos to work on Apache 1.3.20 and Jserv 1.1.1. THe examples just display the SQL statement no results returned.
    Here is my Jserv properties file
    ApJservAction .xsql
    wrapper.classpath=C:\Program Files\Apache JServ 1.1.1\ApacheJServ.jar
    wrapper.classpath=c:\jsdk2.0\lib\jsdk.jar
    wrapper.classpath=C:\OraHome\jdbc\lib\classes111.zip
    wrapper.classpath=C:\OraHome\jdbc\lib\classes12.zip
    #wrapper.classpath=C:\xsql\lib\oraclexmlsql.jar
    wrapper.classpath=C:\xsql\lib\oraclexsql.jar
    wrapper.classpath=C:\xsql\lib\xmlparserv2.jar
    wrapper.classpath=C:\xsql\xdk\admin
    My Jser config
    #ApJServAction .jsp /servlets/org.gjt.jsp.JSPServlet
    #ApJServAction .gsp /servlets/com.bitmechanic.gsp.GspServlet
    #ApJServAction .jhtml /servlets/org.apache.servlet.ssi.SSI
    #ApJServAction .xml /servlets/org.apache.cocoon.Cocoon
    ApJServAction .xsql /servlets/oracle.xml.xsql.XSQLServlet
    My database iS Oracel 8.1.6. I have no problems performing XSQL taks from the command line XSQL ulity but over Apache only the SQL statment shows.
    My directory for XDK is C:\xsql. If I chnge the XMLConfig connection it will not connect so it can see the file.
    Any help would be great ?
    Thanks
    Aaron

    What DB version? What does your table look like (datatype-wise for the columns) ?

  • XSQL Demos not working ...

    I am trying to run the xsql demos by typing following line in browser:
    http://crz3k055/xsql/demo/airport.xsql
    On Netscape communicator 4.7 I get message:
    Not Found
    The requested URL /servlets/oracle.xml.xsql.XSQLServlet was not found on this server.
    Apache/1.3.6 Server at crz3k055.mcom.com Port 80
    O Internet explorer 5.0, I get the message:
    The page cannot be found
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
    Please try the following:
    If you typed the page address in the Address bar, make sure that it is spelled correctly.
    Open the crz3k055 home page, and then look for links to the information you want.
    Click the Back button to try another link.
    Click Search to look for information on the Internet.
    HTTP 404 - File not found
    Internet Explorer
    Please help.
    Thanks
    Shri

    I am using Apache web server and Apache JServ.
    I modified the Jserv.properties file and added following lines:
    wrapper.classpath=C:\Program Files\Apache Group\Apache JServ\ApacheJServ.jar
    # Oracle XSQL Servlet
    wrapper.classpath=C:\XmlSQLServlet\xsql\lib\oraclexsql.jar
    # Oracle JDBC (8.1.5)
    wrapper.classpath=C:\XmlSQLServlet\xsql\lib\classes111.zip
    # Oracle XML Parser V2 (with XSLT Engine)
    wrapper.classpath=C:\XmlSQLServlet\xsql\lib\xmlparserv2.jar
    # Oracle XML SQL Components for Java
    wrapper.classpath=C:\XmlSQLServlet\xsql\lib\oraclexmlsql.jar
    # XSQLConnection.xml File location
    wrapper.classpath=C:\XmlSQLServlet\xsql\lib
    In mod_jserv.conf added:
    ApJServAction .xsql /servlets/oracle.xml.xsql.XSQLServlet
    And appended mod_jserv.conf in httpd.conf
    Restarted the apache webserver, but still I am getting this error on http://crz3k055/xsql/demo/helloworld.xsql
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    Apache/1.3.6 Server at crz3k055.mcom.com Port 80
    Your help is appreciated.
    Thanks
    Shri
    null

  • XSQL Demo Problems

    I am trying to install the XSQL Demo (FAQ), but I'm having a few problems -
    Problem 1:
    grant exceute on ctx_ddl to xdkdemo
    ERROR at line 1:
    ORA-00990: missing or invalid privilege
    Problem 2:
    When creating the MakeGlossary procedure, I receive the following errors:
    Errors for PROCEDURE MAKEGLOSSARY:
    LINE/COL ERROR
    8/8 PLS-00201: identifier 'XSLPROCESSOR.PROCESSOR' must be declared
    8/8 PL/SQL: Item ignored
    9/6 PLS-00201: identifier 'XSLPROCESSOR.STYLESHEET' must be declared
    9/6 PL/SQL: Item ignored
    31/4 PLS-00320: the declaration of the type of this expression is
    incomplete or malformed ............
    Any ideas what I am doing wrong?
    I'm running Oracle9i and I have verified that the Parser and XML SQL Utility are installed.

    Please double-check your JDK. This error is common if you are using a JDK that is 1.1.7 or earlier where there were bugs in the UTF-8 characterset conversion code.
    1.1.8 and 1.2.2 should work fine.
    Try a: java -version
    to see what version you're running.

  • Errors using aCC 3.31--- Unexpected 'std'

    [Compilation Errors using aCC 3.31/HP-UX 11.0 --
                           Unexpected 'std']
    Hi,
    I get the following errors when I try to include 'occi.h' in my programs while working with the OCCI classes for Oracle9i database connectivity. Please let me know if I'm missing anything or perhaps do anything different to get rid of this problem.
    Thanks for your time.
    Chandra M.
    =========================================================
    Error 19:
    "/nfs/scec/disks/imo043/oracle/92/product/9.2.0/rdbms/demo/occiCommon.h",
    line 339 # Unexpected 'std'.
    void getVector( const AnyData &any, OCCI_STD_NAMESPACE::vector&lt;OCCI_STD_N
    ^^^^^^^^^^^^^^^^^^
    Error 19:
    "/nfs/scec/disks/imo043/oracle/92/product/9.2.0/rdbms/demo/occiCommon.h",
    line 339 # Unexpected 'std'.
    void getVector( const AnyData &any, OCCI_STD_NAMESPACE::vector&lt;OCCI_STD_NAMESPACE::
    ^^^^^^^^^^^^^^^^^^
    =========================================================

    Yeah, I did use that but it did give me problems when using aCC 3.31. But later on when I used aCC 3.34, it barely compiled with a bunch of Future errors and Warnings. BTW. do you have any specific version of aCC that has to be used with occi.h. Please let me know.
    And specifically, when I had to use Rogue Wave Libraries in the program code.
    Thanks a lot
    Chandra M.

  • Element attributes using XSQL

    I have been reading the documentation for the XSQL servlet in the hopes of using it to get XML data out of a relational database.
    Whilst it seems straight forward to get the column entries into their own elements I have not seen how to get them into an element attribute instead of their own element (other than the id attribute which you can only use once per row).
    Is this correct or is there a way to get column values into element attribute values instead of element values?
    Any help appreciated.
    Ron Quartel

    If you're using XSQL, the best solution
    is to use XSL stylesheets.
    You could write XSL file to include
    DTD/Schema in your output xml file.
    Basic XSL sample is used in the XSQL demo.
    There is short discussion in the readme.html
    file. If you're only moving elements to
    attributes, they probably would be enough.

  • How to insert data using xsql

    I want to insert a XML Document using xsql?
    tell me anyone step step procedure using xsql;this is very urgent

    I want to insert a XML Document using xsql?
    tell me anyone step step procedure using xsql;this is very urgent Use use <xsql:insert-request> to insert your data into the database.
    example
    <xsql:insert-request xmlns:xsql="urn:oracle-xsql" connection="demo" table="TC_UTIL_CONFIG" columns="ID, NAME, VALUE" />
    The above inserts the input request to the table and inserts the colums with the values. The input XML should look like the following
    <ROWSET>
    <ROW>
    <ID>1</ID>
    <NAME>kesav</NAME>
    <VALUE>good</VALUE>
    <ROW>
    <ROW>
    <ID>2</ID>
    <NAME>kumar</NAME>
    <VALUE>good</VALUE>
    </ROW>
    </ROWSET>
    If your request doesn't match the above you can use transform attribute to specify an xsl to convert the input to match the above xml.
    If you submit your request from form you should use the transform stylesheet to convert the request to the XML. If you use Microsoft.XMLHTTP to post the xml document which matches the xml then you don not need any transformation.

  • Apache + Tomcat - Can't run xsql demos

    I have the following setup -
    Apache 1.3.9
    Tomcat 3.1
    XSQL 1.0.4.3
    JDK 1.3
    HPUX 11.0
    Oracle 8.1.6
    I have followed the instructions in the XQL release notes on installation and configuration but I am having a problem running the demos. When I try the http://localhost/xsql/index.html url, I get a garbled page. Looks like the home.xsql/homecontent.xsql pages didn't run sucessfully. Anybody else run into something similar?
    fwiw, I have been able to sucessfully run the helloworld.xsql demo on the command line using the xsql executable.

    Found the resolution for this problem. I had to add the following two lines in my httpd.conf file -
    AddType text/xsql .xsql
    AddHandle jserv-servlet .xsql
    The demos work just fine after making this change and restartin the Apache server.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Bhadresh Patel ([email protected]):
    I have the following setup -
    Apache 1.3.9
    Tomcat 3.1
    XSQL 1.0.4.3
    JDK 1.3
    HPUX 11.0
    Oracle 8.1.6
    I have followed the instructions in the XQL release notes on installation and configuration but I am having a problem running the demos. When I try the http://localhost/xsql/index.html url, I get a garbled page. Looks like the home.xsql/homecontent.xsql pages didn't run sucessfully. Anybody else run into something similar?
    fwiw, I have been able to sucessfully run the helloworld.xsql demo on the command line using the xsql executable.<HR></BLOCKQUOTE>
    null

  • Generating XML from Database using XSQL

    Hi ,
    I have been using Reports as an intermidiate to generate XML (by giving concurrent program o/p type as XML). Now, i want it to be done from SQL or PL/SQL. I am able to achieve this using XSQL functions. I placed the SQL in a .sql file and registered it as a concurrent program. It was giving me XML output.
    I have two problems here.
    1. How can i know whether i have generated valid xml or not?
    2. When i am linking this concurrent program to XML Publisher, publisher is not able to read thie output from the concurrent prograam. It is erroring out. Why?
    Thanks
    sap

    Save the XML file - try to open it with IE and/or Firefox.
    If that doesn't work you know already something is wrong.
    You may try to cut&paste it into notepad and save as UTF-8.
    Then try it out with the Template Builder for Wrod.
    If you can't figure it out and run the report with a SMALL dataset six (ie. 1)
    and post it here.

  • Error message: AgServerMigration ERROR Using store provider as a session is deprecated.

    Hi.  I'm using a MacBook Pro, OS X 10.6.5.  I have been opening files in Lightroom, editing them, and then doing finishing touches in CS5.  When I save the file in CS5 and close it, my Mac returns the above message in Console eight times:
    AgServerMigration ERROR Using store provider as a session is deprecated.
    AgServerMigration ERROR Using store provider as a session is deprecated.
    AgServerMigration ERROR Using store provider as a session is deprecated.
    AgServerMigration ERROR Using store provider as a session is deprecated.
    AgServerMigration ERROR Using store provider as a session is deprecated.
    AgServerMigration ERROR Using store provider as a session is deprecated.
    AgServerMigration ERROR Using store provider as a session is deprecated.
    AgServerMigration ERROR Using store provider as a session is deprecated.
    I have no idea what this means, or whether it is a problem.  Does anyone know what this is?
    Thanks.

    I see the same thing and have done for some time. The actual file is being saved back. etc. So, in that respect both Lr and Ps are working fine. IOW, ignore it.

  • Received HTTP response code 500 : Internal Server Error using connection Fi

    Hi everybody,
    I have configured a file-webservice-file without BPM scenario...as explained by Bhavesh in the following thread:
    File - RFC - File without a BPM - Possible from SP 19.
    I have used a soap adapter (for webservice) instead of rfc .My input file sends the date as request message and gets the sales order details from the webservice and then creates a file at my sender side.
    I monitored the channels in the Runtime work bench and the error is in the sender ftp channel.The other 2 channel status is "not used" in RWB.
    1 sender ftp channel
    1 receiver soap channel
    1 receiver ftp channel.
    2009-12-16 15:02:00 Information Send binary file "b.xml" from ftp server "10.58.201.122:/", size 194 bytes with QoS EO
    2009-12-16 15:02:00 Information MP: entering1
    2009-12-16 15:02:00 Information MP: processing local module localejbs/AF_Modules/RequestResponseBean
    2009-12-16 15:02:00 Information RRB: entering RequestResponseBean
    2009-12-16 15:02:00 Information RRB: suspending the transaction
    2009-12-16 15:02:00 Information RRB: passing through ...
    2009-12-16 15:02:00 Information RRB: leaving RequestResponseBean
    2009-12-16 15:02:00 Information MP: processing local module localejbs/CallSapAdapter
    2009-12-16 15:02:00 Information The application tries to send an XI message synchronously using connection File_http://sap.com/xi/XI/System.
    2009-12-16 15:02:00 Information Trying to put the message into the call queue.
    2009-12-16 15:02:00 Information Message successfully put into the queue.
    2009-12-16 15:02:00 Information The message was successfully retrieved from the call queue.
    2009-12-16 15:02:00 Information The message status was set to DLNG.
    2009-12-16 15:02:02 Error The message was successfully transmitted to endpoint com.sap.engine.interfaces.messaging.api.exception.MessagingException: Received HTTP response code 500 : Internal Server Error using connection File_http://sap.com/xi/XI/System.
    2009-12-16 15:02:02 Error The message status was set to FAIL.
    Please help.
    thanks a lot
    Ramya

    Hi Suraj,
    You are right.The webservice is not invoked.I see the same error in the sender channel and the receiver soap channel status is "never used".
    2009-12-16 15:52:25 Information Send binary file  "b.xml" from ftp server "10.58.201.122:/", size 194 bytes with QoS BE
    2009-12-16 15:52:25 Information MP: entering1
    2009-12-16 15:52:25 Information MP: processing local module localejbs/CallSapAdapter
    2009-12-16 15:52:25 Information The application tries to send an XI message synchronously using connection File_http://sap.com/xi/XI/System.
    2009-12-16 15:52:25 Information Trying to put the message into the call queue.
    2009-12-16 15:52:25 Information Message successfully put into the queue.
    2009-12-16 15:52:25 Information The message was successfully retrieved from the call queue.
    2009-12-16 15:52:25 Information The message status was set to DLNG.
    2009-12-16 15:52:27 Error The message was successfully transmitted to endpoint com.sap.engine.interfaces.messaging.api.exception.MessagingException: Received HTTP response code 500 : Internal Server Error using connection File_http://sap.com/xi/XI/System.
    2009-12-16 15:52:27 Error The message status was set to FAIL.
    what can I do about this?
    thanks,
    Ramya

  • Getting "Method 'sign_in' does not exist" Error (using Charles)

    This may be a bit off the FLEX field, and have to do with Zend Framework's ZEND_AMF class. Unfortunately I haven't been able to dig anything up, and comments posted on Wade Arnolds site have not received any responses, so I thought I'd give it a go here.
    My ServiceController Class:
    public function loginAction()
         $this->_helper->viewRenderer->setNoRender();
         $server = new Zend_Amf_Server();
         $server->setClass('LoginAmfService', 'LoginService');
         $server->setClassMap('CurrentUserVO', 'CurrentUserVO');
         $server->setProduction(false);
         print($server->handle());
    My LoginAmfService class:
    class LoginAmfService
          * Main login function.
          * @param  string        $name
          * @param  string        $password
          * @return CurrentUserVO
         public function sign_in($name, $password)
              $authAdapter     = new Zend_Auth_Adapter_DbTable(Zend_Registry::get('db'), 'users', 'user_name', 'password', 'PASSWORD(?) AND active = 1');
              $returnValue     = new CurrentUserVO();
              $authAdapter->setIdentity(htmlspecialchars($name))
                   ->setCredential(htmlspecialchars($password));
              $authResult = $authAdapter->authenticate();
              if ($authResult->isValid())
                   $userArray                          = $authAdapter->getResultRowObject(array('id', 'first_name', 'last_name', 'title', 'photo'));
                   $returnValue->first_name     = $userArray->first_name;
                   $returnValue->last_name          = $userArray->last_name;
                   $returnValue->title               = $userArray->title;
                   $returnValue->photo               = $userArray->photo;
                   $returnValue->token               = $userArray->id;
              return $returnValue;
          * Function used to log people off.
         public function sign_out()
              $authAdapter = Zend_Auth::getInstance();
              $authAdapter->clearIdentity();
    My SignIn FLEX module (the relevant portions):
         <mx:RemoteObject
              id="LoginRemote"
              destination="login"
              source="SignIn"
              showBusyCursor="true"
              fault="parentDocument.handleFault(event)"
         >
               <mx:method name="sign_in" result="signin_handle(event)" />
               <mx:method name="sign_out" result="signout_handle(event)" />
         </mx:RemoteObject>
         <mx:Script>
              <![CDATA[
                   import mx.rpc.events.FaultEvent;
                   import mx.utils.ArrayUtil;
                   import mx.rpc.events.ResultEvent;
                   import mx.controls.Alert;
                   import com.brassworks.ValueObjects.CurrentUserVO;
                   import mx.events.VideoEvent;
                   [Bindable]
                   private var this_user:CurrentUserVO = new CurrentUserVO();
                   private function mdl_init():void
                        focusManager.setFocus(txt_username);
                   private function signin_handle(event:ResultEvent):void
                             this_user = event.result as CurrentUserVO;
                             if (this_user.token == null) {Alert.show("Supplied login credentials are not valid. Please try again.");}
                             else
                                  this.parentApplication.setUser(this.this_user);
                   private function signout_handle(event:ResultEvent):void
                   private function sign_in(event:Event):void
                        try
                             //Alert.show(txt_name.text + "|" + txt_password.text);
                             LoginRemote.sign_in(txt_username.text, txt_password.text);
                        catch (error:Error)
                             this.parentDocument.handleFault(error);
                   private function sign_out(event:Event):void
                   private function show_error(error:Error, s_function:String):void
                        Alert.show("Method:" + s_function + "\nName: " + error.name + "\nID: " + error.errorID + "\nMessage: " + error.message + "\nStack Trace: " + error.getStackTrace() + "\nError: " + error.toString());
                   private function handleFault(event:FaultEvent):void
                        Alert.show(event.fault.faultDetail, event.fault.faultString);
              ]]>
         </mx:Script>
    Now, all this is great and good, as it works with Zend Framework 1.7.6. However, when I try to upgrade to 1.7.8 (to take advantage of session management and other bug-fixes), I get the following error (using Charles):
    #1 /var/web/htdocs/core/library/Zend/Amf/Server.php(390): Zend_Amf_Server->_handle(Object(Zend_Amf_Request_Http))
    #2 /var/web/htdocs/core/application/default/controllers/ServicesController.php(73): Zend_Amf_Server->handle()
    #3 /var/web/htdocs/core/library/Zend/Controller/Action.php(503): ServicesController->loginAction()
    #4 /var/web/htdocs/core/library/Zend/Controller/Dispatcher/Standard.php(285): Zend_Controller_Action->dispatch('loginAction')
    #5 /var/web/htdocs/core/library/Zend/Controller/Front.php(934): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
    #6 /var/web/htdocs/core/application/bootstrap.php(39): Zend_Controller_Front->dispatch()
    #7 /var/web/htdocs/core/public/index.php(5): Bootstrap->runApp()
    #8 {main} ?Method "sign_in" does not exist
    I have no idea why this would not work anymore. My assumption is that I am not correctly setting up Zend_Amf (but then again, my counter-argument is that it worked before, so ..... ????)
    Thanks for any help!
    -Mike

    For those that are also fighting this issue:
    The problem appears to be that the RemoteObject needs to specify the class containing the methods as a source parameter. According to this bug report (http://framework.zend.com/issues/browse/ZF-5168) it is supposed to have been addressed, but apparently has re-emerged in Zend_Amf since version 1.7.7.
    Using my example above, I would have to specify the RO as:
    <mx:RemoteObject
              id="LoginRemote"
              destination="login"
              source="LoginAmfService"
              showBusyCursor="true"
              fault="parentDocument.handleFault(event)"
         >
               <mx:method name="sign_in" result="signin_handle(event)" />
               <mx:method name="sign_out" result="signout_handle(event)" />
         </mx:RemoteObjecct>

Maybe you are looking for

  • Why there is no file manager in Windows phone

    Why there is no file manager in Windows phone??? There should be a file manager provided through the update.

  • Adding video only to a track

    Hi, I wonder how I can do this in PPRO: I have a main video track with audio underneath. I want to add a clip to a track above, but only the video part of it. Is there a smart way of doing it without adding both vieo and audio and then delete the aud

  • Iphoto will not open after upgrade to OS X (10.5.3)

    I have upgraded to 10.5.3 and Ilife 08 on my Power Mac and I cannot get Iphoto to show my library,photos , or events. Has anyone else had this problem or have a fix? Thanks

  • Dymo Printer shows in Printer list but local drivers cannot be installed

    I connected the Dymo LabelWriter 400 to our PowerMac G5 running OS X Tiger Server via USB, set it up so it printed from the server, then tried to set up client machines. I was never able to install the DLW software from Dymo that enables use of the m

  • Smart Media or SD card?

    I have the iMac 21.5-inch, Mid 2011  10.9.5 OS X with 20Gb RAM But I am looking at getting a sampler/drum machine that uses either Smart Media, or SD cards (choice of both but they are rare!) Anyway my question is, which slot do I have in the side of