Hi NarsiReddy Cheruku,
I will show you the steps I have done.
1) Download the file and edit deleteting the tag <xsd:documentation> ...</xsd:documentation>
2) SE80 \ Edit object \ Enterprice Service \ select Client Proxy and enter the name.
now in SE80 you can se the parameter.
Tcode : soamanager
find the consumer proxy
create the logical port
SOURCE CODE TO CALL THE WEB SERVICE:
******************************************************************************************************
TRY.
CREATE OBJECT testobj
EXPORTING
LOGICAL_PORT_NAME = 'TEST_CHECKVAT'.
CATCH CX_AI_APPLICATION_FAULT.
ENDTRY.
INPUT-COUNTRY_CODE = ZWSCUSTOMER-COUNTRY.
INPUT-VAT_NUMBER = piva_tab-taxnum.
TRY.
CALL METHOD testobj->CHECK_VAT
EXPORTING
CHECK_VAT_REQUEST = INPUT
IMPORTING
CHECK_VAT_RESPONSE = OUTPUT.
CATCH CX_AI_SYSTEM_FAULT INTO SYS_FAULT.
L_EXCEPTION_MSG = SYS_FAULT->GET_TEXT( ).
WRITE:/'SYSTEM ERROR', L_EXCEPTION_MSG.
IF L_EXCEPTION_MSG = 'SoapFaultCode:5 INVALID_INPUT'.
L_EXCEPTION_MSG = ' Combinazione Paese Partita Iva non esistente '.
ENDIF.
IF L_EXCEPTION_MSG = 'SoapFaultCode:5 SERVER_BUSY'.
L_EXCEPTION_MSG = ' Combinazione Paese Partita Iva non esistente '.
ENDIF.
CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
EXPORTING
TITEL = 'ATTENZIONE !'
TEXTLINE1 = 'Errore'
TEXTLINE2 = L_EXCEPTION_MSG
START_COLUMN = 25
START_ROW = 6.
SET SCREEN 0100.
LEAVE TO SCREEN 0100.
EXIT.
CATCH CX_AI_APPLICATION_FAULT INTO APP_FAULT .
L_EXCEPTION_MSG = APP_FAULT->GET_TEXT( ).
WRITE:/'APPLICATION ERROR', L_EXCEPTION_MSG.
CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
EXPORTING
TITEL = 'ATTENZIONE !'
TEXTLINE1 = 'Errore'
TEXTLINE2 = L_EXCEPTION_MSG
START_COLUMN = 25
START_ROW = 6.
SET SCREEN 0100.
LEAVE TO SCREEN 0100.
EXIT.
ENDTRY.
*******************************************************************
let me know if you have problems
Alessio