‎2010 Dec 16 9:12 PM
Hi Abap experts,
I created FM in system X. Than based on this function module service definition. After endpoint configuration in soamanager (without autentication) i created consumer proxy based on binding point wsdl and than logical port definition. All scenerio is asynch and from SOAP UI works perfect but from abap program that call consumer proxy not. What can be the reason ?
Regards
M.
‎2010 Dec 16 10:15 PM
What is the error? You have a number of tools/logs at your disposal if you aren't getting a good error message/response but you should have some indicator from the proxy call result.
‎2010 Dec 16 10:38 PM
Howdy,
Let us know what the error is - also check that you have set the Logical Port is default flag so that the abap program will use the logical port without having to specify it.
Cheers
Alex
‎2010 Dec 17 6:50 AM
HI
thanks for replay. I do not receive any error but webservice is not called. I specify logical port explicit during proxy object creation. Can you give what kinf of tools and logs should i use.
Regards
M.
‎2010 Dec 17 4:11 PM
Use internal/external debugging as a starter. Use the SICF recorder and trace tools in the destination system. Use the trace and log in the ICM monitor as well. It sounds like your logical port config is not correct - make sure it's set to trace and log errors as well. Are you catching any system errors? It might help if you posted some of your code...
‎2010 Dec 17 9:38 PM
Hi
when i try to test it (client proxy->test(f8)) i receive following code
SoapFaultCode:1
Exception of class CX_AI_SYSTEM_FAULT
Regards
M.
‎2010 Dec 17 10:44 PM
Your code should look something like the below code and you should be able to view the actual message. You should also find the message/error in the system log.
TRY.
CREATE OBJECT GV_CLIENT_PROXY.
* Populate request fields here...
CALL METHOD GV_CLIENT_PROXY->YOUR_WEBSERVICE_METHOD_NAME
EXPORTING
INPUT = GS_REQUEST
IMPORTING
OUTPUT = GS_RESPONSE.
CATCH CX_AI_SYSTEM_FAULT INTO GV_SYS_EXCEPTION.
CALL METHOD GV_SYS_EXCEPTION->IF_MESSAGE~GET_TEXT
RECEIVING
RESULT = LV_MESSAGE.
* Handle the message here ...
ENDTRY.
‎2010 Dec 20 9:00 AM
Hi Brad
thank you for your replay, i discovered i little bit more. sync communication works ok. but problem occur in async, when i do "commit work" i receive following error "CX_BGRFC_INVALID_DESTINATION". after half night of googling, now iknow that i have to configurate some bgQueue Can you help me with this ?
Regards
M.
‎2010 Dec 20 2:59 PM
Did you search OSS? I don't know what release you're on but the first note in the list for that exception seems valid...
‎2010 Dec 24 8:26 AM