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

Change SOAP Header: Consuming Webservice

$
0
0

Hi All,

 

  How can I change soap header from consuming webservice? we are on SAP 7.00 SP15 (No XI or PI)

  I am able to call some methods that do not require the header for third party web service (.net).

 

  This is the header that sap generate:

<soap-env:Header>
 ....<n1:MessageID xmlns:n1="http://schemas.xmlsoap.org/ws/2004/08/addressing">uuid:4bdbf1ed-6c9c-1d52-e100-0000c0a8cf8a</n1:MessageID>  ....</soap-env:Header>

  This is the header that third party web service require.

  <soap:Header>    <MultiSpeakMsgHeader Version="string" UserID="string" Pwd="string">  </soap:Header>

Thanks,

Chaiphon


How to Check Web Service ???

$
0
0

Hi Gurur's,

          I have created Web Service for a Function Module to update a table.How do i check this web service is working or not.

Are there any additional steps have to perform ?

 

 

Thanks and Regards

 

Vinayak Sapkal

Problem in testing a Web service using SOAPUI

$
0
0

Hi Experts,

 

I have developed a web service in our ECC 6.0 and download the WSDL file generated from SE80. When i downloaded the file, it saved as only XML file.  As I dont have JAVA stack in the ECC 6.0, i was testing using SOAPUI. But when i try to upload the file, it always says "Found nothing to import <URL>".

 

Can anyone help me why it is giving this error? I still doubt there is some problem with the WSDL file which is generated for the service.

 

Please guide me how to check the WSDL file generated is correct or not?

 

Cheers,

Madhu

How to activate service via SOAMANAGER

$
0
0

Hi

Is there a way to activate web service via Transaction SOAMANAGER? I've created a service and endpoint for a webservice, however, in transaction SOAMANAGER, I  can find no place to activate the service, the state of the service always shows "inactive". Does anybody perhaps know how to fix this. I already checked transaction SICF, the webservice is activated there.

Many thanks guys.

Transport webservice Entry in SICF to QAS and PRD

$
0
0

I have created webservices in SE80 using the Wizrad in DEV. An Entry is created in SICF for the service,

I have transported this to QAS. This Service entry shows up in SE80 but not in SICF. In SOAMANGER I'am able to use to test the it as well after creating an entry there in QAS.

For me use this Webservice from .NET I need this entry in SICF so, back in DEV I right click my SICF entry and create the transport entry, I also created an External Alias and the transport entry for the External Alias. When This was transport to

QAS the external entry was transported to QAS but not the SICF Entry, When I click on the External Alias in QAS I get

an error Target service not available - repair table Message no. SR053

WS-Policy configuration in SOAMANAGER

$
0
0

Hello Web Service experts,

 

System: NW 701/SP6

 

we are trying to consume a WebService which requires UsernameToken authentication and XML signature of the ds:SignedInfo element. The SOAP request message from consumer, should look like the following SOAP example. Unfortunately the WebService provider is not providing the WS-Policy in the WSDL file.

For my understanding we need the WS-Policy in SOAMANAGER to create the Logical Port with the needed security settings. Without the WS-Policy the Logical Port will be created without authentication method and therefore no security header will be created in SOAP message.

 

Question: Can we configure the Logical Port without WSDL?

If yes how can we set the LP configuration, because we can't find them in SOAMANAGER.

If not we like to create the WS-Policy manually, but how should it looks like to fulfill the required security configuration? 

 

-


<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"

xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<soapenv:Header>

<wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2003/06/secext"

xmlns:wsu="http://schemas.xmlsoap.org/ws/2003/06/utility">

<wsse:UsernameToken wsu:Id="ID_USER">

<wsse:Username>XYZ</wsse:Username>

<wsse:Password Type="wsse:PasswordDigest">rbrm1yxP8Km9JXbuQna1cnaD85A=

</wsse:Password>

<wsse:Nonce>512587878178554348718655381255</wsse:Nonce>

<wsu:Created>2010-03-08T08:17:24Z</wsu:Created>

</wsse:UsernameToken>

<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">

<ds:SignedInfo>

<ds:CanonicalizationMethod

Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />

<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />

<ds:Reference URI="#ID_USER">

<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />

<ds:DigestValue>Uk1YjsnUmk9D+3SjUbs6dHRs2SM=</ds:DigestValue>

</ds:Reference>

</ds:SignedInfo>

<ds:SignatureValue>Kc92Y7ORwb/u2026 u2026 u2026=</ds:SignatureValue>

</ds:Signature>

</wsse:Security>

</soapenv:Header>

<soapenv:Body>

<n0:searchByBirthDate>

<input>

<birthDate>01/05/1978</birthDate>

<lastName>RO</lastName>

</input>

</n0:searchByBirthDate>

</soapenv:Body>

</soapenv:Envelope>

-


 

Thank you very much in advance....

 

Kind regards

 

Axel

Change SOAP Header: Consuming Webservice

$
0
0

Hi All,

 

  How can I change soap header from consuming webservice? we are on SAP 7.00 SP15 (No XI or PI)

  I am able to call some methods that do not require the header for third party web service (.net).

 

  This is the header that sap generate:

<soap-env:Header>
 ....<n1:MessageID xmlns:n1="http://schemas.xmlsoap.org/ws/2004/08/addressing">uuid:4bdbf1ed-6c9c-1d52-e100-0000c0a8cf8a</n1:MessageID>  ....</soap-env:Header>

  This is the header that third party web service require.

  <soap:Header>    <MultiSpeakMsgHeader Version="string" UserID="string" Pwd="string">  </soap:Header>

Thanks,

Chaiphon

What is SAP ESB (Enterprise Service Bus)?

$
0
0

Hi fellow sdners gurus…  I have been reading threads about SAP SOA and ESB. 

I do not want to start a debate on wether XI is an ESB, but more of a statement to what is SAP ESB (if XI it is, then be it).

 

1) What is SAP ESB (Enterprise Service Bus) today (I could not find a clear answer to is)? 

2) Who uses this SAP ESB in production currently and what kind of environment (i.e. strictly SAP backend systems, or combination of various vendors’ backend systems)?

 

Can someone share some light on this topic?

 

As a reminder, an ESB is expected to exhibit the following characteristics (source Wikipedia):

•     It is usually operating-system and programming-language agnostic; for example, it should enable interoperability between Java and .NET applications.

•     It uses XML (eXtensible Markup Language) as the standard communication language.

•     It supports web-services standards.

•     It supports various MEPs (Message Exchange Patterns) (e.g., synchronous request/response, asynchronous request/response, send-and-forget, publish/subscribe).

•     It includes adapters for supporting integration with legacy systems, possibly based on standards such as JCA

•     It includes a standardized security model to authorize, authenticate and audit use of the ESB.

•     To facilitate the transformation of data formats and values, it includes transformation services (often via XSLT or XQuery) between the format of the sending application and the receiving application.

•     It includes validation against schemas for sending and receiving messages.

•     It can uniformly apply business rules, enriching messages from other sources, the splitting and combining of multiple messages and the handling of exceptions.

•     It can provide a unified abstraction across multiple layers

•     It can route or transform messages conditionally, based on a non-centralized policy (i.e. no central rules-engine needs to be present).

•     It is monitored for various SLA (Service Level Agreement) threshold message latencies and other SLA characteristics.

•     It (often) facilitates "service classes," responding appropriately to higher and lower priority users.

•     It supports queuing, holding messages if applications are temporarily unavailable.

 

Your help is greatly appreciated.

 

Kind Regards,

Jean-Michel


Pinging web service - not happening

$
0
0

Hi Experts,

 

  I created a consumer proxy using WSDL local file and create a logical port in SOAMANAGER.

But, if I try to ping the web service from SOAMANAGER using the logical port that I created, I am getting the

following exception.

 

SRT Framework exception: Service Ping ERROR: Error when calling SOAP Runtime functions: SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: ICM_HTTP_CONNECTION_FAILED")

 

Should I do any config change in SICF / Anything else?

Could you please help on this regard.

 

Thanks and regards,

Venkat

disp+work.exe Running, Message server ok,but Yellow icon.

$
0
0

Dear All,

 

I opened up the SAP Management Console and started the S11adm on Solution manager (windows 2003 server). I found out that the Process List icon is always yellow. When I drill down further, I found out that the disp+work.exe is the problem and is retaining a yellow icon. The status is "Running, Message Server connection ok, Dialog Queue time: 0.00 sec, J2EE: Some process running". This only happened after the performed a restart. Prior to that all processes have a green icon. Secondaly I have installed HP Sim 5.3 also. So I am not sure why this showing yellow icon.

 

Does anyone have any idea about the problem and how to solve it?

 

Rajesh Gupta.

How to activate service via SOAMANAGER

$
0
0

Hi

Is there a way to activate web service via Transaction SOAMANAGER? I've created a service and endpoint for a webservice, however, in transaction SOAMANAGER, I  can find no place to activate the service, the state of the service always shows "inactive". Does anybody perhaps know how to fix this. I already checked transaction SICF, the webservice is activated there.

Many thanks guys.

Pinging web service - not happening

$
0
0

Hi Experts,

 

  I created a consumer proxy using WSDL local file and create a logical port in SOAMANAGER.

But, if I try to ping the web service from SOAMANAGER using the logical port that I created, I am getting the

following exception.

 

SRT Framework exception: Service Ping ERROR: Error when calling SOAP Runtime functions: SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: ICM_HTTP_CONNECTION_FAILED")

 

Should I do any config change in SICF / Anything else?

Could you please help on this regard.

 

Thanks and regards,

Venkat

Consume Web service in ABAP

$
0
0

Hi All,

         I have one scenario..Our client is using AMT software..I have created one RFC Function Module and developed Webservice for that Function Module..I have created service consumer also..In SOAMANAGER I have created one logical port..I want to know that when client access webservice and send data to web service then How I access those data in sap abap..Where I have to write the code???This code will automatically trigger and return a result data to client  through webservice...Please help..

Change SOAP Header: Consuming Webservice

$
0
0

Hi All,

 

  How can I change soap header from consuming webservice? we are on SAP 7.00 SP15 (No XI or PI)

  I am able to call some methods that do not require the header for third party web service (.net).

 

  This is the header that sap generate:

<soap-env:Header>
 ....<n1:MessageID xmlns:n1="http://schemas.xmlsoap.org/ws/2004/08/addressing">uuid:4bdbf1ed-6c9c-1d52-e100-0000c0a8cf8a</n1:MessageID>  ....</soap-env:Header>

  This is the header that third party web service require.

  <soap:Header>    <MultiSpeakMsgHeader Version="string" UserID="string" Pwd="string">  </soap:Header>

Thanks,

Chaiphon

SOAP:1.023 SRT: Processing error in Internet Communication Framework

$
0
0

Hi,

 

We are developing consumer proxies on ECC enhancement Package 4.

 

Could you please advice us on the mandatory Technical Configuration that is required in order to consume Web Services from external (non-SAP systems) Providers?

 

We are trying to test a consumer proxy which consumes a Web Service hosted on a third party system but we are getting the following error:

 

SOAP:1.023 SRT: Processing error in Internet Communication Framework: (""ICF Error when receiving the response: ICM_HTTP_

 

Thank you in advance.

 

Kind Regards


Problem for access RFC through webservice

$
0
0

Hi Experts,

                 I have faced one problem in webservice.I have developed one RFC and created webservice for that function module.Also created a service consumer..When I have called my function module in my SAP server,it is working fine.But when I am going to test it through SOAP testing tool then it is showing the following error..

 

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

   <soap-env:Header xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">

      <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">

         <wsu:Timestamp wsu:Id="ts-D2765CAD8E121ED48FF67C2078E90A01">

            <wsu:Created>2014-09-19T04:17:33Z</wsu:Created>

            <wsu:Expires>2014-09-19T04:19:03Z</wsu:Expires>

         </wsu:Timestamp>

      </wsse:Security>

   </soap-env:Header>

   <soap-env:Body>

      <soap-env:Fault>

         <faultcode>soap-env:Server</faultcode>

         <faultstring xml:lang="en">Processing Error. More details in WS Error Log (transaction SRT_UTIL) by selection with UTC timestamp 20140919041733</faultstring>

         <detail/>

      </soap-env:Fault>

   </soap-env:Body>

</soap-env:Envelope>

 

Please help...

Exporting and importing web service end points

$
0
0

We want to be able to export and import web service end points.

 

Use cases, in case you are interested:

  • We have web service end points in client 100. They get called from a Visual Composer application. We make a full client copy from 100 to 101 as a back-up. We test some stuff that cannot be undone in client 100. It goes wrong. We copy back client 101 to 100. All data is back to the previous state ... except the web service end points. Apparently they are simply not copied in client copies at all, which probably makes sense. So we need to export them before and import them again in the end. Having to manually recreate them is effort, and worse it requires adjusting the callers.
  • We have several identical copies of a landscape, running in fenced virtual machines as linked clones, which means they also have the same host names. We try something in one landscape that involves the creation of web service end points. We can copy most content from one landscape to the other, e.g. enterprise service defintions from the ESR can be exported as files, the implementation (ABAP coding) of enterprise services can be taken over as transport requests (K and R files) and for Visual Composer applications we can upload export the workspace and upload it to a different server. Just the web service end points can only be taken over by manual recreation.

 

Search in SCN and on help.sap.com brings up nothing, I guess that there simply is no way of exporting web service end points, because our use cases are not so typical, and in most landscapes it does not make sense to transfer web service end points to another server, as it would have a different host name.

 

So we want to code our own export/import mechanism. Can someone give me some clues how to start? In which table (or across which tables) are web service end points stored? Which functions or class methods exist for reading or writing web service end points?

 

Monika.

How to activate service via SOAMANAGER

$
0
0

Hi

Is there a way to activate web service via Transaction SOAMANAGER? I've created a service and endpoint for a webservice, however, in transaction SOAMANAGER, I  can find no place to activate the service, the state of the service always shows "inactive". Does anybody perhaps know how to fix this. I already checked transaction SICF, the webservice is activated there.

Many thanks guys.

Problem in testing a Web service using SOAPUI

$
0
0

Hi Experts,

 

I have developed a web service in our ECC 6.0 and download the WSDL file generated from SE80. When i downloaded the file, it saved as only XML file.  As I dont have JAVA stack in the ECC 6.0, i was testing using SOAPUI. But when i try to upload the file, it always says "Found nothing to import <URL>".

 

Can anyone help me why it is giving this error? I still doubt there is some problem with the WSDL file which is generated for the service.

 

Please guide me how to check the WSDL file generated is correct or not?

 

Cheers,

Madhu

Transport webservice Entry in SICF to QAS and PRD

$
0
0

I have created webservices in SE80 using the Wizrad in DEV. An Entry is created in SICF for the service,

I have transported this to QAS. This Service entry shows up in SE80 but not in SICF. In SOAMANGER I'am able to use to test the it as well after creating an entry there in QAS.

For me use this Webservice from .NET I need this entry in SICF so, back in DEV I right click my SICF entry and create the transport entry, I also created an External Alias and the transport entry for the External Alias. When This was transport to

QAS the external entry was transported to QAS but not the SICF Entry, When I click on the External Alias in QAS I get

an error Target service not available - repair table Message no. SR053

Viewing all 746 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>