Quantcast
Channel: SCN: Message List - Service-Oriented Architecture (SOA) and SAP
Viewing all 1056 articles
Browse latest View live

While consuming a webservice I am getting the following error :

$
0
0

Exception occurred in communication framework:Error in HTTP Framework:500SSL Peer Certificate Untrustedhttps://test:44315/sap/bc/srt/wsdl/flv_10002A111AD1/bndg_url/sap/bc/srt/rfc/sap/z_ws_test/001/z_ws/ztest?sap-client=001

Exception of class CX_PROXY_GEN_ERROR

 

Please suggest what might be the issue??

 

Thanks

Siju


ECC to Web Service Client system without PI. Where to get ATP ES bundles?

$
0
0

Hi,

 

I am trying to do integration between ECC to WebSerice Client system without SAP PI. For that I need ATP ES Bundles .
Where can I download them? please help

 

And also tell the same ATP ES bundle will work for ECC and SCM or I need to download different for both of them?

 

Regards,

Vikas Kumar

What is the need of creating & Consuming the web services ?

$
0
0

Dear Abapers,

 

where we can use the web services exactly in the sap ecc system.

 

is it possible to use the already created dot net web services on the SAP ECC System ?? how ??

 

Let us consider , i have one web method contains 3 parameters .

 

i need to pass 3 parameters to the web method in my SAP ECC R3 system.

 

how can i understand here exactly,

 

How the business scenarios will linked out here. & what is ABAP Proxies.??

 

Can any one explain me with the real time scenario for creating and consuming the Web services .

 

Thanks in advance.

 

 

Regards,

sudheer

Re: What is the need of creating & Consuming the web services ?

$
0
0

The easiest example is integration with some third-party software that consumes and provides data for your SAP system. Actually, integration is one of the major things web services are all about (not only in SAP).

Re: What is the need of creating & Consuming the web services ?

$
0
0

The following example is for a web service that accepts an HTTP GET with a three-parameter query string.  If you want to consume a SOAP web service, put the WSDL document in the generator in SE80 to build a proxy function.

 

DATA: webclient TYPE REF TO if_http_client,

      results TYPE string.

 

cl_http_client=>create(

  EXPORTING host = 'mydotnetserver.com'

  IMPORTING client = webclient ).

 

webclient->request->set_method(

  if_http_request=>co_request_method_get ).

 

cl_http_utility=>set_request_uri(

  request = webclient->request

  uri = '?param1=value1&param2=value2&param3=value3' ).

 

webclient->send( ).

webclient->receive( ).

 

results = webclient->response->get_cdata( ).

* Now you can parse the results

 

webclient->close( ).

 

You will most likely need to build a dynamic uri, so make sure and escape your parameter values using cl_http_utility=>if_http_utility~escape_url( ).  I hope this helps.  Let me know if you have any questions!

 

Best,

Eric

Re: What is the need of creating & Consuming the web services ?

$
0
0

Hello Sudheer,

The Sap has the PI system (Process Integration), where you can create a channel to communicate with external systems and external systems can communicate with SAP.

In your case, to call the .NET Web Service, is necessary do the configuration in PI system and after this step, generate the Proxy class.

The Proxy class, is a class that communicate with PI and the PI  call the DOT Net web service.

The real scenario to creating and consuming Web Services is an integration between SAP and third softwares, for example:

The company has a Web Application that is responsible to create Sales Order. Using a webservice, is possible, send the Sales order created on Web Application to SAP ECC.

 

I Hope this help you.

Re: What is the need of creating & Consuming the web services ?

$
0
0

Hi Sudheer,

 

Yes, we can use Web services created in .Net, Java, PHP etc.

 

To consume these Web Services we have to create a Consumer Proxy in SAP ECC. Following are the steps:

1) In transaction SE80, you have to create Consumer Proxy from Enterprise Services which you will find after clicking the 'Edit Object' button.

2) It will open a dialog box in which you have to select the Enterprise Services tab. In this tab there is a Client Proxy radiobutton, select it and give the desired name. Please make sure that you start it with 'Z' or 'Y'.

3) After clicking create, it will open a wizard for creating the client proxy. Use the 'external WSDL' radio button if you want to access a web service created in the external system. Provide the URL for Web service in the next screen.

4) Now, go to the transaction SOAMANAGER. Here you will have to configure the logical port for the client proxy. You will have to provide the hostname/ip and the port on which the Web service is located. These details will be available in the URL of the Web service.

5) Now you can write a simple ABAP code to verify if the you are able to get the desired result from the Web service.

 

Regards.

Saurabh

TIME TICKET CONFIRMATION IS NOT EXICUTING AT SUB OPERATION

$
0
0

Hi,

We are trying to post Time ticket Confirmation at sub-operation level

through standard web service. Up to Operation level,standard web

service is working fine but problem arises when we do posting at sub-operation

level.Web service is not working for sub operation level.

Please find attached step wise details of the process which we

are following.




Re: Problem when generating web service client using eclipse JavaEE

$
0
0

Hi,

 

I have got the same problem.

 

When I try to create Web Service Client in eclipse IDE, it always says: invalid WSDL.

 

Any idea? Would you please tell me how did you figure this out? Thanks.

 

Regards,

Jerry

Relation between R3TR SPRX and R3TR WEBI

$
0
0

Dear colleagues,

 

I would like to know which of the above R3TR object types define an enterprise service?

Also, how to derive the relationship between a service and its web interface (WEBI).

In which database table/view can I find the relationship?

 

I need this information to link a provider class/interface with its web definition/interface.

 

Thanks & Regards,

Sooraj.

How to set 'Maximum Wait for WS Consumer' in soamanager using class or FM

$
0
0

Hi Experts,

I am using class 'CL_SRT_PUBLIC_FACTORY' to create logical ports.

but my services takes a lot of time to respond so I am getting a ICM time out error.

I understand that I can increase time out for logical ports by setting appropriate value of field '

 

Regards,

Vikas.

Web Service Consume Error

$
0
0

Hi everyone;

 

we are trying to call an external web service from SAP. we create the client proxy and logical port. when we call the web service we get an exception.

 

SoapFaultCode:5  Receiver (  Keep-Alive and Close may not be set using this property. Parameter name: value )  | SoapFaultSubcode: InternalServiceFaulthttp://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher

Sınıf istisnası CX_AI_SYSTEM_FAULT

 

we could not find any option about keep-alive in logical port definition. does anyone have an idea about this error

Re: Consumer-Proxy configuration

$
0
0

Hi Bernward;

 

we have the same issue. did you find any solution to this problem

Re: SOAMANAGER: Changing the hostname/port in WSDL location

$
0
0

I was trying to open soamanager and it was opening with my central instance host and port no.

as per your suggestion i changed the host and port in httpurlloc table and it worked.

 

Thanks a lot for posting the message.

Pass Data with Tags in Web Service Field - Consuming WS

$
0
0

We have a requirement to call an external third party web service from ABAP. The web service has only a single field in it that is <text> </text>.

 

After creating consumer proxy and now when testing the web service through SAP with the following data :

<text>This is a test message</text>

success response is received.

 

Now our requirement is to send data like this :

<text>

<SalesOrderID>10005</SalesOrderID>

<DistributionChannel>10</DistributionChannel>

<Division>11</Division>

</text>

 

Now sending data like this result in an error and the external server is not called at all.

 

Capture.PNG

 

Suggest ways on how to send data with tags inside a web service.


Re: Pass Data with Tags in Web Service Field - Consuming WS

Re: Pass Data with Tags in Web Service Field - Consuming WS

$
0
0

Hi Jitendra

Thanks for the reply, will find out how to use cdata concept in abap.
I have another question :

In an internal table i have a field with technical name lets say VBELN, now my requirement is when i call transformation to convert it into xml I want the conversion as <SalesOrderID>value</SalesOrderID>.

Please suggest some approaches. One way is to manually concatenate into string but that will be too cumbersome.

 

Rohit

Re: Pass Data with Tags in Web Service Field - Consuming WS

$
0
0

HI,

 

CDATA  is same like comment line in another programming language, so u can use cdata or ask target team to share the updated wsdl with new fields. SO u can send the data with additional fields.

 

 

Regards,

Manigandan

Error on Consuming WS - GENERAL_ERROR Error duing proxy processing (PART UNKNOWN (NULL) ) -

$
0
0

We are trying to consume an external web service but getting the below error :

 

GENERAL_ERROR Error duing proxy processing (PART UNKNOWN (NULL)   )

Error duing proxy processing (PART UNKNOWN (NULL)   )

 

We have gone through the already available threads with the same error but unable to rectify this.

 

Some points to be noted are :

  • WSDL style is document/literal.

Capture.PNG

     I guess i have correctly identified the WSDL style as document/literal??

 

  • No entry in SM21 related to this error.
  • No trace is generated in SRT_UTIL for this WS Call.
  • The other server is being called and the data is successfully transferred to it which indicates there is some problem in receiving the response from the server end. This is confirmed by checking the logs generated at the external WS server.
  • W3SCHOOLS WS is successfully consumed.

 

Let us know for possible solutions.

we unable to open soamanager tcode

$
0
0

we unable access soamanager tcode in solution manager

Viewing all 1056 articles
Browse latest View live




Latest Images