Req to be modelled

Hi
there is a req where in we use table KNVP , this table cointains the customer code and it has some thing called as PDP days fixed for each customer ...say customer  C01- has pdpays of 01,05 means the customer would be serviced on Monday and friday..the days are fixed accordingly as
01- Monday
02- Tuesday
03- Wednesday
04- Thursday
05- Friday
06-Saturday
07- Sunday
So Customer  with PDP 01,05 means he would be serviced evry monday and friday, so now this logic has to be implemented in BI and on a calday basis we need to check whether that particular days customers have been serviced or not..
this checking is done through VBRK where for that calday if the customer has raised any invoice then we should show PDP compliance for that customer is 100% or else it should be 0%..
how do we go ahead with the modelling  scenario for this...
can any one help me out with this please
Regards
Shilpa

Hi Kaushik,
Please see the post  "Automating an interface" posted by SB today.
Lanka

Similar Messages

  • Help required using adaptive webservice Model

    Hi.
    I am importing an adaptive webservice model in webdynpro using a URL. When asked i choose <i>no logical destinations - use WSDL URL for metadataretrieval and webservice execution</i>.
    The webservice exports one function only:
    public String returnTestString(String arg1);
    In my component controller wdInit() i have the following code:
    String_arctest model = new String_arctest();
    wdContext.nodeRequest_ReturnTestString().bind(new Request_ReturnTestString(model));
    wdContext.
         nodeRequest_ReturnTestString()
         .nodeReturnTestString()
         .bind(new ReturnTestString(model));
    wdContext.nodeRequest_ReturnTestString()
         .nodeReturnTestString()
         .currentReturnTestStringElement().setArg1("HalloWelt");               
    wdContext.nodeRequest_ReturnTestString()
         .currentRequest_ReturnTestStringElement().modelObject().execute();
    wdContext.nodeResponse().invalidate();
    wdContext.nodeResponse().nodeReturnTestStringResponse().invalidate();
    When executing the code the <b>execute()</b> throws an <i>com.sap.tc.webdynpro.model.webservice.api.WDWSModelExecuteException </i> with following message cause: <i>Cannot find the required parameter [arg1] in request message content. Exception on execution of web service with WSDL URL </i>
    I appreciate any help. Thanks in advance.

    Hi,
    Try the following.
    String_arctest model = new String_arctest();
    ReturnTestString str=new ReturnTestString(model);
    str.setArg1("HalloWelt");
    Request_ReturnTestString req=new Request_ReturnTestString(model);
    req.addReturnTestString(str);
    wdContext.nodeRequest_ReturnTestString().bind(req);
    wdContext.nodeRequest_ReturnTestString()
         .currentRequest_ReturnTestStringElement().modelObject().execute();
    wdContext.nodeResponse().invalidate();
    wdContext.nodeResponse().nodeReturnTestStringResponse().invalidate();
    Regards, Anilkumar

  • Problem in Req/Reply in DBAdapter

    Hi.
    I need help in this problem urgently.
    I have developed a integration schema where there are involved 3 applications (using DB adapter). The first app is a Human Resource App, The second one is MailSender App, and the third one is a Client App (Email r stored).
    The integration schema developed is the following. When a person is retired from the company the event Pub/Sub is fired from the HR App sending this message to the MailSender App. This MailSender App ask to the Client App the email of the client whose Sales Man was retired. The integration method is made with a Synchronous Req/Reply DB - DB adapter.
    The problem is when the event is fired, the Sync Req/Reply blocks for the given x sec to wait, but this never returns the answer. But checking the log, this inform that the DB Agent put the answer back exactly x sec specified in the timeout. If the Req/Reply is set to wait for infinty this blocks forever having to call to the DBA to kill the blocking session.
    The Sync Req/Reply is ok when fired localy from the MailSender App, but when this is launched from the HR App is when this event blocks for the x timeout seconds. I think this is a lock issue with the interconnect integration scheme using DB adapter.
    Any suggestion, patch, workaround, tec. pls inform me
    thx

    Hi,
    I too had this problem where my Sun Req/Resp integration model expected result from SAP system. The problem I traced to was that, The procedure call will wait for Xsecs as mentioned and exits. With in this Xsecs, SAP was not sending the dat. I increased the duration. Also another issue was that the return message was of Char type and this was appending a lot of blank space, due to which in Log file there was lot of balnk space. I did a transformation to trim the char and it worked.
    I don't know wheather this will be the sort of answer you expect.

  • Calling a WebService on a Web Dynpro Project

    Hi Experts,
    I'd made an EJB, then a WebService of that.
    I'd tested the url in a Browser, and everything works fine... I sent the values, and got the correct response.
    Now i'm trying to call it in a Web Dynpro. I'd imported the model, added to the controller, generated a method and set all the values that the WS receive, however every time i execute an error occurs.
    This is the error in Log Viewer:
    com.sap.engine.services.webservices.addtions.exceptions.ProcessException: Cannot find the required parameter [RefPagamento] in the request message content.
    This is the code i'm using:
    wdContext.nodeRequest_PedidoAutorizacao().invalidate();
    WS_PagamentoVisa model = new WS_PagamentoVisa();
    wdContext.nodeRequest_PedidoAutorizacao().bind(new Request_PedidoAutorizacao(model));
    IPublicHotelariaController.IPedidoAutorizacaoElement input = wdContext.createPedidoAutorizacaoElement(new PedidoAutorizacao(model));
    wdContext.nodePedidoAutorizacao().bind(input);
    input.setRefPagamento("12321321323");
    wdContext.currentRequest_PedidoAutorizacaoElement().modelObject().execute();
    I believe the input is not well formed in my code, but i can't understand where's the problem.
    Can anyone help me, please?
    Thanks in advanced,
    Luis

    Hi,
    Assuming you context to be..
    Context
    --Request_PedidoAutorizacao (node)
    PedidoAutorizacao (node)
    RefPagamento (attribute)
    <i>You are invalidating Request_PedidoAutorizacao which is your main node.This node contians subnode PedidoAutorizacao</i>
    <i>which has the input attribute RefPagamento</i>.
    // try the following
    WS_PagamentoVisa model = new WS_PagamentoVisa();
    Request_PedidoAutorizacao req = new Request_PedidoAutorizacao(model);
    PedidoAutorizacao input = new PedidoAutorizacao(model);
    req.setPedidoAutorizacao(input);
    wdContext.nodeRequest_PedidoAutorizacao().bind(req);
    wdContext.currentPedidoAutorizacaoElement.setRefPagamento("12321321323");
    wdContext.currentRequest_PedidoAutorizacaoElement().modelObject().execute();
    wdContext.nodeResponse.invalidate(); // invalidate your response node

  • Consuming ABAP Webservice in Webdynpro app

    Hi,
    I have wrote a webdynpro app for consuming ABAP webservice. I used the procedure in the link below
    http://wiki.sdn.sap.com/wiki/display/WDJava/ConsumingABAPWebServiceinJavaWD
    Everything seemed to be went well, I created model and Webservice destinations. I have written the code for calling the webservice, which does not return data as part of response. I mean though the RFC returns data at the backend,its not showing the returned records in the webdynpro table.
    I have also tried checking the same by setting external break point. when the webservice is executed from my webdynpro app,it goes to the ABAP debugger and i could clearly see the records in the export parameters of RFC,but the same is not returned in the reponse object.
    Could any one let me know what could be missing. Any help is greatly appreciated?
    I have used the following code in Init method of my View
    Request_ZMYRFC input=new Request_ZMYRFC (model);
    wdContext.nodeRequest_ZMYRFC ().bind(input);
    ZMYRFC  req= new ZMYRFC (model);
    req.setPUserid("EDLAS00C");
    req.setPLtc("E");
    input.setMYRFC (req);
    IWDMessageManager manager = wdComponentAPI.getMessageManager();
        try
        wdContext.currentRequest_ZMYRFCElement().modelObject().execute();
          wdContext.nodeResponse().invalidate();
          wdContext.nodeZMYRFCResponse().invalidate();
          wdContext.nodeReturn_res().invalidate();
         wdContext.nodeItem_res_ret().invalidate();
          wdContext.nodeILtcg_res().invalidate();
          wdContext.nodeItem_res_ltcg().invalidate();
        catch(Exception e)
          manager.reportException(e.getMessage(), false);
    Thanks
    Santhosh

    santosh,
    Check provider system defination in nwa for webservice.After this mapp the provider system and service group after wd app deployed.This is mandatory while consuming webservice in webdynpro for latest versions of CE7.11 or later.for reference check this article/document. http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/50d70a19-45a3-2b10-bba0-807d819daf46
    Thanks,
    Murthy.
    Edited by: Murthy Karaka on Mar 22, 2010 12:59 PM

  • NullPointerException while calling a webservice

    Hello,
    I want to use a this webservice:
    http://www.webservicex.net/WCF/ServiceDetails.aspx?SID=37
    I have implement it, but I can not use it.
    Here my Code from the ComponentController:
                   AtomicModel model = new AtomicModel();
                   Request_GetAtomicNumber req = new Request_GetAtomicNumber(model);
                   GetAtomicNumber number = new GetAtomicNumber(model);
                              number.setElementName("");
                   req.setGetAtomicNumber(number);
                   wdContext.nodeRequest_GetAtomicNumber().bind(req);
    I become an Nullpointer-Exception at runtime, if i want to set "ElementName". But you can see, that the class GetAtomicNumber is already defined.
    In other projects I had done the same with other webservices and it works...
    Where is my mistake???
    Thanks,
    Peter

    Looks to me like your server has a bug in a remote method.

  • Need help in this schema

    Hi,
    I really need some help here. I am very new to the schema.
    I have the following schema. I check this schema against the http://apps.xmlschema.com
    and it is a validate schema.
    However , when I try to parse it with the
    xsdtest (the beta version 9.0A), I got error LSX-00021 which stands for "undefined element".
    I can't compile the 9.0.1 xdk yet because of the C++ license error. If anyone have the new version of xsdtest from the demo, pls help me to parse it and let me know if this work under the new version.
    Also, if you know what's wrong with my schema/xml file, pls let me know...
    PS: I am using Sun Solaris
    Thanks in advance!!!
    Eva
    here is my schema:
    <?xml version="1.0"?>
    <schema xmlns = "http://www.w3.org/1999/XMLSchema"
    targetNamespace = "http://www.temp.com/">
    <element name="CommandIndex" >
    <complexType content="empty">
    <attribute name="value" type="long" >
    <minInclusive value = "1" />
    <maxInclusive value = "99999" />
    </attribute>
    <attribute name="direction" type="string" use="fixed" value="in" />
    </complexType>
    </element>
    <element name="Timer">
    <complexType content="empty">
    <attribute name="value" type="short" use="required">
    <minInclusive value = "0" />
    <maxInclusive value = "75"/>
    </attribute>
    </complexType>
    </element>
    <element name = "root">
    <complexType content="elementOnly" >
    <sequence>
    <element ref = "CommandIndex" />
    <element ref = "Timer" />
    </sequence>
    </complexType>
    </element>
    </schema>
    here is the xml file
    <?xml version="1.0"?>
    <temp:root xmlns:temp ="http://www.temp.com/"
    xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
    xsi:schemaLocation="http://www.temp.com/ temp2.xsd" >
    <CommandIndex value = "100" />
    <Timer value="11" />
    </temp:root>
    null

    Hi,
    I too had this problem where my Sun Req/Resp integration model expected result from SAP system. The problem I traced to was that, The procedure call will wait for Xsecs as mentioned and exits. With in this Xsecs, SAP was not sending the dat. I increased the duration. Also another issue was that the return message was of Char type and this was appending a lot of blank space, due to which in Log file there was lot of balnk space. I did a transformation to trim the char and it worked.
    I don't know wheather this will be the sort of answer you expect.

  • SCRIPT or SFORM?

    Hi Experts,
    Could u please advise? i have requirement to develop form, but i don't know wheather i have to go for Scripts or SF, i am on <b>6.0</b>, in req. they gave Model for Standard form. as i.e.,
    '<b>SD_SHIPMENT_CMR</b>.' output type CMR1.
    I am new to SF, please provide SF tutorial links to develop SF.
    Please suggest.
    Thanks in advance.
    Vishnu.

    Hi
    Check out these sites. These sites will provide u step by step procedure of how to create smartforms.
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    Smart Forms Documentation.
    http://help.sap.com/saphelp_nw04/helpdata/en/9b/e3b0d9c2a711d3b558006094192fe3/frameset.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sapgenie.com/abap/smartforms_detail.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%0samples/smartforms/smartform%20in%20abap.pdf
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/smartforms/subroutine%20and%20select-option%20in%20smartform.pdf
    http://www.sap-basis-abap.com/sapsf001.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    Regards
    Sudheer

  • ISE v1.2 - Endpoint abandoned EAP session and started new

    Hi.
    I have lots of clients that are not able to log on to both wired and wireless networks, and they always fails with these errors.
    5411 Supplicant stopped responding to ISE
    5440 Endpoint abandoned EAP session and started new
    This is with certificate authentication, both for client and for machine.
    The clients are for the most part Windows 7.
    We use both Cisco and Aerohive for wireless, and the switch I have tested with is a Cisco2960S
    A few strange things:
    It works perfectly for a lot of clients too, with the excact same configuration.
    One PC I'm testing with works fine when authenticating via wireless, but when I plug it into the switch, I get these errors.
    I seems to be a timeout of some kind, either to short or too long, but where?
    In the Win7 supplicant?
    In the switch?
    In the Cisco WLC
    or in the Aerohive AP?
    I have spent hours and hours on this problem, but I can't make it go away, it is very exhausting.
    There surely must have been others with the same problem?
    Thank you.

    Thank for trying to help out, but this is.. insanely vague.
    How can i verify that NAS (the C2960S) is properly configured?
    What timers are we talking about here? There are many to choose from..
    The problem is still here, even with the latest patch 7 for ISE 1.2. It works fine on wireless, but not with wired, from the same computer. So it is logic to assume it has something to do with the switch.
    This is the configuration from the switch:
    interface GigabitEthernet1/0/20
      switchport mode access
     authentication event fail action next-method
     authentication open
     authentication order dot1x mab
     authentication port-control auto
     snmp trap mac-notification change added
     dot1x pae authenticator
     spanning-tree portfast
    end
    sh dot1x int g1/0/20
    Dot1x Info for GigabitEthernet1/0/20
    PAE                       = AUTHENTICATOR
    QuietPeriod               = 60
    ServerTimeout             = 0
    SuppTimeout               = 30
    ReAuthMax                 = 2
    MaxReq                    = 2
    TxPeriod                  = 30
    sh run aaa
    aaa authentication login default group radius local
    aaa authentication dot1x default group radius
    aaa authorization exec default group radius local
    aaa authorization network default group radius
    aaa accounting dot1x default start-stop group radius!
    aaa server radius dynamic-author
     client 192.168.100.85
     server-key nope!
     auth-type any
    radius server hmz
     address ipv4 192.168.100.85 auth-port 1812 acct-port 1813
     key nope!
    radius-server attribute 6 on-for-login-auth
    radius-server attribute 6 support-multiple
    radius-server attribute 8 include-in-access-req
    aaa new-model
    aaa session-id common
    Some debug from the switch:
    Apr  6 11:07:01.745: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] Create attr list, session 0x1E0000E0:
    Apr  6 11:07:01.745: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding MAC d43d.7e97.1e26
    Apr  6 11:07:01.745: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding Swidb 0x4F8BAC8
    Apr  6 11:07:01.745: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding AAA_ID=14B
    Apr  6 11:07:01.745: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding Audit_sid=C0A864FA0000014B6983A2E0
    Apr  6 11:07:01.745: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding Domain=DATA (1)
    Apr  6 11:07:01.745: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding [email protected]
    Apr  6 11:07:01.745: %AUTHMGR-5-START: Starting 'dot1x' for client (d43d.7e97.1e26) on Interface Gi1/0/20 AuditSessionID C0A864FA0000014B6983A2E0
    Apr  6 11:07:01.745: AUTH-DETAIL: No default action(s) for event RX_METHOD_AGENT_FOUND.
    Apr  6 11:08:21.182: %DOT1X-5-FAIL: Authentication failed for client (d43d.7e97.1e26) on Interface Gi1/0/20 AuditSessionID C0A864FA0000014B6983A2E0
    Apr  6 11:08:21.187: %AUTHMGR-7-STOPPING: Stopping 'dot1x' for client d43d.7e97.1e26 on Interface Gi1/0/20 AuditSessionID C0A864FA0000014B6983A2E0
    Apr  6 11:08:21.187: %AUTHMGR-5-FAIL: Authorization failed or unapplied for client (d43d.7e97.1e26) on Interface Gi1/0/20 AuditSessionID C0A864FA0000014B6983A2E0
    Apr  6 11:08:21.187: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] Create attr list, session 0x1E0000E0:
    Apr  6 11:08:21.187: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding MAC d43d.7e97.1e26
    Apr  6 11:08:21.187: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding Swidb 0x4F8BAC8
    Apr  6 11:08:21.187: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding AAA_ID=14B
    Apr  6 11:08:21.187: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding Audit_sid=C0A864FA0000014B6983A2E0
    Apr  6 11:08:21.187: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding Domain=DATA (1)
    Apr  6 11:08:21.187: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding Username=host/HovedPC.gaasdal.net
    Apr  6 11:09:22.079: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] Create attr list, session 0x1E0000E0:
    Apr  6 11:09:22.079: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding MAC d43d.7e97.1e26
    Apr  6 11:09:22.079: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding Swidb 0x4F8BAC8
    Apr  6 11:09:22.079: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding AAA_ID=14B
    Apr  6 11:09:22.079: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding Audit_sid=C0A864FA0000014B6983A2E0
    Apr  6 11:09:22.079: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding Domain=DATA (1)
    Apr  6 11:09:22.079: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding Username=host/HovedPC.gaasdal.net
    Apr  6 11:09:22.079: %AUTHMGR-5-START: Starting 'dot1x' for client (d43d.7e97.1e26) on Interface Gi1/0/20 AuditSessionID C0A864FA0000014B6983A2E0
    Apr  6 11:09:22.079: AUTH-DETAIL: No default action(s) for event SESSION_STARTED.

  • Logical target not mapped to physical system

    Hi Experts,
    We are getting issue when we are aceesing webservices.Trace are mentioned below.I am not able to figure out why is this prob as i already test in netweaver administrator-configuration-destination and under this we test all the webservices destination that we created and test is succesfull.Kindly put some lights on this matter.
    com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WS metadata destination 'WS_METADATA_DEST_CONF' and WS interface 'PRConfig_1Vi_Document'. One possible reason is that the metadata destination 'WS_METADATA_DEST_CONF' has not been properly configured; check configuration.
    *     at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:440)*
    *     at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:372)*
    *     at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:342)*
    *     at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:326)*
    *     at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo$Cache.getModelInfo(WSModelInfo.java:199)*
    *     at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:1035)*
    *     at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:248)*
    *     at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.<init>(WSTypedModel.java:41)*
    *     at com.sap.srm.mdm.admin.pr.PRConfiguration.<init>(PRConfiguration.java:53)*
    *     at com.sap.srm.mdm.pr.PRConfiguration.wdDoInit(PRConfiguration.java:121)*
    *     at com.sap.srm.mdm.pr.wdp.InternalPRConfiguration.wdDoInit(InternalPRConfiguration.java:313)*
    *     at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)*
    *     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.clientserver.cal.ClientComponent.init(ClientComponent.java:430)*
    *     at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)*
    *     at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)*
    *     at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)*
    *     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)*
    *     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)*
    *     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)*
    *     at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)*
    *     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:401)*
    *     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)*
    *     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)*
    *     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)*
    *     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)*
    *     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)*
    *     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)*
    *     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)*
    *     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(AccessController.java:219)*
    *     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)*
    *     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)*
    Caused by: com.sap.engine.services.webservices.espbase.discovery.TargetConfigurationException: Logical Target sap.com/DynamicWSProxies/WS_METADATA_DEST_CONF not mapped to a physical system.
    *     at com.sap.engine.services.webservices.server.management.discovery.ServiceDiscoveryImpl.getWSDLUrl(ServiceDiscoveryImpl.java:73)*
    *     at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:128)*
    *     at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:429)*
    *     ... 39 more*
    Caused by: com.sap.engine.services.webservices.espbase.query.exceptions.TechnicalException: Logical Target sap.com/DynamicWSProxies/WS_METADATA_DEST_CONF not mapped to a physical system.
    *     at com.sap.engine.services.webservices.espbase.query.EngineWSFactoryImpl.getWSQuery(EngineWSFactoryImpl.java:115)*
    *     at com.sap.engine.services.webservices.server.management.discovery.ServiceDiscoveryImpl.getWSDLUrl(ServiceDiscoveryImpl.java:64)*
    *     ... 41 more*
    Caused by: com.sap.engine.services.webservices.espbase.discovery.TargetNotMappedException: Logical Target sap.com/DynamicWSProxies/WS_METADATA_DEST_CONF not mapped to a physical system.
    *     at com.sap.engine.services.webservices.server.management.discovery.DestinationsResolver.<init>(DestinationsResolver.java:100)*
    *     at com.sap.engine.services.webservices.server.management.discovery.ServiceDiscoveryImpl.getEntityResolverForTarget(ServiceDiscoveryImpl.java:99)*
    *     at com.sap.engine.services.webservices.espbase.query.EngineWSFactoryImpl.getWSQuery(EngineWSFactoryImpl.java:113)*
    *     ... 42 more*
    Thanks,
    sudhanshu

    For your reference:
    This is the only code so far in the implementation:
    public void wdDoInit()
        //@@begin wdDoInit()
        //$$begin Service Controller(-608326537)
       Bp03 model = new Bp03();
    //   wdContext.nodeRequest_BusinessPartnerBasicDataByIDQueryResponse_In().bind(new Request_BusinessPartnerBasicDataByIDQueryResponse_In(model));
       Request_BusinessPartnerBasicDataByIDQueryResponse_In req = new Request_BusinessPartnerBasicDataByIDQueryResponse_In(model);
        wdContext.currentIDElement().setBP_ID("0000000009");
        //$$end
        //@@end
    Am i implementing the correct code?
    Thanks.

  • Compile Error : Need help!

    Hi All,
    I try to compile 2 java files
    File1: theModel.java
    package beans;
    public class theModel
      public String setMsg()
        {return "Test programe"}
       public theModel()
      }it was not error when i compiled this file :
    c:\>javac -d tomcat\webapps\Test\WEB-INF\classes
    Arunya\bean\theModel.java
    after compiled theModel.class stored in
    C:\tomcat\webapps\Test\WEB-INF\classes\beans\theModel.class
    File2: theController.java
    import beans.theModel;
    import java.io.*;
    import javax.servlet.*;
    public class theController extends HttpServlet
    String target = "theView.jsp"
    theModel model = new theModel();
    public void doGet(HttpServletRequest req,
    HttpServletResponse res)
    throws ServletException,
    java.io.IOException
    req.setAttribute("message",model.setMsg);
    RequestDispatcher dispatcher =
    req.getRequestDispatcher(target);
    dispatcher.forward(req,res)
    }and I had a problem with this file becuase when i compiled, it had a error :
    package beans does not exits
    this is how I compiled
    c:\javac Arunya\Servlet\theController.java
    also I try this way
    c:\set classpath = c:\tomcat\webapps\Test\WEB-INF\classes
    c:\> javac Arunya\Servlet\theController.java
    but both of them had the error same
    This is my Enviroment Variables(System variable)
    CLASSPATH : C:\tomcat\commond\lib\Servlet-api.jar;
    C:\tomcat\commond\lib\jsp-api.jar;
    CATALINA_HOME : C:\tomcat
    JAVA_HOME: C:\Program Files\Java\jdk1.5.0_06
    PATH : C:\tomcat\bin;C:\Program Files\Java\jdk1.5.0_06\bin
    can you help me?
    Thank
    Arunya

    You missed semi colons (;) here and there
    sorry , don't notice this because when I wrote the code to post I forgot (;) at
    {return "Test programe"};
    String target = "theView.jsp";
    dispatcher.forward(req,res);
    but in my real code i didn't miss semi colons ,
    The problem that i want to solve is[i] I can not import package beans
    error: package beans does not exitspackage beans does not exits
    thank

  • SSL Help required : using JDeveloper

    I am using a single self signed certificate created using keytool on both the client and server end. (i.e. the same keystore as the truststore and keystore as well as the same on the client and the server)
    Tried this sample code to fetch the WSDL of my webservice in JDeveloper. Successfully did this.
    ===========================================================
    import HTTPClient.HTTPConnection;
    import HTTPClient.HTTPResponse;
    import javax.security.cert.X509Certificate;
    import oracle.security.ssl.OracleSSLCredential;
    import java.io.IOException;
    import javax.net.ssl.SSLPeerUnverifiedException;
    import javax.net.ssl.SSLSession;
    public class SSLSocketClientWithClientAuth {
    public static void main(String[] args) {
    if (args.length < 4) {
    System.out.println("Usage: java HTTPSConnectionTest [host] [port] " +
    "[wallet] [password]");
    System.exit(-1);
    String hostname = args[0].toLowerCase();
    int port = Integer.decode(args[1]).intValue();
    String walletPath = args[2];
    String password = args[3];
    HTTPConnection httpsConnection = null;
    OracleSSLCredential credential = null;
    try {
    httpsConnection = new HTTPConnection("https", hostname, port);
    } catch (IOException e) {
    System.out.println("HTTPS Protocol not supported");
    System.exit(-1);
    try {
    credential = new OracleSSLCredential();
    credential.setWallet(walletPath, password);
    } catch (IOException e) {
    System.out.println("Could not open wallet");
    System.exit(-1);
    httpsConnection.setSSLEnabledCipherSuites(new String[]{"SSL_RSA_WITH_RC4_128_SHA","SSL_RSA_WITH_3DES_EDE_CBC_SHA","SSL_RSA_WITH_RC4_128_MD5","SSL_RSA_WITH_DES_CBC_SHA","SSL_DH_anon_WITH_3DES_EDE_CBC_SHA"});
    // httpsConnection.setSSLCredential(credential);
    System.out.println("Set credentials and cipher suite");
    try {
    httpsConnection.connect();
    System.out.println("Connected!!!!!");
    } catch (IOException e) {
    System.out.println("Could not establish connection");
    e.printStackTrace();
    System.exit(-1);
    //javax.servlet.request.
    X509Certificate[] peerCerts = null;
    /* try {
    SSLSession sslSession = httpsConnection.getSSLSession();
    System.out.println("Getting session.........");
    httpsConnection.connect();
    }catch(Exception e){
    e.printStackTrace();
    System.out.println("null Getting session.........");
    System.exit(-1);
    try{
    peerCerts =
    (httpsConnection.getSSLSession()).getPeerCertificateChain();
    } catch (javax.net.ssl.SSLPeerUnverifiedException e) {
    System.err.println("Unable to obtain peer credentials");
    e.printStackTrace();
    System.exit(-1);
    String peerCertDN =
    peerCerts[peerCerts.length - 1].getSubjectDN().getName();
    peerCertDN = peerCertDN.toLowerCase();
    if (peerCertDN.lastIndexOf("cn=" + hostname) == -1) {
    System.out.println("Certificate for " + hostname +
    " is issued to " + peerCertDN);
    System.out.println("Aborting connection");
    System.exit(-1);
    try {
    HTTPResponse rsp = httpsConnection.Get("/spmlws/HttpSoap11?wsdl");
    System.out.println("Server Response: ");
    System.out.println(rsp.getText());
    System.out.println("Server Response: ");
    System.out.println(rsp.getText());
    } catch (Exception e) {
    System.out.println("Exception occured during Get");
    e.printStackTrace();
    System.exit(-1);
    =====================================================
    But on using the client proxy generated for my webservice using JDeveloper and then setting the system properties such as
    System.setProperty("javax.net.ssl.keyStore",keyStore);
    System.setProperty("javax.net.ssl.keyStorePassword", keyStorePassword);
    System.setProperty("javax.net.ssl.trustStore", trustStore);
    System.setProperty("javax.net.ssl.trustStorePassword",trustStorePassword);
    System.setProperty("javax.net.ssl.keyStoreType","JKS");
    System.setProperty("javax.net.ssl.trustStoreType","JKS");
    I get the following exception:
    <MSG_TEXT>IOException in ServerSocketAcceptHandler$AcceptHandlerHorse:run</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[javax.net.ssl.SSLProtocolException: handshake alert: no_certificate
    at com.sun.net.ssl.internal.ssl.ServerHandshaker.handshakeAlert(ServerHandshaker.java:1031)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1535)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1038)
    at oracle.oc4j.network.ServerSocketAcceptHandler.doSSLHandShaking(ServerSocketAcceptHandler.java:250)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:868)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    ]]></SUPPL_DETAIL>
    Please can anybody help me with this!!!!
    Thanks in advance
    Nilesh

    Hi,
    Try the following.
    String_arctest model = new String_arctest();
    ReturnTestString str=new ReturnTestString(model);
    str.setArg1("HalloWelt");
    Request_ReturnTestString req=new Request_ReturnTestString(model);
    req.addReturnTestString(str);
    wdContext.nodeRequest_ReturnTestString().bind(req);
    wdContext.nodeRequest_ReturnTestString()
         .currentRequest_ReturnTestStringElement().modelObject().execute();
    wdContext.nodeResponse().invalidate();
    wdContext.nodeResponse().nodeReturnTestStringResponse().invalidate();
    Regards, Anilkumar

  • Problem in WebServices

    Hi,
    I created an ejb webservice. I imported the webservice using adaptive webservice model. I have done model binded to the component controllers context. Now i have mapped it to the view. Now after deployment i found the input field ui element in disabled state. For this i have changed all the possibilities of cardinality for the model node. But still i am facing the same problem.
    Kindly help me to solve this out.
    Thanks,
    Chaitanya.

    hi,
       for using the web servies ur Application we have to instantiate the model classes.
    for eg :
    try{
                FindAllEmployees model = new FindAllEmployees();
                Request_FindEmployeeById req = new Request_FindEmployeeById(model);
                FindEmployeeByIdReqMsg employee = new FindEmployeeByIdReqMsg(model);
                req.setFindEmployeeByIdReqMsg(employee);
                wdContext.nodeRequest_FindEmployeeById().bind(req);
                wdContext.currentRequest_FindEmployeeByIdElement().modelObject().execute();
                wdContext.nodeResponse().invalidate();
                wdContext.nodeFindEmployeeByIdResMsg().invalidate();
                wdContext.nodeEmployeeDetailsById().invalidate();
           }catch(Exception e){
                wdComponentAPI.getMessageManager().reportException(e);
    After Instantiating the model class we have to invalidate the response node.
    use messagemanager to verify whether the model is getting executed .as wdComponentApI.getMessageMnager().reportSuccess("initializing the model node");
    i think this will help u to see where u r making mistake
    Hope this will solve ur problem
    thanks and regards
    Fistae

  • Importing Webservice

    Dear Expert
    I have imported a webservice and created the model context and controller context. I need to identify what are the input and output of the webservice.
    One more question how to set the input parameters and retrive the output parameters
    and what is the code for executing webservice
    Thanks & Regards
    Vinu

    Hi ,
    Please find the below code which I used for adaptive webservice model.
    here my webservice is ABAP webservice.
    WddoIniti()
    Modeltest model = new Modeltest();
        Request_BAPI_MATERIAL_EXISTENCECHECK req = new Request_BAPI_MATERIAL_EXISTENCECHECK(model);
        BAPI_MATERIAL_EXISTENCECHECK mat = new BAPI_MATERIAL_EXISTENCECHECK(model);
        req.setBAPI_MATERIAL_EXISTENCECHECK(mat);
        wdContext.nodeRequest_BAPI_MATERIAL_EXISTENCECHECK().bind(req);
    and write this code in onAction of button.
              wdContext.currentRequest_BAPI_MATERIAL_EXISTENCECHECKElement().modelObject().execute();
              wdContext.nodeResponse().invalidate();
    Note: What ever you have under response node is output and what ever you have under main node is request.
    You need to pass the data to input node and you get the output to response node.
    working with webservice like setting and getting the data is similar to your RFC code.  One more point is
    wdContext.nodeResponse().invalidate(); is must in webservice.
    Thanks,
    Gopi

  • Deployment of a WebService on WLS that uses PAPI code

    I have a web-service that uses PAPI code..
    We need to deploy it I am guessing on the WLS server.. Where do we deploy it inside WLS? Is it under deployments or services?
    Do we make a WAR or an EAR file?
    We need to give the exact path for the directory.xml which is used in our code ...Where can we find this path on WLS or Enterprise Server?
    i.e.
    configuration.setProperty(ProcessService.DIRECTORY_PROPERTIES_FILE,
    Also once we deploy it on WLS, what would be the WSDL path to access and make a client out of it?
    http://testServer:1234/testTicket/services/CallPAPI?wsdl
    does not work..

    Hi,
    Assuming you context to be..
    Context
    --Request_PedidoAutorizacao (node)
    PedidoAutorizacao (node)
    RefPagamento (attribute)
    <i>You are invalidating Request_PedidoAutorizacao which is your main node.This node contians subnode PedidoAutorizacao</i>
    <i>which has the input attribute RefPagamento</i>.
    // try the following
    WS_PagamentoVisa model = new WS_PagamentoVisa();
    Request_PedidoAutorizacao req = new Request_PedidoAutorizacao(model);
    PedidoAutorizacao input = new PedidoAutorizacao(model);
    req.setPedidoAutorizacao(input);
    wdContext.nodeRequest_PedidoAutorizacao().bind(req);
    wdContext.currentPedidoAutorizacaoElement.setRefPagamento("12321321323");
    wdContext.currentRequest_PedidoAutorizacaoElement().modelObject().execute();
    wdContext.nodeResponse.invalidate(); // invalidate your response node

Maybe you are looking for

  • IWeb '08 and Maveric

    Hi there i am having issues with my new MAC that has Maveric on it. In my previous MAC OS 10.6.8 i had iWeb '08, which application does not work with the new Maveric. I was told by Apple support to find the iLife '09 or iWeb '09 which should solve th

  • Adding Page Display options to the Toolbar (Tool Sets)

    I'm not seeing how to add page displays to the Tool Sets. Is there a way to do this? Ditto for returning to beginning or end of Document, or even returning to previous position. These were available in Acr. X Thanks (Mac Mtn Lion user)

  • Streamed H.264 videos not playing correctly thru IE

    I'm new at web stuff so this is probably the dopiest question yet, but here goes. I'm setting up a web page where my clients can stream a "quick-start" QT movie. My tests have worked perfectly on my own computer (Mac Quicksilver) using Safari and QT7

  • Error during loding Material Hierarchy

    Hi: While loading a Material master hieararchy I;m getting a following error. "Syntax errors are contained in the generated conversion program in row 0" - RSAR 683. Any Idea Why?

  • Are you happy with video playback on a fairly new non-HP Vista machine?

    Has anyone been able to successfully play back iTunes videos on recently-purchased non-HP Vista computers? There have been a number of posts about inability to play back iTunes videos, and I'm getting the impression we're all HP users. If you have a