Web Dynpro Domino Web Service Consumer Problem

Dear All,
We are trying to consume a Web Service on Domino.
The web service is working Fine on webdynpro web service checker (EP perspective, Web Service Checker), but when tested with check and deploy, the Webservice return an error:
"Service call exception; nested exception is: com.sap.engine.lib.xml.parser.ParserException: The empty string is not acceptable for a value of an xmlns:* attribute.(:main:, row:1, col:0)"
It is a simple web service getting a string in input and returning a simple string (xsd string in both cases),
here are the soap messages used:
Input
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tns="http://bespordom.lhoist.net/webserviceagent.nsf/directorywsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/">
  <SOAP-ENV:Body>
    <tnsMethod:getperson xmlns:tnsMethod="uri:Domino">
      <FullName xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">Davis</FullName>
    </tnsMethod:getperson>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
response
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <SOAP-ENV:Body>
    <m:getpersonResponse xmlns:m="Domino" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <Answer xsi:type="xsd:string">Jim [email protected] Falls1313 Mocking Bird laneNY127842241~</Answer>
    </m:getpersonResponse>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
this information came from the Webdynpro web service checker (or EP web service checker in Netweaver developer studio).
Any Idea will be welcome.
Message was edited by: Rui Felipe Rebelo Prego
Message was edited by: Rui Felipe Rebelo Prego

Hello victor I checked,
Unfortunately It is only one input parameter and one output parameter.
Example:
Dividing a number By 2
Example I send the number 10 and the result (xml/string) would be 5.
Input Number as string
Output Result as string
message function divide
WSDL
<?xml version="1.0" encoding="UTF-8"?>
<definitions
     xmlns="http://schemas.xmlsoap.org/wsdl/"
     name="divide"
     targetNamespace="http://bespordom.lhoist.net/divide.nsf/wsdl"
     xmlns:tns="http://bespordom.lhoist.net/divide.nsf/wsdl"
     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
     xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<message name="divide">
<part name="Number" type="xsd:string" />
</message>
<message name="divideResponse">
<part name="Result" type="xsd:string" />
</message>
<portType name="DirectoryPortType">
     <operation name="divide">
          <input message="tns:divide" />
          <output message="tns:divideResponse" />
     </operation>
</portType>
<binding name="DirectoryBinding" type="tns:DirectoryPortType">
     <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
     <operation name="divide">
          <soap:operation soapAction="" />
          <input>
               <soap:body use="literal" namespace="uri:Domino" />
          </input>
          <output>
               <soap:body use="literal" namespace="uri:Domino" />
          </output>
     </operation>
</binding>
<service name="Directory">
     <documentation>Directory</documentation>
     <port name="DirectoryPort" binding="tns:DirectoryBinding">
          <soap:address location="http://bespordom.lhoist.net/divide.nsf/WebService?OpenAgent" />
     </port>
</service>
</definitions>
When I run it in the Web service Checker with the URL http://bespordom.lhoist.net/divide.nsf/wsdl, it Gives me the correct result and Functionality. Here is the Soap generated on the Web Service checker:
Soap request
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tns="http://bespordom.lhoist.net/divide.nsf/wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
  <SOAP-ENV:Body>
    <tnsMethod:divide xmlns:tnsMethod="uri:Domino">
      <Number>10</Number>
    </tnsMethod:divide>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Soap Response
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <SOAP-ENV:Body>
    <m:divideResponse xmlns:m="Domino" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <Answer xsi:type="xsd:string">5</Answer>
    </m:divideResponse>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I initialize correctly the Web service and the field number (with new String()) in the component controller.
When I click on the Button divide on the web dynpro interface, I call the executerequest defined in the component controller where I execute the call.
But the response is always the same:
Service call exception; nested exception is: com.sap.engine.lib.xml.parser.ParserException: The empty string is not acceptable for a value of an xmlns:* attribute.(:main:, row:1, col:0)
What can i do or check, or can I debug the soap generated or received by the portal?
Do you see something wrong?
Thank you very much for your help.

Similar Messages

  • Problems  with example Web Dynpro Binary Cache service.

    Hi!
    I made the example explained in PDF  Web Dynpro Binary Cache service, everything works fine but i faced a problem when a tried to download the excel file in XP  spanish version , all the columns  names came disorderly. These names are technical names of my nodes, i'm using bapis models to connect with R/3
    Who knows how can i solve this feature, the example works fine in my english XP`s version.
    Thanks!

    Hi Maria,
    which tutorial number do you refer to?
    Regards, Bertram

  • How to use web dynpro's web service to import XML file

    Hi
    I have an xml file and I want to use a web dynpro's web service to cosume this file which is existing on my local drive. Can anyone help me which steps I have to do to use this file as a web service using web dynpro.
    Thanks

    Hi
    You can refer below Wiki Article on SDN. I hope that will help you out.
    [https://www.sdn.sap.com/irj/sdn/wiki?path=/display/emtech/consuming%2babap%2bweb%2bservices%2busing%2bflex]
    Thanks.

  • Web Dynpro and Web Service Error

    Hi experts,
    I followed the blog u201CDeveloping Web Services in J2EEu201D /people/lakshmi.prasad5/blog/2009/06/30/developing-web-services-in-j2ee-and-consuming-in-sap-netweaver-visual-composer-part1 and is very well explained and easy to follow. The author does two Methods and the final Web Service concatenates input fields. One Method concatenates two words and the second Method concatenates three words, the final result is the concatenation of the words in both cases.  The Web Services is working fine I already tested and do it in a Visual Composer Project. Now, I want to Execute the Web Service in a Web Dynpro for Java WD4J Project. I did my application, my model (ConcatinationWSModel) and my View. I mapped the class that concatenates two words and is call u201CRequest_ConcatinationOfStringu201D. The problem comes with the Execution of the Web Service and is showing me the next exception:
    u201Ccom.sap.tc.webdynpro.model.webservice.api.WDWSModelExecuteException: Exception on execution of web service with WSDL URL 'http://<host>:<port>/WebServiceconCat/Config1?wsdl ' with operation 'concatinationOfStrings' in interface 'WebServiceconCatVi_Document'u201D
    My method DoInit (Set SAP & UK):
    public void wdDoInit()
        //@@begin wdDoInit()
              ConcatinationWSModel model = new ConcatinationWSModel();
              Request_ConcatinationOfStrings input = new Request_ConcatinationOfStrings(model);
              wdContext.nodeRequest_ConcatinationOfStrings().bind(input);
              ConcatinationOfStrings input2 = new ConcatinationOfStrings(model);
              wdContext.nodeConcatinationOfStrings().bind(input2);
              input2.setFString("SAP");
              input2.setSString("UK");
              ConcatinationOfStringsResponse input3 = new ConcatinationOfStringsResponse(model);
        //@@end
    My method  onAction is:
    public void onActionExecuteWS(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionExecuteWS(ServerEvent)
         try {
              wdContext.currentRequest_ConcatinationOfStringsElement().modelObject().execute();
    wdContext.nodeRequest_ConcatinationOfStrings().invalidate();
         catch (Exception ex)
                        // TODO: handle exception
                        //        If an exception is thrown, then the stack trace will be printed
              wdComponentAPI.getMessageManager().reportException("The error is: " + ex,true);
        //@@end
    I believe that the error is in the way I am executing the Web Service but I am not sure. Any help will be appreciated.
    Best Regards
    David Corté

    Hi Jesus,
    Your answer was very helpful..... The problem was with my code. The way I was executing my web service was wrong..... There are two things we have to keep in mind while we invoke any web service.... The doinit method and the execution sentence.....
    public void wdDoInit()
        //@@begin wdDoInit()
         model = new ModelWebServcie();
         Request_ConcatinationOfStrings input = new Request_ConcatinationOfStrings(model);
         ConcatinationOfStrings input2 = new ConcatinationOfStrings(model);
         input.setConcatinationOfStrings(input2);
         wdContext.nodeRequest_ConcatinationOfStrings().bind(input);     
        //@@end
    and the exection method:
    public void ExecuteWebService( )
        //@@begin ExecuteWebService()
         try {
                        wdContext.currentRequest_ConcatinationOfStringsElement().modelObject().execute();
                        wdContext.nodeResponse().invalidate();
                   catch (Exception ex)
                             // TODO: handle exception
                             //        If an exception is thrown, then the stack trace will be printed
                   wdComponentAPI.getMessageManager().reportException("El error en ExecuteWS es: " + ex,true);
                   wdComponentAPI.getMessageManager().reportSuccess("El Web Service fue ejecutado con exito");
        //@@end
    Declare member variable for model instance:
    //@@begin others
      private ModelWebServcie model;
      //@@end
    Thank you for everything...
    Regards
    David Corté

  • Web Dynpro Import Web Service Model - not a valid NCName

    Hi people,
    We are having a problem while importing a WSDL as an Adaptive Web Service Model in Web Dynpro (CE 7.2 SP03).
    The error is the following:
    "Definition of qualified base /schema/element[5]/complexType/sequence/element[4] is not correct. The value of property is not a valid NCName."
    We tried importing the same WSDL in other tools (XML Spy and SOAP UI). With these tools it could be read without errors and were able to successfully call the service.
    The point is, why the import fails in Web Dynpro if the WSDL can be read in other tools ? Can we do something in WD to import the WSDL that is supposed to be "not correct" ?
    Thanks in advance for your comments,
    Daniel

    Hi Pranav,
    I was facing this issue sometime back and i figured out that the ABAP proxy namespace in my case had a '/' in it, because of which the internal name of the service had a '/' character too.
    And this was unacceptable for the endpoint binding name in my case.
    Since it is occuring for you in case of the service name (i figured it out from attribute definations/services@name), check if the proxy name have a special character like '/'.
    Regards,
    Vivek

  • WEB DYNPRO AND WEB SERVICE MODEL: ejb remove doesn't work

    Hi guru,
    this is my scenario:
    J2EE-7.00 SP14-> PORTAL ->7 sp14  ->WEB DYNPRO FOR JAVA ->Web Service Model ->  WS Custom with MDM API JAVA
    The my WS is a Stateless Session Bean and i have this code:
         public void ejbCreate() throws CreateException {
              loc.setMinimumSeverity(Severity.INFO);
              loc.addLog(new ConsoleLog());
              this.plug = (MdmPlug) new MdmPlug(true);
              try {
                   this.loadProperties();
                   this.plug.connect(
                        hostname,
                        repository,
                        language,
                        username,
                        password);
                   loc.fatalT(msgLog+"[ ejbCreate ] START....");
              } catch (Exception e) {
                   if (e.getMessage()!=null)this.error=e.getMessage();
                   loc.fatalT(msgLog, this.error);
    public void ejbRemove() {
              try {
                   loc.fatalT(msgLog+"[ ejbRemove ] STOP....");
                   this.plug.close();
                   loc.fatalT(msgLog+"[ ejbRemove ] ...OK");
              } catch (ControlException e) {
                   loc.fatalT(msgLog+"[ ejbRemove ] ...K O !!!!");
    The my problem is:
    When open the IE and open my WD  the new EJB's instance is created (I see my log +"[ ejbCreate ] START....in LOG VIEWER).
    But, when I do log-off or I close IE, I don't see "[ ejbRemove ] STOP...." in LOG.
    Result:
    I open the MDM connection but not close it.
    Where is the problem?
    In Web Dynpro?
    In Web services?
    I have to create another WS's type?

    Hi Max,
    You can't run an EJBControl from a simple java class using either @Control or programmatic instantiation.
    The EJBControl implementation relies on Resource Context events so it "needs" a container context to run.
    You can use the ControlTestCase to unit test an EJB via EJB Control. You will need to configure the JNDIContextEnv annotation to bind to the server where the EJB is deployed. Note that this only works with EJBs that have a remote interface and a global JNDI name.
    The test case would look something like this (I've seen this example run as long as the JUnit classpath includes weblogic.jar)
    public class SimpleClient extends ControlTestCase {
    public void setUp() throws Exception { super.setUp(); }
    public void tearDown() throws Exception { super.tearDown(); }
    @Control
    @EchoEjbControl.JNDIContextEnv(
    contextFactory="weblogic.jndi.WLInitialContextFactory",
    providerURL="t3://localhost:7001",
    principal="weblogic",
    credentials="weblogic"
    public EchoEjbControl echoEjb;
    public void testXXX() {} // ... test methods that reference echoEjb
    Thanks
    Vimala

  • Web Dynpro access Application Services directly?

    We're looking at implementing some processes using Guide Procedures, and I have a question about design 'style'.
    I'm creating a data layer using Entity Services.  The entity services will be utilized by the Application Services to create a business layer.  How to do this is clear, and straightforward.
    However, where I have a question is how the automatically generated Web Dynpro application (or any other Web Dynpro application, for that matter) can interact with Application Services.  I've seen sample applications where the Web Dynpro application interacts with application services via mapping from the Web Dynpro interface layer through the GP Runtime - from my perspective, this looks like a good way to deal with a small amount of data being passed between the steps in the GP.
    The primary Web Dynpro application will let the user interact with the data, massaging it until it's in a form where the next person needs to deal with it.  I was thinking of having the Web Dynpro application interact with the Application Services layer directly to move data from the database to the web dynpro application, and back again.  The only thing that would be passed between the steps in the GP would be the guid of the primary data structure.  I would also expose a method of the Application Service as a CO which would take the guid and return the entire business object, so viewing screens could be constructed - as well, PDF's could be generated, and so on.
    Is this considered bad form in a GP, specifically accessing Application Services directly, instead of through a step in the GP?  I understand that what I want to do ties the Web Dynpro application directly to the Application Services layer, but my thinking is that the CO that encompasses the Web Dynpro should be 'atomic', in that all operations related to that specific step should be contained in a single CO.  In other words, the action of creating the business object, fiddling with it, an then submitting it upstream should be contained in one CO.
    Comments, suggestions?

    Hi,
          In the Composite Application Framework scenario, you first create the Business Entities. These act as data holder. To fill the data within these entities the Application services are created. These application services are later exposed as a webservice and deployed.
                   These webservices can contain different methods along with the CRUD operations depending on the Process Flow and Design implemented. We can import the webservices as a model in the WebDynPro Component. The UI elements of the Views can be binded to the Model. So when we execute the model methods the data gets entered into the Business objects.
                   This WebDynPro component should be a callable object ( It requires some Dependencies to be added to the WebDynPro Component ). So that you can have Input/Output parameters and ResultStates. These parameters are useful if you have to pass some parameters from one view to other within the same component. So this WebDynPro Callable object includes the Application service calls and also the passing of data through the GP Input/Output Structures.
                   These callable objects are then included within the Process.
      This is how I think a Composite Application must be designed.

  • Sending paramters from Web dynpro to web services

    Hi,
    I need to send extra objects or paramters to my web service from web dynpro which are not part of user inputs. How can i achieve it? Iam new to web dynpro. pls help me with sample code.
    Thanks a lot in advance

    hello Sujesh,
    in webdynpro we import a webservice model. it contains all the necessary input parameters and u can pass value through it. i think u cannot pass extra objects or parameter other than these input parameters.
    can u make ur requirement much more clear.
    regards,
    Piyush.

  • Web Dynpro automatically activate service after transport

    Hi all!
    Well - I've searched SDN.  I've read notes.   I googled.  I can't seem to find exactly what I want.    When a web dynpro component transports it automatically activates in the new system.  However, the application creates an ICF entry.   That "service" does not automatically activate.  I can go to SICF and activate, but I don't want to do that in all the systems.  Nor do I have the authority in all systems.
    Everything I've read on SDN seems to point to the fact that it can't be automatically activated.  The notes that I've read seem to piont to the fact that it can be activated automatically with the correct Basis settings.
    When the application is created it automatically creates a "service" in http:server//sap/bc/webdynpro/sap/application.   Maybe it should be in a custom namespace?
    Anyway I'm stuck - any help you could provide would be great.  I'm on ECC 6.0.
    I've already read these notes that seem like they would help:
    1088717
    1124553
    1043195
    I've tried running RSICF_SERVICE_ACTIVATION. 
    I can activate the service manually.   It just isn't something that I'd like to do. 
    This may not be the correct forum, but as it relates directly to WDA, I thought I'd give it a try here.
    Thank you!
    Michelle
    I've looked at these threads:
    web dynpro service inactive after migration
    Why Web Dynpro Application can not work in UAT ?

    Hi Thomas,
    I just want to add that a user who creates this variant, still needs authorization for Tcode SICF. But you're right, this could be done ones for a range of services.
    Steffen

  • Web dynpro and Web Services

    Hi all,
    I want to create a Web Service, that calls a BAPI or RFC similar to the "Webdynpro components".
    Can someone tell me a way to create this Web Service?
    Or have I to do this manually over a EJB?
    Regards
    Olli

    Hi Olli,
    it's possible to generate Web Services from RFMs. Please have a look at the following doc: http://help.sap.com/saphelp_nw04/helpdata/en/0d/2eac5a56d7e345853fe9c935954ff1/frameset.htm
    Having done so and after WSDL generation and publishing (documentation how to do this is also available), it's possible to import the published WSDL source as a Web Dynpro Web Services model (via UDDI or URL).
    Hope that helps.
    Regards
    Stefan

  • Integrate web dynpro into WEB UI

    Hi,
    I have a problem with integrating wd4a application into web ui.
    When I set up url of the wd4a application (absolute url) as logical link, everything went ok in dev system.
    But after transport to test system, application was not reachable, because absolute url linked to dev.
    The second attemp was to set up the logical link to BSP application, which called absolute url to wd4a application using <bsp:call> statement in view. The problem is that this statement didnt work at all and it doesnt matter if there link to my application or to google.com.
    do you have any idea how to solve this?
    thanks
    Juraj

    Hi,
    I know this method,
    but problem is that I used absolute link in WEB UI customizing, tx CRMC_IC_LTX_URLS ... in case I could create my own link, everything is ok
    my problem is that I dont know how to define link in this tx with relative url
    or I can be solved in way that I somehow integrate web dynpro into BSP application and then set up URL in tx CRMC_IC_LTX_URLS for the BSP.
    the only problem is I dont kobw how to do this
    thanks
    Juraj

  • Web Dynpro ABAP == Web Dynpro Java

    Hi Gurus,
    I've written a Web Dynpro Abap Application to maintain CRM Opportunities, working with Transaction-ID and everything (read&write) works fine.
    Now, I'd like to write the same Application in Web Dynpro Java.
    I'm quite new in WDJ and thus would like to have some good Howtos & Guides (using the NWDI, CMS, CBS & DTR on a remote J2EE Engine) - e.g. how do I get information out of FMs I used in Abap, like CRM_ORDERADM_H_READ_OB when writing code in Java?
    Thanks in Advice,
    Farid
    (help will always be rewarded)

    Hi,
    I've deleted the model, restarted the j2ee engine, created a new model in a new package, importet Z_R_CRM_ORDER_SAVE an get the following message:
    [code]
    [Warning]:     Creating a connection with Metamodel language <en> failed.  Continuing with language <DE>
    [Fatal]:     com.sap.mw.jco.JCO$Exception: Missing R3NAME=... or ASHOST=... in connect_param in RfcOpenEx
    [Info]:     Creating Model: MyNewModel
    [Info]:     Creating Model Class: Z_R_Crm_Order_Save_Input
    [Info]:     Creating Model Class: Z_R_Crm_Order_Save_Output
    [Info]:     Creating Model Class Property: Cv_Log_Handle
    [Info]:     Creating Model Class Property: Cv_Log_Handle
    [Info]:     Creating Model Class: Crmt_Exception
    [Info]:     Creating Model Class: Balmsghndl
    [Info]:     Creating Model Relation: Crmt_Exception:Msg_Handle
    [Info]:     Creating Model Class Property: Log_Handle
    [Info]:     Creating Model Class Property: Msgnumber
    [Info]:     Creating Model Relation: Z_R_Crm_Order_Save_Output:Et_Exception
    [Info]:     Creating Model Class Property: Guid
    [Info]:     Creating Model Class Property: _Class
    [Info]:     Creating Model Class Property: Code
    [Fatal]:     java.lang.ClassCastException: com.sap.dictionary.types.mdi2metamodel.model.SimpleType
    [Info]:     Creating Model Class: Crmt_Return_Objects_Struc
    [Info]:     Creating Model Relation: Z_R_Crm_Order_Save_Output:Et_Saved_Objects
    [Info]:     Creating Model Class Property: Guid
    [Info]:     Creating Model Class Property: Object_Id
    [Fatal]:     java.lang.ClassCastException: com.sap.dictionary.types.mdi2metamodel.model.SimpleType
    [Info]:     Creating Model Class Property: Iv_No_Bdoc_Send
    [Info]:     Creating Model Class Property: Iv_Save_Frame_Log
    [Info]:     Creating Model Class Property: Iv_Update_Task_Local
    [Info]:     Creating Model Relation: Z_R_Crm_Order_Save_Input:Output:Z_R_Crm_Order_Save_Output
    [/code]
    and same problem as discribed above (no IT_OBJECTS_TO_SAVE etc.), even after restarting the j2ee engine a second time after importing.

  • Question about meta-data of Web Dynpro ABAP / Web Dynpro Java

    Hello together,
    everywhere I can read, that Web Dynpro meta-data is platform independent.
    I´ve read into a book, that the meta-data of Web Dynpro Java is saved as XML and
    that Web-Dynpro Java Runtime generates runnable classes and sourcecode out of this...
    - What about Web-Dynpro ABAP? Is Meta-code in ABAP is saved in XML too?
    - just for theory: is ist possible to take the meta-data of a Web-Dynpro ABAP component and
      generate a Web-Dynpro Java Component out of this?
    I tried to find it out but i failed... In table WDR_RR_LOAD (is this the right one?) I found only the
    field data. But this is a RAWSTRING and I don´t know how to make I "readable".
    I must know this for my thesis for my studies, not for work.
    Thank you very much !!!!
    Greetings,
    Oliver

    Me again,
    I am not sure if I understood it right...
    The meta-data which describes the visual part of a view is saved as XML and
    would be rendered i.e. in the webbrowser... Right?
    What about the meta-data of the Web Dynpro application?
    Is this meta-code into an other structure or XML too?
    Thank you very much.
    Many Greetings,
    Oliver

  • Web Dynpro Java: Mobile Device Recognition Problem

    Hi, all!
    I' m building an WD App with different UIs for Mobile and Desktop usage and therefore try to get a com.sap.mobile.clientinfo.ClientInfo Object via:
    ClientInfoFactory clientInfoFactory = ClientInfoFactory.newInstance();
              ClientInfo clientInfo = clientInfoFactory.newClientInfo();
              IWDProtocolAdapter protAdapter = WDProtocolAdapter.getProtocolAdapter();
              IWDRequest request = protAdapter.getRequestObject();
              clientInfo.load(request);
    For this I added DC "com.sap.mobile.clientinfo" out of SAP_JTECHS as Used DC.
    When starting the Application, I receive the following error:
    java.lang.NoClassDefFoundError: com/sap/mobile/clientinfo/ClientInfoFactory
         at at.tmobile.proj.intern.vis4.start.StartCompInterface.getClientInfo(StartCompInterface.java:156)
         at at.tmobile.proj.intern.vis4.start.StartCompInterface.wdDoInit(StartCompInterface.java:112)
         at at.tmobile.proj.intern.vis4.start.wdp.InternalStartCompInterface.wdDoInit(InternalStartCompInterface.java:112)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingCustomController.doInit(DelegatingCustomController.java:73)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:448)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentInternal(ComponentUsage.java:167)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:116)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createInstanceIfDemanded(ComponentUsage.java:728)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getImplementingInterfaceViewInfo(ComponentUsage.java:403)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.getViewManagerFor(ClientComponent.java:304)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.createUninitializedView(ViewManager.java:619)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:685)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:546)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:715)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:546)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:715)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:570)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:300)
         at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:204)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:700)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:269)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:707)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:661)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:229)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         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:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         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:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Im a referencing the wrong DC in the wrong way? Any hints more than appreciated!
    Regards,
    Thoams

    Thomas,
    In your WD project right-click on project node, open "Properties", switch to "WebDynpro References" then select "Library References". Add here library <b>com.sap.mobile.clientinfo</b>
    If you add it in wrong place before, then remove it. If you add run-time dependecy for used DC, then remove it (just left build-time dependency).
    To find corresponding library/service in future, run Visual Administrator, find your service/library in Services/Libraries tree and copy the value of <b>Service Name</b> or <b>Library Name</b> respectively.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • Web Dynpro for ABAP, service calls.

    Hi guys,
    I can't find a way to do a so called "reimport" (not the correct word to use I know!) when I change a function module in ABAP. See in Java, if we change importing or exporting parameters we can reimport the model to pick up changes, but this isnt the case in WDP ABAP. Can anyone please tell me how I can do this in ABAP? I had to delete the context in the component and view controller to prevent the service call wizard from renaming my context nodes as *_1 or *_2 etc. This is quite a headache! Also the method I had defined to execute the function module has to be renamed too, unless I delete it 1st ofcourse! Is there a way to overwrite and replace my existing nodes in the context?
    Any help is appreciated.
    Thanks in advanced.
    Kunal.

    How comes nobody replied to this post?
    Does that mean its impossible to do a Java type reimport in ABAP if the function module changes?

Maybe you are looking for

  • Do anyone know how to stop reminders in iCal with ms exchange under iOS6 beta?

    Since I've started testing iOS 6 beta, I can't kill the reminders in exchange calendar....after restart the calendar app, they are there, again... Nothing to see in the mac cal app or in the owa! No reminders, especially on iPhone 4 and iPad 3, runni

  • What happened to the file activity window indicator?

    In Dreamweaver CS5 and earlier versions when I would upload my files to my web server the file activity window would show the progress as the bits uploaded.  Now in CS6 the bits aren't showing... only the overall progress.  This is a drag when I'm up

  • Is bootcamp assistant not working in Mntn Lion?

    I'm trying to run Bootcamp Assistant (for the first time ever) in 10.8 and it is not playing ball. The download process seems extremely slow, it's wasted two blank DVDs by attempting to write to them then giving up and returning an error. So, I tried

  • Report Server Engine Crashed

    Whenever i Run a report which does bulk data extract i get the message Terminated with error: <br>REP-56048: Engine rwEng-2 crashed, job Id: 9543 Any help would be appreiciated. Their is no issue with space either on database or on report server .

  • May I install a stand-alone Adapter engine for MI?

    I wonder if I can install a stand-alone Adapter engine (i.e. JAVA SE)  for MI? Points guaranteed. Thanks!