Error executing connection method with WS- wsdl

Good day.
I need a little help.
I have some problem running the access procedure to the web service mapped on my WDJ.
I did all the procedure for use ro wsdl, did the mapping of the fields in my context.
after it was run method to send the connection parameters.
But when running:
wdContext.currentConsultaSincronaElement().setChaveAcesso("XXXXXXXX-4487-4AE6-A41E-10F7808AYYYYYYY");
Is the error below:
java.lang.NullPointerException: while trying to invoke the methodnet.mdm.bp.wd.search.wd.comp.mastercompnew.wdp.IPrivateCreateFirstCompView$IConsultaSincronaElement.setChaveAcesso(java.lang.String) of a null object returned from
net.mdm.bp.wd.search.wd.comp.mastercompnew.wdp.IPrivateCreateFirstCompView$IContextNode.currentConsultaSincronaElement()
What can be happening? The mapping is correct with the fields of WS.
Already checked one by one.

hi carlos,
have you checked the collection cardinality of your input context?
the generated/Initial value is 0..1. so your currentNodeElement is probably null.
if so - set the value to 1..1 and try it again.
regards,
christian

Similar Messages

  • Semantic Error: No accessible method with signature

    HI,
    I am trying to set the sender address as below.
    MimeMessage msg = new MimeMessage( session );
    // Set message attributes
    msg.setFrom( new InternetAddress( fromAddress ) );
    Address add = new InternetAddress("[email protected]");
    msg.setSender(add);
    But I am getting compile time error :
    Semantic Error: No accessible method with signature "setSender(javax.mail.Address)" was found in type "javax.mail.internet.MimeMessage".
    Seeing the jar file, setSender( Address xxx ) is definetly present. But I see this error. Any ideas why is this error?
    Thanks.

    Hi Shreevatsa
    You can try like this
    IN CO
    YourAMImpl am = (YourAMImpl)pageContext.getApplicationModule(webBean);
    Number citemVerId = am.saveFileToDB(s1, s2, s3, s4, blobdomain, n1);Hope it helps!!!
    Thanks
    AJ

  • JSR 172: error while invoking methods with the same signature

    Hi
    I am facing a peculiar problem which is not making sense to me. This is what I have done:
    1. Written a simple web service that has two methods: sayHello and sayHellToMe. Both these methods have same signatures. They do not take in any parameter and return a string.
    2. Deployed this web service (document/literal) type on Axis 1.2
    3. Generated the stub classes from the wsdl file using Sun Wireless Toolkit's Stub Generator
    4. I have now written a MIDlet that uses this stub class to invoke both the methods one after the other.
    I enabled SOAPMonitor on Axis and saw the SOAP Request and SOAP Response messages. I observed the following:
    1. In the first method: sayHello - everything works fine (with a few tweaks in the Stub class)
    2. However, while invoking the second method sayHelloToMe, the SOAP Body tag in the SOAP Request does not contain any method name. I checked out the Stub class, the qnames and the types are all correct..
    I also realized that this behavior is seen only when I have methods with the same signature in the web service. Any idea why this might be happening? It seems like a very weird problem.
    Any help in this regard will be greatly appreciated.
    Thanks,
    Arati

    Hi, I'm closing this thread and opening the same in another as the content got pasted in reader un friendly format and i'm unable to change the format.
    Thanks,
    Ravi.

  • Error when calling method with a return of double in j2me

    hello all,
    i have following problem with a j2me program:
    if i call a method with a return of double, then i get following error
    message:
    ERROR: floating-point constants should not appear
    Error preverifying class test.hallo
    what i'm doing wrong
    thanks in regard
    ----------------example----------------------------
    double yourValue(int y, int m, int d)
    double v = 0.10;
    v = 3.39 y m *d
    return v;
    public void startApp()
    int td;
    int y =2;
    int m =2;
    int d =2;
    td = yourValue(y,m,d);
    return(td);

    It's true for MIDP 1.0.
    But you can always use implementation of the float
    point arithmetic which was written by independent
    developers. For example see J2ME section of my
    homepage http://henson.newmail.ru
    anyway, double is reserved word in java, the way you wrote the source code in your example neither the preverifier nor the compiler will recognize that you intend to use your own types for double and float. maybe with Double or Float it would be different ...
    further question: you declare a void function, in the body, however, you try to return some value. something wrong with this function??
    regards
    bernard

  • Error in connecting webdynpro with oracle

    Hi
          while connecting webdynpro with oracle, i am getting this type of error. I imported the classes12.jar file also.
    <b>Error:</b>
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    The <b>coding</b> which i used to connect is as follows,
    Class.forName("oracle.jdbc.driver.OracleDriver");
              DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
              Connection conn = DriverManager.getConnection(
              "jdbc:oracle:thin:@entegdt36:1521:dbserver",
              "scott","tiger");
              pst=conn.prepareStatement("select * from Test");
              rs=pst.executeQuery();
              while(rs.next())
                   res=res+rs.getString(1);
                   wdThis.wdGetContext().currentContextElement().setName(res);
    Please help me to solve this problem.
    It's very urgent.
    Thanks in advance.

    Hi,
    Go to technical landscapes and create a technical landscape for your ECC backend system.
    This should solve the problem.
    Regards
    Bharathwaj.

  • Error executing a query with large result set

    Dear all,
    after executing a query which uses key figures with exception aggregation the BIA-server log (TrexIndexServerAlert_....trc) displays the following messages:
    2009-09-29 10:59:00.433 e QMediator    QueryMediator.cpp(00324) : 6952; Error executing physical plan: AttributeEngine: not enough memory.;in executor::Executor in cube: bwp_v_tl_c02
    2009-09-29 10:59:00.434 e SERVER_TRACE TRexApiSearch.cpp(05162) : IndexID: bwp_v_tl_c02, QueryMediator failed executing query, reason: Error executing physical plan: AttributeEngine: not enough memory.;in executor::Executor in cube: bwp_v_tl_c02
    --> Does anyone know what this message exactly means? - I fear that the BIA-Installation is running out of physical memory, but I appreciate any other opinion.
    - Package Wise Read (SAP Note 1157582) does not solve the problem as the error message is not: "AggregateCalculator returning out of memory with hash table size..."
    - To get an impression of the data amount I had a look at table RSDDSTAT_OLAP of a query with less amount of data:
       Selected rows      : 50.000.000 (Event 9011)
       Transferred rows :   4.800.000 (Event 9010)
    It is possible to calculate the number of cells retreived from one index by multiplying the number of records from table RSDDSTAT_OLAP by the number of key figures from the query. In my example it is only one key figure so 4.800.000 are passed to the analytical engine.
    --> Is there a possibility to find this figure in some kind of statistic table? This would be helpful for complex queries.
    I am looking forward to your replies,
    Best regards
    Bjoern

    Hi Björn,
    I recommend you to upgrade to rev 52 or 53. Rev. 49 is really stable but there are some bugs in it and if you use BW SP >= 17 you can use some features.
    Please refer to this thread , you shouldn't´t use more than 50% (the other 50% are for reporting) of your memory, therefor I have stolen this quote from Vitaliy:
    The idea is that data all together for all of your BIA Indexes does not consume more then 50% of total RAM of active blades (page memory cannot be counted!).
    The simpliest test is during a period when no one is using the accelerator, remove all indexes (including temporary) from main memory of the BWA, and then load all indexes for all InfoCubes into ain memory. Then check your RAM utilization.
    Regards,
    -Vitaliy
    Regards,
    Jens

  • Problem executing main method with wrong connection to DB data

    Hi,
    I'm executing my 2 projects in the same application with wrong DB-connection data.
    When i execute one of the projects, i get one only Window having this text:
    +(oracle.jbo.DMLException) JBO-26061: Error al abrir la conexión JDBC.+
    That's exactly what i wanted, but when i execute the other project i get this window, but also 20 windos or so having the following text:
    +(oracle.jbo.JboException) JBO-29000: Se ha obtenido una excepción inesperada: java.lang.NullPointerException, mensaje=null+
    In both projects the exception ocurrs in the same line: panelBinding.refreshControl(). They have exactly the same code in main class, so i don't understand why in one project i get the only window i want (the one saying JDBC conection is wrong) and in the other one i get round 20 more.
    Why is this happening?
    Thanks in advance. Pablo.
    Edited by: user9937041 on 25-may-2011 1:34

    Maybe important: in the database navigator, when a introduce a right user, but a wrong password, in project 2 the database user account gets locked. This doesn't happen in project 1.
    Any idea??
    Edited by: user9937041 on 25-may-2011 2:10

  • 500 Internal Server Error while connecting JSP with Oracle

    Hello Friends,
    We Have installed Oracle Applications 11i in our orgaization which run on HP-UX 11.11 (HP Unix). I have created a JSP file in which I am trying to connect the database using OracleConnectionCacheImpl Class File in oracle.jdbc.pool directory. But it shows an error message as:
    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.
    I have also installed Oracle HTTP Server on my personal machine at which this code runs perfectly only the error comes when i try to connect oracle from Oracle HTTP Server installed on our HP Unix Server.
    the path for pool package is:
    /appltest/apps/prodora/iAS/oem_webstage/oracle/jdbc/pool
    the location of JSP file is:
    /appltest/apps/prodcomn/portal/TEST_test/test
    What I think is I have to play with the CLASSPATh entries, but dont know how. Please help me in solving this issue...
    For your reference the JSP code is:
    <%@ page import="java.sql.*, javax.sql.*, oracle.jdbc.pool.*" %>
    <jsp:useBean id="ods" class="oracle.jdbc.pool.OracleConnectionCacheImpl" scope="session" />
    <%
    try
    ods.setURL("jdbc:oracle:thin:@test:1546:test");
    ods.setUser("kpm_hr");
    ods.setPassword("kpm_hr");
    Connection conn = ods.getConnection();
    Statement stmt = conn.createStatement();
    Resultset rset = stmt.executeQuery("select first_name,last_name from kpm_hr.kpm_hr_emp_mst where empcode='P0580'");
    rset.next();
    out.println(rset.getString(1)+" "+rset.getString(2);
    catch(SQLException e)
    out.println(e);
    } Thanks in adavnce,
    Ankur

    Just to verify, which relevant log files have you found?
    catch(SQLException e) {
    out.println(e);
    } Have you search the console log file?
    A quick observation reveals that your jsp is just a standalone java program executed inside jsp. Suppose you just run it as a standalone program. Any error then?
    Another way going forward is to install oc4j standalone of the same version. It is very easy to install: just download the oc4j-extended.zip and unzip it and run "java -jar oc4j.jar". Put you jsp inside j2ee/home/default-web-app and run. You should see relevant log messages in j2ee/home/log/server.log and j2ee/home/application-deployments/yourApp/application.log.
    You should have Jdeveloper of some appropriate version installed. If you have not, install one. It might be not a little bit high learning curve at first, but the rewards are quick and amazing, especially since jdev 10.1.3. (I am speaking from my experience.) Try it with Jdeveloper.

  • Error while connecting HCM with IDM

    HI SDN,
    I am now working on connecting HCM (source system) with IDM by referring the document u201C [IDM for SAP System Landscape u2013 Configuration Guide|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/706065c4-3564-2a10-2382-a52fcbd7eefb]u201D .
    In that I am following the HCM Use case implementation. I configured all the steps up to Exporting the HR data to Staging Area (Identity Store) via VDS by using a SQL query. If I say all the steps I followed it will take more time. so I request you to go through the mentioned document. While executing the report (RPLDAP_EXTRACT)  getting some Runtime error. Here is the short dump of that error.
    Short text
        "Function SPLDAP_RECEIVE_ATTRIBUTES is not available"
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "SAPLLDA_EXTRACTION" had to be terminated because it
         has
        come across a statement that unfortunately cannot be executed.
        The error occurred during an RFC call to another system.
        In the target system, a short dump has been written as well.
        More detailed information on the error cause can be found there.
    Error analysis
        An error occurred when executing a REMOTE FUNCTION CALL.
        It was logged under the name "RFC_EXTERNAL_ABORT"
    I have that particular function module in my system and my RFC test connection is also success. so i am very much confused why i am getting that error?
    can anbody help me in fixing this error?
    /* points assured*/
    Regards,
    Tamil K

    Troy, did you ever figure out why you were getting the cannot modify object class error?
    I was able to get around it by fiddling with the IDS config, but comparing that modified config against a new one (that gets the cannot modify object class error) I can't see any relevant difference...
    I'd appreciate some guidance if you have overcome this.
    Thanks. Des.

  • SOAP SSL error when connecting in with java

    Hi,
    We are trying to make a simple application that makes requests to the CCM via the AXL SOAP interface to get personal address book information. When we do the request it errors out with a SSL handshake problem, I have pasted some of the exact error output below: Any help or ideas would be appreciated !!!
    at java.lang.Thread.run(Unknown Source)
    Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_
    failure
    at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
    at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Un
    known Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Sou
    rce)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Sou
    rce)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
    (Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown S
    ource)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unk
    nown Source)
    Full logs attached, I have imported the CCM cert into the Java keystore and still no luck. The only way I can get this to work by testing is to have CCM in VM and web deployed on actual physical machine and that's only for a single user dev. environment.
    Rob

    By default, the ssl certificate from the ccm is untrusted - so you get a verification error. There are two ways to work around this.. one is importing the certificate to the trusted store (google it), the other is writing your code so that it automatically accepts untrusted certs.
    For the latter, you could have a method like this (which I stole from the axlsql application)
    public void init() throws InitializationException
    X509TrustManager xtm = new MyTrustManager();
    TrustManager[] mytm = { xtm };
    SSLContext ctx;
    try
    ctx = SSLContext.getInstance("SSL");
    ctx.init(null, mytm, null);
    SSLSocketFactory sf = ctx.getSocketFactory();
    HttpsURLConnection.setDefaultSSLSocketFactory(sf);
    HttpsURLConnection.setDefaultHostnameVerifier(new HostnameVerifier()
    public boolean verify(String hostname, SSLSession session)
    return true;
    catch (NoSuchAlgorithmException ex)
    throw new InitializationException("SSL Algorithm not found: " + ex.getMessage());
    catch (KeyManagementException ex)
    throw new InitializationException("Key management exception: " + ex.getMessage());

  • Unexpected syntax error executing MDX sentence with a "LIKE" predicate

    Hello,
    I am executing the next MDX sentence correctly on a SAPBW server
    SELECT NON EMPTY
              FILTER (
                   [0VENDOR].[LEVEL01].MEMBERS ,
                   [0VENDOR].CURRENTMEMBER.PROPERTIES("MEMBER_CAPTION") LIKE "V01*"
         DIMENSION PROPERTIES [0VENDOR].[20ADDR_NUMBR], [0VENDOR].[20CITY_2] ON ROWS,
         {[Measures].[0NUMDAY], [Measures].[0RSPL_FCPER]}  ON COLUMNS
    FROM [$MY_CUBE]
    The MDX is working OK and returning all members that their caption start by "V01".
    The problem appears when I execute the query in another SAP server. This new server is returning the next syntax error.
    Syntax error: Syntax Error : ....CURRENTMEMBER.PROPERTIES("MEMBE, row 113, item: 113
    I was searching about SAP and MDX, LIKE operator, the syntax error... but I did not find any interesting.
    Why this query could fail in a certain SAP server but work OK in another?
    I tried to change the FILTER condition with a "=" operator and it works OK, but I need the "LIKE" one.
    Thanks in advanced.

    Thanks for your response.
    The MDX query works OK at SAP 7.0SP1, but it does not work at SAP 7.3.1SPS5.
    Yes, all attributes are the same and exists, and query was tested also with MDXTEST transaction. At this transaction, the error was the same "Syntax error: Syntax Error : ....CURRENTMEMBER.PROPERTIES("MEMBE, row 11" ...
    Note that is a parsing error and it happens parsing the left part of the "LIKE" predicate, so I do not think that attributes were important on this, no?

  • Unidentified Error when connecting DW with MySql

    Hi
    I am trying to connect to Mysql Database which is hosted by a hosting company on their server.  I have been given a static IP address and port to access this database remotely. I have add the information below to DW 8 in an attempt to gain access the info is below.  I get an unidentified error when i test the connection i don't know where to put this static IP and port.  Can someone help thanks
    DW information is as follows:
    My login is
    username buildingbids
    password ********
    I am trying to connect from dreamweaver
    Details of that are below
    Local Info
    Sitename buildingbids
    Local root folder C:\Documents and Settings\Main User\My Documents\WEB SITES\buildingbids\
    HTTP address http://www.buildingbids.ie
    Remote Info
    Access FTP
    FTPhost ftp1.reg365.net
    Host Directory web
    Login buildingbids.ie
    Password ******
    This works when i test it
    Testing Server
    Server Model PHP MySQL
    Access FTP
    FTPhost ftp1.reg365.net
    Host Directory web
    Login buildingbids.ie
    Password kevinmac
    This works when i test it
    URL Prefix http://ftp1.reg365.net/
    When i go to test the connection i get a message saying an unidentified error has occured.
    My connbuildingbids code is
    <?php
    # FileName="Connection_php_mysql.htm"
    # Type="MYSQL"
    # HTTP="true"
    $hostname_connbuildingbids = "ftp1.reg365.net";
    $database_connbuildingbids = "buildingbids";
    $username_connbuildingbids = "buildingbids";
    $password_connbuildingbids = "kevinmac";
    $connbuildingbids = mysql_pconnect($hostname_connbuildingbids, $username_connbuildingbids, $password_connbuildingbids) or trigger_error(mysql_error(),E_USER_ERROR);
    ?>
    My connection criteria is
    Connection name connbuildingbids
    MySql Server mysql1.mylogin.ie
    Username buildingbids
    Password *********
    Database buildingbids

    Yes they only allow it with a static IP address which i have and have been granted Remote access
    I have gone to a different server and now my code is like this
    My connbuildingbids code is
    <?php
    # FileName="Connection_php_mysql.htm"
    # Type="MYSQL"
    # HTTP="true"
    $hostname_connbuildingbids = "bono.hostireland.com";
    $database_connbuildingbids = "buildingbids";
    $username_connbuildingbids = "buildingbids";
    $password_connbuildingbids = "*********";
    $connbuildingbids = mysql_pconnect($hostname_connbuildingbids, $username_connbuildingbids, $password_connbuildingbids) or trigger_error(mysql_error(),E_USER_ERROR);
    ?>
    My connection criteris is
    Connection name     connbuildingbids
    MySql Server          bono.hostireland.com
    Username               buildingbids
    Password               *************
    Database               buildingbids
    I get a different error now it says
    Mysql error #:1045  access denied for Buildingbids@localhost (Password:Yes) 
    so it looks like its looking locally for the database by default and i cant stop it.  I did orriginally have MySql set up on my pc and had done some test databases but i have deleted everything now even MySql but i still get this error so i am missing something.  Does anyone know why or how can i stop it defaulting locally. Thanks

  • Error to connection Jdeveloper with database

    Hello world ,
    i want to make a connection between jdeveloper and database but i got this error message when i do test
    Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=169869568)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
    i am working on client , and oracle developer is connected with database .
    regards

    SID is like what is use for developer , it is 100% correctThe error code you are getting (12505) indicates otherwise
    http://www.error-code.org.uk/view.asp?e=ORACLE-TNS-12505
    Perhaps you are pointing to the wrong host/IP address
    John

  • Error at connect time with RMAN

    When i connect to RMAN, gatting this error
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-01031: insufficient privileges
    provide some solution to resolve.

    You need to connect with SYSDBA privilege: http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmquick.htm#BRADV89348

  • Noclassfound error while connecting java with oracle database

    hi all
    the source code metioned below gets compiled. but when it is run
    it gives thefollowing error.
    ClassNotFoundException: jdbc.driver.OracleDriver
    Exception in thread "main" java.sql.SQLException: No suitable driver
    at java.sql.DriverManager.getConnection(DriverManager.java:532)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at pract.main(pract.java:16)
    import java.sql.*;
    class pract
    public static void main (String args []) throws SQLException
         try
              Class.forName("jdbc.driver.OracleDriver");
              catch(java.lang.ClassNotFoundException e)
    System.err.print("ClassNotFoundException: ");
    System.err.println(e.getMessage());
              Connection conn = DriverManager.getConnection
    ("jdbc:oracle:thin:@anant:1521:student", "scott", "tiger");
    // @machineName:port:SID, userid, pas
    Statement stmt = conn.createStatement();
    ResultSet rset = stmt.executeQuery("select * from emp");
    while (rset.next())
    System.out.println (rset.getString(1)); // Print col 1
    stmt.close();
    i have included the following driver classes in the classpath
    ojdbc.jar,
    ojdbc_g.jar,
    classes111.jar
    but still im unable to connect.
    can anyone help me in solving this simple problem.

    hi ,
    you hav not stated which oracle ur using...still if u r using oracle 9i then u hav to include classes12.jar file in ur lib build classpath and then tryout following changes in code....
    DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
    conn = DriverManager.getConnection("jdbc:oracle:thin:@<host>:<port>:<sid>","scott","tiger");
    hope this ll help....

Maybe you are looking for