Consuming Web Service from ABAP

Question: Hi,
I am trying to test the program given in the following link :

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/847 - This is from 4.7 & WAS 6.20

We are on 4.6C & no WAS.

When I try to compile the pgm for the statement
DATA: xslt_err TYPE REF TO cx_xslt_exception .

I get a error msg saying the class "cx_xslt_exception" is not avbl.

My question is, can any one confirm if this needs WAS 6.XX version & Do we need to be on 4.7.

rdgs
Naidu
_________________
Prasad Naidu
California

Answer:
Yes, you do need WebAS 6.XX to utilize the class.
In 4.6c consuming Web Service is potentially possible with function modules HTTP* but it could be tricky.
_________________
Best regards, Sergey Korolev

Answer:
I guess you could try copying the class too (perhaps in a Z name). But maybe that depends on other things that depend on other things...

Turtles all the way down.
_________________
First he pinches my sig, Now he's cribbing my posts too!

Answer:
Hi,
Thanks for the response.
Korolev, you mentioned we need WAS 6.XX for this. Could you please give more dtls, as how it works and at what stage it is needed.

I tried this in our sample demo system (4.7) and the class is there in that version.
so the statement works:
DATA: xslt_err TYPE REF TO cx_xslt_exception .

Basically we have a webservice which generates the "License Keys", so we need a way to consume it from ABAP, and possibly get back the License key and use it the Order / Delivery processing user exit.

rdgs
Naidu
_________________
Prasad Naidu
California
Copyright ?2007 - 2008 www.jt77.com