Implementing Webservices

Hi All,
We would like to implement webservices(i.e SOAP webservices) to connect SAP system to Thirdparty System.
Could you please tell me how to Create Webservices RFC function module.( i know how to write RFC with Destination).
Please tell me is it Compatible for my present System .
Details as follows :
SAP R/3 Enterprise
Release           :  620
Thank You
Ram

Hi
Check this link
http://****************/Tutorials/XI/WebService2RFC/page1.htm
Regards
MD

Similar Messages

  • Implementing Webservices in Flash CS5

    Hello I am looking for a walkthrough for implementing a call for a webservice from an swf file, I cant find any..

    What specifically can't you find? Searching Google for 'AS3 web service' yields tons of info, and examples. Essentially though, you simply use URLLoader to call the service and pass your data. A complete listener attached to the loader allows you to get data back from the service.

  • Implementing Webservices Doubt

    Hi,
    i have few queries in my mind
    we have to integrate Third party webservices with our SAP R/3
    1) Assume that in IDOC--- SOAP scenario( External Web Service)  who has to generate the WSDL file????
    2) In SOAP -
    IDOC scenario( External web service) who has to generate the WSDL file.
    Regards
    Suman

    Hi,
    The basic thing behind the Webservice is to follow the wsdl structure.
    On Sender side of SOAP we could create the WSDL file with defining the Webservice in ID and that can be deployed on Sender system to send the request message from web service.
    On Receiver side normally the Webservice structure has to be define as per the receiver system so its preferrable to take the wsdl as per Receiver system and use it in XI as external defination.
    In your IDOC-SOAP scenario, Web service is on receiver end and you have to develope the wsdl on receiver end as per the services provided by receiver system and the URL directs to receiver system.
    Here you should not create the wsdl from XI as the url that you will be giving in XI will be pointing to XI Interface by giveing the service and communication details.
    http://<Host>:<port>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<communication channel>
    In SOAP ---IDOC Scenario do we need to deploy any WSDL File on XI Server and Why???
    Here SOAP will be sender and will be directing to XI server so we need to deploy it in XI.
    I hope now its clear to you
    Thanks
    Swarup

  • How to implement Webservices using JSPDynPages?

    Hi,
    Am currently working with an application where the requirement is that, I need to make a call to the webservice from my JSPDynPage controller, pass the arguements username and password and get the result, a string which authenticates the user. Please let me know how I can do this, and what code I need to include.
    With Regards,
    Sujana

    Hi,
    We've had some strange problems with "java.lang.Exception: Deserializer for QName
    (http://www.w3.org/2001/XMLSchema, string) not found or not supported" error occuring randomly (but not often ) with portal services consuming webservices.
    An OSS was created, and the reply was
    "The right and supported way to consume a web service is by creating a deployable or a standalone proxy.
    You can read more information in the following link:
    http://help.sap.com/saphelp_nw04/helpdata/en/81/12703e5da3e946e10000000a114084/content.htm
    Please note, although the "old" framework for consuming web services
    exists, it's deprecated in newer versions."
    So you need to create a J2EE application inorder to consume or expose webservices.
    Regards
    Dagfinn

  • Best practice for implementing services

    I am doing some testing with implementing webservices and i am wondering what it the best way...
    First some background about the project. The idea is that the user interfaces uses webservices for almost everything. The complete datalayer is created somewhere else and i just use those services. For example i have a WSDL that holds the UserServices. It describes the service for creating,updating,deleting, getUserByCompany, getUserByKey and some other stuff.
    As far as i can see, i have 2 options in JDev
    1) Create a datacontrol based upon the WSDL. This way i can easily drag&drop the services and use the databindings.
    I'm afraid that this approach is not that flexibel. It isn't realy easy to update the DC once the WSDL has been changed.
    I have a popup to edit/create a user. It also does not seem easy to implement this because when i open the popup for create, my input fields should be bound to the parameters for the createService but when i open the popup to edit a user, those fields should be bound to the editService instead. This does not look easy...
    Also, the table that lists the users depends on the role of the user. When an admin request the page with the user table, he must see all the users but when another user request the page, he can only see the users from his company so we have 2 services for this: getUsers (gets all the users) and getUsersByCompany so here also, my table can be bound to 2 services... Does not seem to be easy to implement.
    2) The second way of implementing services is using a proxy. This seems way more flexible. I just creates a java interface to call the service. This way i can create my own pojo's and create a DC from that.
    This way i can create a function getUsers(String company). When i drop that to my page, i can bind the company parameter to a backing bean. THis way i can write some logic in the pojo based upon the value. If company is null i return the result of the getUser service, else i use the getUsersByCompany service instead.
    It's also very easy to regenerate the proxy if the wsdl has been changed. Somethign that isn't possible with the first way.
    What do you do when you use webservices this way? If their any difference in performance?
    Any other tips.

    You got it basically right.
    With the proxy approach you write get code that wraps your calls to the Web service - and this allows you to do various modifications on how the service is called, what to do with the results etc.
    However check out this example to see how you can use the same result set in a Web service data control for both a query and an update/insert:
    http://blogs.oracle.com/shay/2010/05/updateinsert_with_adf_web_serv.html

  • Webservice secuirty in SOAP receiver channel in PI 7.1

    One of my vendor published a web service which I imported in PI , but he expcets PI to send webservice secuirty with usertoken, so that they can authenticate & authorize.
    How can we implement webservice secuirty with usertoken & password in PI 7.1 on SOAP receiver channel.
    Please let me know your thoughts.

    I mean while message is going out from XI it should pass username & password as a part of SOAP Header. like below
    which I beleive we can call it is as web service security with usertoken
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
    <SOAP-ENV:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" >
    <wsse:Security soapenv:mustUnderstand="1" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" >
    <wsse:UsernameToken>
    <wsse:Username>abcd1234</wsse:Username>
    <wsse:Password type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText" >abcd2009</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>

  • Oracle 9iFS performance with WebService

    Hello,
    We use Oracle 9iFS with Oracle iAS and Oracle Database. We have implemented WebServices that use iFS API to upload/view/modify the documents in iFS. Even for a file that is ~5Mb, the performance is poor. Do we have any Benchmark testing results so that we can compare our results? We also get some Errors every now and then, which locks up the iFS instance and can only be solved by restarting the instance, the errors are like follows
    oracle.ifs.common.IfsException: IFS-21008: Unable to connect to iFS service
    oracle.ifs.common.IfsException: IFS-12214: Unable to get item in collection by name (CLASSOBJECT)
    oracle.ifs.common.IfsException: IFS-12201: Unable to resolve collection
    oracle.ifs.common.IfsException: IFS-20008: Unable to prepare query statement
    java.sql.SQLException: Refcursor value is invalid
    or
    oracle.ifs.common.IfsException: IFS-21008: Unable to connect to iFS service
    oracle.ifs.common.IfsException: IFS-21002: Unable to construct S_LibraryObject for class oracle.ifs.server.S_LibrarySession (unexpected Exception occurred in invoked method)
    java.lang.Exception: java.lang.OutOfMemoryError
    or
    oracle.ifs.common.IfsException: IFS-21008: Unable to connect to iFS service
    oracle.ifs.common.IfsException: IFS-20001: Unable to get schema version
    oracle.ifs.common.IfsException: IFS-20000: Unable to get repository parameter (SCHEMAVERSION)
    java.sql.SQLException: Bigger type length than Maximum
    Are these errors because of - Not applying patches or some problem with concurrent iFS access. We have identified an issue with memory leak and are working to resolve it, but we feel that there maybe more issues. Any help would be appreciated, thanks

    That depends on at least three things:
    (1) what is the range of words that will appear in the document set (wide range of documents = smaller resultsets = better performance)
    (2) how precise are the user's queries likely to be (more precise = smaller resultsets = better performance)
    (3) how many milliseconds are your users willing to wait for results
    So, unfortunately, you'll probably have to experiment a bit before you'll know...

  • Receive XML document as Webservice Response

    Hi
    I have implemented webservices using axis.This works fine.
    But I need an receive the response as an XML document.because for multiple entries of same tag name, i can parse through the document and do what ever i want.
    Also how can i attach an external xsd for a wsdl.
    I am stuck up at these two places,Your help would be appriciated
    Thanks in advance

    Web service is platform independent hence most programming languages should return basic datatypes. In your case easiest thing would be to read that XSD file and convert entire file as String and return it as String. A document object will always throw an error.
    Google to find out datatypes supported.
    Hi Everyone,
    Please let me know if this can be a quick resolution to his problem.

  • Request dump of request in SOAP webservice

    hi
    i am new to SOAP Webservice i want to see what is request is send to server is there any way to see Requeest Dump for what request is went to server?
    i am implementating webservice using <s:webSerice > tag and pass Wsdl and in the <s:request > tag i pass 4 parameter which is neeed for webservice call.
    now i want to see what request is made in the mxml and which is send to server
    Thanks & Regards,
    Megha

    If client has given you the WSDL then you need to create a proxy out of it. It may be a deployable proxy in your case and use those proxy classes in your EJB to populate the web service request.
    Method 1 cannot generate xml in format 4.
    The other way would be to try out xslt to convert XML from one format to another. But in order to do so, you would require to generate the schema from both the xml. This can be easily done with some good xml editors, like xmlspy.

  • Webservices and CFNetwork

    Hi all !
    I was wondering if someone has a good example of implementing Webservices with the CFNetwork ?
    The main idea is to have a rails application on a laptop that could communicate with an iphone/ipod touch for exchanging data.
    Thanks !

    Pradeep,
    I have already tried this solution. Only this isn't a table for export, but for import. Normally thies shouldn't be a difference, but still no correct table in the RFC.
    My solution at this moment is to create a string from this table with delimiters and recreate the table in the RFC. I know this isn't the correct way, but better something than nothing.
    Just dragging the table from dataview isn't correct, the result is only the last row in the RFC function. I also tried the table as an import parameters with type tabletype, but this isn't the solution either.
    Maybe you or somebody else have an other approach?
    -Bart-

  • Integrate multiple javabeans in one webservice

    Hi!
    I'm developing web services for a company, and i've a problem.
    I've yet built a webservice which connects via SOAP to a JavaBean.
    But now I want to build a webservice who connects to multiple JavaBeans (which contain the functions for the webservice)
    Anyone made yet? I use JBuilder 9 Enterprise Edition.

    Let me give you a hint.
    Technically, you can acheive implementing webservices as you like.
    For one WSDL, try to create one java bean (as business deletage) that connect multi java beans from those 3 existing webservices. This will be a simple solution, because you wont get problem dealing with the session management.
    But, you can also have one WSDL for each web services. It means you will have 3 services end points.
    Hope it will help.

  • Weblogic apache plugin and webservices

    Can I use the weblogic plugin on a DMZ based Apache server and use a 3 tier architecture
    to implement webservices.
    Using this model can a external application contact my webservices running in
    my internal network and can my weblogic/webservices server contact an external
    application/webservices using the same route i.e through the apache webserver
    and weblogic plugin.
    Any documentation regarding the architecture?

    Hi Anil,
    Not sure this is possible, unless you are using it as a proxy and setup
    the proper host/port mappings, see:
    http://edocs.bea.com/wls/docs81/webserv/client.html#1072224
    We have a very responsive security newsgroup, you might ask your
    configuration question there:
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.security&utag=
    Sorry, not much help (SNMH)
    Bruce
    Anil Jacob wrote:
    >
    Can I use the weblogic plugin on a DMZ based Apache server and use a 3 tier architecture
    to implement webservices.
    Using this model can a external application contact my webservices running in
    my internal network and can my weblogic/webservices server contact an external
    application/webservices using the same route i.e through the apache webserver
    and weblogic plugin.
    Any documentation regarding the architecture?

  • WebService Test page generation

    Hello,
    I have a question regarding WebService test page generator. I have OC4J standalone (10.1.3.3.0) configured on internal IP address like 10.x.x.x and for test reasons this server is accessible via internet.
    Test page for WebService generated by application server is always generated using this internal address as host (see page source fragment below):
    <p>Download the JavaScript Stub (<i>BETA</i>) for ServiceSoapHttpPort and see its documentation.</p>
    <script type="text/javascript" src="http://10.201.205.63:8888/testws/ServiceSoapHttpPort?ServiceSoapHttpPorttest.js"></script>
    <script type="text/javascript">
    Because of this, it is impossible to run test page using external server address.
    Is there any parameter or configuration file which control the way that webservice test page is generated ?
    Regards
    Tom

    Hello,
    The test page does the best it can to reflect and provide test values,
    however there are limitations. Note, this does not mean there is a
    problem with your service, it is simply a limitation of the dynamically
    generated test page.
    You might consider your own custom home page [1]
    Hope this helps,
    Bruce
    [1]
    http://edocs.bea.com/wls/docs81/webserv/webxml.html#1008158
    Sachin wrote:
    >
    Hi,
    I have a WSDL which refers to a xsd schema for types information.
    To create a webservice from this WSDL, I used following ant tasks.
    autotype : To generate type information from WSDL
    wsdl2service : To generate partial implementation of web service
    autotype : To generate type information for the session bean which implements
    webservice
    source2wsdd : To generate webservice from stateless session bean
    wspackage : To generate ear and client.
    My session bean uses the userdefined complex datatypes, which are defined in
    XSD, as parameters for a method.(The java classes for the complex datatypes are
    genrated by autotype ant task)
    I could successfully generate the webservice and deploy it to BEA 8.1, but when
    I open the BEA web console test-page to test the service, I get following error
    message.
    <!-- Do not know how to create a sample instance for this part due to the following
    exception:java.lang.IllegalArgumentException: argument type mismatch. Pls replace
    this with the correct XML before invoking the service. --->
    Test page is not able to generate the XML equivalent of the method parameter (complex
    datatype) .
    Can anyone help me solve the problem ?
    Regards,
    Sachin

  • Need Web Service implementation tutorial on SOA11g with weblogic 11g AppSer

    Hi Experts,
    I am new to webservice topic. I don't know ABCD of web service, but i got a task to implement webservice and need prepare xsd file to move 3 fields information from source system to target machine.
    Note: Target system have webservice to capture 3 fields information but I need to prepare a web service to capture 3 fields information from log file (normal text file) through web service (from source system and later link same to target web service).
    My task is to implement web service at source system to fetch 3 fileds data from log file and link to target machine web service.
    Can any one help me out any basic information on it and apreciate if any one provide practical tutorial on web service creation using SAO 11g and weblogic 11g application server.
    Thanks,
    Phani

    thanks you for your response and tutorial.
    I need some more help, can you please help me out how to read data from log file to webservice
    Note: Log file have a xml content but it is saved as .log file thru an third party application. Third party application does not have capability to store log file as xml but it istoring has .log file (normal text file) with XML content.
    If you have any sample code, please provide the same
    Thanks,
    Phani

  • Webservice ReturnType

    hi ,
    I am implementing webservices in my project , they work fine if the method consists of String as an parameter and string as a return type but i want to send a object as return type , is there any work around to solve the issue i am using Axis and Tomcat5.5

    what stops you from sending object as return type?
    you might need to add @XmlSeeAlso annotation with all return objects listed if you use generic java.lang.Object class and want to return my.test.FooBar

Maybe you are looking for