SAP ME 5.2 WebService MII

Hello, How can I call SAP MII's web service from SAP ME?

Hi Dmitry,
Please refer to this forum thread:
Calling Webservice from SAP ME
Regards,
Konstantin

Similar Messages

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

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

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

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

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

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

  • SAP(Idoc) = XI = ThirdPart(WebService)

    Hello friends!
    I have a problem with development of acknowledgement system with SAP(Idoc) <=> XI <=> ThirdPart(WebService)  scenario.
      My case:
    Scenario looks like:
    SAP(Idoc) <=>(Idoc adapter) XI (SOAP adapter)<=> ThirdPart(WebService)
      It must work this way:
    SAP system send IDOC, then XI map it and send it via SOAP-adapter to third part webservice. Then webservice answer to XI with structure сontains "TRUE" or "FALSE",
    and then XI must inform SAP ALE/IDOC system if current information from idoc was successfully added to webservice or not.
    But how can I get it? As far as I understand ALE/IDOC system I have to create ALEAUD by myself, put status of idoc depends on webservice return and send ALEAUD idoc to SAP.
    I'am right?

    Hi,
    You can use BPM for this Idoc--Soap Sync Process
    Design objects:
    Data type & Message Type
    1) Import the IDOC and Later you import the Idoc, doble click on it a export it to your driver, next import it as External Definition for reason becouse if not, you wont be able to create a MI type synch with IDOC and genericResponse structure
    2) Create data type for your Response Type of IDOC
    3) Import the WSDL File For Request and the Response Type
    4) Create the Message types according to the Data types which we created
    Messgae Interface:
    1) Outbound synchronous:
        output message will be ur idoc external definition file
        input message will be ur message type that u have created.
    2) Abstract Outbound Synchronous:
        use the same as in Outbound Synchronous
    3) Inbound Synchronous:
        input message will be ur request message of RFC/WebService
        output message will be ur response message of RFC/Webservice
    4)Abstract Inbound Sunchronous:
        input message will be ur request message of RFC/WebService
        output message will be ur response message of RFC/Webservice
    Mapping
    Request Message Mapping:
    b/w ur idoc external definiton and request message of RFC/WS
    response Message Mapping:
    b/w ur Response message of RFC/WS and ur message type
    Interface Mapping
    Import MI(abstract) of IDOC
    Import MI of WS
    select the mapping for request and response Tab
    BPM
    1) In container window define a variable named IDoc_ABS with category abstract interface and   
        type (select the MI of IDOC alone)
       define a variable named GenericRespnse_abs with category abstract interface and type (select         
       MI of genericResponse alone)
    2) Create a Recieve Step --> in property message select the container you define before of idoc.
    3) Define a Send Step--> mode synchronous
        select MI type abstract and sync (idoc and genericResponse)
        for property request message selects container Idoc_ABS
        for property response message selects container GenericRespnse_abs.
    Save your Changes and thats all for BPM
    *Configuration *
    1) Create scenario
        Assign BS and create comunication channels with QoS (quality of service) type BE
    2) Import your BPM
       Create a Receiver Determination
    -->in the target service select the BPM. Save
    -->In overview windown at foot windowns select MI IDoc_abs only. nothing else
    Create a Receiver Determination
    -->here the system who send data is BPM
    -->in the target service select the BS of receiver system.Save
    -->In overview windown at foot windowns select interface mapping and assing communication channel
    what we do here. the flow is next
    1) Receive data from sender system and send it to BPM
    2) BPM call bs of target system (WS). how? because in interface determination you selected    
       before the interface mapping
    Regards
    Seshagiri

  • SWF in SAP BSP Pages - Dynamic webservice connection

    Hi,
    We are using webservice connections in xcelisus to connect to webservices on R3.
    In the webservice connection , we have imported the wsdl from sap and generated the connection.
    Then we have the Hostname and port of SAP server in the webservice connection.
    Once the development is completed and swf is generated , we have created a bsp application and placed the swf file in it on our SAP Dev system.
    So now when we access the bsp application on Dev, the Dev webservice is called in the swf and data is retrieved.
    Once the bsp is transported to QA system , as the webservice in swf is still pointing to Dev system, the data is retrieved from the Dev system only.
    Is there a way to use falsh variables and dynamically call the webservice on the SAP system , based on the system it is called from, so that when we call the bsp application on QA system , it call the webservice on QA system instead of the one on Dev system.
    Thanks,
    Tanuj

    Hi Tanuj,
    unfortunately this is not possible within Xcelsius, take a look at following thread:
    Re: Dynamic WSDL URL
    Regards
    Victor

  • SAP PI calling the webservice generated through BRF+

    Hi All,
    The scenario is
    SAP ECC(IDoc) --> PI --> SAP MII
    . The data coming from ECC in the IDoc will be in a third party format, but we want MII to receive data in SAP format.
    For this we have decided to use BRF. I want to know that how can I use the webservice which we generate from BRF in SAP PI. Which adapter supports calling of webservice or if there is any other section of SAP PI where this transformation can be done using BRF+ webservice? Please help
    Thanks,
    NehaSingh

    Hi,
    The message coming from ECC has values in ISO format and MII needs values in SAP format.  For this conversion to happen I need to use the BRF+ and when I raised the same request on "Business Rule Management/BRF+" forum. I got the following reply.
    ht[Re: Calling web service generated through BRF+ in SAP PI|Re: Calling web service generated through BRF+ in SAP PI]
    Now, Can anyone please help me with answers to following question:
    Since my Source Message is an IDoc, I cannot directly use the RFC that will call the Function Module that I require for format conversion,
    Can I use RFC Lookup to satisfy the requirement. If yes how to go about it. Actually I am using RFC LookUp for the first time, so the basic steps that we need to follow for RFC Lookup are needed. I went through some Blogs but did not understand how it will be applicable in my case. Please Help
    Thanks and Regards,
    NehaSingh

  • Query SAP BW via XMLA Webservice and save response to HD

    Hi,
    I´m currently working for an QM Project to create an Overview-page with figures from various BW-Querys. Unfortunatly the the BW-Performance isn´t fast enough to execute a lot of Querys in realtime, so I can´t use the Web App Designer.
    To improve performance I want to execute those querys once a day and save the result sets on hard disk. To get the data out of the BW I want to use the XMLA-Webservice which is already running.
    Is there a simple way or application to send my XMLA to the webservice and save the response on hard disk?

    You can use XMLA web service or the queryview web service to get the data in XML format. The queryview XML service is only available from BW 3.5, see attached documentation.
    http://help.sap.com/saphelp_nw04/helpdata/en/d8/3bfc3f8fc2c542e10000000a1550b0/content.htm
    Ther is also an How to document available for XMLA under the BW 3.0B section.
    If you are looking at a report with no navigation you can use the pre-calculation of the web reports with reporting agent which will create a pre-calculated HTML output on the BW server. Everytime you access the web report the pre-calculated HTML output will be displayed and the performance is great as the data is not accessed at runtime.
    http://help.sap.com/saphelp_nw04/helpdata/en/9e/9f653ade969f4de10000000a114084/content.htm
    Thanks.

  • SAP Client Proxy to Webservice Synchronous Scenario

    Hi Experts,
    I have an outbound Synchronous Scenario.In which i have to trigger a Client Proxy from SAP side and Connect to a WebService using PI.
    I have with me the WSDl and URL for Webservice.Can anyone guide me with the necessary steps.
    Regards
    Gaurav

    Hi gaurav,
    From client proxy u have to send request and get the response back...
    So, for this create 2 corresponding data types and message types. and mapping will be between request message type which u created and request wsdl message and another mapping for response wsdl message and response message type which u created.
    create service interface outbound synchronous(give the message types which u created) and inbound synchronous(give the wsdl request and response messages).
    Regards,
    Sunitha

  • SAP ECC 6.0 webservice exposure

    Hi,
    Do we need to buy netweaver stack separately to publish webservices from SAP ECC 6.0 or is it already supported.
    I plan to integrate IBM Datapower with SAP ECC 6.0. Since Datapower does not support SAP adapters,  if webservice support is not there we  need to see if we need to also use IBM Websphere Transformation Extender or if customer is willing to buy netweaver stack?
    Kindly reply.

    Hi,
    You can call web services in an ECC6 system without a J2EE stack.
    By the way, Netweaver can be abap or java or both. It is wrong to speak about Netweaver stack when you want to speak about the J2EE stack. ECC6 is based on Netweaver 7.0 abap stack...
    All of this is explained in http://help.sap.com
    Regards,
    Olivier

  • Problem with local SAP name inside ABAP webservice

    Hi all,
    I've created a simple webservice in our SAP development machine, with the normal steps (create RFC, then generated the webservice inside SE38, then activated webservice in SOAMANAGER).
    The problem is that when I call the webservice from outside (external .NET program) I get the following error:
    There was no endpoint listening at http://srv.devm2.local:8004/sap/bc/srt/rfc/sap/zwebservice1/060/zwebservice1/zwebservice1 that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
    I believe this problem is related somehow with the internal srv.devm2.local SAP name that is unknown from outside.
    If I open the WSDL definition, in the end I can find this internal srv.devm2.local reference of our SAP DEV server:
    </wsdl:binding>
    <wsdl:service name="ZWEBSERVICE1Service">
    <wsdl:port name="zwebservice1" binding="tns:zwebservice1">
    <soap:address location="http://srv.devm2.local:8004/sap/bc/srt/rfc/sap/zwebservice1/030/zwebservice1/zwebservice1"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    How can I force the webservice to map our external IP address, instead of the internal local name srv.devm2.local?
    Or there it another problem that I'm not aware of?
    Thanks all!
    jc

    I meant changing it in the calling application (external .NET). Can you not download the wsdl to your pc and change it there manually and then use this local wsdl in your external application to call the webservice ?
    It is just to see if the sap name is the problem. If that is the problem then it should work if you replace the name with the IP address.
    If this works then maybe basis need to adjust some settings (firewall ?, access authorizations ?)
    Also are you sure the service is activated in SOAMANAGER ? Sometimes when you save it stays inactive and it does not give you a clear error message, easy to overlook.
    And try to call the webservice with SOAPUI and the wsdl from soamanager. Does that work ? When I test with SOAPUI I always use the http port and don't forget to fill in user and password.
    If soapui call works, then the problem is with the external .NET application.

  • SAP Business Workflow and Webservice Integration

    I have scenario in which I need to Integrate SAP Workflow with a Inhouse UI Application through Webservice.
    Design:
    I want to use the Workflow for Task management. However whenever user has to perform a event I want to push the work item into another inhouse application which has capability to invoke/receive webservice. The inhouse application should only perform user events and publish the message back to workflow. Work Item management will be done in SAP Workflow. I need to send the data container to and from SAP Workflow.
    Is there any problem in the above design?
    How can I achieve the same in SAP Workflow?
    Can any one share the experience?

    I would like to know as well about this, did you get an answer?
    Thanks for any pointers.

  • SAP as consumer for WebServices

    Hi all,
    we often use SAP-IDOCs to replicate master-data to other systems (SAP is the actor). It's simple, because a little bit of ALE-Customizing and IDOC-XML are transported to the foreign systems.
    The questions I have are:
    a) Is there any support to use the ALE-Change Pointer technology (or something like that) to automatically call WebServices?
    b) Can I generate a "Proxy Object" and use it as ALE-Port (best would be TRFC Port-) )?
    c) Where can I do the "Mapping" to the external WebService?
    A possible solution for me is to use XI/PI/ESR... - but how in ERP 6.0?
    Any hints for me?
    Thanks,
    Christian

    Please make sure that all the services required for the server to start are running.
    Please go to Control Panel -> Administrative Tools -> Services. Assuming your server is called CE1, the following services must be running:
    SAPCE1_00
    SAPCE1_01
    MAXDB: CE1
    XServer
    If any of them are manual and not automatic, you would either have to set them to automatic or start them manually each time you bring up your server.

  • SAP XI/PI RESTFUL Webservice REST file creation

    Hi ,
    I am trying to implement REST to RFC scenario. Third party needs RESTful file (like wsdl file) to send request.
    Third party will send REST request to XI and XI fetches data from R/3 using RFC and send it back to third party as REST response.
    Experts ! can you explain this scenario in detail with example?
    I have gone through following links -
    1.http://wiki.sdn.sap.com/wiki/display/XI/REST%20Web%20Services%20in%20XI%20%28Proof%20of%20Concept%29
    2./people/amol.joshi2/blog/2006/06/28/must-fire-a-http-get-from-xi---try-this
    And I have few questions.
    1. firts links talk about HTTP. so is it required to customize http adapter in this case or we can use it as it is?
    2. how are we going to create REST file (like WSDL file) which we will be giving to other party for calling? can we create it from XI integration directory ? OR from XI R/3?
    Sujit S K.

    REST service is very primitive and simplified form of web service.
    Yes we can use HTTP adapter at the target side for sending the request  to third party and HTTP adapter at the sender side for accepting the request from the third party system.
    To post (HTTP Request) you just need to use the target URL in the receiver adapter.  Similarly, you can give the sender URL to the third party system to post in our PI middleware. Follow the instructions given in the below link...
    http://help.sap.com/saphelp_nwpi71/helpdata/de/45/b4d3d7943c0039e10000000a11466f/content.htm

  • 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

  • Adobe LiveCycle Designer query data from MII 12.0 via Webservice

    Hi folks,
    at the moment I'm "learning" how to create interactive forms with the Adobe LiveCycle Designer. I hope anyone already did something like that too and can help me a bit?!
    Creating forms with XML data in the background etc. is not that problem. Also using little schemas to provide data to a dropdown list - I fand that no trouble. But now I want to request some dynamic data from an external data provider.
    I have a nice book from SAP Press laying next to me that tells me how to create a webservice based on a BAPI in SAP and how that webservice delivers some table data. But before I try to get data out of SAP, I would like to retrieve data by using MII (12.0 at first). I already built a transaction that creates some XML and imported the WSDLGen as a new data connection in Adobe LC Designer. No problem so far. I can execute it and I get some data back. But the XML that comes back is not formatted as table data as expected from Adobe LC so I can't build a table from it. I only receive the first dataset - every value as a single value, not as a table or row.
    So does anyone know how to format the XML result in MII or how to combine it with a schema so that Adobe LC Designer is able to interprete it as table data? In the SAP example in the book the received data from the data connection of the webservice is shown as table data (a litte table icon) and my data from MII is shown as single values...
    Thanks
    Anika
    Edited by: Anika Delzeit on Feb 3, 2010 12:21 PM

    It sounds like you need use the adobe schema in MII so the output of your transaction matches it.
    Regards,
    Jamie

Maybe you are looking for