No Results after executing Adaptive Web Service

Hello experts,
I develope Web Dynpro applications and currently try to consume a web service from our ERP system but I get no results from the service. When trying to consume the service with a soap-tool or with .NET, everything works fine.
The Web Service was generated on an already available RFC.
The service has one input parameter, which is a department name. The output should be all employees, which work in the consigned department.
For consuming the service I created a Web Service Destination in the Visual Administrator ([see this blog|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417100%29ID0139461950DB10406225565548708901End?blog=/pub/wlg/5186]).
After creating the Destination I imported the service as an adaptive web service model in my web dynpro project.
After binding the model to the component controller I implemented the following code in the controller:
public void wdDoInit()
    model = new Z_WF_DEPARTMENT_OIC();
    Request_ZWfDepartmentOic requestMO = new Request_ZWfDepartmentOic(model);
    ZWfDepartmentOic departmentMO = new ZWfDepartmentOic(model);
    requestMO.setZWfDepartmentOic(departmentMO);
    wdContext.nodeRequest_ZWfDepartmentOic().bind(requestMO);
public void executeRequest_ZWfDepartmentOic( )
  try{
    wdContext.currentRequest_ZWfDepartmentOicElement().modelObject().execute();
    wdContext.nodeResponse().invalidate();     
  } catch (Exception e) {
    wdComponentAPI.getMessageManager().reportException(e.toString(),false);
I did the implementation as descibed in the following document:
[http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/900bbf94-a7a8-2910-e298-a651b4706c1e&overridelayout=true]
On the UI I have one input field for the department name and a table which should show the result and one table which shows messages which are returned by the web service.
After executing the code, I get no result from the service. In my table with the messages I get one entry which just shows zeros in the fields "LogMsgNo" and "Number".
Does anybody have a hint, what could be wrong with my proceeding?
Edited by: Dennis Isaak on Oct 16, 2009 10:37 AM

Check this blog post:
http://www.drflex.eu/2008/06/dynamically-populate-dropdown-lists-using-webservices/
This comfirms that after you execute a web service, the Drop-Down List fields will become empty due to remerge operation. Well, I have to issue a remerge, otherwise, the PDF will not be populated properly.
Tarek.

Similar Messages

  • All Field Bindings are lost after executing a Web Service.

    Hi All,
    I noticed that after a Web Service (Data Connection) is executed inside the PDF (XFA), all bindings are lost.
    For example, if there is a Drop-Down List Field whose Items (list) are bound to XML Data Source (Data Connection), this binding is lost after the Web Service is executed.
    However, the XML Data Connection is still there, as I could verify this, but I don't know how to rebind the data to the Drop-Down List after executing the web service.
    Appreciate your help.
    Tarek.

    Check this blog post:
    http://www.drflex.eu/2008/06/dynamically-populate-dropdown-lists-using-webservices/
    This comfirms that after you execute a web service, the Drop-Down List fields will become empty due to remerge operation. Well, I have to issue a remerge, otherwise, the PDF will not be populated properly.
    Tarek.

  • Problem executing a web service using adaptive web service model

    Hi,<br/>
    I'm trying to execute a web servide using the adaptive web service model. The web service is generated by a java web application using apache axis 1.2<br/>
    I can import the model without problems, but when I try to run the application (containing a form for parameters, a button to execute the web service and a table to show results) it gives the following exception: <br/><br/>
    <code>
    java.lang.IllegalArgumentException: Target role name 'GetProductMaster' not defined for model class 'Request_GetProductMaster'
         at com.sap.tc.webdynpro.model.webservice.base.model.BaseGenericModelClass.retrieveTargetRoleInfo(BaseGenericModelClass.java:93)
         at com.sap.tc.webdynpro.model.webservice.base.model.BaseGenericModelClass.getRelatedModelObject(BaseGenericModelClass.java:388)
         at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModelClass.getRelatedModelObject(WSTypedModelClass.java:66)
         at com.baufest.goe.wstest.model.Request_GetProductMaster.getGetProductMaster(Request_GetProductMaster.java:46)
         at com.baufest.goe.wstest.app.wdp.IPublicTestWS2App$IGetProductMasterNode.doSupplyElements(IPublicTestWS2App.java:529)
         at com.sap.tc.webdynpro.progmodel.context.Node.supplyElements(Node.java:406)
         at com.sap.tc.webdynpro.progmodel.context.Node.getElementList(Node.java:345)
         at com.sap.tc.webdynpro.progmodel.context.Node.createMappedElementList(Node.java:498)
         at com.sap.tc.webdynpro.progmodel.context.Node.supplyElements(Node.java:393)
         at com.sap.tc.webdynpro.progmodel.context.Node.getElementList(Node.java:345)
         at com.sap.tc.webdynpro.progmodel.context.Node.getElements(Node.java:333)
         at com.sap.tc.webdynpro.progmodel.context.Node.getElementAtInternal(Node.java:615)
         at com.sap.tc.webdynpro.progmodel.context.Paths.followPath(Paths.java:897)
         at com.sap.tc.webdynpro.progmodel.context.Paths.followPath(Paths.java:852)
         at com.sap.tc.webdynpro.progmodel.context.Paths.isValid(Paths.java:612)
         at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.AbstractInputField._isValidBindingOfPrimaryProperty(AbstractInputField.java:1167)
         at com.sap.tc.webdynpro.progmodel.view.UIElement.getEnabled(UIElement.java:364)
         at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.Label._isEnabled(Label.java:115)
         at com.sap.tc.webdynpro.progmodel.view.UIElement.getEnabled(UIElement.java:364)
         at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.LabelAdapter.getEnabled(LabelAdapter.java:213)
         at com.sap.tc.ur.renderer.ie6.LabelRenderer.render(LabelRenderer.java:84)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutCellFragment(MatrixLayoutRenderer.java:790)
         at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutRowFragment(MatrixLayoutRenderer.java:376)
         at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutFragment(MatrixLayoutRenderer.java:326)
         at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.render(MatrixLayoutRenderer.java:79)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:619)
         at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:74)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.ur.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutItemFragment(FlowLayoutRenderer.java:254)
         at com.sap.tc.ur.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutFragment(FlowLayoutRenderer.java:210)
         at com.sap.tc.ur.renderer.ie6.FlowLayoutRenderer.render(FlowLayoutRenderer.java:49)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:619)
         at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:74)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.UiWindowRenderer.render(UiWindowRenderer.java:52)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendHtml(HtmlClient.java:1042)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.fillDynamicTemplateContext(HtmlClient.java:455)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:1229)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.retrieveData(HtmlClient.java:252)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRetrieveData(WindowPhaseModel.java:595)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:156)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
         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)
    </code>
    <br/><br/>
    The model is imported without errors, and gives the following tree:<br/><br/>
    <ul>
    <li>ProdMast</li>
    <ul>
    <li>                                          Model Classes</li>
    <ul>
    <li>                                                   GetProductMaster</li>
    <li>                                                   GetProductMasterResponse</li>
    <ul><li>                                                             GetProductMasterReturn</li></ul>
    <li>                                                   Product</li>
    <li>                                                   Request_GetProductMaster</li>
    <ul><li>                                                             GetProductMaster</li>
    <li>                                                             Response</li></ul>
    <li>                                                   Response_GetProductMaster</li>
    <ul><li>                                                             Fault</li>
    <li>                                                             GetProductMasterResponse</li></ul>
    <li>                                                   WebServiceException</li>
    </ul></ul></ul>
    <br/><br/>
    If you know what could be causing this problem or a way to make it work please let me know<br/>
    Thanks,<br/>
    Guillermo

    The WSDL that I'm using (generated by Apache Axis) is the following:<br/><br/>
    <code>
    &lt;?xml version="1.0" encoding="UTF-8"?&gt;<br/>&lt;wsdl:definitions targetNamespace="http://XXX.XXX.XXX.XXX:9876/axis/services/WebMasterData" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://XXX.XXX.XXX.XXX:9876/axis/services/WebMasterData" xmlns:intf="http://XXX.XXX.XXX.XXX:9876/axis/services/WebMasterData" xmlns:tns1="http://ws.web.test.company.com" xmlns:tns2="urn:Product" xmlns:tns3="urn:WebServiceException" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;<br/>&lt;!WSDL created by Apache Axis version: 1.2<br/>Built on May 03, 2005 (02:20:24 EDT)&gt;<br/> &lt;wsdl:types&gt;<br/>  &lt;schema elementFormDefault="qualified" targetNamespace="http://ws.web.test.company.com" xmlns="http://www.w3.org/2001/XMLSchema"&gt;<br/>   &lt;import namespace="urn:WebServiceException"/&gt;<br/>   &lt;import namespace="urn:Product"/&gt;<br/>   &lt;element name="getProductMaster"&gt;<br/>    &lt;complexType&gt;<br/>     &lt;sequence&gt;<br/>      &lt;element name="sessionId" type="xsd:string"/&gt;<br/>      &lt;element name="language" type="xsd:string"/&gt;<br/>     &lt;/sequence&gt;<br/>    &lt;/complexType&gt;>
       &lt;/element&gt;<br/>   &lt;element name="getProductMasterResponse"&gt;<br/>    &lt;complexType&gt;<br/>     &lt;sequence&gt;<br/>      &lt;element maxOccurs="unbounded" name="getProductMasterReturn" type="tns2:Product"/&gt;<br/>     &lt;/sequence&gt;<br/>    &lt;/complexType&gt;<br/>   &lt;/element&gt;<br/>  &lt;/schema&gt;<br/>  &lt;schema elementFormDefault="qualified" targetNamespace="urn:Product" xmlns="http://www.w3.org/2001/XMLSchema"&gt;<br/>   &lt;import namespace="urn:WebServiceException"/&gt;<br/>   &lt;complexType name="Product"&gt;<br/>    &lt;sequence&gt;<br/>     &lt;element name="num_conv_stat_cs" nillable="true" type="xsd:int"/&gt;<br/>     &lt;element name="cat_desc" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="prod_typ" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="dst_chan" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="old_prod_nbr" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="slsorg" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="id" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="div" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="nwt_val" nillable="true" type="xsd:decimal"/&gt;<br/>     &lt;element name="sls_uom" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="den_conv_alt_uom" nillable="true" type="xsd:int"/&gt;<br/>     &lt;element name="nwt_un" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="num_conv_layer" nillable="true" type="xsd:int"/&gt;<br/>     &lt;element name="prod_grp" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="brn_desc" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="hilgt" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="num_conv_pl" nillable="true" type="xsd:int"/&gt;<br/>     &lt;element name="den_conv_stat_cs" nillable="true" type="xsd:int"/&gt;<br/>     &lt;element name="den_conv_layer" nillable="true" type="xsd:int"/&gt;<br/>     &lt;element name="extl_prod_nbr" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="net_vol_un" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="num_conv_alt_uom" nillable="true" type="xsd:int"/&gt;<br/>     &lt;element name="den_conv_pl" nillable="true" type="xsd:int"/&gt;<br/>     &lt;element name="bs_uom" nillable="true" type="xsd:string"/&gt;<br/>     &lt;element name="net_vol_val" nillable="true" type="xsd:decimal"/&gt;<br/>     &lt;element name="prod_desc" nillable="true" type="xsd:string"/&gt;<br/>    &lt;/sequence&gt;<br/>   &lt;/complexType&gt;<br/>  &lt;/schema&gt;<br/>  &lt;schema elementFormDefault="qualified" targetNamespace="urn:WebServiceException" xmlns="http://www.w3.org/2001/XMLSchema"&gt;<br/>   &lt;import namespace="urn:Product"/&gt;<br/>   &lt;complexType name="WebServiceException"&gt;<br/>    &lt;sequence/&gt;<br/>   &lt;/complexType&gt;<br/>  &lt;/schema&gt;<br/>  &lt;schema elementFormDefault="qualified" targetNamespace="http://XXX.XXX.XXX.XXX:9876/axis/services/WebMasterData" xmlns="http://www.w3.org/2001/XMLSchema"&gt;<br/>   &lt;import namespace="urn:WebServiceException"/&gt;<br/>   &lt;import namespace="urn:Product"/&gt;<br/>   &lt;element name="fault" type="tns3:WebServiceException"/&gt;<br/>  &lt;/schema&gt;<br/> &lt;/wsdl:types&gt;<br/>   &lt;wsdl:message name="WebServiceException"&gt;<br/>      &lt;wsdl:part element="impl:fault" name="fault"/&gt;<br/>   &lt;/wsdl:message&gt;<br/>   &lt;wsdl:message name="getProductMasterRequest"&gt;<br/>      &lt;wsdl:part element="tns1:getProductMaster" name="parameters"/&gt;<br/>   &lt;/wsdl:message&gt;<br/>   &lt;wsdl:message name="getProductMasterResponse"&gt;<br/>      &lt;wsdl:part element="tns1:getProductMasterResponse" name="parameters"/&gt;<br/>   &lt;/wsdl:message&gt;<br/>   &lt;wsdl:portType name="WebMasterData"&gt;<br/>      &lt;wsdl:operation name="getProductMaster"&gt;<br/>         &lt;wsdl:input message="impl:getProductMasterRequest" name="getProductMasterRequest"/&gt;<br/>         &lt;wsdl:output message="impl:getProductMasterResponse" name="getProductMasterResponse"/&gt;<br/>         &lt;wsdl:fault message="impl:WebServiceException" name="WebServiceException"/&gt;<br/>      &lt;/wsdl:operation&gt;<br/>   &lt;/wsdl:portType&gt;<br/>   &lt;wsdl:binding name="WebMasterDataSoapBinding" type="impl:WebMasterData"&gt;<br/>      &lt;wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/&gt;<br/>      &lt;wsdl:operation name="getProductMaster"&gt;<br/>         &lt;wsdlsoap:operation soapAction=""/&gt;<br/>         &lt;wsdl:input name="getProductMasterRequest"&gt;<br/>            &lt;wsdlsoap:body use="literal"/&gt;<br/>         &lt;/wsdl:input&gt;<br/>         &lt;wsdl:output name="getProductMasterResponse"&gt;<br/>            &lt;wsdlsoap:body use="literal"/&gt;<br/>         &lt;/wsdl:output&gt;<br/>         &lt;wsdl:fault name="WebServiceException"&gt;<br/>            &lt;wsdlsoap:fault name="WebServiceException" use="literal"/&gt;<br/>         &lt;/wsdl:fault&gt;<br/>      &lt;/wsdl:operation&gt;<br/>   &lt;/wsdl:binding&gt;<br/>   &lt;wsdl:service name="WebMasterDataService"&gt;<br/>      &lt;wsdl:port binding="impl:WebMasterDataSoapBinding" name="WebMasterData"&gt;<br/>         &lt;wsdlsoap:address location="http://XXX.XXX.XXX.XXX:9876/axis/services/WebMasterData"/&gt;<br/>      &lt;/wsdl:port&gt;<br/>   &lt;/wsdl:service&gt;<br/>&lt;/wsdl:definitions&gt;<br/>
    </code>

  • Error while creating adaptive web service model

    Hi All,
    There is a requirement where the webdynpro application is deployed in backend system while the web service is created in the front end system. We need to connect to this web service and execute it in our webdynpro application to get response. For this we have created Logical Destination in backend system that points to the web service in the front end system.
    The web service, when tested directly through Web Services Navigator, works fine.
    Here, while creating an Adaptive Web Service Model in the webdynpro application, after giving name, package, destination name etc when I enter wsdl url and click on Next I am getting an error as u201CError in downloading the WSDL fileu201D.
    The error log says u201Ccom.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException:Exception on creation of service metadata for WSDL URLu201D.
    Even if I try to create model with url only by selecting u201CNo Logical Destinationsu201D, error remains the same.
    What may be the reason for this and possible solution?
    Appreciate an early response.
    Regards,
    Mitali

    Hi
    Plesae go thriugh the Wiki and the pdf file
    https://wiki.sdn.sap.com/wiki/display/WDJava/FAQ-Models-AdaptiveWebService
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7&overridelayout=true
    Thanks
    Susmita

  • Error while executing Test Web Service

    Hi,
    I get an error while trying to test the web service deployed on Weblogic 10.3.1 through jdeveloper 11.1.1.1.0.
    This simple web service is created by following the example in http://www.oracle.com/technology/products/jdev/11/cuecards111/j2ee_set_16/ccset16_ALL.html
    After deploying the web service, the Test Web service Event in the Enterpise manager results in error. The error is as follows : -
    The selected operation processRating could not be invoked.
    An exception occured while invoking the webservice operation. Please see logs for more details.
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.fabric.common.PolicyEnforcementException
    +     java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.fabric.common.PolicyEnforcementException at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:570) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(AstValue.java:157) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run+…………………………..
    Has anyone encountered this error ?
    Thanks.

    HI,
    RFc is not called becuase:
    1. we tried RFC debuggin with proper user. it never stopped at break point.
    2. TCODE: sxmb_moni in PI did not show any entry for incoming messages.
    The import bindings are proper. We tried using .execute(1) , nothing happened.
    We are able execute freely avaliable Web service but not the one exposed from PI.
    Hence we feel their is problem between PDF and PI itself.
    The user we put in the pop up is SERVICE USER. The PI consultant uses the same user and is able to execute but from PDF we are not able to execute.
    We also tried with a DIALOG USER with same roles and authhorizations as the SERVICE USER. BUt still it did not execute.
    Thanks and Regards,
    Aditya Deshpande
    Edited by: Aditya Deshpande on Nov 16, 2009 1:00 PM

  • Major drawbacks of the adaptive web service model

    Hi,
    we are developing a web dynpro application using web services as backend and chose the adaptive web service model as “client framework”.
    Recently I ran into some major drawbacks and would like to here your opinion. At the moment I’m not sure if we shouldn’t change to some client framework like axis and use java bean model instead.
    The problems we discovered:
    Problems with setting null to primitive types
    In a complex type used in wsdl, a double attribute may be null. The model generates this attribute as double object (good - because double java type can not be null), but setting null to this attribute causes an exception:
    com.sap.tc.webdynpro.model.webservice.base.exception.BaseModelRuntimeException: Must not assign null to primitive type 'double' of attribute ' someAttribute' in model class ' Complex'
    The wsdl looks like this:
    <xsd:complexType name="Complex">
    <xsd:element minOccurs="0" name="someAttribute" nillable="true" type="xsd:double">
    </xsd:complexType>
    No support of web service exceptions!
    If I create a Java implementation of a web service which throws checked exceptions in its methods, the WSDL  is generated accordingly.
    A client framework like Axis generates client methods that throw such exceptions. The adaptive web service model doesn’t. The fault part of an message in wsdl is generated in the model classes but never filled after an error occurred. Can I retrieve the checked exception and its data somehow?
    This is essential for our project!
    Did I get something wrong? Are there commons solutions?
    Best regards
    Dominik

    > Dominik,
    >
    > About first issue: this sounds like a bug. Try to
    > submit your bug report.
    >
    > Second problem: if I understand correctly, the
    > general code pattern is:
    >
    > try {
    >   ws.execute();
    > catch (final CMIException cmiException) {
    >   ...
    >
    >
    >
    > Did you try to check cmiException.getCause() ?
    >
    > Valery Silaev
    > SaM Solutions
    > http://www.sam-solutions.net
    Yes I did. At the end of the cause chain theres a general exception (something like GeneralSoapFault). The message of this exception contains the full qualified name of my exception from the backend and the message.
    But I can't find the checked exception. Properties are lost.
    If I turn on the log and check the response I can see the xml contains the exception.

  • Invalidate Adaptive Web Service Meta Data Cache?

    As the subject says - how can I invalidate the Adaptive Web Service meta data cache?  Currently, the only way we can invalidate the cache is to restart the app server, which takes quite a while.
    I've tried restarting the Web Dynpro Runtime service, but this didn't do anything.
    We're running nw70.

    Hi,
    Please consider the following:
    For JCO Models running on NW 7.2 you go to:
    1) NWA
    2) Availability and Performance Management --> Resource Monitoring
    3) JCO Monitoring
    4) Metadata Cache
    5) Click on clear of the desired cache region.
    For WebServices Cache, please follow the instructions as per notes below:
    Note 1088382 - WSIL results are cached after search
    Note 1123574 - Caching functionality of the Web service connector
    Cheers,
    Ivan

  • Create adaptive web service model for a web dynpro project

    I have been trying to create a new new adaptive web service model for a web dynpro project.I am using the URL of the wsdl file to create the model. I have copied the url link of the wsdl from the overview tab of the web services navigator. The web service works fine when tested through the Netweaver Navigator. This web service has also been used successfully through the Visual Composer. But when I try to create a model for this web service URL, when I click the Next button after entering the URL in the model creation wizard  step 4 , I get "Error loading wsdl file. Check error log for details" Given below is the exception recorded in the error log: (Infact, I get this for all wsdl URLs)
    !MESSAGE Jun 6, 2007 9:44:59 AM           com.sap.ide.webdynpro.ui.service.ServicesUI          [Thread[main,5,main]] Error: Internal error
       Plugin name: Web Dynpro Model Editor
       Plugin ID  : com.sap.ide.webdynpro.modeleditor
       Class      : com.sap.ide.webdynpro.modeleditor.wizards.model.creation.PageRenameWS
       Method     : loadNameSpacesAndModelClasses
       Message    : Cannot load NameSpaces and ModelClasses
    Class Path: C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi_1.0.0/_cmi_api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception_2.0.0/lib/exception.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime_2.0.0/lib/SapDictionaryTypesRuntime.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services_2.0.0/lib/SapDictionaryTypeServices.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/logging.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/loggingStandard.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/jARM.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;
    java.home: C:\java\j2sdk1.4.2_09
    proxyHost:
    proxyPort:
    nonProxyHosts:
    Temporary Directory: C:\DOCUME1\E51914\LOCALS1\Temp\
    WSDL URL: http://etcvpcod108:50100/UserService/Config5?wsdl
       Exception  : com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL http://etcvpcod108:50100/UserService/Config5?wsdl and service factory configuration {DynamicProxy.ClassPath=C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi_1.0.0/_cmi_api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception_2.0.0/lib/exception.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime_2.0.0/lib/SapDictionaryTypesRuntime.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services_2.0.0/lib/SapDictionaryTypeServices.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/logging.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/loggingStandard.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/jARM.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;, DynamicProxy.INetProxy.Bypass=, DynamicProxy.INetProxy.Port=, DynamicProxy.Javac.path=C:\java\j2sdk1.4.2_09, DynamicProxy.TempDir=C:\DOCUME1\E51914\LOCALS1\Temp\, DynamicProxy.INetProxy.Host=}
    !STACK 0
    com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'http://etcvpcod108:50100/UserService/Config5?wsdl' and service factory configuration '{DynamicProxy.ClassPath=C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi_1.0.0/_cmi_api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception_2.0.0/lib/exception.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime_2.0.0/lib/SapDictionaryTypesRuntime.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services_2.0.0/lib/SapDictionaryTypeServices.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/logging.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/loggingStandard.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/jARM.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;, DynamicProxy.INetProxy.Bypass=, DynamicProxy.INetProxy.Port=, DynamicProxy.Javac.path=C:\java\j2sdk1.4.2_09, DynamicProxy.TempDir=C:\DOCUME1\E51914\LOCALS1\Temp\, DynamicProxy.INetProxy.Host=}'
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:413)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:371)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:341)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:305)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:315)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.PageRenameWS.loadNameSpacesAndModelClasses(PageRenameWS.java:435)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog.nextPressed(ModelDialog.java:105)
         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:316)
         at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
         at org.eclipse.jface.window.Window.open(Window.java:563)
         at com.sap.ide.webdynpro.modeleditor.ModelEditorCallback.createModel(ModelEditorCallback.java:52)
         at com.sap.ide.webdynpro.service.modeleditor.ModelService.createModelWithUI(ModelService.java:70)
         at com.sap.ide.webdynpro.service.modeleditor.ServiceWithUI.createModel(ServiceWithUI.java:49)
         at com.sap.ide.webdynpro.tsmodel.application.provider.ModelNodeProvider.createUniqueName(ModelNodeProvider.java:55)
         at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntityUin(EntityImpl.java:936)
         at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntity(EntityImpl.java:502)
         at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.runInternal(CreationAction.java:76)
         at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.access$000(CreationAction.java:24)
         at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction$1.run(CreationAction.java:51)
         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
         at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.run(CreationAction.java:57)
         at com.sap.ide.webdynpro.projectbrowser.actions.PBCreateModelAction.run(PBCreateModelAction.java:95)
         at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)
         at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
         at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
         at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
         at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
         at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:149)
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:49)
         at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:71)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:411)
         ... 53 more

    Hi Srikanth,
    My version was
    Version: 7.0.09
    Build id: 200608262203
    I was able to successfully import the model after I did the following
    1. Re intsall Studion (same version , same build)
    2. Reset the proxy settings to not use Proxy server
    Thanks for looking into it though...
    -Lakshmi

  • Dynamic destinations for adaptive web service in webdynpro for java

    Hi,
    Please advice me on how to create dynamic destination for adaptive web service model in webdynpro for java.
    Regards,
    Patana

    Hi,
    If this is the case, then use the HTTP destination for this.
    What you need to do is:
    1. Create one HTTP destination in visual administrator at services-> Destinations. Provide HTTP url of the your web service and the security options.
    2. Specify this HTTP destination in the code before executing web service model.
    Write following code for that:
    wdContext.current<node name>Element().modelobject()._setHTTPDestination(<Specify HTTP destination name>);
    Then execute your web service model.
    Now, whenever you want to change the server on which your web service is running, make change in the HTTP Destination in visual administrator.
    Refer this link,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7
    Regards,
    Sunaina Reddy T

  • Adaptative web service or EJB ?

    Hi everybody,
    I want consume a web service from  a system SAP R/3.
    Apparently, we can consume with component EJB ...
    What is the difference between a adaptative web service and EJB ?
    More security with EJB ?
    Thanks
    Rodolphe.

    Hi,
    We use for ejbs when we have to store data in database..
    if ejbs r like a medium for data transfer..where session bean contain ur business logic..
    u cn use webdynpro interface as well as jsp interface wid ejb..
    if u r using ejb u'll have to create an ejb projct first then u'll hav to create java proct which will contain ur wrapper class for fields.later on u'll have to create one application project tht wud b an Ear projct.nw u create a web service for session bean ..aftr doin this all u can test webservice which will b executed for ur business method.
    for more security u can use ejb security model :[http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Security.html]
    Web services r created for session bean..so that u cn directly access ur methods via url..
    for a detailed description of web service go through :- [http://help.sap.com/saphelp_nw04/helpdata/en/d6/f9bc3d52f39d33e10000000a11405a/content.htm]
    for ejb project go through this1 :[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ca4a9c90-0201-0010-c389-8738cd51a88e]
    Regards,
    Khushboo

  • Expecting response in XML format after invoking bea web service

    What should I do in order to receive the response from the web service in XML document
    (i.e. a well-formed XML document) after invoking the web service via my client
    application
    (a servlet in my case)? I would like to validate the XML document against a schema
    in my
    servlet. I deployed my web service sucessfully and followed the WSDL web page
    recommendation about creating a client. That is I used the generated stub (client
    jar file
    generated using clientgen) in my servlet. The result I received was a java object
    and not in
    XML document form.

    If you do clientgen on a WSDL, it will generate
    java types by default. You can trun this off by
    setting autotype="false" in the clientgen ant task.
    I have not tried it out, but i think this will use
    javax.xml.soap.SOAPElement instead of
    generated java types. Then you can create a
    DOM object from soap element.
    Another option is to use DII with generic
    typemapping. An example here:
    http://www.manojc.com/?sample27
    Regards,
    -manoj
    http://manojc.com
    "Michael Wong" <[email protected]> wrote in message
    news:3f1edd7c$[email protected]..
    >
    What should I do in order to receive the response from the web service inXML document
    (i.e. a well-formed XML document) after invoking the web service via myclient
    application
    (a servlet in my case)? I would like to validate the XML document againsta schema
    in my
    servlet. I deployed my web service sucessfully and followed the WSDL webpage
    recommendation about creating a client. That is I used the generated stub(client
    jar file
    generated using clientgen) in my servlet. The result I received was ajava object
    and not in
    XML document form.

  • Error import Adaptive Web Service Modal

    Hi, i´m doing an tutorial of import Adaptive Web Service Modal, but when i create the model and write the link: http://www.abysal.com/soap/AbysalEmail.wsdl in the top appear "Error in loading the WSDL file. Check the error log for more details".
    I see the log, but appear:
    Error Mon Sep 24 13:54:37 CEST 2007 Sep 24, 2007 1:54:37 PM          com.sap.ide.webdynpro.ui.service.ServicesUI          [Thread[main,5,main]] Error: Internal error
       Plugin name: Web Dynpro Model Editor
       Plugin ID  : com.sap.ide.webdynpro.modeleditor
       Class      : com.sap.ide.webdynpro.modeleditor.wizards.model.creation.PageRenameWS
       Method     : loadNameSpacesAndModelClasses
       Message    : Cannot load NameSpaces and ModelClasses
    Class Path: C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi/_cmi_api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception/lib/exception.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime/lib/SapDictionaryTypesRuntime.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services/lib/SapDictionaryTypeServices.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging/lib/logging.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging/lib/loggingStandard.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging/lib/jARM.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;
    java.home: C:j2sdk1.4.2_09
    proxyHost:
    proxyPort:
    nonProxyHosts:
    Temporary Directory: C:DOCUME1vcapillaCONFIG1Temp
    WSDL URL: http://www.abysal.com/soap/AbysalEmail.wsdl
       Exception  : com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL http://www.abysal.com/soap/AbysalEmail.wsdl and service factory configuration {DynamicProxy.ClassPath=C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi/_cmi_api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception/lib/exception.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime/lib/SapDictionaryTypesRuntime.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services/lib/SapDictionaryTypeServices.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging/lib/logging.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging/lib/loggingStandard.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging/lib/jARM.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;, DynamicProxy.INetProxy.Bypass=, DynamicProxy.INetProxy.Port=, DynamicProxy.Javac.path=C:j2sdk1.4.2_09, DynamicProxy.TempDir=C:DOCUME1vcapillaCONFIG1Temp, DynamicProxy.INetProxy.Host=}
    com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'http://www.abysal.com/soap/AbysalEmail.wsdl' and service factory configuration '{DynamicProxy.ClassPath=C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi/_cmi_api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception/lib/exception.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime/lib/SapDictionaryTypesRuntime.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services/lib/SapDictionaryTypeServices.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging/lib/logging.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging/lib/loggingStandard.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging/lib/jARM.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;C:/Archivos de programa/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;, DynamicProxy.INetProxy.Bypass=, DynamicProxy.INetProxy.Port=, DynamicProxy.Javac.path=C:j2sdk1.4.2_09, DynamicProxy.TempDir=C:DOCUME1vcapillaCONFIG1Temp, DynamicProxy.INetProxy.Host=}'
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:413)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:371)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:341)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:305)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:315)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.PageRenameWS.loadNameSpacesAndModelClasses(PageRenameWS.java:435)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog.nextPressed(ModelDialog.java:105)
         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:316)
         at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
         at org.eclipse.jface.window.Window.open(Window.java:563)
         at com.sap.ide.webdynpro.modeleditor.ModelEditorCallback.createModel(ModelEditorCallback.java:52)
         at com.sap.ide.webdynpro.service.modeleditor.ModelService.createModelWithUI(ModelService.java:70)
         at com.sap.ide.webdynpro.service.modeleditor.ServiceWithUI.createModel(ServiceWithUI.java:49)
         at com.sap.ide.webdynpro.tsmodel.application.provider.ModelNodeProvider.createUniqueName(ModelNodeProvider.java:55)
         at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntityUin(EntityImpl.java:936)
         at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntity(EntityImpl.java:502)
         at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.runInternal(CreationAction.java:76)
         at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.access$000(CreationAction.java:24)
         at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction$1.run(CreationAction.java:51)
         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
         at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.run(CreationAction.java:57)
         at com.sap.ide.webdynpro.projectbrowser.actions.PBCreateModelAction.run(PBCreateModelAction.java:95)
         at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)
         at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
         at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
         at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
         at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
         at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:149)
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl. java.net.SocketException: Connection reset
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1028)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1115)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
         ... 57 more
    Caused by: java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(SocketInputStream.java:168)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
         at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.readLine(HTTPSocket.java:806)
         at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getInputStream(HTTPSocket.java:341)
         at com.sap.engine.services.webservices.tools.WSDLDownloadResolver.resolveEntity(WSDLDownloadResolver.java:165)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1008)
         ... 59 more
    What happend?
    Thanks,

    Thanks,

  • FIM MA Export errors. There is an error executing a web service object creation.

    While checking for the permission, we have figured that the Built-In Synchronization account is being deleted by an Expiration Workflow.
    FIM MA Export errors. There is an error executing a web service object creation.
    While checking for the permission, we have figured that the Built-in Synchronization account was deleted by an Expiration Workflow
    Is there a way to restore. Thanks.

    I would re-run FIM setup - I think it can re-create this account
    If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer.

  • Create Adaptive Web Service Model

    Hi,
    I have a problem by creating an Adaptive Web Service Model.
    The WSDL file is rpc encoded style.
    We are on NP 7.0.
    We get following error in the import screenflow:
    Error Mon May 14 13:39:59 CEST 2007 May 14, 2007 1:39:58 PM          com.sap.ide.webdynpro.ui.service.ServicesUI          [Thread[main,5,main]] Error: Internal error
       Plugin name: Web Dynpro Model Editor
       Plugin ID  : com.sap.ide.webdynpro.modeleditor
       Class      : com.sap.ide.webdynpro.modeleditor.wizards.model.creation.PageRenameWS
       Method     : loadNameSpacesAndModelClasses
       Message    : Cannot load NameSpaces and ModelClasses
    Class Path: C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi_1.0.0/_cmi_api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception_2.0.0/lib/exception.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime_2.0.0/lib/SapDictionaryTypesRuntime.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services_2.0.0/lib/SapDictionaryTypeServices.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/logging.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/loggingStandard.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/jARM.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;
    java.home: C:\Programme\Java
    proxyHost: proxy
    proxyPort: 80
    nonProxyHosts: aok|10.100.*|
    Temporary Directory: C:\DOKUME1\YI00468\LOKALE1\Temp\
    WSDL URL: D:\Entwicklung\oscare xxx\Arzteinschreibung.wsdl
       Exception  : com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL D:\Entwicklung\oscare xxx\Arzteinschreibung.wsdl and service factory configuration {DynamicProxy.ClassPath=C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi_1.0.0/_cmi_api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception_2.0.0/lib/exception.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime_2.0.0/lib/SapDictionaryTypesRuntime.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services_2.0.0/lib/SapDictionaryTypeServices.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/logging.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/loggingStandard.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/jARM.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;, DynamicProxy.INetProxy.Bypass=aok|10.100.*|, DynamicProxy.INetProxy.Port=80, DynamicProxy.Javac.path=C:\Programme\Java, DynamicProxy.TempDir=C:\DOKUME1\YI00468\LOKALE1\Temp\, DynamicProxy.INetProxy.Host=proxy}
    com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'D:\Entwicklung\oscare xxx\Arzteinschreibung.wsdl' and service factory configuration '{DynamicProxy.ClassPath=C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi_1.0.0/_cmi_api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception_2.0.0/lib/exception.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime_2.0.0/lib/SapDictionaryTypesRuntime.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services_2.0.0/lib/SapDictionaryTypeServices.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/logging.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/loggingStandard.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/jARM.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;C:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;, DynamicProxy.INetProxy.Bypass=aok|10.100.*|, DynamicProxy.INetProxy.Port=80, DynamicProxy.Javac.path=C:\Programme\Java, DynamicProxy.TempDir=C:\DOKUME1\YI00468\LOKALE1\Temp\, DynamicProxy.INetProxy.Host=proxy}'
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:413)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:371)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:341)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:305)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:315)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.PageRenameWS.loadNameSpacesAndModelClasses(PageRenameWS.java:435)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog.nextPressed(ModelDialog.java:105)
         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:316)
         at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
         at org.eclipse.jface.window.Window.open(Window.java:563)
         at com.sap.ide.webdynpro.modeleditor.ModelEditorCallback.createModel(ModelEditorCallback.java:52)
         at com.sap.ide.webdynpro.service.modeleditor.ModelService.createModelWithUI(ModelService.java:70)
         at com.sap.ide.webdynpro.service.modeleditor.ServiceWithUI.createModel(ServiceWithUI.java:49)
         at com.sap.ide.webdynpro.tsmodel.application.provider.ModelNodeProvider.createUniqueName(ModelNodeProvider.java:55)
         at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntityUin(EntityImpl.java:936)
         at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntity(EntityImpl.java:502)
         at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.runInternal(CreationAction.java:76)
         at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.access$000(CreationAction.java:24)
         at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction$1.run(CreationAction.java:51)
         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
         at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.run(CreationAction.java:57)
         at com.sap.ide.webdynpro.projectbrowser.actions.PBCreateModelAction.run(PBCreateModelAction.java:95)
         at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)
         at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
         at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
         at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
         at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
         at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:149)
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:49)
         at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:71)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:411)
         ... 53 more
    Caused by: java.lang.ClassCastException
         at com.sap.engine.services.webservices.espbase.client.dynamic.types.impl.MetadataLoader.LoadMetaData(MetadataLoader.java:260)
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.initServiceBase(DGenericServiceImpl.java:176)
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:147)
         ... 56 more
    Thank you for help!
    Regards,
    Gerhard

    Gerhard,
    Then, I can think of only one possibility. Your WSDL is a RPC/Encoded one.
    Try using a WSDL of type Doc/Literal. This should help in identifying the easter egg. I believe that there might be some unsupported tags in your current WSDL.
    Bala

  • Prob with Adaptive Web Service Model and Response with reference of itself

    Hi guys,
    I am facing a problem with the Adaptive WebService Model. I have a WebService which is working properly in a Servlet and also in the web service navigator,
    The webService has a method let´s say create(objectDTO). The structure of objectDTO is like this:
    propertieA
    propertieB
    propertieC
    propertieChildObjectDTO
    So I can pass a list of objectDTOs to the webService. If i import the webService the structure in the model looks fine, but if i want to map it to any context, only the properties A-C are mapped. propertieChildObjectDTO is not mapped.
    Has anyone a clue on how to solve this problem ? I just tried to add and initialize the propertieChildObjectDTO manually but I got a NullPointerException.
    I would appreciate  your help.
    Happy new year guys
    Regards
    Flo

    Guys......
    seems like i can´t reach my requirement with Adaptive Web Service Model:
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/wdjava/faq%252b-%252bmodels%252b-%252badaptive%252bweb%252bservice
    Now I want to make it by hand. How can I import the regarding EJB ?
    Thanks !
    Flo

Maybe you are looking for

  • Spotlight Search results - how to get the "categories" view full-screen?

    I don't use Spotlight that often, but when I did in TIGER I got a nice listing by category when I requested the SHOW ALL results screen. I saw results grouped by documents, folders, images, pdf, contacts etc. Now with LEOPARD I see the categories whe

  • How do I syncronyse address book?

    My iMac and MacBook are both iCloud enabled. How do I syncronise both adress books, which are both checked with iCloud. I thought this was seemless.

  • Helix's synaptics bottom right click box

    Other than the dropping wireless I get randomly when doing a large download from the internet, the only other issue I have with my 1 week old Helix now is that default bottom right corner "right click" box.  The properties of the driver allow you to

  • Function Module for VLSP

    Hello Everybody, I am trying to find a Function Module that will allow me to split already packed delivery by Handling Unit numbers. That functionality exists in transaction VLSP.... I would appreciate suggestions, Thanks you in advance, Felix

  • Trade Promotion Workflow

    Hello, Is  there any documentation how to customize approval workflow for trade promotions? The SAP Help doucment is not too clear on config . http://help.sap.com/saphelp_crm60/helpdata/en/eb/aa80ae2ea44778a987960a847fc6ce/frameset.htm Thanks a lot.