Consuming a webservice using Webservice model in Webdynpro

Hi all,
I am working on a scenario where in XI is used for calling Remote Function Module of R3 system using SOAP
My XI Consultant has implemented SOAP to RFC scenario in XI succesfully and generated the WSDL file in XI.
I got that WSDL file and saved locally on my desktop.
I created a Webservice model based on the local WSDL file and then gave necessary inputs and also included the following code for the SOAP call to happen
wdContext.currentRequest_Soap2Rfc_Ob_MiElement().modelObject().execute();
  wdContext.nodeResponse().invalidate();
  wdContext.nodeRes_Mt().invalidate();
When I tried to give input data and click on submit it is calling the model object execute method and is throwing the following exception
Exception on execution of web service with WSDL URL 'C:\Documents and Settings\aljsed01\Desktop\soap2rfc_ob_mi.wsdl' with operation 'soap2rfc_ob_mi' in interface 'soap2rfc_ob_mi'
Does any have any idea about this?
Should I require some more steps to do?
Anyhelp in this regard is highly appreciated
Regards,
Santhosh

Hi Anil and Rahul,
Thanks a lot for your help and time.
I have created destinations one for metadata and the other for Execution.
But I am not sure of what URL to be given
I have my WSDL file locally on the system.If I give that path,it says wrong protocol.
And if I give XI URL,it does not pick up metada shows some other error.
What URL should I need to give for locally saved WSDL??Please suggest
And Rahul,here is the WSDL file which my XI consultant gave
Let me know if it is ok.
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:p1="http://soap2rfcns" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="soap2rfc_ob_mi" targetNamespace="http://soap2rfcns">
+     <wsdl:types>+
+          <xsd:schema targetNamespace="http://soap2rfcns" xmlns="http://soap2rfcns" xmlns:xsd="http://www.w3.org/2001/XMLSchema">+
+               <xsd:element name="res_mt" type="res_dt"/>+
+               <xsd:element name="req_mt" type="req_dt"/>+
+               <xsd:complexType name="req_dt">+
+                    <xsd:annotation>+
+                         <xsd:appinfo source="http://sap.com/xi/TextID">0f2ee199b2ce11dca877001a4bf038d4</xsd:appinfo>+
+                    </xsd:annotation>+
+                    <xsd:sequence>+
+                         <xsd:element name="airlineid" type="xsd:string">+
+                              <xsd:annotation>+
+                                   <xsd:appinfo source="http://sap.com/xi/TextID">f17dde30b2cd11dcb5f6001b78b0798a</xsd:appinfo>+
+                              </xsd:annotation>+
+                         </xsd:element>+
+                         <xsd:element name="connectid" type="xsd:string">+
+                              <xsd:annotation>+
+                                   <xsd:appinfo source="http://sap.com/xi/TextID">f17dde31b2cd11dcbcd8001b78b0798a</xsd:appinfo>+
+                              </xsd:annotation>+
+                         </xsd:element>+
+                         <xsd:element name="fldate" type="xsd:date">+
+                              <xsd:annotation>+
+                                   <xsd:appinfo source="http://sap.com/xi/TextID">f17dde32b2cd11dc986c001b78b0798a</xsd:appinfo>+
+                              </xsd:annotation>+
+                         </xsd:element>+
+                    </xsd:sequence>+
+               </xsd:complexType>+
+               <xsd:complexType name="res_dt">+
+                    <xsd:sequence>+
+                         <xsd:element name="econofree" type="xsd:integer">+
+                              <xsd:annotation>+
+                                   <xsd:appinfo source="http://sap.com/xi/TextID">6906c250b2ce11dca99e001b78b0798a</xsd:appinfo>+
+                              </xsd:annotation>+
+                         </xsd:element>+
+                         <xsd:element name="bussfree" type="xsd:integer">+
+                              <xsd:annotation>+
+                                   <xsd:appinfo source="http://sap.com/xi/TextID">6906c251b2ce11dc9996001b78b0798a</xsd:appinfo>+
+                              </xsd:annotation>+
+                         </xsd:element>+
+                         <xsd:element name="firstfree" type="xsd:integer">+
+                              <xsd:annotation>+
+                                   <xsd:appinfo source="http://sap.com/xi/TextID">6906c252b2ce11dc9c70001b78b0798a</xsd:appinfo>+
+                              </xsd:annotation>+
+                         </xsd:element>+
+                    </xsd:sequence>+
+               </xsd:complexType>+
+          </xsd:schema>+
+     </wsdl:types>+
+     <wsdl:message name="req_mt">+
+          <wsdl:part name="req_mt" element="p1:req_mt" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/>+
+     </wsdl:message>+
+     <wsdl:message name="res_mt">+
+          <wsdl:part name="res_mt" element="p1:res_mt" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/>+
+     </wsdl:message>+
+     <wsdl:portType name="soap2rfc_ob_mi">+
+          <wsdl:operation name="soap2rfc_ob_mi">+
+               <wsdl:input message="p1:req_mt"/>+
+               <wsdl:output message="p1:res_mt"/>+
+          </wsdl:operation>+
+     </wsdl:portType>+
+     <wsdl:binding name="soap2rfc_ob_miBinding" type="p1:soap2rfc_ob_mi" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">+
+          <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>+
+          <wsdl:operation name="soap2rfc_ob_mi">+
+               <soap:operation soapAction="http://sap.com/xi/WebService/soap1.1" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>+
+               <wsdl:input>+
+                    <soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>+
+               </wsdl:input>+
+               <wsdl:output>+
+                    <soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>+
+               </wsdl:output>+
+          </wsdl:operation>+
+     </wsdl:binding>+
+     <wsdl:service name="soap2rfc_ob_miService">+
+          <wsdl:port name="soap2rfc_ob_miPort" binding="p1:soap2rfc_ob_miBinding" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">+
+               <soap:address location="http://sapxidev:50000/XISOAPAdapter/MessageServlet?channel=:BS_SS:req_cc&version=3.0&Sender.Service=BS_SS&Interface=http%3A%2F%2Fsoap2rfcns%5Esoap2rfc_ob_mi" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>+
+          </wsdl:port>+
+     </wsdl:service>+
</wsdl:definitions>
Rgds,
Santhosh

Similar Messages

  • Consuming MII WebService in Java WebDynpro

    Hello,
    We are facing a strange situation...
    We define a transaction in MII to be consumed as WebService in Java WebDynpro. This transaction is a simple query on a DB returning 4 fields :
    Shift code : SHIFT
    Shift description : DESCRIPTION
    Start time : START_TIME
    End time : END_TIME
    It works fine, we use the import adaptative web service wizzard in netweaver developper studio to use this WS...
    But if we to an update on the webservice, changing a field name for example (SHIFT -> SHIFTCODE), we start to have trouble...
    We got then the very helpful error message :
    Exception on execution of web service with WSDL URL '<sever>/WebServices/GetShift' with operation 'Xacute' in interface 'XacuteWSSoap'
    If I display the model info using wdContext.currentRequest_XacuteElement().modelObject().associatedModelClassInfo().getModelInfo().toString()
    I got the following (extract) :
    <ModelClassPropertyInfo name="SHIFT" dataType="com.sap.tc.webdynpro.model.webservice.types.string(java.lang.String)" readOnly="false" qName="SHIFT" required="true" backendType="null"/>
    As you can see, the model definition is NOT updated and we still have SHIFT as name instead of SHIFTCODE...
    If someboby has an idea, it will save us our life ;o)
    Thank you
    PS:it the same behaviour if we add a field...

    Oliver -
    Did you try to reimport the WS model ..? If yes and still doesn't work...Try  to delete the old proxy in webdynpro ( adoptive ws) and import again.
    To avoid code changes,you can give same old name while fresh import.
    Adoptive WS in webdynpro  is not really like Adoptive RFC .It has some limitations.
    Thanks
    Hari

  • Consuming external webservice in webdynpro

    Hi colleagues
    I am trying to consume a webservice "BORM_API_A1S_GET_UPD_SW_VECTOR" in webdynpro, it is an external webservice
    i have followed the below steps and ended up with an error
    Steps:
    1) created a Adaptive web service model
    2) got the WSDL source from "Remotelocation/fileSystem"
    3) given the WSDL URL Acess as "e:///C:\Documents and Settings\Desktop\BORM_API_A1S_GET_UPD_SW_VECTOR.wsdl"
    4) created a service group
    5) then i have done the " model to controller" binding and "controller to view" binding
    6) in the INIT method of controller i have creted the instance of the model and binded it to the context element
    7) set some some values in the init methiod(for input parameters)
    8) designed a view to get the values that are set into the input parameters
    9) Configured the service group
    i am getting an error saying    
    "*java.io.IOException: Cannot connect to https://service.sap.com:443/sap/bc/bsp/spn/swdc/slm/accessctrl.do, used user to connect: S0004119795, message : Unable to connect to service.sap.com:443 - service.sap.com*"
    I think i am doing wrong service confuguration
    steps i have followed to Configure the service group are given below
    1) logged into http://ldcidwd.wdf.sap.corp:50000/nwa
    2) SOA management-->technical information --> system connections
       here i have selected the provider systems tab, and created a new provider system of system type "Java"
    Here i need to provide someother information which i am not sure about what to provide, Could any one let me know what to be provided for the other fields
    u2022     System Type: Java
    u2022     System Name: <System ID> ?( what is this)
    u2022     Host: <Host>?
    u2022     System Description: My Web Service System
    u2022     Username: <Administrator>?
    u2022     Password: <Password for Administrator>?
    u2022     Profile Name: SAP_DEFAULT_PROFILE
    u2022     Mode: Multiple Services
    u2022     Services Source: WSIL
    u2022     WSIL URL: ?(what should be provided here
    u2022     Socket Timeout: 60.000
    Please let me know what shall i fill in this fields
    Thanks & Regards
    Swetha

    Hi Gayathri,
    i have opened the WSDL file and i found there are two URLS
    1) "<soap:operation
                        soapAction="http://www.sap.com/BORM_API_A1S_GET_UPD_SW_VECTOR" />"
    2)<soap:address
                        location="http://pwdf4431.wdf.sap.corp:1080/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sap/bosf_swdc_slm/accessctrl.do" />
    i have tried pasting the address URL ina n other IE and i was asked for Authentication
    Thanks & Regards
    Swetha

  • Consuming webservice in a webdynpro component

    Hi Experts,
    I have a third party free webservice as WSDL link.My requirement is to make use of that webservice in my webdynpro component.
    Can any body give me a step by step approach to consume that webservice in my webdynpro Component.
    If possible, Provide me some good material for consuming webservice in a webdynpro component.
    Awaiting for a useful reply.
    Thanks,
    Ramanan.p

    hi,
    Few indroductory sessions
    /people/thomas.jung/blog/2007/12/17/consuming-services-with-abap -Consuming webservices with webdynpro.
    It is possible to create webservice in ABAP as well as in Webdynpro.
    ABAP Webservice:
    http://wiki.open-esb.java.net/Wiki.jsp?page=BAPIWEBSERVICE
    http://www.sappro.com/downloads/SAPXI.pdf
    Webdynpro Webservice:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/244e7923-0a01-0010-5887-fe0b0c6dbb8d
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/30f1b585-0a01-0010-3d96-ad0ea291c4f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/db785a70-0701-0010-858c-eee0ec4fe1b3
    In Web Dynpro ABAP there is nothing special about calling a web service. Unlike WD Java, there are not dedicated model object types in WD ABAP. WD ABAP simply has the ability to interact with other ABAP development object types. You can call function modules, ABAP classes, even modules in old dynpro apps.
    So calling the webservice from ABAP therefore is just the process of generating the ABAP Proxy Class. This is the same process regardless of if you want to use this proxy class from WDA or any other type of ABAP development object. You can then call the proxy class from WDA just like any other type of ABAP class. There is a service wizard option in later support package levels that includes an option for ABAP Proxy classes - although it doesn't generate the proxy class it just generates the code and context for the call to an already existing proxy class. The service wizards in WD ABAP are not required however. They are just shortcut code generators and often can't even generate a complete context for a complex web service proxy - so expect to do some manual adjustment after running the wizard.
    Edited by: Mahalakshmi kothuri on Jun 1, 2008 4:17 PM

  • How to consume a ABAP webservice in a  webdynpro app?

    Hi,
    I have a BAPI in ABAP that is exposed as a webservice. I want to use this to build a webdynpro app so that i can consume this webservice. This BAPI returns the Employee data. As soon as the person logs into the portal i am going to pass his login id to this BAPI so that it retrieves the Employee data for that user id. But i need to know the procedure of consuming this webservice in a webdynpro app. Any pointers in this regard will be greatly appreciated.
    Thanks,
    Arun E V

    Hi Arun,
    Consumption of a web service is univesal I guess so it wont matter if it is an ABAP webservice. For consumtion of webservice in Web Dynpro you can go through the following tutorials
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/using%20car%20rental%20web%20service%20with%20web%20dynpro.pdf">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/using%20car%20rental%20web%20service%20with%20web%20dynpro.pdf</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/creating%20an%20email-client%20using%20web%20dynpro%20and%20web%20services.pdf">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/creating%20an%20email-client%20using%20web%20dynpro%20and%20web%20services.pdf</a>
    Do reward points if it helps
    Regards
    Sid

  • 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

  • JCo destination error while executing the webservice model

    Hi,
    I have explained what I have done so far and whats my issue right now.
    My requirement is calling a PI interface (exposed as webservice) from webdynpro for java and setting some parameter value to the PI interface based on which our functional flow will continue.
    Done so Far :
    1. Created a webdynpro for java application using NWDI.
    2. received the WSDL file of the PI interface and imported as "Adaptive webservice model" into webdynpro.
    3. used the model and set the parameters to PI interface and executed the model.
    4. I have created JCO destinations in the source system (where the application runs) to communicate to the PI system. A special user has been created and assigned in the connection for communicating.
    5. Also I have created the "Dynamic Webseviceproxies" in visual admin with the same name as the JCO destinations. It had a property "URL" for which I have tested with providing both the PI server URL (Http://<Hostname>:<Port no>) and also the complete webservice URL (Which calls the WSDL file directly)
    when I run the application, I get the following error.
    1. Exception on creation of service metadata for WS metadata destination 'WD_RFC_METADATA_DEST' and WS interface '{<Interface Name>'. One possible reason is that the metadata destination 'WD_RFC_METADATA_DEST' has not been properly configured; check configuration.
    after some exception the next error follows
    2. Invalid Response Code 403 while accessing URL: <The URL which I have provided in the webservice proxy in Visual admin tool> Response Message: Forbidden.
    after some lines of exception from PI server the next error follows.
    3. Error: You are not authorized to view the requested resource
    My Question :
    1. Do I miss anything in Configuration?
    2. Is my way of approach wrong?
    3. Any additional authorization needed?
    Kindly provide some ideas and inputs.
    Regards,
    Mahendran B.

    Dear Mahendran
    JCO destination will not used for the Web Service Model. While creating the webservice model, you need to use the logical destination which you have created in the Visual Admin.
    Please refer to the Secured WebServices II and verify currently used webservice logical destination How To Reimport Web Service Models in Web Dynpro for Java
    You can also refer to
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/900bbf94-a7a8-2910-e298-a651b4706c1e?QuickLink=index&overridelayout=true
    Hope it will helps
    Best Regards
    Arun Jaiswal

  • Create webservice model

    Hi all
    I am able to create a webservice model in webdynpro when my WSDL url starts with http.
    But now i want to create the model using same webservice running on https.
    The service is there running on https but i am not able to create model.
    I am not even getting any error while creating a model,
    the only thing is that i am not able to see my model if it is created.
    Is there any other procedure for creating such model in webdynpro
    Thanks,
    Archana

    Thanks Shridir for the reply,
    I created a new application and when i was trying to create a secured webservice model,I am not getting any error while creating it but i am not able to see that model any where in the explorer window and not even in my workspace.......
    No package nothing as if it has not been created  at all
    Archana

  • Built Error In Creating Web Service Model In WebDynpro

    Hi All,
    Every time I create a webservice model in webdynpro I get the following error log in PDE Runtime ---> Error Log.
    com.sap.cms.util.exception.client.CMSClientVersionConflictException: Version conflict: to call method "readSystemMessages" the minimum server version is "Release6.40 SP16 Patch level 00" but the used server has only version "Release 6.40 SP15 Patch level 00"
         at com.sap.cms.client.organizerAPI.CMSTransportOrganizerAPI.versionCheck(CMSTransportOrganizerAPI.java:1232)
         at com.sap.cms.client.organizerAPI.CMSTransportOrganizerAPI.readSystemMessages(CMSTransportOrganizerAPI.java:1164)
         at com.sap.cms.client.ideAPI.CmsConfiguration.readSystemMessagesMap(CmsConfiguration.java:445)
         at com.sap.ide.eclipse.component.devconf.DevConfManager.getSystemMessages(DevConfManager.java:744)
         at com.sap.ide.eclipse.component.provider.listener.DevConfLoginListener.showSystemMessages(DevConfLoginListener.java:97)
         at com.sap.ide.eclipse.component.provider.listener.DevConfLoginListener.loginPerformed(DevConfLoginListener.java:91)
         at com.sap.ide.login.UserValidator$1.run(UserValidator.java:161)
         at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
         at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:98)
         at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1999)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1733)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:136)
         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:261)
         at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:357)
         at com.sap.ide.login.UserValidator.getData(UserValidator.java:411)
         at com.sap.ide.login.UserValidator.getDefaultServerData(UserValidator.java:131)
         at com.sap.ide.login.UserValidator.getDefaultServerData(UserValidator.java:116)
         at com.sap.ide.login.actions.LoginActionDelegate.run(LoginActionDelegate.java:79)
         at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
         at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:207)
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
         at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
         at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
         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:286)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:795)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:602)
    com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:179)
         at com.sap.ide.ws.proxygenerator.InternalHelperFunctions.generateInterfaces(InternalHelperFunctions.java:343)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateProxy(ProxyGeneratorWrapper.java:340)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:271)
         at com.sap.ide.metamodel.importers.webservice.GenerateWS.doGenerate(GenerateWS.java:92)
         at com.sap.ide.metamodel.importers.webservice.WebServiceModelImporter.doImport(WebServiceModelImporter.java:116)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9.run(ModelWizard.java:1133)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    Caused by: com.sap.engine.lib.xml.util.NestedException:  Element passed is not WSDLD Document !
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDefinitions(WSDLDOMLoader.java:797)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1116)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:175)
         ... 7 more
    Kindly suggest me something as I can over come this problem, It is not happening only to one single node,but across all the nodes which are connected to the NetWeaver server.
    Thanks and Regards
    Yajush Mishra

    Hi
    It seems that version problem becouse used server has only version Release 6.40 SP15 Patch, ask you basis guy to update the Patch SP16  from SP15.
    Thanks

  • Consume Adaptive Model Webservice in the webdynpro java Exception.

    Hi  Experts:
    i had developed a Adaptive Webservice  Model  on CE7.1 to consume the webservie of  PI7.1 .and then i deploy the webdynpro project to the ce7.1,but when invork the webservice ,the  exception throwed is :
    Exception on execution of web service on destination 'MANUALRUN' for operation 'MANUALSENDER_SI' in interface 'MANUAL_SENDER_SI'_
    i had maintained the  destination of 'MANUALRUN'  and 'MANUALMetadata', and test successful in the webservice navigater .
    i dont know how to solve the problem.
       best regards
    Edited by: kevin liang on Oct 21, 2009 3:50 AM

    Hi  Experts:
    i had developed a Adaptive Webservice  Model  on CE7.1 to consume the webservie of  PI7.1 .and then i deploy the webdynpro project to the ce7.1,but when invork the webservice ,the  exception throwed is :
    Exception on execution of web service on destination 'MANUALRUN' for operation 'MANUALSENDER_SI' in interface 'MANUAL_SENDER_SI'_
    i had maintained the  destination of 'MANUALRUN'  and 'MANUALMetadata', and test successful in the webservice navigater .
    i dont know how to solve the problem.
       best regards
    Edited by: kevin liang on Oct 21, 2009 3:50 AM

  • WebDynpro Application issue consuming asynchronous webservice from SAP PI

    Hello experts i ask you for help thie following issue:
    i am developing a webdynpro application which is supposed to
    send some data from inputfields, and a file, in order to achieve it, that dynpro application is consuming an asyncrhronous webservice , this service is running in SAP Process integration .it uses only a component.
    Iam having serious problems at mapping the asynchronous PI web service model -->to -->controller >and then to->view
    since when i deploy the application into the  SAP portal´s application server, it runs , but  inputfields cannot be written.i dont mean unabled, what i mean, is. cannot write anything on them.ECXEPT the file upload UI element.
    I have reviewed sap help page, 3 sappress books, about dynpro, and the procedure i am performind is agree with them.
    endpoint test answers the folloiwng:
    Message Servlet is in Status OK
    Status information:
    Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/NW04S_20_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#1 $) bound to /MessageServlet
    Classname ModuleProcessor: null
    Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
    Lookupname for remoteModuleProcessorLookupName: null
    ModuleProcessorClass not instantiated
    ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0
    ModuleProcessorRemote not instantiated
    what i did is the same as before(in another projects weh i used to import rfc models):
    1.- import webservice model,and add it to component
    2.-map web service model to controller context
    3.-map controller´s context to view context
    4.-create actions and methods
    5.-binding context controller to ui elements
    Dear experts, my questions are:
    What am i doing wrong?
    should i permorm another steps because the web service is in another application server (SAP PI)?
    Should i create a stand alone proxy and then access it from webdynpro?
    when i call the web service model excution it seems does not run, neverthless the invocation does not have any syntax error , what coul it be?
    Thanx in advance!!

    just for the sake of other who may hit this thread , the solution is to add sap-client=<clientno> in the url for wsdl

  • 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

  • Consuming PI Webservice from Webdynpro Java Not working

    Hello SAP,
    Environment: CE 7.2.
    Resolution expected immediately, Helpful answer is highly appreciated.
    Is the namespace should not exceed 60char for PI Webservice, for executing the webservice from Webdynpro Java.
    I tried with all the options in executing the PI Service from Webdynpro Java, None of the options worked. I am facing the below error while I was calling the PI Webservice.
    I don't see any problem from Webdynpro Java, what ever the procedure I have followed is the standard procedure.
    Fortunately when I execute the service from Webservice Navigator, it is working as expected. The same webservice when I consume it from Webdynpro Java it is not working
    Options tried so far:
    1) Published the Services to Service Registry and there by consuming the PI Service from Service Registry - Not worked
    2) Tweaked the URL with few options - Not worked (Tweaking the URL, ex: portType, Binding)
    3) Changing the Business Systems in PI and there after calling the service - Not worked
    4) Initializing the code, instead of creating Service Controller and calling the PI Service - Not worked.
    5) Created a Provider System and tried to call the PI Webservice from Provider System - Not Worked
    For all the Options, I am facing the same error which is provided in the screenshot.
    Below procedure which I have followed for calling the PI Webservice:
    1) Created Adaptive Webservice Model
    2) Provided PI Webservice URL (It prompts for PI System UserId and Password)
    3) Selected Option - No Service Group Configuration
    4) Provided Logical Destination
    6) Completed creation of Model
    7) Added the model as a UsedModel
    8) Right Click on Comp Contr. and selected Apply Template and Created a ServiceController for the model (Entire mapping to comp contr, Initializing the nodes is taken care by Service Contr.)
    9) Created an Template Action button and there by calling execute method which is auto rendered from CompContr..
    10) Build the project.
    11) Activated the code and Run the Application.
    12) Getting the below error which is showed in the message.
    ERROR MESSAGE:
    Exception on execution of web service on destination 'GetPIHRPeopleData' for operation 'SI_CreateHRPeopleData_OS' in interface 'SI_CreatePeopleCompany_OS'

    Hi Sankar,
    If the webservice is working fine in the Wsnavigator then there is some problem with importing the webservice in webdynpro for Java. Please check the required parameter for creating the Adaptive Webservice Model. After adding in the used model and compoent controller binding, you need to write code for to execute the webservice model.
    Please check the code for initialization and execution for the webservice and then test it.
    Best Regards,
    Arun Jaiswal

  • How to use a WebService Model with String Arrays as its input  parameter

    Hi All,
    I am facing the following scenario -
    From WebDynpro Java i need to pass 2 String Arrays to a Webservice.
    The Webservice takes in 2 input String Arrays , say, Str_Arr1[] and Str_Arr2[] and returns a string output , say Str_Return.
    I am consuming this WebService in WebDynpro Java using WEB SERVICE MODEL. (NWDS 04).
    Can you please help out in how to consume a WSModel in WD where the WS requires String Arrays?

    Hi Hajra..
    chec this link...
    http://mail-archives.apache.org/mod_mbox/beehive-commits/200507.mbox/<[email protected]>
    http://www.theserverside.com/tt/articles/article.tss?l=MonsonHaefel-Column2
    Urs GS

  • Error while importing Webservice Model in NWDS in java WebDynpro

    Hi All,
    Our Project FileNet team has developed 1 web service and they have given us WSDL of that webservice. I have to use this webservice in my java webdynpro code. We have 2 different webdynpro DC, In one DC I have imported this webservice model as Adaptive web service model, that is I choosed create model  > Import Adaptive web service model->Local file system and URL (radio button)->No logical destinatination> and i pasted the WDSL url and imported the webservice, and i have done all the relevant coding and i am able to execute the webservice in my web dynpro code.
    But today in 2nd DC when I am trying to import that webservice , I am getting the error (check the URL metioned below in bold letters , copy the URL mentioned below and paste in the browser, there I have attached the screen shot of my error), now I am not able to import the WSDL in my NWDS, help me in solving this error, why this error is coming now when i was able to import same webservice some days back in some other DC. Now NWDS is not at all allowing me to import the WSDL.
    https://doc-0o-0k-docs.googleusercontent.com/docs/secure/5elephltc9fqco9g9svslcas2fe0vfp2/32ulb82g3ujf3faagc6tcs302if79vfs/1292241600000/09039132551478801166/09039132551478801166/0B74gjLoX5l3WOTA3NGYxMzYtODA5Ni00YjgzLThlZWEtMTcwNTIyNzNlYzgz?nonce=30ect8rgre40a&user=09039132551478801166&hash=85uqgdnm674vvgvli8oo4041n9lvj16n

    Hi,
    Please have a look at this threads
    Can not create Adaptive Web Service Model
    Problems embedding adaptive webservice model
    Regards
    Saravanan K

Maybe you are looking for

  • Special characters in ajax request

    Hi, I can't get special characters like á é í, etc well-printed in an jsp page when processing an ajax request under struts. The oracle database is encoded with ISO-8859-1. In my action i set the character encoding for the respose: PrintWriter out =

  • When i exit itunes, itunes.exe jumps to 99% CPU useage and eats memory HELP

    as the topic says, on my pc, when i have itunes running, and i quit it, if i watch it in my system processes tab, the CPU useage jumps to 99% and it starts to EAT my memory up. Anyone have any ideas on this? After several minutes the process finally

  • HT204088 how to report a problem -i have been charged several times for a purchase of single app

    i have been charged several times for purchase a single app!!

  • Reversal of invoice

    Hi, I have posted one vendor invoice with reference to contract number and that vendor is liable to pay TDS. We have also created the challan for TDS. After that we want to reverse invoice because of cancellation of contract but system will not allow

  • How do you protect the content in a chm?

    Hello, I know some users have thought of some creative techniques for preventing content from being copied from a chm, spefically Pete Lee's JavaScript methods. However, I was wondering if anyone knew how to append a copyright statement when the cont