Quantcast
Channel: SCN : Unanswered Discussions - Service-Oriented Architecture (SOA) and SAP

SOA manager error:Server did not recognize the value of HTTP Header

0
0

Hi gurus

 

I am attempting to consume a service from this url : http://197.155.227.154:655/zimraims_proxy/ZimraIMS_ProcessFiscalInvoices_SubmitInvoicesRP.asmx

 

But when i send message using my proxy class I'm getting SOAP-FAULT CODE 1

 

I checked my SOAMANAGER under logs and traces: Server did not recognize the value of HTTP Header SOAPAction: ZimraSubmitInvoices.


Someone advised me to paste the "action" URL from my WSDL onto the "Soap action" field under transport binding but it is still giving the same error.

 

Another advised me to put the host name in the hosts file but as u can see the U RL doesn't have a host name.

 

Please help i'm really stuck.

 

Points will be awarded.


SoapFaultCode:1 Exception of class CX_AI_SYSTEM_FAULT

0
0

Below is the log errors im getting if anyone has any idea


Please help.


XRFC> TRACE SOAP RUNTIME - trace records                                  <

XRFC> <

XRFC>

 

  <

XRFC>

E SOAP_RUNTIME 20160614104218.1483450 : CL_SOAP_RUNTIME_CLIENT

  <

XRFC> ->EXEC_PROCESSING Exception handling in SOAP runtime                <

XRFC> <

XRFC> <

XRFC> E HTTP_TRANSPORT_BINDING 20160614104218.1407100 : CL_SOAP_HTTP      <

XRFC> _TPBND_ROOT ->HANDLE_STATUS_CODE Received return code 500 (         <

XRFC> Internal Server Error ) <

XRFC> <

XRFC> <

XRFC> E SOAP_RUNTIME 20160614104218.1483280 : CL_SOAP_RUNTIME_CLIENT      <

XRFC> ->EXEC_PROCESSING SOAP Fault Exception caught: : SOAP header To     <

XRFC> was not understood. <

SoapFaulCodeName: InvalidSecurity SoapFaulCodeNamespace: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd An error was discovered processing the header

0
0

Hello everyone,

from SAP I'm consuming a web service developed using Java as the authentication method WS-Security and have the following error message when run: "SoapFaulCodeName: InvalidSecurity SoapFaulCodeNamespace: http://docs.oasis-open.org/wss/2004 /01/oasis-200401-wss-wssecurity-secext-1.0.xsd

An error was discovered processing the <wsse: Security> header ".

 

 

Through the transaction SE80 create the proxy object and configured the logical port by SOAMANAGER.

 

 

In my code call ABAP methods through an instance to the class that created the proxy object from the URL of the web service.

 

 

 

I enclose a portion of the code, thank you very much in advance and hope your comments.

 

 

 

DATA: TYPE vl_estatus zwsdocument_status,

                TYPE vl_estatus_response zwsdocument_status_response,

                go_wservice TYPE REF TO ZWSCO_INVOICE_SERVICE,

                lo_sys_exception TYPE REF TO cx_ai_system_fault,

                TYPE vg_puerto_logico prx_logical_port_name. "VALUE 'Z_FIPE_PL_CRE_ACD2'.

 

 

TRY.

      CREATE OBJECT go_wservice

        EXPORTING

          logical_port_name = vg_puerto_logico.

      .

    CATCH INTO cx_ai_system_fault lo_sys_exception.

        write: / 'System fault occurred (Create Object):' lo_sys_exception-> code, lo_sys_exception-> ERRORTEXT.

        exit.

  EndTry.

 

 

  vl_estatus-transaction_id = '17a35d6f8ef24e8199503ef1889a993b'.

 

 

  TRY.

        CALL METHOD go_wservice-> document_status

          EXPORTING

            document_status = vl_estatus

          IMPORTING

            document_status_response = vl_estatus_response.

      CATCH INTO cx_ai_system_fault lo_sys_exception.

        write: / 'System fault occurred (Document_Status):' lo_sys_exception-> code, lo_sys_exception-> ERRORTEXT.

        exit.

      CATCH zfipewscx_document_status_faul.

    EndTry.

Webservices / SOAMANGER: WSDL isn't generated - parsing error EOF

0
0

Hello,

 

since some weeks the WSDL files of my webservices aren't working anymore.

If I call an WSDL-URL directly or by clicking through the SOAMANAGER Webservice configuration, I get this error message:

 

<?xml version="1.0"?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

    <soap:Body>

        <soap:Fault>

            <faultcode>soap:Server</faultcode>

            <faultstring>Error: SXML reader/writer exception</faultstring>

            <detail xmlns:slibfault="http://xml.sap.com/2005/11/esi/slib/fault/">

                <slibfault:timestamp>Wed, 22 Jun 2016 06:20:34 GMT</slibfault:timestamp>

                <slibfault:exception>

                    <slibfault:text>Error while parsing an XML stream: '<EOF> reached'.</slibfault:text>

                        <slibfault:position line="3 " include="CL_SXML_READER================CM00B" program="CL_SXML_READER================CP"/>

                    </slibfault:exception>

                </detail>

            </soap:Fault>

        </soap:Body>

    </soap:Envelope>

 

The webservices themselves are working fine, but I cannot connect new consumers which need to read out the webservice description.

 

Does anybody have an idea how to resolve this issue?

Using Complex Structure in Webservice

0
0

Hello Gurus,

 

I have created a webservice using a RFC function module, on the export parameters I have declared a complex structure (table that contains another table).

 

The person who is calling the webservice is not retrieving any data but there is no error log on SRT_UTIL tcode.

 

I have looked on internet and as far as I have understood, the complex structure is not managed on webservice.

Do you know what is the issue?

Can we use complex structure on webservice?

 

thank you in advance.

Br

Password Encryption and decryption

0
0

Dear Expert,

 

     We are process of making the web services in SAP Portal 7.4 , that is authenticate the user with user id and password as parameter and allow the      user to authenticate in portal.

     User id and Password coming in the form of MD5 format or any other security algorithm  mechanisms like SHA-1 etc .

     i did not know which algorithm currently  SAP is using to encode the password , on that  basis i can decode  the same password and match the      string and allow the user to login in to the portal by consuming this web services.

 

      Kindly help in this issue.

webservice call from outside of the network

0
0

2 related questions:

 

1. I have made a very simple web service using soamanager. I am able to test the webservice successfully  using  SOAPUI application with its WSDL.

But Webservice only works when I am in the same network. How can I publish this so everyone has access to it?

 

2nd question :I have created a simple SOAP web service to approves pr. This Function simply imports PR num and exports a simple string message.

is there a possible way for me to make a call to this abap web service by simply calling it with a  URL?If so, will be able to return a string message to the client?

 

 

 

Thanks

Setting HTTP header fields when consuming a Web Service

0
0

Hi SCN

 

I am consuming a non-SAP web service and the provider has stated that I need to declare some parameters in the http header itself ( see below snapshot) and key to this is a client ID and client Secret string.

 

Does anyone know how I can do this ?  I have created a proxy from the published WSDL and am not using PI

 

 

regards

Ian

 

 

http.png


SAP Enterprise Services Doubts

0
0

Hi all,

 

We are looking at some of the enterprise services provided in SAP ECC at link below:

 

http://help.sap.com/erp2005_ehp_06/helpdata/en/4f/97ac7596b94b21e10000000a42189b/content.htm?current_toc=/en/4f/97ac7896b94b21e10000000a42189b/plain.htm&show_children=true

 

We have some doubts regarding the was these services are populated for outbound processing and how the errors are handled in inbound processing. We would be very grateful if we could get your feedback.

 

Regarding the oubound services, are they created by configuration or just a BADI is provided to implement the logic to retrieve the data and fill the outbound proxy in? In case the service is created automatically by just customazing, is there any documentation of the relevant customazing steps to be carried out?

 

Regarding the inbound services, can all of them make use of the FEH (Forward Error Handling) Framework for handling the errors in the posting?

 

Many thanks for your information,

 

Kind regards.

X.509 SSL Client missing

0
0

Hi

 

I am not getting the X.509 SSL Client Certificate option in the authentication settings of consumer proxy. Please advise

 

image001.png





Latest Images