Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Web Services

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 7

Topics:

abap proxies

esr, esb

NetWeaver

publishing web service

BITS:

1.ABAP proxies correspond to different entities of Web services, such as port types, messages, and
schema types.

ANS: Technically, ABAP proxies consist of how many parts? 2 (classic ABAP objects and metadata (SPRX
objects))

2.webservices are of how many types?

2(SOAP AND REST)

3.sap NetWeaver provides standard architecture/tools to create web service t/f?

(TRUE)

4.a stateful web service does not define state status t/f?

FALSE

5.provider proxy prerequisites?

(data types,

message types,

service interface and its operations)

6.consumer proxy prerequisites?


(outbound service interface and

wsdl document)

7.outside-in service basic steps/use?

ANS (Modeling in the Enterprise Services Repository,

Creating the interface,

Implementing the application logic,

Configuring the Web Service)

Q) outside-in service pre-requisites?

The Web service runtime has been configured (refer to Configuring the Web Service Runtime).

The Web service has been modelled in the Enterprise Services Repository (ESR).

You have activated the Enterprise Services Browser in the ABAP Workbench. You can also call the
browser in transaction SPROXY.

The user is assigned the relevant Authorizations.

8.abap workbench tcode?

se80

9.to query message?

if_wsprotocol_message_id.

10.for proxy generation which role is required?

sap_xi_developer_abap

11.webservice basics:

it is modular, independent, self-describing.

12.webservice basics:
options:

web service is self-describing via common xml grammar.

web service is tied to os (wrong option).

web service is available in internet and intranet.

13.objects modeled in esr, will be available in???????

Ans: enterprise repository browser

14.esbrowser handles all abap proxies.t/f?

true

15.if service interface is not released, then what happens to service variant?

Error

/exception

/cannot continue in creating service variant(answer)

/none.

16.When publishing a Web service, the service provider transmits information about itself and a
description of the service it is offering and transfers this to the services registry.t/f->

true

17.The standard register used is the UDDI services registry,

SAP provides a public UDDI server at http://uddi.sap.com, and any ABAP client can be set up as a
services registry,

full form of uddi?

Ans:(Universal Description, Discovery and Integration).

18.what does a web service provide

options:

html version in html language


machine language

xml based description in wsdl. (Ans)

19.The user of a Web service is called a service consumer.t/f?

True

20.what can be used for setting up Web services or

you can develop new Web services in the Object Navigator of SAP NetWeaver AS for ABAP.?

Existing BAPIs or remote-enabled function modules.

21.esr will be in?

backend(ANSWER)

/frontend

/external

22.With the inside-out approach, independent function modules that were implemented as RFC-
enabled function modules, as function groups, or as BAPIs are provided as a Web service.t/f->

ANs: True

23.to fix the default prefix we use the user parameter --------- in your user profile??

Ans: prx_prefix.

24. Proxy generation prerequisites?

ANS: you need the SAP_XI_DEVELOPER_ABAP role,

All objects must be modeled in the ES Repository - or be made available as external WSDL
descriptions,

The package structure in the ABAP back-end system must be defined,

Prefixes for the ABAP objects can be defined.


25) PRF_DT_IF_SEC_HIGH uses which type of authentication?

Authentication using certificates and transports:

THESE ARE JUST REFERENCE NOT DUMPS

1) Prerequisites of Web Service Provider in the ABAP Back-End

The Web service runtime has been configured

The SAP system uses the software component version SAP NetWeaver 7.0 EHP2, Service Package 08 or
higher

2) In transaction SPXNGENAPPL, you can check whether your namespace has been assigned to the back-
end repository.

3) Use of Inside-Out

With the inside-out approach, independent function modules that were implemented as RFC-enabled
function modules, as function groups, or as BAPIs are provided as a Web service. The Web service can be
used across the entire Internet using standard protocols and can easily be added to any development
environment.

4) Prerequisites of Inside-Out

The user has been assigned the appropriate Authorizations.

5) Procedure for creating Inside-Out

Creating a Service Definition

Editing a Service Definition

Changing the Service Definition Configuration

6) Each service that you create in inside-out mode can be called synchronously and asynchronously.

7) A stateful service retains its status within the framework of a HTTP session throughout several calls
from the same service consumer. The default value for services is stateless. If you require stateful
communication, you can choose this instead.

8) The message identifier has the standard value True. Using the IF_WSPROTOCOL_MESSAGE_ID
protocol, you can query the sent message.
9) The operation profile has the default value Synchronous. If you choose the status stateful in the
interface profile, you can choose also Synchronous Commit and Synchronous Rollback for all operations
except Synchronous.

10) steps to create web service consumer??

Generating a Consumer Proxy

Generating a Consumer Proxy

Calling a Service from an Application

11) Synchronous communication

Synchronous communication uses the Request Response Message Exchange Pattern (MEP).

Synchronous communication uses a single function call.

idempotent (IDP) Web service.

Feature:(Attribute:)

Message Exchange Pattern (Request Response)

Blocking(Yes)

Transport Guarantee(No)

Transactions(No)

quality of service (Yes (Exactly Once with IDP)).

12) Asynchronous Communication

Function calls are put in the sender system outbound queue, from where the call is repeated at regular
intervals until it can be processed by the receiving system.

There is no answer with asynchronous methods since the OneWay Message Exchange Pattern is used.

Feature:(Attribute:)

Message Exchange Pattern (One Way Message)

Blocking(No)

Transport Guarantee(Yes)

Transactionality:(Yes)

quality of service (Yes (Exactly Once/Exactly Once in Order))

13) Event Provider prerequisites

 An application/class that will call the event provider.


 Typically, a message type (data structure) should also exist before creating an event proxy.

14) Prerequisites for Consuming a Stateless Web Service

 The Web service runtime is configured


 You have generated a proxy
 You have configured the consumer proxy.
 The role SAP_BC_WEBSERVICE_CONSUMER was assigned to the user master data of the user.

15) Prerequisites for Consuming a Stateful Web Service and TU&C/C.(for both the prerequisites are
same)

 You have generated a proxy


 You have configured the consumer proxy.
 The role SAP_BC_WEBSERVICE_CONSUMER was assigned to the user master data of the user.

16) Web Service Runtime tCode  LPCONFIG

17) A fault message is a message that describes an application-specific error situation.

18) To trigger the error of the proxy runtime call the method CL_PROXY_FAULT=>RAISE

19) faultText  60 characters

20) Semantic Contracts describes the interaction between two business entities (called actors) by means
of one or more operations.

You might also like