cancel
Showing results for 
Search instead for 
Did you mean: 

Calling Web Service With ABAP

Former Member
0 Kudos

Hi all,

I want to create a call to a Web Service of XI from another R/3 server.

I've created client proxy in system as said

/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap

But when I try I get the following error:

<i><CODE>INTERNAL.SYSTEM_NOT_CONFIGURED_AS_XMB</CODE>

<ERRORTEXT>System not configured as XI Integration Engine</ERRORTEXT></i>

I know I've left some configuration, I've to say to XI that R/3 server is going to use call to XI as application server, but how I do this conf?

If I try from XI I get:

<i>INTERNAL.PROXY_NOT_ALLOWED_ON_IS</i>

Is possible to call a web service from the XI server?

Thanks in advance.

Urtzi

Accepted Solutions (1)

Accepted Solutions (1)

former_member192798
Active Contributor
0 Kudos

Hi Urtzi,

Use transaction SXMB_ADM and check if the client is set as an Application Server and not Integration Server.

Hope this helps.

Regards.

Praveen

Former Member
0 Kudos

Hi Praveen,

I've read some about this issue, but, how do I check it?

In XI I've to check whether the R/2 server is App Server? If not?

Thanks

Regards.

Urtzi

Answers (3)

Answers (3)

Former Member
0 Kudos

HI,

Also see the below links

Regards

Chilla

Former Member
0 Kudos

Hi all,

Thanks all for your help!!!

I get it.

Regards.

urtzi.

Former Member
0 Kudos

Hi,

See the below liks

/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies - Activate Proxy

/people/siva.maranani/blog/2005/04/03/abap-server-proxies - ABAP Server Proxy

/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Client Proxy

/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap

/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - ABAP Proxy

Regards

Chilla..

Former Member
0 Kudos

Hi,

Have you checked the weblog posted by siva marani. It explains clearly how to invoke webservice using XI.

/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi

Below is the link for testing exposed webservice

/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services

Thanks and Regards

Ramesh.

Former Member
0 Kudos

Hi Sreeramoju,

I know how to invoke a web service using altova or similar tools, but I want to invoke it using an abap program from other R/3 system.

Thanks,

Regards.

Urtzi

Former Member
0 Kudos

Hi,

if you are on WAS6.40 you can create the client proxy in ABAP using the wsdl of the webservice and consume the same.

if you are on was6.10 or 6.20 you can do the same over http. in this case your abap will work as a http client using cl_http_client class to consume webservice.

check if these links may help you,

/people/durairaj.athavanraja/blog/2005/07/12/send-sms-to-india-from-abap

/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap

/people/durairaj.athavanraja/blog/2004/09/20/consuming-web-service-from-abap

Regards,

Ramesh