Regarding Web Services

Hi Rich,
i have built one application i.e. one program in ABAP, which has some 10-15 Dialog Screens in it, but the requirement is to call that program from an external Website , i am totally dumbstruck, and have no clue on how to do it, my last Query was answered by you, so i am directly adressing you, as u said, we can handle this kind of situations with Web services. Please explain me in detail, if its possible with an example.
Regards
Siddhartha

Hi,
SAP has a number of different ways that data can be presented to or obtained from a web page.
- If the web page is to be built using external tools that just want to call SAP as an interface, then the Web Service is probably the best choice.  This requires you to build the business logic independant of the screen logic as described by Rich.
- If SAP is to produce the Web page, then tools such as BSP, Web Dynpro and ITS can be used.  BSP gives the best presentation at a cost of having to code to handle some browser peculiarities.  Web Dynpro gives slightly less flexible presentation, but is more stable in handling supported browsers and is SAP's preferred way forward for web presentation within a company.  ITS is older technology and requires more HTML and Javascript coding, but can provide a simple front end for Dynpro based screens (eventually these will need to be migrated to BSP / Web Dynpro as SAP reduces support for ITS - they are already moving most internal services, and have made documentation on the ITS almost impossible to find in SAP Help).
Andrew

Similar Messages

  • Regarding Web Services After getting WSDL how to proceed

    Hi ,
      I am dealing with Web service to IDOC Scenario. I had created a web service in  ID which in turn created a WSDL file . I impoted this WSDL file in External Definition tab in IR part .
      I had find out some blogs dealing with these web services but i am not clear with them
    1) Then how can i give input to SOAP adapter
    2) what is need of going to NWDS and the Wed Dynpro

    Kalyan,
    Download softwares like SOAP UI -http://www.soapui.org/
    Create new project in SOAP UI and add the WSDL to that project and click send.
    Also don't forget to give authorizations.
    Best regards,
    raj.

  • Regarding Web Service.

    Hi Experts,
    Can you please let me know when we define a servce as web service in XI.
    Under which type of scenario it is used.
    Thanks
    Vishal

    Hi,
    this might be helpful:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20013414-b7a9-2b10-8fa1-fc7e5ec02659
    Regards
    Patrick

  • Help needed regarding web service

    I implemented a stateless session bean(also remote and home interface)
    and created a jar file for that bean. After that I converted this bean into a web service using 'servicegen' task and created corresponding client jar using 'clientgen' task. After that I can access that bean method(only one method which accepts List object as parameter) by using URI.
    Here I got the problem. When I give the URI I got the method name and I clicked on it, it asks the input for the List object.
    I give the data as
    <list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xsi:type="java:language_builtins.util">
    <linkDataDecorator xmlns:n1="java:com.b2.indigo.layout.display"
    xsi:type="n1:LinkDataDecorator">
    <n1:linkData xmlns:n2="java:com.b2.indigo.layout.display"
    xsi:type="n2:LinkData">
    <data>ggg</data>
    <label>hhh</label>
    </n1:linkData>
    </linkDataDecorator>
    </list>
    when click on Invoke button I got exception like Failed to invoke service:
    javax.xml.soap.SOAPException: failed to deserialize xml:weblogic.xml.schema.binding.DeserializationException: type mapping lookup failure on type=['java:com.b2.indigo.layout.display']:n1:LinkDataDecorator TypeMapping=TYPEMAPPING SIZE=2 ENTRY 1: class: java.util.List xsd_type: ['java:language_builtins.util']:p2:List ser: [email protected]1430 deser: [email protected]d62f1 ENTRY 2: class: com.b2.indigo.layout.display.HtmlBuildingInfoVO xsd_type: ['java:com.b2.indigo.layout.display']:p1:HtmlBuildingInfoVO ser: com.b2.indigo.layout.display.HtmlBuildingInfoVOCodec@19ac931 deser: com.b2.indigo.layout.display.HtmlBuildingInfoVOCodec@10ec447 at weblogic.webservice.core.DefaultPart.toJava(DefaultPart.java:389) at weblogic.webservice.tools.pagegen.SampleInstance.getJavaObject(SampleInstance.java:145) at weblogic.webservice.server.servlet.ServletBase.getJavaParams(ServletBase.java:438) at weblogic.webservice.server.servlet.ServletBase.invokeMultiOutput(ServletBase.java:342) at weblogic.webservice.server.servlet.WebServiceServlet.invokeMultiOutput(WebServiceServlet.java:353) at weblogic.webservice.server.servlet.ServletBase.invokeOperation(ServletBase.java:300) at weblogic.webservice.server.servlet.WebServiceServlet.invokeOperation(WebServiceServlet.java:343) at weblogic.webservice.server.servlet.ServletBase.handleGet(ServletBase.java:266) at weblogic.webservice.server.servlet.ServletBase.doGet(ServletBase.java:158) at weblogic.webservice.server.servlet.WebServiceServlet.doGet(WebServiceServlet.java:254) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178) Caused by: weblogic.xml.schema.binding.DeserializationException: type mapping lookup failure on type=['java:com.b2.indigo.layout.display']:n1:LinkDataDecorator TypeMapping=TYPEMAPPING SIZE=2 ENTRY 1: class: java.util.List xsd_type: ['java:language_builtins.util']:p2:List ser: [email protected]1430 deser: [email protected]d62f1 ENTRY 2: class: com.b2.indigo.layout.display.HtmlBuildingInfoVO xsd_type: ['java:com.b2.indigo.layout.display']:p1:HtmlBuildingInfoVO ser: com.b2.indigo.layout.display.HtmlBuildingInfoVOCodec@19ac931 deser: com.b2.indigo.layout.display.HtmlBuildingInfoVOCodec@10ec447 at weblogic.xml.schema.binding.RuntimeUtils.lookup_deserializer(RuntimeUtils.java:443) at weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec.deserialize(XSDAnyCodec.java:106) at weblogic.xml.schema.binding.SoapArrayCodecBase$EntryIterator.getNextObject(SoapArrayCodecBase.java:751) at weblogic.xml.schema.binding.SoapArrayCodecBase$EntryIterator.(SoapArrayCodecBase.java:707) at weblogic.xml.schema.binding.SoapArrayCodecBase.deserialize(SoapArrayCodecBase.java:288) at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:428) at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:328) at weblogic.webservice.core.DefaultPart.toJava(DefaultPart.java:384) ... 21 more

    Hi,
    What is the version of the weblogic server and service pack you are using ?
    Regards
    Anilkumar kari

  • Regarding Web service navigator...

    HIII
    i have  issue that how can i check the location of Available web service in server. and How it can be deleted..
    Thanks

    hiii NAGA..
    I have to delete some web services from server  in this way that they r not visible in the web application navigator home page. I have found the ans of my last question regarding the " location of web apps" which is "usr\sap\e60\jc01\j2ee\cluster\server0\ apps\sap.com." at this location all the files r deployed . But I need a loaction where all the web services r found at single location.
    suppose i need the location of  "SLD START " service in that case the loaction will be usr-sap-e60-jc01-j2ee-cluster-server0- apps-sap.com-tcSLutil~wserver\server_js
    But now i search for CMSRTS the location will be different.
    I need a single location where all this files resides.
    how can i  deploy my web service to web service navigator . ???
    Thanks in advance...

  • Somehelp regarding Web service consumption in portal component

    hi all,
    I need Somehelp regarding External Web Service consumption in portal component.
    I have a wsdl file, but when i try to create a model using wsdl in portal it is showing cannot to read the wsdl file.
    is there any other way i consume wsdl in portal.

    Hi,
    mybe it's an authorization problem while reading the WSDL file?
    Try to include it like this:
    http://mycompany.net:8000/sap/bc/srt/rfc/sap/Z_Webservice_Test?sap-client=800&wsdl=1.1&sap-user=USERNAME_ON_BACKEND&sap-password=XXXXXXXXX
    Thomas

  • A question regarding Web Service Client

    Hi,
    I read the tutorial "Creating Web Service Clients with JAX-RPC" and I coundn't understand something.
    The code conatins, for example: (Stub) (new MyHelloService_Impl().getHelloIFPort()); Since it's a stand alone client, how it suppose to recognize MyHelloService_Impl()? Should it be added to the project libraries? What did I miss here?
    Thanks, Lior

    The wscompile tool generates class files required by the static stub client. The HelloClient program creates a stub as follows:
    stub = (HelloIF_Stub)
    (new HelloWorldService_Impl().getHelloIFPort());
    The wscompile tool generates the HelloIF_Stub and HelloWorldService_Impl classes and places them in the build/classes/server/ subdirectory. To construct the HelloIF_Stub name, wscompile appends _Stub to the portType name defined in the WSDL file:
    <portType name="HelloIF">
    To create the HelloWorldService_Impl name, wscompile appends _Impl to the service name, which the WSDL file specifies as follows:
    <service name="HelloWorldService">

  • Help regarding web services

    hai iam a java developer building web application,i wanted to learn the web services with soap client.i dont know where to start?,what a web services are?,so to learn from basic what r the softwares needed.and from where i can get best tutorial please help

    Visit http://ws.apache.org/axis/index.html and download Axis which I found to be a simple and excellent means of learning web services. It has Developer & User guide which you will definetly find very useful to begin with.

  • Query regarding Web Services.

    Hello,
    While doing the Administration of SOAP runtime how can one able to know in which application server on which a J2EE Engine was started.
    Please Suggest.
    Thanks
    Vineet

    The J2EE engine should be started on the same server as is WAS, so in other words the same server where you have SOAP runtime.
    However if you are just creating and testing web services, you do not have to have J2EE engine started. You can still define services and test them using external clients (I could easily use NWDS WS client).

  • Regarding Web services security.

    Can I implement a database level username/password security for a web service.
    So only database users can access the web service.is it possible?
    Any implementation example or related document?
    Thanks!

    Hi Soni,
    Yes, you could.
    Two options I can think of:
    - Program WS-Security for your specific web service
    - Use Oracle Web Services Manager
    With respect to the latter: I believe there is no OWSM policy step to handle your requirement out of the box. OWSM comes with policy steps for file-based authentication as well as for authenticating against Active Directory or a generic LDAP directory.
    In this case you could opt for the creation of a custom policy step.
    Hope this help.
    Sjoerd

  • Information regarding  web services  its urgent....

    Can any body plz tell me, is there any way to integrate a stand alone java swing application with a web service?
    If yes how? Its urgent..........
    Thanks in advance...
    Anand

    Hi,
    the integration of such a web service is very easy:
    create partner link and enter into the field "WSDL file" the URL of your webservice. (The URL which is browsable).

  • Regarding web service n multiplayer online board game

    I am using a custom web service package : wellconsidered. i
    am creating a chinese checkers online using FLash cs3. i used sql
    server as database.
    This is how it works:
    import be.wellconsidered.services.WebService;
    import be.wellconsidered.services.Operation;
    import be.wellconsidered.services.events.OperationEvent;
    var ws = new WebService("
    http://www.webservicex.net/WeatherForecast.asmx?wsdl");
    var op:Operation = new Operation(ws);
    op.addEventListener(OperationEvent.COMPLETE, onResult);
    op.addEventListener(OperationEvent.FAILED, onFault);
    op.GetWeatherByPlaceName("new york");
    function onResult(e:OperationEvent):void { trace(e.data); }
    function onFault(e:OperationEvent):void { trace(e.data);
    Can this webservice be used for creating the game? this is a
    passive pull technology. but is there a way to consistently detect
    and send data? the push technology replaced with Timers? Need guide
    on this.

    I am using a custom web service package : wellconsidered. i
    am creating a chinese checkers online using FLash cs3. i used sql
    server as database.
    This is how it works:
    import be.wellconsidered.services.WebService;
    import be.wellconsidered.services.Operation;
    import be.wellconsidered.services.events.OperationEvent;
    var ws = new WebService("
    http://www.webservicex.net/WeatherForecast.asmx?wsdl");
    var op:Operation = new Operation(ws);
    op.addEventListener(OperationEvent.COMPLETE, onResult);
    op.addEventListener(OperationEvent.FAILED, onFault);
    op.GetWeatherByPlaceName("new york");
    function onResult(e:OperationEvent):void { trace(e.data); }
    function onFault(e:OperationEvent):void { trace(e.data);
    Can this webservice be used for creating the game? this is a
    passive pull technology. but is there a way to consistently detect
    and send data? the push technology replaced with Timers? Need guide
    on this.

  • Regarding Web Services, Need to Access Tibco Data

    Hi Experts,
    I am very new to webservices...
    My task is to get response from TIBCO system.
    I got a xml file from tibco, I created client proxy in se80, using that xml file. Now I am trying to create a logical port
    for that proxy usng soamanager, I am getting the following error
    Error: Uninstantiated object "subject sidl service" in method IF_SRT_WSP_CONFIG_SIDL~CREATE_CLNT_CFG_FROM_WSDL_D of class CL_SRT_WSP_CONFIG_SIDL
    I do not what this error, and how to resolve it....
    please do the need ful
    thanks in advance,
    Ram

    Hi Suresh,
    I created a webservice, and tested between two R3 systems, It is working fine. Now my actual job is to get response from Tibco. I got a file from Tibco system, and I created a proxy basing on that xml file. Now I am trying to consume that proxy in my sap system and I am getting the following error
    EXCEPTION: CX_AI_SYSTEM_FAULT TRIGGERED
    SOAP : 1,007 SRT : UNSUPPORTED XTREAM FOUND (HTTP CODE : 404 ..
    what is this exception means... and how it could be resolved...
    waiting for your reply....
    thanks in advance,
    Ram

  • Web Service and Oracle HTTP Server

    I have a web environment with Oracle Database 10.2.0.3 , oracle http server (using mod_plsql), Oracle pl/sql web toolkit. I need to create a web service that is accessed externally which will interact with the database (select, insert, delete). Is it possible to publish a web service to the Oracle Http Server or to implement web services with the environment above

    Hello,
    In RDBMS 10g you cannot directly expose WS from the DB you need to use the OracleAS Web Service Runtime to do it, following this documentation:
    - Developing Web Services that Expose Database Resources
    This is true if we are talking about "tooling/runtime/API" but after all Web Services are mainly XML (WSDL and SOAP) so it is still possible to create by hands (PL/SQL & static files) but it is probably a long work depending of the complexity of your services.
    Also, in RDBMS 11, you can now directly expose WS from the DB using the embedded HTTP server, see this Oracle 11g New Features Document
    Note that before taking one approach you must take time to write up your requirement regarding Web Services eg: do I need security, which time of encoding, interoperability, ..., ... For example WS-Security that is the standard to secure SOAP messages is not (yet) supported by the Oracle 11g RDBMS Native Web Services... where when you do use the WS-Runtime you can secure the Web Service..
    Regards
    Tugdual Grall

  • Reg: Web Services

    Hi!
      This is Srinivas. I want information regarding web services.
    Where we are using Web Services in SAP XI ? and
    How to Use ? If any steps are there regarding any procedure of How to use and web Services document Kindly sent it to my Mail ID::[email protected]

    Hi Srini,
    <b>Where we are using Web Services in SAP XI ?</b>
    we use SOAP adapter to communicate with Webservice...
    -> Some remote clients or Web services providers are only able to communicate by means of SOAP messages
    ->SOAP adapter enables you to exchange SOAP message between remote clients and Web Service Servers and the Integration Server.
    -> The SOAP Adapter provides a runtime environment that includes various SOAP components for the processing of SOAP message.
    -> You use the SOAP adapter to connect such systems to the Integration Server directly
    -> The SOAP adapter uses a helper class to instantiate and control these SOAP components
    ->The SOAP adapter receives a msg from the remote client or Web service provider, converts the SOAP protocol into XI msg protocol and then sends the msg to the Integration Server to be processed further.
    <b>How to Use ?</b>
    If you want to expose a websevice then we have to chose outbound interface and expose it as webservice to the outside world, so anyone can call your webservice. Please follow stefan's weblog
    /people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine
    How to use webservices in XI
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    see this blog from Robert Chu, but it might give you a good start to creating web services:
    /people/sap.user72/blog/2005/12/29/service-enable-your-sap-application-component
    File to Webservices
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c09b775e-e56e-2910-1187-d8eba09c7a4a
    Yes please look at following weblogs
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    How to Develop a Webservice Using NWDS and SAP XI.30
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
    How to Set 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
    Exposing BAPI as Web Services through SAP XI
    /people/community.user/blog/2006/10/24/exposing-bapi-as-web-services-through-sap-xi
    Testing XI exposed Web-Services
    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
    How XML Encryption can be done using web services security in SAP NetWeaver XI
    /people/aparna.chaganti2/blog/2007/01/23/how-xml-encryption-can-be-done-using-web-services-security-in-sap-netweaver-xi
    Consuming XI Web Services using Web Dynpro – Part I
    /people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i
    Consuming XI Web Services using Web Dynpro – Part II
    /people/riyaz.sayyad/blog/2006/05/08/consuming-xi-web-services-using-web-dynpro-150-part-ii
    Regards
    BILL
    Use a Good Subject Line, One Question Per Posting - Award Points

Maybe you are looking for