Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Connection to Webservice.

Former Member
0 Kudos

Hi,

I need to connect to Webservice & send some information to Webserive from ABAP Funcion Module.

I used the following code

W_URL = 'http://inetdev/matt/payflowpro/ccprocess.asmx?op=processPayment'.

CALL METHOD CL_HTTP_CLIENT=>CREATE_BY_URL

EXPORTING

URL = W_URL

  • ssl_id = c_ssl_id

IMPORTING

CLIENT = CLIENT

EXCEPTIONS

ARGUMENT_NOT_FOUND = 1

PLUGIN_NOT_ACTIVE = 2

INTERNAL_ERROR = 3

OTHERS = 4.

.

IF SY-SUBRC <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

It is not connectiong to Webservice.

Any Idea?

Thanks

Niranjan

1 REPLY 1

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

You are gonna want to start by going thru this.

http://help.sap.com/saphelp_nw2004s/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/frameset.htm

We can consume web services in ABAP using Web Service Proxie objects.

Regards,

RIch Heilman