‎2015 Jun 18 12:35 PM
Hi all,
please help me with this serious problem:
I created the consumer proxy with wizard using a WSDL file (attached)
I activated the consumer proxy and created on SOAMANAGER reference / port to retrieve from SAP (with the same WSDL file attached)
I tested SoapUI and got positive result (we have the answer without errors: attached file)
I activated the trace of SAP (transaction SRT_UTIL) and I tested positive: (we have the answer without errors: attached file)
THE PROBLEM IS THE FOLLOWING:
I run from SAP ABAP Report (following) and got the following error:
I checked on the SOAMANAGER trace recorded: in the folder LOG records and TRACE records are not highlighted errors
Attached the request and the response which shows that the web services responded correctly .. but the report returns error ..:
GENERAL_ERROR Error duing proxy processing (PART UNKNOWN (NULL))
Error duing proxy processing (PART UNKNOWN (NULL))
Returns the same error even if the consumer proxy text directly (as above but the trace of a positive outcome).
THANKS
ABAP CODE:
REPORT ZCALLEXTWS.
* Create the reference variable of type proxy class
data: testobj type ref to ZHRCO_BRANCH_SOAP .
Data : sys_fault type ref to cx_ai_system_fault,
app_fault type ref to cx_ai_application_fault,
l_exception_msg type string,
oref TYPE REF TO cx_root,
text TYPE string ,
xtext type xstring,
xbase64 type string.
* Declare the variable from consumer proxy class CONVERSION_RATE method interface
data : input type ZHRCALL_BRANCH,
output type ZHRCALL_BRANCH_RESPONSE.
*
write :/ sy-datum , sy-uzeit.
*
try.
CREATE OBJECT testobj
EXPORTING
LOGICAL_PORT_NAME = 'TEST_TRASV01'.
catch cx_ai_system_fault into oref.
text = oref->get_text( ).
endtry.
input-msgxml = 'Prova call WS'. "text.
try.
* Call method CONVERSION_RATE
CALL METHOD testobj->CALL_BRANCH
EXPORTING
input = input
IMPORTING
output = output.
catch cx_ai_system_fault into sys_fault.
l_exception_msg = sys_fault->get_text( ).
write :/ 'System Error', l_exception_msg. "exit.
catch cx_ai_application_fault into app_fault.
l_exception_msg = app_fault->get_text( ).
write :/ 'Application Error', l_exception_msg.
"exit.
endtry.
* print the result
if output-return ne space. write :/ output-return. endif.
write :/ sy-datum , sy-uzeit.
‎2015 Jun 24 11:08 AM
I solved the issue:
My namespace can not be reached. In the picture we can see the response on "Oxygen XML" and we can see that the namespace isn't "http://www.bottomline.com/soap/branch"
I created a Consumer Service on dotnet system that call Provider Service.
After I call Consumer Service on dotnet (bridge) and I solve the problem.
Now NameSpace can be reached :
The programmer of the provide service will check why the namespace can not be reached.
Good Luck
‎2015 Jun 24 11:08 AM
I solved the issue:
My namespace can not be reached. In the picture we can see the response on "Oxygen XML" and we can see that the namespace isn't "http://www.bottomline.com/soap/branch"
I created a Consumer Service on dotnet system that call Provider Service.
After I call Consumer Service on dotnet (bridge) and I solve the problem.
Now NameSpace can be reached :
The programmer of the provide service will check why the namespace can not be reached.
Good Luck