Connecting webdynpro to webservice

hi!
we are trying to establish a connection to a webservice
that returns a dataset. when we try to create a context connection to result attribute in the model we get the error
"contextAttribute with java native type cannot be selected"
the webservice result is :
HTTP/1.1 100 Continue
Server: Microsoft-IIS/5.1
Date: Wed, 10 May 2006 11:44:43 GMT
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.1
Date: Wed, 10 May 2006 11:44:44 GMT
Connection: close
Cache-Control: private, max-age=0
Content-Type: text/xml; charset=utf-8
Content-Length: 2083
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><ws_general_srvResponse xmlns="http://tempuri.org/"><ws_general_srvResult>2</ws_general_srvResult><mydataset><xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"><xs:element name="NewDataSet" msdata:IsDataSet="true"><xs:complexType><xs:choice maxOccurs="unbounded"><xs:element name="ParentTable"><xs:complexType><xs:sequence><xs:element name="_x0031_" type="xs:string" minOccurs="0" /><xs:element name="_x0032_" type="xs:string" minOccurs="0" /><xs:element name="_x0033_" type="xs:string" minOccurs="0" /><xs:element name="_x0034_" type="xs:string" minOccurs="0" /><xs:element name="_x0035_" type="xs:string" minOccurs="0" /><xs:element name="_x0036_" type="xs:string" minOccurs="0" /><xs:element name="_x0037_" type="xs:string" minOccurs="0" /><xs:element name="_x0038_" type="xs:string" minOccurs="0" /></xs:sequence></xs:complexType></xs:element></xs:choice></xs:complexType></xs:element></xs:schema><diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1"><NewDataSet xmlns=""><ParentTable diffgr:id="ParentTable1" msdata:rowOrder="0" diffgr:hasChanges="inserted"><_x0031_ /><_x0032_ /><_x0033_>629</_x0033_><_x0034_>1530</_x0034_><_x0035_>0</_x0035_><_x0036_>055-????-?? ???-?</_x0036_><_x0037_ /><_x0038_>END</_x0038_></ParentTable><ParentTable diffgr:id="ParentTable2" msdata:rowOrder="1" diffgr:hasChanges="inserted"><_x0031_>STOP</_x0031_><_x0032_>STOP</_x0032_><_x0033_>STOP</_x0033_><_x0034_>STOP</_x0034_><_x0035_>STOP</_x0035_><_x0036_>STOP</_x0036_><_x0037_>STOP</_x0037_><_x0038_>END</_x0038_></ParentTable><ParentTable diffgr:id="ParentTable3" msdata:rowOrder="2" diffgr:hasChanges="inserted" /></NewDataSet></diffgr:diffgram></mydataset></ws_general_srvResponse></soap:Body></soap:Envelope>
we are able to get the result from the <ws_general_srvResult> element but not from <_x0034_> element

This worked http://dev-pfizerspd:18001/_vti_bin/people.asmx?WSDL 

Similar Messages

  • Error while connecting to HTTPS WebService through Jdev

    I am having issues while trying to connect to a webservice that require SSL. Has anybody seen similar exception below or any suggestion/best practice docs of how to setup the cert?
    WARNING: Unable to connect to URL: https://itsolutions/AppIntegration/org/test/sendRequest.jpd due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    java.rmi.RemoteException: ; nested exception is:
         HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

    Dear All,I am getting this error while connecting to ASDM Please help.Your ASA Image has a version number 8.2.1 which is not supported by ASDM 6.1(3)Show Version.....User Access VerificationPassword:
    Type help or '?' for a list of available commands.
    ASA-PT> en
    Password:ASA-PT# show verCisco Adaptive Security Appliance Software Version 8.2(1)
    Device Manager Version 6.1(3)Compiled on Tue 05-May-09 22:45 by builders
    System image file is "disk0:/asa821-k8.bin"
    Config file at boot was "startup-config"ASA-PT up 12 days 0 hoursHardware:   ASA5520, 512 MB RAM, CPU Pentium 4 Celeron 2000 MHz
    Internal ATA Compact Flash, 256MB
    BIOS Flash M50FW080 @ 0xffe00000, 1024KBEncryption hardware device : Cisco ASA-55x0 on-board accelerator (revision 0x0)
                                 Boot microcode   : CN1000-MC-BOOT-2.00
                                 SSL/IKE microcode: CNLite-MC-SSLm-PLUS-2.03
                                 IPSec microcode  : CNlite-MC-IPSECm-MAIN-2.04
    0: Ext: GigabitEthernet0/0  : address is 0024.14d2.1582, irq 9
    1: Ext: GigabitEthernet0/1  : address is 0024.14d2.1583, irq 9
    2: Ext: GigabitEthernet0/2  : address is 0024.14d2.1584, irq 9
    3: Ext: GigabitEthernet0/3  : address is 0024.14d2.1585, irq 9
    4: Ext: Management0/0       : address is 0024.14d2.1581, irq 11
    5: Int: Internal-Data0/0    : address is 0000.0001.0002, irq 11
    6: Int: Internal-Control0/0 : address is 0000.0001.0001, irq 5
    <--- More --->ThanksTabrez
    Hi Tabrez,
    ASA5520 version 8.2.1 is supported with  ASDM 6.2(1 and above). Recommended: 6.2(3).check out the below link hope that c;ear out your query !!
    http://www.cisco.com/en/US/docs/security/asa/compatibility/asamatrx.html
    If helpful do rate the post
    Ganesh.H

  • Com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException

    Hello Team,
    We have a scenario where we have a PI web service and we are importing the WSDL into our WD Java application.
    While running the test scenario we are getting the below 2 exceptions in the stack trace.
    20111222:Exception trace: com.sap.tc.webdynpro.model.webservice.api.WDWSModelExecuteException: Exception on execution of web service on destination 'WS_CUST_**' for operation 'GetCustomer*' in interface 'GetCustomer**'
    Caused by: java.rmi.RemoteException: Cannot created typed model object. Factory for typed model class '$002fWsdlDefinitions$002fWsdlTypes$002fXsdSchema$005b1$005d$002fXsdComplexType$005b1$005d$002fXsdSequence$002fXsdElement$005b1$005d$002fXsdComplexType' has not been registered.; nested exception is:
    com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Cannot created typed model object. Factory for typed model class '$002fWsdlDefinitions$002fWsdlTypes$002fXsdSchema$005b1$005d$002fXsdComplexType$005b1$005d$002fXsdSequence$002fXsdElement$005b1$005d$002fXsdComplexType' has not been registered.
    Caused by: com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Cannot created typed model object. Factory for typed model class '$002fWsdlDefinitions$002fWsdlTypes$002fXsdSchema$005b1$005d$002fXsdComplexType$005b1$005d$002fXsdSequence$002fXsdElement$005b1$005d$002fXsdComplexType' has not been registered.
    By running through few posts on SDN a probable solution for this was proposed as: blank the "designtimeWsdlUrl" properties of the model in NWDS and re-deploy the application
    Any help on this would be great.
    Regards,
    Shailesh

    Dear Shailesh,
    Did you try to check the blank the "designtimeWsdlUrl" properties of the model in NWDS and re-deploy the application? please try to check and test.
    Also try to import fresh in new DC and check whether it is working or not.
    Best Regards
    Arun Jaiswal

  • Java.lang.NoSuchMethodError: com.sap.tc.webdynpro.model.webservice.gci.WSTy

    Hello,
      I have SAP EH1 for SAP NWCE 7.1 and NWDS with the recent upgrade pack of WD. When I run my WD application the following exception ocurr,
      java.lang.NoSuchMethodError: com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.(Ljava/lang/String;Ljava/lang/String;Ljavax/xml/namespace/QName;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Lcom/sap/tc/webdynpro/model/webservice/gci/IWSTypedModelInfo;Ljava/util/Map;Ljava/util/Map;)V
    at pe.com.minsur.wd_test_esr.wdtestesr_model.Wdtestesr_Model.<init>(Wdtestesr_Model.java:240)
        at pe.com.minsur.wd_test_esr.wdtestesr_app.comp.Wdtestesr_Comp.wdDoInit(Wdtestesr_Comp.java:111)
        at pe.com.minsur.wd_test_esr.wdtestesr_app.comp.wdp.InternalWdtestesr_Comp.wdDoInit(InternalWdtestesr_Comp.java:445)
        at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:160)
        at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:227)
    My DoInit Method only have this code,
    public void wdDoInit()
        Wdtestesr_Model model = new Wdtestesr_Model();
    Any ideas?
    Regards
    MG

    The problem is that the logical destinations are not well configured.

  • Code to connect to RFCs/ webservices

    Hi All,
    Can anyone provide me the complete source code of  a simple Widget ( .kon & .js javascript file ). Actually I am trying to develope a simple widget which can integrate with SAP. Hence Javascript code of connecting to RFCs/ Webservices would be usefull. Your response would be very helpfull.
    Thanks & Regards,
    Santhosh

    Hi,
    Did you check
    RFC connection to SAP with Yahoo Widgets
    /people/nathan.jones3/blog/2006/10/26/rfc-connections-to-sap-with-yahoo-widgets
    Eddy
    Pimp up the S(D)N site and earn points. Check this web log for details

  • Connect webdynpro callable object with ms sql server 2000

    Hi all
    how connect webdynpro callable object with ms sql server 2000?
    How can I register on the portal as an additional connection?
    thank you very much!

    Thanks for your answers, Now I have the following problem, to develop this code:
    try {
              InitialContext iC = new InitialContext();
              DataSource dataSource = (DataSource)iC.lookup("jdbc/ConnectionAlias");
              Connection con = dataSource.getConnection();
              java.sql.Statement stmt = con.createStatement();
              ResultSet rs = stmt.executeQuery("select * from ejemplo");
              while (rs.next()){
                   com.sap.test.sql.testsql.wdp.IPrivateTestIViewView.IDatosElement
                                                             DatosElement =
                                                             wdContext.nodeDatos()
                                                             .createDatosElement();
                   DatosElement.setId(rs.getString("id"));
                   DatosElement.setNom(rs.getString("nom"));
                   DatosElement.setNum(rs.getInt("num"));
         }catch (SQLException e) {
              wdContext.currentContextElement().setB(e.getMessage());
         }catch (Exception e){
              wdContext.currentContextElement().setB(e.getMessage());
    and shows me the following exception
    ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException thrown by the physical connection: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
    the data that you place in the visual administrator were:
    Drivers: com.sap.aii.af.jmsproviderlib (msutil.jar , mssqlserver.jar , msbase.jar)
    DataSources: sap.com/JDBCConnector_MyDatasource.xml
                   Name: MyDatasource
                   Alias: ConnectionAlias
                   DriverName: com.sap.aii.af.jmsproviderlib
                   JDBC Version: 1.x
                   Driver Class: com.microsoft.jdbc.sqlserver.SQLServerDriver
                   Database URL: jdbc:microsoft:sqlserver://181.42.101.219:1433;DatabaseName=test
                   User: sa
                   Password: abcd1234
    did not know the cause of the problem
    thanks!

  • How to connect webdynpro application to database (Sql server)

    Hi Experts,
    Can someone suggest me how to connect webdynpro application to SQL Server. (Possibly in detail)
    Thanks Regards,
    Sandeep

    hi sandeep,
    here is a sample code which connects to a backend database Oracle; Connection is same for all DBs as you are using open sql commands.
    <b>   try {
         String eposta = wdContext.currentContextElement().getEposta();
         String tel = wdContext.currentContextElement().getTelefon();
         String company = wdContext.currentContextElement().getCompany();
         String message = " ";
         String onerikonusu = " ";
         String oneri_mdurum = " ";
         String oneri_odurum = " ";
         String oneri_bfaydalar = " ";
         String oncelik1 = " ";
         String uygulama = " ";
         String tarih = (new SimpleDateFormat("dd-MM-yyyy").format(new java.util.Date()));
         String saat = (new SimpleDateFormat("HH:mm:ss").format(new java.util.Date()));
         //java.sql.Date tarih = java.sql.Date.valueOf(creationDate);
         //java.sql.Time saat = java.sql.Time.valueOf(creationTime);
         if (wdContext.currentContextElement().getMesaj() != "")
            { message = wdContext.currentContextElement().getMesaj(); }
         if (wdContext.currentContextElement().getOneri_konusu() != "")
              { onerikonusu = wdContext.currentContextElement().getOneri_konusu(); }
         if (wdContext.currentContextElement().getOneri_mdurum() != "")
              { oneri_mdurum = wdContext.currentContextElement().getOneri_mdurum(); }
         if (wdContext.currentContextElement().getOneri_konusu() != "")
              { oneri_odurum = wdContext.currentContextElement().getOneri_odurum(); }
         if (wdContext.currentContextElement().getBekfaydalar() != "")
              { oneri_bfaydalar = wdContext.currentContextElement().getBekfaydalar(); }
         if (wdContext.currentContextElement().getOncelik() != "NULL")
              { oncelik1 = onceliktxt.toUpperCase(); }     
         if (wdContext.currentContextElement().getUygulama() != "NULL")
              { uygulama = app.toUpperCase(); }
       InitialContext ctx = new InitialContext();
       javax.sql.DataSource ds =
       (javax.sql.DataSource) ctx.lookup("jdbc/SAPEPPDB");
       java.sql.Connection con = ds.getConnection();
       con.setAutoCommit(false);
       java.sql.Statement stmt = con.createStatement();
         String sql;
          int rows;
          sql = "insert into tmp_feedbacks " +
               "(puid, name, tel, email, company, konu, oncelik, uygulama, mesaj, onerikonusu," +
               "oneri_mdurum, oneri_odurum, oneri_bfaydalar,tarih,saat) " +
               "values ('" + username + "', " +
                         "'" + name + "'," +
                         "'" + tel + "'," +
                         "'" + eposta + "'," +
                         "'" + company + "'," +
                         "'" + konutxt.toUpperCase() + "'," +
                         "'" + oncelik1 + "'," +
                         "'" + uygulama + "'," +
                        "'" + message + "'," +
                        "'" + onerikonusu + "', " +
                        "'" + oneri_mdurum + "', " +
                        "'" + oneri_odurum + "', " +
                        "'" + oneri_bfaydalar + "', " +
                        "'" + tarih + "', " +
                        "'" + saat + "' " +
         stmt = con.createStatement();
         rows = stmt.executeUpdate(sql);
         con.commit();
         stmt.close();
       catch(Exception e){
            IWDMessageManager msgMgr =
                    wdComponentAPI.getMessageManager();
       msgMgr.reportException(e.getMessage(),true);
       }</b>
    The value <b>ctx.lookup("<jdbc_pool>");</b> depends on your system id.
    if your system id is SID the the string has to be <b>jdbc/SAPSIDDB</b>
    you can check it via visual admin >> server >> services >> jdbc con.

  • 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.

  • Steps to connect to HTTPS webservice

    Hi,
    I would like to know the steps to connect to HTTPS webservice URL.
    Please note the server is hosted within the network. So i would think that i do not require to use Adapter datastore and would need to use Webservice datastore.
    I have the certificate available with me as well.
    I am using DS 12.2.2.1
    Thanks

    You should check note ... 1423991 - How to use SSL with Data Services admin Console -
    Resolution
    Use the 'keytool.exe' tool within the 'javasdk\bin' folder to generate a JKS certificate
    Run the following command:
    keytool.exe -genkey -alias your_alias -keyalg RSA -validity 365 -keystore
    "D:\Business Objects\Tomcat55\conf\your_alias.JKS"
    The tool will ask for more details regarding the certificate and then ask to provide a password
              For test purpose use the jks file attached ''LHRSDSWEBPP.jks''
        3.   Drop this file LHRSDSWEBPP.jks on the ''C'' drive
        4.   Go to %LINK_DIR%\Tomcat55\conf
        5.   Edit server.xml
        6.   Replace the existing paragraph below <!-- Define a SSL HTTP/1.1 Connector on port 8443 > with the following one, making sure any comment tags like "<! -->" around this section are removed:
                   <Connector port="28443" redirectPort="28080" maxHttpHeaderSize="8192"
                   maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
                   enableLookups="false" disableUploadTimeout="true"
                   acceptCount="100" scheme="https" secure="true" SSLEnabled="true"
                   clientAuth="false" sslProtocol="TLS"
                   keystoreFile="C:\LHRSDSWEBPP.jks" keystorePass="accounT27" keyAlias="LHRSDSWEBPP"/>
        7.   Go to OS Services
        8.   Shutdown  and Restart Apache Tomcat 5.5.20
        9.   Connect with HTTPS://machine_name:28443/DataServices/launch/logon.do
        10.   For further information regarding the JKS file , go to http://mindprod.com/jgloss/keytoolexe.html

  • SOAP / WSDL LabView 2010 can't connect to local webservice of network printer

    Hi,
    we are using a Labelprinter from cab (www.cab.de) that supports a webservice.
    IP: http://192.168.1.66/services.wsdl
    When i use this link in FireFox i will get a XML file (see attachment). The company "cab"
    has an example using NetBeans to write a deskop application using Java. I tried that and
    i was able to connect to the webservice.
    When i do that with LabView 2009 or 2010 i get an error message:
    1. URL doesn't exist or WSDL is wrong
    2. authentification failed
    3. proxy settings wrong
    to 1)
    i'm shure the link is ok, i can't connect to it with Netbeans (i used copy & paste to be sure)
    to 2)
    In Netbeans it is not possible to enter a user and PW. But anyway i have use the standard
    soap user the was given by the company.
    to 3)
    don't use it
    The last point is, that there is an error in LabView 2009 and 2010, e.g. error parsing the XML file?
    Can someone help me?
    Attachments:
    services.zip ‏2 KB

    HI I have the same problem with my CAB printer...
    I try the Solution from the link
     https://decibel.ni.com/content/docs/DOC-22722
    With the soapUI it works well, I can make requests to the printer an become an answer...
    But in Labview  it doesn't work. The TCP read vi brings the error 66 an I have no idea! Have someone a solution or an idea?
    Best Regards samsi
    Attachments:
    SOAP_CAB_Drucker.zip ‏32 KB

  • Connection WebDynpro with BPS

    Hello,
    we have install Webdynpro for Abap. We would like to receive the BPS data into the WebDynpro to design a layout. Our problem is, we don't know, how we can connect Webdynpro with BPS. We hope, that somebody can help us. HELP!
    Thank you.
    Arslan

    Hi,
    you can use for example this technic:
    <a href="/people/koen.labie2/blog/2006/11/29/eating-cookies-with-webdynpro-and-bsp:///people/koen.labie2/blog/2006/11/29/eating-cookies-with-webdynpro-and-bsp
    grtz
    Koen

  • Connect a simple WebService fails

    Hello Experts,
    System:
    ECC6.0 with
    -SAP_ABA 700 SP 16
    -SAP_BASIS 700 SP 16
    I created a very simple functionmodule with one import parameter and 3 export parameters. The import parameter doesn't have any further function and the export par. are set with constant values.
    FUNCTION zmm_ws_materialklass_mermale .
    *"  IMPORTING
    *"     VALUE(FANUMMER) TYPE  BAPI_ORDER_KEY-ORDER_NUMBER
    *"  EXPORTING
    *"     VALUE(ZEICHNDATENBLNR) TYPE  DZEINR
    *"     VALUE(ZEICHNIDX) TYPE  DZEIVR
    *"     VALUE(DATENBLIDX) TYPE  AESZN
        zeichndatenblnr = '613582'.
        zeichnidx       = '00'.
        datenblidx      = '01'.
    ENDFUNCTION.
    Then I created the Webservice via transaction SOAMANAGER, exactly like it is demonstrated [here|http://enterprisegeeks.com/blog/2009/02/18/abap-freak-show-february-18-2009/].
    The WSDL open up correctly:
    <wsdl:definitions targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:n1="urn:sap-com:document:sap:rfc:functions">
       <wsdl:documentation>
          <sidl:sidl xmlns:sidl="http://www.sap.com/2007/03/sidl"/>
       </wsdl:documentation>
       <wsp:UsingPolicy wsdl:required="true"/>
       <wsp:Policy wsu:Id="BN_ZWS_MAT_CLASS_CHARACT">
          <wsp:ExactlyOne xmlns:sapsp="http://www.sap.com/webas/630/soap/features/security/policy" xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility">
             <wsp:All>
                <sp:TransportBinding>
                   <wsp:Policy>
                      <sp:TransportToken>
                         <wsp:Policy>
                            <sp:HttpsToken/>
                         </wsp:Policy>
                      </sp:TransportToken>
                      <sp:AlgorithmSuite>
                         <wsp:Policy>
                            <sp:TripleDesRsa15/>
                         </wsp:Policy>
                      </sp:AlgorithmSuite>
                      <sp:Layout>
                         <wsp:Policy>
                            <sp:Strict/>
                         </wsp:Policy>
                      </sp:Layout>
                   </wsp:Policy>
                </sp:TransportBinding>
             </wsp:All>
          </wsp:ExactlyOne>
          <saptrnbnd:OptimizedXMLTransfer uri="http://xml.sap.com/2006/11/esi/esp/binxml" wsp:Optional="true" xmlns:saptrnbnd="http://www.sap.com/webas/710/soap/features/transportbinding/"/>
       </wsp:Policy>
       <wsp:Policy wsu:Id="IF_ZWS_MAT_CLASS_CHARACT">
          <sapsession:Session xmlns:sapsession="http://www.sap.com/webas/630/soap/features/session/">
             <sapsession:enableSession>false</sapsession:enableSession>
          </sapsession:Session>
          <wsp:ExactlyOne xmlns:sapsp="http://www.sap.com/webas/630/soap/features/security/policy" xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility"/>
       </wsp:Policy>
       <wsp:Policy wsu:Id="OP_ZmmWsMaterialklassMermale">
          <sapcomhnd:enableCommit xmlns:sapcomhnd="http://www.sap.com/NW05/soap/features/commit/">false</sapcomhnd:enableCommit>
          <sapblock:enableBlocking xmlns:sapblock="http://www.sap.com/NW05/soap/features/blocking/">true</sapblock:enableBlocking>
          <saptrhnw05:required xmlns:saptrhnw05="http://www.sap.com/NW05/soap/features/transaction/">no</saptrhnw05:required>
          <saprmnw05:enableWSRM xmlns:saprmnw05="http://www.sap.com/NW05/soap/features/wsrm/">false</saprmnw05:enableWSRM>
       </wsp:Policy>
       <wsdl:types>
          <xsd:schema attributeFormDefault="qualified" targetNamespace="urn:sap-com:document:sap:rfc:functions">
             <xsd:simpleType name="char12">
                <xsd:restriction base="xsd:string">
                   <xsd:maxLength value="12"/>
                </xsd:restriction>
             </xsd:simpleType>
             <xsd:simpleType name="char2">
                <xsd:restriction base="xsd:string">
                   <xsd:maxLength value="2"/>
                </xsd:restriction>
             </xsd:simpleType>
             <xsd:simpleType name="char22">
                <xsd:restriction base="xsd:string">
                   <xsd:maxLength value="22"/>
                </xsd:restriction>
             </xsd:simpleType>
             <xsd:simpleType name="char6">
                <xsd:restriction base="xsd:string">
                   <xsd:maxLength value="6"/>
                </xsd:restriction>
             </xsd:simpleType>
          </xsd:schema>
          <xsd:schema attributeFormDefault="qualified" targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:n0="urn:sap-com:document:sap:rfc:functions">
             <xsd:import namespace="urn:sap-com:document:sap:rfc:functions"/>
             <xsd:element name="ZmmWsMaterialklassMermale">
                <xsd:complexType>
                   <xsd:sequence>
                      <xsd:element name="Fanummer" type="n0:char12"/>
                   </xsd:sequence>
                </xsd:complexType>
             </xsd:element>
             <xsd:element name="ZmmWsMaterialklassMermaleResponse">
                <xsd:complexType>
                   <xsd:sequence>
                      <xsd:element name="Datenblidx" type="n0:char6"/>
                      <xsd:element name="Zeichndatenblnr" type="n0:char22"/>
                      <xsd:element name="Zeichnidx" type="n0:char2"/>
                   </xsd:sequence>
                </xsd:complexType>
             </xsd:element>
          </xsd:schema>
       </wsdl:types>
       <wsdl:message name="ZmmWsMaterialklassMermale">
          <wsdl:part name="parameters" element="tns:ZmmWsMaterialklassMermale"/>
       </wsdl:message>
       <wsdl:message name="ZmmWsMaterialklassMermaleResponse">
          <wsdl:part name="parameter" element="tns:ZmmWsMaterialklassMermaleResponse"/>
       </wsdl:message>
       <wsdl:portType name="ZWS_MAT_CLASS_CHARACT">
          <wsp:Policy>
             <wsp:PolicyReference URI="#IF_ZWS_MAT_CLASS_CHARACT"/>
          </wsp:Policy>
          <wsdl:operation name="ZmmWsMaterialklassMermale">
             <wsp:Policy>
                <wsp:PolicyReference URI="#OP_ZmmWsMaterialklassMermale"/>
             </wsp:Policy>
             <wsdl:input message="tns:ZmmWsMaterialklassMermale"/>
             <wsdl:output message="tns:ZmmWsMaterialklassMermaleResponse"/>
          </wsdl:operation>
       </wsdl:portType>
       <wsdl:binding name="ZWS_MAT_CLASS_CHARACT" type="tns:ZWS_MAT_CLASS_CHARACT">
          <wsp:Policy>
             <wsp:PolicyReference URI="#BN_ZWS_MAT_CLASS_CHARACT"/>
          </wsp:Policy>
          <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
          <wsdl:operation name="ZmmWsMaterialklassMermale">
             <soap:operation soapAction="" style="document"/>
             <wsdl:input>
                <soap:body use="literal"/>
             </wsdl:input>
             <wsdl:output>
                <soap:body use="literal"/>
             </wsdl:output>
          </wsdl:operation>
       </wsdl:binding>
       <wsdl:service name="service">
          <wsdl:port name="ZWS_MAT_CLASS_CHARACT" binding="tns:ZWS_MAT_CLASS_CHARACT">
             <soap:address location="http://myserver:8080/sap/bc/srt/rfc/sap/zws_mat_class_charact/100/zws_mat_class_charact/zws_mat_class_charact"/>
          </wsdl:port>
       </wsdl:service>
    </wsdl:definitions>
    So I could think it should works well. But when I would test it with [soapUI|http://www.soapui.org] the WSDL is parsed well:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
       <soapenv:Header/>
       <soapenv:Body>
          <urn:ZmmWsMaterialklassMermale>
             <Fanummer>?</Fanummer>
          </urn:ZmmWsMaterialklassMermale>
       </soapenv:Body>
    </soapenv:Envelope>
    but finally by submit this request to the endpoint it gives me errors back:
    400 Bad HTTP request
    Error: -21
    Version: 7000
    Component: HTTP_PLG
    Date/Time: Thu Feb 26 13:25:20 2009
    Module: http_plg_mt.c
    Line:4893
    Server: hg21288_ETT_00
    Error Tag: {0002b381
    Detail: illegal request version
    Even simple test cases with soapui like this [example|http://www.soapui.org/userguide/functional/getting_started.html] didn't work. But the user login works for this Webservice...
    SchemaComplianceAssertion
    line -1: error: Unexpected character encountered: 'w'
    line 6: Unexpected character encountered: 'w'
    SoapFaultAssertion
    Response is not a SOAP Fault
    What does it mean?
    When I enter the location address which is showed up in the WSDL document directly in the browser it gives me the following response:
    <soap-env:Envelope>
         <soap-env:Header/>
         <soap-env:Body>
              <soap-env:Fault>
                   <faultcode>soap-env:Server</faultcode>
                   <faultstring xml:lang="en">
                   SRT: Wrong Content-Type and empty HTTP-Body received
                   </faultstring>
                   <detail>
                     <ns:SystemFault>
                     <Host>undefined</Host>
                     <Component>COREMSG</Component>
                     <ChainedException>
                       <Exception_Name>CX_SOAP_CORE</Exception_Name>
                       <Exception_Text>
                       SRT: Wrong Content-Type and empty HTTP-Body received
                       </Exception_Text>
                     </ChainedException>
                     </ns:SystemFault>
                   </detail>
              </soap-env:Fault>
         </soap-env:Body>
    </soap-env:Envelope>
    The user who connects to the webservice has SAP_ALL profile and all the SAP_BC_WEBSERVICE* roles.
    So maybe I have to test one step before, without the soapui tool, but what does the [documentation|http://help.sap.com/saphelp_nw70/helpdata/en/47/39b5df39591a53e10000000a1553f7/frameset.htm] for SOAMANAGER mean with point 7? Where do I have to specify the parameters?
    regards,
    Steffen

    I reread all the help documents by SAP but with no success.
    https://service.sap.com/sap/support/notes/1043195
    https://service.sap.com/sap/support/notes/1135610
    https://service.sap.com/sap/support/notes/1163844
    Also the asych. Webservices with report SRT_ADMIN is configured correctly (SRT_ADMIN_CHECK looks fine now), but still no success.
    http://help.sap.com/saphelp_nw70/helpdata/en/46/4420e292b75e3fe10000000a11466f/frameset.htm
    I also tried an standard BAPI function module, and produced a web service out of it. But with the same 400 error in soapUI tool.
    What could I check next?
    EDIT: this workaround works for me, but it's not the way I want to go...
    /people/graham.robinson/blog/2008/10/09/another-way-to-leverage-abap-web-services
    thanks
    Steffen
    Edited by: Steffen Fröhlich on Mar 4, 2009 5:00 PM

  • Error in WebDynpro with WebServices

    Hi all,
    I’m getting some errors using applications deployed in WEB AS SP9 that runs as a WebDynpro IView in EP.
    Running the application as standalone (out of EP) this works fine.
    NetWeaver Developer Studio 2.0.9
    WebDynpro application using WebServices that access Oracle 8i database in the follow sequence:
    WebServices -> Session Bean stateless -> Entity Bean CMP (manage connections; generate sql code, etc.)
    In WebDynpro application we import WebService Model by the follow sequence:
    New Model - Import Web Service Model - Local Server for WSDL Source - <WebService deployed>
    In each WebServices we have created these methods:
    findByID(ID);
    getAll();
    insert(parameters);
    remove(ID);
    update(parameters);
    We guess that the error is generated in Entity Bean because all WebServices generate these errors.
    <b>Error 1 - Application with WebServices Model</b>
    Error stacktrace:
    com.sap.tc.webdynpro.repository.RepositoryRuntimeException: Repository Object br.com.xxx.fluxo.Fluxo/ComponentInterface:FluxoInterface/InterfaceViews:CadastroSituacaoFluxoInterfaceView/InboundPlugs:Default associated via relation RepositoryObjectRelation(br.com.xxx.fluxo.application.CadastroSituacaoFluxoApp, StartupPlug) does not exist.
         at com.sap.tc.webdynpro.repository.RelationToOne.resolveTargets(RelationToOne.java:124)
         at com.sap.tc.webdynpro.repository.RelationToOne.mergeTargets(RelationToOne.java:108)
         at com.sap.tc.webdynpro.repository.RelationToOne.mergeTargets(RelationToOne.java:72)
         at com.sap.tc.webdynpro.repository.RelationToOne.getTarget(RelationToOne.java:174)
         at com.sap.tc.webdynpro.repository.RepositoryObject.getRelatedModelObject(RepositoryObject.java:349)
         at com.sap.tc.webdynpro.progmodel.repository.IWDApplicationInfo$Implementation.getStartupPlugInternal(IWDApplicationInfo.java:319)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:355)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:593)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    -- end --
    <b>Error 2 - Application with WebServices Model</b>
    An error has occurred:
    "Failed to process the request."
    Please contact your system administrator.
    Hide details
    Web Dynpro client:
    HTML Client
    Web Dynpro client capabilities:
    User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322), version: null, DOM version: null, client type: msie6, client type profile: ie6, ActiveX: enabled, Cookies: enabled, Frames: enabled, Java applets: enabled, JavaScript: enabled, Tables: enabled, VB Script: enabled
    Web Dynpro runtime:
    Vendor: SAP, Build ID: 6.4009.00.0000.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-19:21:48:59[UTC], changelist=290362, host=PWDFM026)
    Web Dynpro code generators of DC local/Apontamentos:
    SapDictionaryGenerationCore: 6.4009.00.0000.20040910101802.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:31:53[UTC], changelist=280522, host=PWDFM026.wdf.sap.corp)
    SapMetamodelWebDynpro: 6.4009.00.0000.20040910102423.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:36:19[UTC], changelist=280539, host=PWDFM026.wdf.sap.corp)
    SapMetamodelCore: 6.4009.00.0000.20040730142052.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:26:00[UTC], changelist=269100, host=PWDFM026.wdf.sap.corp)
    SapWebDynproGenerationTemplates: 6.4009.00.0000.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:54:34[UTC], changelist=290362, host=PWDFM026)
    SapWebDynproGenerationCTemplates: 6.4009.00.0000.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:54:34[UTC], changelist=290362, host=PWDFM026)
    SapGenerationFrameworkCore: 6.4009.00.0000.20040910102127.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:25:03[UTC], changelist=280527, host=PWDFM026.wdf.sap.corp)
    SapIdeWebDynproCheckLayer: 6.4009.00.0000.20040910102318.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:41:01[UTC], changelist=280536, host=PWDFM026.wdf.sap.corp)
    SapMetamodelDictionary: 6.4009.00.0000.20040609163924.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:29:01[UTC], changelist=253570, host=PWDFM026.wdf.sap.corp)
    SapMetamodelCommon: 6.4009.00.0000.20040730142052.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:26:11[UTC], changelist=269100, host=PWDFM026.wdf.sap.corp)
    SapWebDynproGenerationCore: 6.4009.00.0000.20040910102318.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:41:33[UTC], changelist=280536, host=PWDFM026.wdf.sap.corp)
    SapDictionaryGenerationTemplates: (unknown)
    Web Dynpro code generators of DC sap.com/tcwddispwda:
    No information available
    Web Dynpro code generators of DC sap.com/tcwdcorecomp:
    No information available
    J2EE Engine:
    6.40 patchlevel 87037.313
    Java VM:
    Java HotSpot(TM) Server VM, version: 1.4.2_06-b03, vendor: Sun Microsystems Inc.
    Operating system:
    Windows 2000, version: 5.0, architecture: x86
    Error stacktrace:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Did not find repository information for controller NotProductiveEventController
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.createCustomController(DelegatingComponent.java:55)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:428)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:371)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:400)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:138)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:746)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:761)
         at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:540)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:422)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)
         at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:41)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.displayToplevelComponent(ClientComponent.java:134)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:374)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:593)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    <b>Error 3 - Application with RFC Model</b>
    An error has occurred:
    "Failed to process the request."
    Please contact your system administrator.
    Hide details
    Web Dynpro client:
    HTML Client
    Web Dynpro client capabilities:
    User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322), version: null, DOM version: null, client type: msie6, client type profile: ie6, ActiveX: enabled, Cookies: enabled, Frames: enabled, Java applets: enabled, JavaScript: enabled, Tables: enabled, VB Script: enabled
    Web Dynpro runtime:
    Vendor: SAP, Build ID: 6.4009.00.0000.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-19:21:48:59[UTC], changelist=290362, host=PWDFM026)
    Web Dynpro code generators of DC local/Apontamentos:
    SapDictionaryGenerationCore: 6.4009.00.0000.20040910101802.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:31:53[UTC], changelist=280522, host=PWDFM026.wdf.sap.corp)
    SapMetamodelWebDynpro: 6.4009.00.0000.20040910102423.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:36:19[UTC], changelist=280539, host=PWDFM026.wdf.sap.corp)
    SapMetamodelCore: 6.4009.00.0000.20040730142052.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:26:00[UTC], changelist=269100, host=PWDFM026.wdf.sap.corp)
    SapWebDynproGenerationTemplates: 6.4009.00.0000.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:54:34[UTC], changelist=290362, host=PWDFM026)
    SapWebDynproGenerationCTemplates: 6.4009.00.0000.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:54:34[UTC], changelist=290362, host=PWDFM026)
    SapGenerationFrameworkCore: 6.4009.00.0000.20040910102127.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:25:03[UTC], changelist=280527, host=PWDFM026.wdf.sap.corp)
    SapIdeWebDynproCheckLayer: 6.4009.00.0000.20040910102318.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:41:01[UTC], changelist=280536, host=PWDFM026.wdf.sap.corp)
    SapMetamodelDictionary: 6.4009.00.0000.20040609163924.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:29:01[UTC], changelist=253570, host=PWDFM026.wdf.sap.corp)
    SapMetamodelCommon: 6.4009.00.0000.20040730142052.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:26:11[UTC], changelist=269100, host=PWDFM026.wdf.sap.corp)
    SapWebDynproGenerationCore: 6.4009.00.0000.20040910102318.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:41:33[UTC], changelist=280536, host=PWDFM026.wdf.sap.corp)
    SapDictionaryGenerationTemplates: (unknown)
    Web Dynpro code generators of DC sap.com/tcwddispwda:
    No information available
    Web Dynpro code generators of DC sap.com/tcwdcorecomp:
    No information available
    J2EE Engine:
    6.40 patchlevel 87037.313
    Java VM:
    Java HotSpot(TM) Server VM, version: 1.4.2_06-b03, vendor: Sun Microsystems Inc.
    Operating system:
    Windows 2000, version: 5.0, architecture: x86
    Error stacktrace:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Did not find repository information for controller ZMANPP012Controller
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.createCustomController(DelegatingComponent.java:55)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:428)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:371)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:400)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:138)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:746)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:761)
         at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:540)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:422)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)
         at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:41)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.displayToplevelComponent(ClientComponent.java:134)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:374)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:593)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)

    Hi,
    I feel this error is nothing to do with webservice model.
    Please check your application properties like startupPlug,Interface View etc. Set the properties correctly and deploy once again.
    Regards, VIP

  • Webdynpro ABAP webservice call to external server  - Cookie issue

    Hi,
    We are experiencing cookie issue while calling webservice to Tivoli system hosted on IBM websphere.
    Steps we have done as follows:
    1. Created a ABAP Proxy class from Tivoli WSDL.
    2. Configured T-Code LPCONFIG to point to above proxy class and logical port.
    3. Configured  SM59 RFC connection to point to Tivoli server using basic authentication mechanism (User ID/Password).
    4. Called webservice method from WebDynpro ABAP program.
    After above steps, we are able to call the webservice method successfully but second time we are experiencing Cookie being adding to the request and eventually no response back to our program.
                When we investigated this cookie issue with IBM Websphere people, they says thay have enabled SSO Config instead of basic authentication and that's why a cookie is being added to the request and fails. when they disabled SSO, we are able to call webservic method sucessfully sevaral times. but now this cannot be no longer disabled as other applications are using SSO enable option. So, we are thinking, is there something that can be done in SAP ECC itself as we see the option of using SSO in SM59 instead of User Id/Password but not sure How?
    If anybody has undergone this scenario/SSO config from ECC SM59 successfully, Please reply back.
    Thanks in advance
    Praveen

    Here is the link that explains how SSO can be configured in SAP.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/65/6a563cef658a06e10000000a11405a/frameset.htm
    Once done, under Client PSE in Tcode STRUST, you can upload the certificate obtained from the SSO enabled system and use the client PSE (Default)  in the SSL Client Certificate area of SM59
    I see Thomas has already responded to you and he has written a blog on how to set this up as well.
    KK

  • How to connect the EJB webservices using kxmlrpc in J2ME

    Hi all,
    I am trying to develope a program in J2ME using kxmlrpc. I am having the EJB web serivce as server and its working fine , the webservice coding is as follows and i am using Sun application sever for web services
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.util.ArrayList;
    import javax.ejb.EJBException;
    import javax.ejb.Stateless;
    import javax.jws.WebService;
    import javax.jws.WebMethod;
    import javax.jws.WebParam;
    import javax.sql.*;
    @Stateless()
    @WebService()
    public class test1 {
    /* Sample Web Service Operation */
    @WebMethod(operationName="sample_operation")
    public String operation(@WebParam(name="param_name") String param) {
    // implement the web service operation here
    System.out.println("test the xml rpc");
    param="helloworld";
    return param;
    Any body please help me how to call this web sevices method in J2ME client using kxmlrpc, i tried but it shows execption. And i want to know which url i want ot give inthe XmlRpcclient() and what are all the parameters to be given in xmlrpcclient.execute(). Anybody please help me on this and my kxml coding is as follows:
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.io.*;
    import java.io.*;
    import java.util.*;
    import org.kxmlrpc.*;
    public class kxmlrpc_demo extends MIDlet implements CommandListener {
    private List list;
    private Command exitCommand;
    private String[] menuItems;
    private Display display;
    private Alert response;
    private XmlRpcClient xmlrpc;
    private Vector params, xmlArray;
    public kxmlrpc_demo() {
    //Initialize the User Interface
    menuItems = new String[] {"Timestamp", "Randomizer", "AddressBook"};
    list = new List( "Select a service", List.IMPLICIT, menuItems, null );
    exitCommand = new Command( "Exit", Command.EXIT, 1 );
    response = new Alert("Service Return", null, null, AlertType.INFO);
    response.setTimeout( Alert.FOREVER );
    //Add commands
    list.addCommand( exitCommand );
    list.setCommandListener( this );
    //obtain a reference to the device's UI
    display = Display.getDisplay( this );
    }//end MyMidlet()
    public void startApp() {
    display.setCurrent( list );
    }//end startApp()
    public void pauseApp() {
    }//end pauseApp()
    public void destroyApp( boolean unconditional ) {
    //clean up
    list = null;
    exitCommand = null;
    display = null;
    }//end destroyApp
    public void commandAction( Command com, Displayable dis ) {
    if ( dis == list && com == List.SELECT_COMMAND ) {
    switch( list.getSelectedIndex() )
    case 0:
    try
    xmlrpc = new XmlRpcClient( "http://localhost:4116/test1Service/test1?Tester" );
    params = new Vector();
    String serverTime = (String) xmlrpc.execute( "sysTime.getSystemTime", params );
    response.setString( serverTime.toString() );
    display.setCurrent( response );
    catch ( Exception ex )
    response.setString( ex.toString() );
    ex.printStackTrace(); // DEBUG
    display.setCurrent( response );
    }//end try/catch
    break;
    case 1:
    try
    xmlrpc = new XmlRpcClient( "http://localhost:4116/test1Service/test1?Tester" );
    System.out.println("url"+xmlrpc.getURL());
    params = new Vector();
    xmlArray = new Vector();
    xmlArray.addElement( "param_name" );
    // xmlArray.addElement( "5" );
    // xmlArray.addElement( "12" );
    params.addElement( xmlArray );
    String serverTime = (String) xmlrpc.execute( "sample-operation", params);
    System.out.println("servertime: "+serverTime);
    response.setString( serverTime.toString() );
    display.setCurrent( response );
    catch ( Exception ex )
    response.setString( ex.toString() );
    ex.printStackTrace(); // DEBUG
    display.setCurrent( response );
    }//end try/catch
    break;
    case 2:
    response.setString( "Not implemented yet." );
    display.setCurrent( response );
    break;
    }//end switch( list.getSelectedIndex() )
    else if ( com == exitCommand ) {
    destroyApp( true );
    notifyDestroyed();
    }//end if ( dis == list && com == List.SELECT_COMMAND )
    }//end CommandAction( Command, Displayable )
    }//end MyMidlet
    Thanks in advance.
    regards
    Senthil K

    Any body please help me on this. I am really struggling on this

Maybe you are looking for

  • Portability between Designer 9i r2 and Designer 10g r2, and deployment?

    I have some questions to ask... I have been given the job of adding Oracle to the reportoire of databases available to be used for a commercial Delphi application. The idea is to create a database in 10g that this application can talk to. I wish to d

  • Is it possible to store a multiple indexes for the same value extractor?

    I ran into a situation where there were different queries that I was interested in doing that might have benefitted from having several indexes, sorted differently, but for the same ValueExtractor() instance. Is this good practice, is it recommended,

  • XI IDoc Acknowledgement - Acknowledgement not possible status

    Hi Experts, My scenario: SAP IDOC - XI - jdbc (oracle) Problem: Getting the infamous "Acknowledgement not possible" status in SXI_MONI. I only need the transport acknowledgements back to SAP not the application acknowledgements. The messages themselv

  • Error Handling in Jdeveloper?

    I set a servlet as the ErrorHandler for the Application by modifying the web.xml file with th following code: <error-page> <error_code>404</error_code> <location>/Srv_ErrorHandler</location> </error-page> and it worked. then I deleted all the code an

  • Small data mart tools question

    sorry that I'm rather new to data olap! we have a small operational system that creates approximately 120K records a year in a single table with a couple of two level lookup tables. the time component is stored with the measure which is already aggre