Quantcast
Channel: SCN : Unanswered Discussions - Service-Oriented Architecture (SOA) and SAP
Viewing all 360 articles
Browse latest View live

Error: Uninstatiated object "binding operation node" in method IF_SRT_WSP_CONFIG_REGISTRY~CREATE_RT_CFG_

$
0
0

Hi All,

 

We have created a consumer proxy in SAP ECC using WSDL link in our DEV system. Also created logical ports in SOAMANAGER in DEV system and it works perfectly. We transported our changes to TST system and in TST system we are creating logical ports using the same link that we used in our DEV system, but I am facing this error message:

"Error: Uninstantiated object "binding operation node" in method IF_SRT_WSP_CONFIG_REGISTRY~CREATE_RT_CFG_FROM_WSDL of class

CL_SRT_WSP_CONFIG_REGISTRY".

 

Did anyone come across this error message?

 

Thanks in advance,

Karuna


SAP webservice use specific SSL Certificate

$
0
0

Hi Guys,

 

I have a newly created web service that works internally in SAP:

Untitled4.png

 

Then I made a new entry in transaction STRUST with my certificate:

Untitled3.png

 

I have found my web service in soamanager and I have generated my WSDL to acces it from soap ui

 

Untitled2.png

 

Unfortunately, I cannot seem to access this web service from soap ui and if I look into the SSL Info, it seems to be using another SSL Certificate (another existing certificate from SSL Server Standard in STRUST). How could I force the consumer to use my certificate instead of another one?

 

Untitled5.png

 

Thank you in advance for your answers!

Web Service call Working in XMLSpy but not working in SAP Consumer Proxy

$
0
0

Hi all,

I am trying to call a vertex web service through SAP.

Now, when i try to execute the client proxy with SAP, i get the message "Call Successful-Empty Result".

But When, i try to send the same request through XMLSpy/SOAP UI, I am getting relevant results back.

 

When i looked into SM59 for the corresponding HTTP Destination, the connection test returned status code 415.

When i ran transaction SXMB_MONI, i got no results.( Note: We don't have a PI System)

 

Kindly, help me out on this.

 

Thanks

Sahil

How to consume a webservice created in ABAP in Dot Net?

$
0
0

There are many standard webservices and we can also create a webservice for a RFC enabled Function module..


 

But Issue is coming when we are trying to consume that web service through WSDL in DotNet. It returns the same XML file which is through

WSDL and doesnot return values for it in response.

 


Now as WSCONFIG and WSADMIN are Obsoulete(Cant be used)... We are using SOAMANAGER Transaction.. But what we found on many sites are old versions of Transaction SOAMANAGER.

 


Can any one help on how to consume this for fetching the values as response for the given request in XML.

 

 

 

Also Other Question was regarding configuring a reverse Proxy for Webservice. As Our server IP is not public and we have configured Reverse Proxy . How this is to be configured for webservice.

 

 

 

Thanks and Regards

 

Sushil

Error in SOAMANAGER transaction

$
0
0

Hi,

 

 

I want to use soamanager transaction, I activated the SICF and includes the parameter icm / host_name_full but after including User and password generates the attachment mistake.

 



Anyone had this error?

 

 

 

 

Tks,

 

Renato

SOAMANAGER in NW 7.4: Logs Configuration?

$
0
0

Hi guys,

 

I Upgraded an ERP ECC 6.0 (NW 7.0 SPS23) system up to EHP7 (NW 7.40 SPS13).

 

When i enter SOAMANAGER i see that the old "Logs Configuration" option in tab "Logs and Traces" is missing so where i am supposed to activate logs to be able to see them in the Message Monitoring? I ask this because when i enter Message Monitoring right after a WS is executed i see no entries.

 

Thanks in advance for the kind support.

 

Best regards.

Issue with usage of ServiceOrderQuotationCRMChangeRequestConfirmation

$
0
0

Hi guys,

 

my aim is to use the standard enterprise service ServiceOrderQuotationCRMChangeRequestConfirmation to update the Service Order Quote. Unfortunately, when I use the request below, the service says the execution was successful, but the BP doesn't change.

 

Do you have experience with thsi service? Can you please give me some hints how to change the request so the BP get changed?

 

<?xml version="1.0" encoding="UTF-8"?>

<ns0:ServiceOrderQuotationCRMChangeRequest_sync xmlns:ns0="http://sap.com/xi/CRM/SE">

    <ServiceOrderQuotation>

      <ID>320231560</ID>

      <ProcessingTypeCode>Z210</ProcessingTypeCode>

      <ServiceOrderQuotationHeader actionCode="02">

       <ID>320231560</ID>

         <ProcessingTypeCode>Z210</ProcessingTypeCode>

         <Party actionCode="02">

         <PartyData actionCode="02">

             <RoleCode>00000015</RoleCode>

               <ID>501315197</ID>

            </PartyData>

         </Party>

      </ServiceOrderQuotationHeader>

   </ServiceOrderQuotation>

</ns0:ServiceOrderQuotationCRMChangeRequest_sync>

Submit interactive Adobe template

$
0
0

Hi Guys,

 

I've created an interactive Adobe document template using Livecycle designer and uploaded to SAP CRM Document template designer.

Now in CRM web UI when I create a new attachment with this template the data to be pre-populated is loaded correctly via the web service in PDF document. When I make changes to the data in this PDF I want to send these changes back to SAP CRM.

The best solution for me would be to save the data automatically when PDF is closed. If not then add a SUBMIT button to save.

 

For either of these solutions I'm not sure how to proceed and which button or code to put in the template.

 

Please provide your inputs.

 

Regards,

Abhi


Setting Role Based Authorization for Operation Specific Web Services in PFCG

$
0
0

Hi Experts,

I am facing an issue setting up authorizations to restrict the usage of a Web Service only to a specific group of users.

Now, the steps i followed :

a) Create a Web Service

b) Create an Endpoint

c) In PFCG, Created a role ZROLE1, Added the Web Service Operation as an Authorization Default value( As mentioned in this ABAP Web Services - Authorizations - Security and Identity Management - SCN Wiki)

d) Added SAP user id, USER1 to ZROLE1.

 

Now, From external systems, lets say SOAPUI,

Whenever, i am accessing the Web Service and passing the credentials of USER1, it is accepting and everything is working fine.

But, whenever i am passing credentials of another SAP User, lets say USER2 who is not associated with that role, it is also able to access that web service.

 

Kindly, help me out in this. Or, if any one can suggest a better alternative to this problem.

 

 

Thanks

Sahil

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. <

Get Web Service User Informations

$
0
0

Hi everyone,

 

I'm currently doing an internship as an ABAP developper and i'm having issues on a project.

 

I created a WebService (with provider and consummer) and a table to register whenever the WS is called. To fill this table i need some informations about the user such as his SAP installation number, his logical system etc.

 

I've a function module that acquires these informations but my problem is that it gets the provider informations ( i.e mine) instead of the consummer informations.

 

For instance : my WS is host in a DS2 system, and when i call it from an ID6 system, i still have "ds2" for user system.

 

I'm quiet new to ERPs so excuse me if I'm not clear.

 

Thank you in advance for any suggestions !

 

Regards.

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

Viewing all 360 articles
Browse latest View live


Latest Images