Connecting webservice   to ecc

Hi
want to connect webservice to R/3 .Here am getting input from Webservice like "Mat no" , so that If I choose SOAP to RFC synchronus ,then how would I get the input which is coming from webservice.
regards
srikant

. When we use *Sender SOAP Adapter how the connectivity is happening with Remote Clients.
A:SOAP is an XML-based protocol for exchanging information in a decentralized, distributed environment.SOAP is a technology that allows XML to move easily over the Web. SOAP does this trough an XML envelope for delivering XML content and specifying a set of rules for services to follow when they receive a SOAP message.The fundamental change brought about by SOAP has been the ability to move data anywhere across the Web.
When ever XI needs to talk to a webservice you will go for SOAP adapter. If you need to enable some functionality as webservice using XI you can use SOAP Sender adapter. If you need to send request to a webservice you will go for SOAP Receiver
SOAP Message Structure :
SOAP Envelop: The outermost element of SOAP message. The envelope element is the root of the XML document that defines a SOAP message.
SOAP Header: An optional, yet key element in architecting a distributed system around XML. The header element provides a modular way of directing SOAP servers to do processing before passing the SOAP message on. For example, it is possible to add SOAP header information that instructs a server to add transaction or authentication information. Header are also important in building piped architectures where processing is done in stages and data is modified as it is passed from handler to handler.
SOAP Body: An element that must appear in a SOAP message. The Body element is where the transported XML is loaded. SOAP makes no assumptions about the kind of XML transport in the body of a SOAP message. XML or it may take the form of remote procedure call.
also these weblogs can give you a view where you can use SOAP adapters
EP-XI Integration using Web Services and Web Dynpro MVC
https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1334 [original link is broken] [original link is broken] [original link is broken]
Looking for replacing SAP.NET connectors with SAP XI?
https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken]
how the connectivity is happening with Remote Clients?
A:Configuring the Sender SOAP Adapter
http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
2.How sender SOAP Adapter get those webservices from remote clients and when exactly Remote clients will send webservices to SOAP Adapter?
It purely depends on ur client & if ur client provides WSDL file then u no need to develop it in ID and use that WSDL.WSDL describes a particular web service. Using a wsdl, we are requesting the broker to point the exact system, application, message interface. Once it is found, the SOAP channel is opened between the provider and the consumer. So the WSDL is a must to access web services.
in XI, we have to define the Web service which we want to use for the Sender SOAP channel. It is done by choosing Define Web Service from the tool menu of Integration Directory.
There is no need to code any thing. Here, what you are doing is, just exposing the sender service,channel,Message Interface as a web service.
In XI, we need to map the incoming messages to the target message( to the actual web service from the provider) format and to maintain the technical and logical routing between the sender and receiver.
Check this blog to generate WDSL file...
Exposing BAPI as Web Services through SAP XI
Configuring a SOAP Sender Channel:
When we create a SOAP sender channel we have to define the namespace and the name of a message interface (values can be taken from Integration Repository).
Select the Quality of Service according to your interface type. If you are using a synchronous interface, select Best Effort. Otherwise, select Exactly Once or Exactly Once in Order.
Transport protocol : HTTP
Message protocol : SOAP 1.1
Adapter Engine: Integration Server
3. I need exactly how the webservices request is passing through sender SOAP Adapter.
After completion of ur scenario u can use XML spy for testing ur scenario.
Refer this Blog how to send SOAP message from XML Spy
Invoke Webservices using SAPXI
Web Services Testing: SAP Netweaver Platform
http://www.crosschecknet.com/web_services_testing_SAP.php
Using the SOAP inbound channel of the Integration Engine
XI: Propagation of meaningful error information to SOAP Client
An Overview of SOAP
Refer the following blogs for SOAP sender Configuration:
How to Use the XI 3.0 SOAP Adapter
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
How Tou2026Set Up a Web-Service-Related Scenario with SAP XI
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
have a look at this weblog:
How to use Client Authentication with SOAP Adapter
SOAP Adapter
http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/content.htm
Architecture of connector for SAP XI
http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.wbia_adapters.doc/doc/sap_xi/sapximst14.htm
Configuring the Sender SOAP Adapter
http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
Security Settings for the Sender SOAP Adapter
http://help.sap.com/saphelp_nw04/helpdata/en/1f/7e2441509fa831e10000000a1550b0/content.htm

Similar Messages

  • Exposing a webservice on ECC 5.0 in a load balancing setup

    Hi
       We have a webservice exposed on ECC 5.0 that is being invoked by an external system. When we move this webservice to our production environment - which is load balanced and has a logon group setup - we need to be able to expose this webservice - not on a single application server - but be available on the logon group ( message server ) so that the url that we provide for the webservice to the external system does not contain  a single application server - but points to the logon group. We do not have a web dispatcher in our environment/architecture.
    How do we go about exposing this point-to-point webservice on ECC 5.0 in a load balanced setup ? Any suggestions, experiences that can be shared ?

    This  can be done though SICF.
    If you click on a service, their is a service data tab.
    underthat tab is a Load Balancing option.
    This then points the service at the SMLG logon group.
    Regards
    James

  • Same MessageID  from sender(Webservice) --  PI --  ECC and vice versa

    Folks,
    We have a sender and receiver  webserver which has its own monitoring system in it and it tracks messages by means of Message ID which it creates .
    Now this web service when hits PI it sends the message ID in a field in payload.
    The message ID which the webservice sends is now different then which is created in PI as the  message propagates
    The same message ID is created in ECC as we all know .
    Now Our problem is we are  finding it difficult to track messages from webservice Outbound as well as inbound
    If there are 100 messages we have to search on the basis of time only , we cant search on message ID
    My question is can we have a unique message ID throughout the scenario.
    ( i.e webservice -- PI-- ECC and ECC -- PI --Webservice)
    Please  help
    thanks
    Ninad

    Thanks Gouri ,
    In case of webservice sender the webservice sends a message ID in a payload ( they have there own monitoring using there own message ID )
    Being in Support , I get a call that message belonging to  xxxxx message ID has failed. Now when I look in SXMB_MONI
    I see 1000 messages between same sender and receiver.
    I have to check payload and check the said message ID and then find the message , this is Cumbersome
    hope we find some better approach
    Thanks
    Ninad

  • RFC connection BI and ECC 6.0

    Hi
    I am trying to connect BI and ECC 6.0 at home on two different virtual machines for data extraction and practicing delta management ( they are on the same virtual network).
    I am following these steps :
    Step-by-step procedure to connect BI with ECCu2026
    Define the logical system in R/3 using the transaction code SALE in both the systems (ECC and BI)
    Assign Logical System to a client using transaction code SCC4 in both the systems (ECC and BI)
    Setup the RFC Destination using transaction code SM59 in both the systems (ECC and BI)
    Hit Transaction BD64 and Click Create model view -  Enter the Short text u2013 Enter the Technical name  u2013 Hit Execute -  Distribution Model will be created and the technical name of the distribution model will be listed
    Place the cursor on model created and and click Add message type button on the top right corner
    Enter sender and receiver system IDs  and select the correct message type assigned to the correct system
    Distribute this model using Edit u2013 Model View u2013 Distribute
    Select the receiver of the model view and proceed to distribute the model
    Please note that the distribution of data model is not required to repeat in BI system as this step automatically replicates settings in BI
    You have to generate partner profile for each system with which your system communicate using BD82
    Outbound records are created in the partner profile for each outgoing message and inbound records are created for each incoming messages
    You can view the partner profiles generated using the transaction code WE20
    Message Types:
    RSRQST: This message type is send by BI to R/3 while loading any data. This gives information about the data source, selection condition and other BI settings to R/3.  As and when a load is started in BI, RSRQST message type is sent to R/3 requesting for data.
    RSINFO: Once R/3 receives RSRQST message from BI, it sends an acknowledgment message type to BI informing about the status of the request. That is whether the request can be handled or not by R/3. It also gives information about how many data packages are being send and what is the total number of records extracted for the given data source and selection.
    RSSEND: After sending a positive acknowledgement to BI, R/3 starts the extraction job and starts collecting data in data IDocs. This message type carries the actual data with it into the BI system.
    My question is that : Do i know need to create three model views for these three message types?? Are these steps sufficient?
    Please let me know if some other things needs to be followed or U know more simpler way to RFC connect so that I can pull data from ECC into BI and practice delta management.
    Thanks
    Edited by: max.sap on Apr 28, 2011 8:24 AM

    Hi Niru,
    Have you created a
    [RFC destination in NW Administrator?|http://help.sap.com/saphelp_nwce10/helpdata/en/5a/97a066223e440b8ead3da027b17d9e/frameset.htm]. Have you created a [BI System connection?|http://help.sap.com/saphelp_nwce10/helpdata/en/7e/6dbcea3700452195e3bddaa47c5906/frameset.htm]
    Best regards,
    Dharmi

  • Connectivity between SAP ECC system and SAP BI

    Connectivity between SAP ECC system and SAP BI
    Hi BI-experts!
    I would like to load e.g. transaction data from SAP ECC system into SAP BI system.
    The Loading process is hanging in processing step u201CSERVICE APIu201D.
    The process  in hanging in status "yellow" and then changed after a while to status u201Credu201D.
    [0FI_AR_4 |http://www.file-upload.net/view-1447743/0FI_AR_4.jpg.html ]
    The following steps within Load process are yellow and then red:
    Extraction (messages): Missing messages
    Missing message: Request received
    Missing message: Number of sent records
    Missing message: Selection completed
    Transfer (IDocs and TRFC): Missing messages or warnings
    Request IDoc : Application document posted (is green)
    Data Package 1 : arrived in BW ; Processing : 2nd processing step not yet finished
    Info IDoc 1 : sent, not arrived ; Data passed to port OK
    Info IDoc 2 : sent, not arrived ; Data passed to port OK
    Info IDoc 3 : sent, not arrived ; Data passed to port OK
    Info IDoc 4 : sent, not arrived ; Data passed to port OK
    Subseq. processing (messages) : Missing messages
    Missing message: Subseq. processing completed
    DataStore Activation (Change Log) : not yet activated
    Question:
    Can some one tell me whether my distribution model or other settings are wrong?
    I created 2 distribution model (BD64), one from SAP BW system and other from SAP BI system with message types RSRQST, RSINFO, RSSEND
    Thank you very much!

    Hi Holger.
    this issue is related to the RFC but not the one which is communicating from BI to R/3 rather the one which is communicating from R/3 to BI follow these steps.
    1. check your BI system logical name from the myself source system.
    2. go the ECC and run the transaction sm59
    3. go the ABAP Connection folder and search for your RFC which name would be by default as per your BI logical system name.
    4. double click it and edit it now check whether the Target hostname or ip is OK.
    5. In the logon tab check the client number User and password settings.
    Save it and test it with both Connection Test and Remote Logon.
    if every thing work fine i hope your problem will be solved.
    kind regards,
    Zeeshan

  • Calling a local Webservice from ECC ABAP - Am I on the right track?

    Hi all
    In my NW2004s landscape I have an ECC system (ABAP 6.40, Java not configured/linked) and an XI system (6.40).  My requirement is to call a Webservice (WS) from the ECC system.
    I've converted an existing Java class (that contains 3 methods) to a webservice (WS) using NWDS.  This WS has then been deployed to the XI system as it is the only one with a JAVA system.  I'm able to view and test the WS methods using the Web Service Navigator on the XI system.  The wsdl for the WS that was generated has the following format "http://<server>:<port>/<webservice name>/<configuration name>?wsdl  (No .asmx extension as per most of the examples on SDN...not sure if this matters).
    My understanding is that I should be able to create a client proxy in my ECC system (via Enterprise Services in SE80) using this wsdl and I can also configure a logical port throught txn LPCONFIG.  I should then be able to utilise ABAP to call this webservice? 
    I've found the blog "/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap detailing this (for a 6.40 system)... but when I attempt the program I get a soap 111 error code Unallowed RFC-XML Tag(SOAP_EINVALDOC).  
    Am I on the right track? Is it possible to call the Webservice from ECC ABAP? 
    There are no dumps for me to analyse and I've also tried putting on RFC trace with no success.
    Could it be that the WS is not correctly formed even though it works fine when tested from the WS Navigator on the XI system?
    Thanking you in advance.
    Malick

    Clive Pennington wrote:
    Thank you Eugene, your answer is most helpful.  I supose I just wanted to do everything myself really.  If when I have made my little movies, my animations and collated all my words and pictures I have problems assembling the documents then I can always get a professional to haul it together for me but I want to put in the donkey work first.  I know it is a lot of money for the software but now the pain is giving way a little I'm really quite enjoying myself.
    The planning which you have mentioned in your reply is of imense value I will start to do that immidiately, also the constant testing through Digital editions.
    All this is really helpful and I thank you for you reply.  I have made a brave attempt at some elementary annimation and posted them on youtube for testing, the urls are here if there is any interest.  Basic and time consuming but I can do this much faster now.
    http://tinyurl.com/348wjxg
    http://tinyurl.com/2wzuhql
    http://tinyurl.com/3yzjunk
    Thanks again............ Clive
    What comes through to me from your videos is that you know your material (of course, no pun intended) and that you have a clear sense of how to present it for clear communication to, and understanding by, your audience. Without this core, no amount of professional-level visual effects will achieve your goal, a great training program.
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • How to Connect to Remote ECC 5.0 System from EP ?

    Hi,
       We are using EP6.0 - located in India, and our client ECC5.0 System is in US. Can anyone please let me know the steps how to connect to Remote ECC 5.0 System?.
    Thanks in advance.
    Krishna Kumar J

    Hi,
    Finally we have successfully got connected the ECC 5.0 system which is located in the remote network thru VPN Connection using the same connecting procedure for the local R/3 System.
    Thanks & Regards
    Krishna Kumar

  • 'SPROXY' - Multiple PI Systems connected to one ECC System for ABAP Proxies

    Dear Experts
    I am currently facing an issue when I want to connected multiple PI instances to one ECC client for
    ABAP Proxy purposes.
    In transaction 'SPROXY', in the Enterprise Service Brower, only one PI instance is shown and accessable.
    Can this setting be changed to allow multiple PI systems in this Enterprise Service Browser?
    Thanks for your ideas.
    Mathias

    Hi,
    Check these replies.
    R/3 connected to multiple XI instances
    'SPROXY' - Multiple PI Systems connected to one ECC System for ABAP Proxies
    Multiple XI Instances
    Multiple XI instances or multiple app server
    Thanks,
    Vijaya.
    Edited by: Vijaya Lakshmi Palla on Jun 4, 2008 11:43 AM

  • WSCONFIG Problem while creating Webservices in ECC Discovery System.

    Hi,
    I am creating a webservice in ECC Discovery system, whereas in i am getting the following error when trying to release the webservice using Tcode: WSCONFIG.
    Error:
    An attempt was made to edit the service definition ZWS_SaleOrderCreate_Test with transaction WSCONFIG. This is not possible for this service definition, since it has a new service definition version (release 710 and later).
    Procedure
    Use the web service configuration interface offered by the ITSAM framework.
    Your helpful answers will appreciated.
    Advance Thanks
    Ashok

    Hi,
    WSCONFIG is obsolete since Netweaver 7.0 SP14.
    With Netweaver 7.0 you have to use transaction SOAMANAGER instead.
    With Netweaver 7.10, I don't know as I have never used it.
    Regards,
    Olivier

  • 2 system PLM setup question - Connecting to another ECC system for master data

    I have been tasked with setting up the latest version of PLM in our environment.  We have a free standing PLM Server (ECC 6.0 EHP7, SP2 with PLMWUI 747, SP3) that we would like to connect to another ECC system (ECC 6.0 EHP5, SP4 with PLMWUI 701, SP4) for its master data.  In trolling around google and the marketplace, there isn't any setup guide or anything that really explains what the options are.  Does anyone know what the possible setup options are or even better provide links to documents that show how to set this up?  Can PLM be setup in the way that we want it to be?
    Thanks in advance.

    Hello Steve,
    Unfortunately there isn't a lot of PLM documentation available.
    I'm not sure I really understand what you need, but in essence, the PLM framework was developed using the SPI technology. That is, the Service Provider Infrastructure, which is a technology to split the UI from the business logic behind it. The idea is, in the end, you can have one single DB, connected to multiple systems and different types of UIs. (you can find some more details here: http://wiki.scn.sap.com/wiki/display/SPI/Home)
    As far as I know, you have to do some customization in SPRO and maintain views /PLMB/V_RFC_DEST and /PLMB/V_RFC_LSYS. Everything else is done by the PLM framework via RFC connections.
    Hope this helps you...
    Tudor

  • Connecting webservice

    Hi all,
            I want to connect webservice to R/3 .Here am getting input from Webservice like "empno" , so that  If I choose SOAP to RFC synchronus ,then how would I get the input which is coming from webservice.
    Whether I want to use NWDS to perform this task or any other alternative ways.
    Regards,
    S.K.Karthikeyan.

    Hi,
    If your scenario is SOAP to RFC, then you have to deploy the Sender side structure in XI and have to define the Webservice as mentioned in below blog,
    Invoke Webservices using SAPXI
    Invoke Webservices using SAPXI
    and you can send the request to SAP -RFC as below
    Testing XI exposed Web-Services
    Testing XI exposed Web-Services
    soap to soap scenario
    Invoke Webservices using SAPXI
    Thanks
    Swarup

  • How to connect PI to ECC

    Hi all!
    I have to connect PI to ECC system.
    Do you know any link to guide me?
    Thaks in advance!

    Hi Matias,
    Do the settings as mentioned in this thread:
    http://www.mypigenie.com/xi-functionality/administration/133
    Regards,
    ---Satish

  • Unable to connect and register ECC from  NW Gateway 2.0

    Hi everyone,
    After installing SAP NetWeaver 7.4 I am having a few issues connecting it all up to my ECC system.  The problem i have is in SEGW under Service Maintenance.  I can see the ECC server i have created but i am unable to Register or Maintain.  The error log is showing up with no entries.
    Below is the error i get when i try and Register the entry (ECC server (I'm assuming its grabbing that info from the Gateway settings))
    All components are running on the NW7.4 and i'm making RFC calls to the ECC server.
    System Alias settings:
    Local GW is ticked
    RFC connection is specified (<SID>CLNT400) of the ECC backend system i'm trying to connect to
    Software Version = Default
    System ID = blank
    Client = blank
    WS Provider System = blank
    Gateway Settings
    Destination System = hostname of ECC server (both instances NW7.4 and ECC reside on the same physical box)
    Client = 400
    System Alias = as per "System Alias" settings setup above
    RFC Destination = <SID>CLNT400  -  RFC connection to ECC backend system
    RFC Connection <SID>CLNT400 settings
    Target host is specified
    Instance # is specified
    Current user is ticked
    Trust relationship = Yes
    From the Gateway server i'm able to go into SM59 -> Select the RFC destination and successfully "Remote Logon"
    If anyone can help me out here i would be very grateful.
    Thanks
    Rob

    Hi Chandra,
    Thanks for your quick reply.  I have checked my logged on user authorizations on both systems (same username exists on both systems).  On both the Gateway server and the ECC system i have the auth object S_RFCACL and all Fields have '*'.
    I am also able to Remote Logon through SM59 using my userid which i don't believe I would be able to do if it wasn't set correctly.
    Regards,
    Rob

  • Webservice in ECC 6.0

    Hi,
    We are upgrading system from ECC 5.0 to ECC 6.0. All of our webservices were created in new system with SOAManager configuration.
    When the consumer systsem 'Cold fusion' is trying to consume one of the webservice the XML response is different when compared with the one tested from ECC 5.0.
    ECC 6.0 is returning different XML for the same web service. The consuming system "Cold Fusion' is expecting the SOAP XML in different place.
    When we tested the same webservice in WS navigator it did gave the response. Also the issue is with this webservice only.
    We have re created the webservice again and tested from cold fusion and the same response.
    The issue is with only one webservice.
    Regards,
    Prashanth.

    Hi Martin,
      Please check these following links. Though you have reported already, these may help
    Proxy Object generation error using Wizard for Web Service Consumption
    Also, please have a look @ /people/thomas.jung/blog/2006/03/13/develop-a-web-service-that-sends-an-email--in-abap-netweaver-04s
    Hope this helps,
    Karthik

  • Getting No rights error in Crystal Reports connection with SAP ECC 6

    I am ABAP/BI developer and would like to work in Crystal Reports 2011. Currently, We have SAP ECC 6 and BI 7 set up. I have installed trial version of Crystal Reports 2011.
    I am getting error while trying to create blank report in Crystal Reports:
    Create New Connection -> SAP Tables.. -> entered SAP Development server user id and password -> following error message :
    LOGON failed
    Details : You do not have necessary rights to design reports against the SAP system. Please check with your system administrator.
    My user id has all rights in development server.  So, is any special rights require? OR do we have to install any patch for Crystal Reports at SAP level?
    Please guide me.

    Hi,
    To be able to report off an SAP data source in Crystal Reports, request the SAP Administrator to set the appropriate authorizations for the user.
    For a list of authorizations that are necessary for each type of SAP connection, consult the document:
    BusinessObjects XI Integration for SAP Installation Guide
    In the "Authorizations" chapter, there is a description of each authorizations needed for each type of connection and actions.
    ( The document is attached to this SAP Knowledge Base Article in the attachment section )
    In addition to the authorizations specified in the SAP Integration Kit Installation Guide, the following authorizations are required:
    For Authorization object: S_RFC with Field name: RFC_Name. According to the installation guide the values should be: SYST, /CRYSTAL/OPENSQL
    Additionally you will need the value: SUSR as well.
    For Authorization object: ZSEGREPORT with field name: ACTVT. According to the installation guide the value is: 02 (Change)
    Additionally you will need the value: 01 (Create or generate) as well.
    Thank you.

Maybe you are looking for