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

Consuming an External Web Service in SAP CRM !!! ??

$
0
0

Hi everyone I'm new in SAP ABAP CRM is how I try to consume a web service in external SAP CRM web client I create the proxy client and integrated web service in SAP but I'm blocked on how to use it in a UI web client please there's someone there can help me to get an example here is my last step

SIG.png

very urgently  PLZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ


Close Abap session of a stateful web service from Java application

$
0
0

Hi,

 

 

we
need use a stateful web service developed in ABAP starting from a BAPI for a
distributed transaction (transaction ivolving SAP a non SAP System).

 

 

At
the end of the distributed transaction we need to close the session on SAP.

 

 

We
are trying to use the SOAP message below sent to web dispatcher:

 

 

 

 

 

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

 

 

.org/soap/envelope/">

 

 

<soap-env:Header>

 

 

<n0:Session

 

 

xmlns:n0="http://www.sap.

 

 

com/webas/630/soap/features/session/">

 

 

<enableSession>false</enableSession>

 

 

</n0:Session>

 

 

</soap-env:Header>

 

 

<soap-env:Body/>

 

 

</soap-env:Envelope>

 

 

 

 

 

but
it doesn't work.

 

 

 

 

 

Have
you any idea about this issue?

BPC DataStore in Financial information management work periodically

BPC DataStore in Financial information management work periodicall

Web Service Security - Token

$
0
0

I'm a little over my head and am trying to understand the best way to secure web service communications between our SAP CRM system and a third-party hosted sales methodology solution. I'd like to explain what I would like to do and then I would welcome any guidance/suggestions from the group. Below is a very simple call flow.

 

  1. The user (JOE1) will authenticate to the SAP CRM system.
  2. JOE1 will click on a dynamically generated link to that resolves to the third-party hosted solution.  The URL would include a couple of parameters opportunity Id, user id and something that equates to a MYSAPSSO2 security token.
  3. The third-party hosted solution would make a call back to our exposed SAP CRM web services and pass, among other things, the security token we passed them.  This would allow them to authenticate to the web service as JOE1.

 

The goal is to have each call back to the web services hosted by our SAP CRM system to be executed as the currently authenticated user - in this case JOE1.  Any advice would be appreciated.  Thanks in advance

Standalone ESR

$
0
0

Hi,

 

We have a SAP ECC 6.0 landscape and will be integrated using a non-SAP middleware. We are planning to develop all our interfaces as web services based and need to use SAP ESR as modeling tool. I have found out that ESR can be installed standalone on NW Java stack. Also, we want to use standard enterprise services after doing some enhancement.

 

So, i need to find out whether it is possible to enhance standard enterprise in standalone ESR or do we need PI for enhancing the services?

Also, let me know if you have any inputs (pros/cons) on this architecture of having standalone ESR connected to SAP ECC Development for modeling purposes.

 

 

Thanks,

Vinod

WebServices does not work properly after Ntw 731 upgrade

$
0
0

Dears,

We just upgraded our BW Abap develop environment.

We noticed the following error:

 

Calling from a VB.Net Application a Remote enabled ABAP function exposed as a Web Service by BW, randomly the “The request was canceled” error is received and no data is returned to caller.

Before upgrade to 7.31 all worked fine; calling the same Function in Productive system (BW 7.01) the error is never , -never-, received.


This occurs either for custom webservices and Sap Standard webservices like the EASTER_GET_DATE ; calling them many hundreds times both randomly , often, returned the error.


We try to trace the behaviour with ST01 without success, nothing interesting is logged.
On the Abap side the SM21 is clean and no short dumps are created.

Where we could find the errors that are affecting these webservices ?

 

Any advise ?

Waiting for Schduler Issue

$
0
0

We are facing a problem where when a client (Browser/mobile) calls an asynchronous web service from SAP, it get stuck in a queue in SRT_UTIL with status "Wait for Scheduler" like below.

 

img1.jpg

 

We were able to release it forcefully so that it can continue what it has been coded to do and it was successfully executed. That means the value that was passed from the client has already reached the SAP server side but got stucked in the queue.

 

When I further click on one of the yellow status line, I got a response like below.

 

img2.jpg

 

Why do this happen? and how do I solve this issue where it gets stucked in a queue.

 

Any advice are greatly appreciated.


Adding a certificate to a SOAP web service

$
0
0

Dear community,

 

I need some wisdom.  We are trying to add certificate based authentication to a SOAP web service that we created out of SAP.  We have not figured out how to do it yet and would like to ask for some guidance.  I have researched the question/topic for at least a week but I have come up with a dead end.

 

BACKGROUND

============

We created an RFC in SAP.

We converted that RFC to a web service via the wizard. 

We then created the binding in SOAMANAGER so that an external .NET application could call the web service. 

The web service works well with just basic user/auth authentication.

We would like to add certificate based authentication.

We downloaded the SAP Crypto libraries and created a key.  We then loaded that key into STRUST in SAP. 

We are now at the step where we do not know how to add the certificate to our web service.

 

Could someone please help?

 

Thanks,

G

 

PS  We do not have PI, but we plan on getting PI later this year.  Our urgent need is solving this issue w/o PI in the mix.  Thank you in advance.

Consume a local webservice (localhost)

$
0
0

Hi experts,

 

I have a .NET application on my local PC that provides a webservice that I want to consume. I can call the WSDL definition on http://localhost:8888/SapSoapCallListener?wsdl. But when I try to create the proxy I get an error message that the connection to localhost failed. I downloaded the WSDL and replaced all localhost entries with the hostname of my local machine. That change allowed me to create the proxy and even the logical port in SOAMANAGER, where the computer name of access URL is now my hostname. I even could sucessfully call the webservice.

 

This application runs locally on the PC of every user. So it doesn't help to have only my machine as logical port. Is it possible to have a generic computer name or is the another solution to call local webservices.

 

Any help appreciated.

 

Thanks!

Table & WebSERVICE

$
0
0

Hi All how can fill the table  from webservice , I have to keep the element of the table that is the source data file Web Service "xml" with abap code : an exp plzzzz

Calling REST API between two different SAP System

$
0
0

Hi Experts,

 

Need your help to consume a REST API between two different SAP System. Do we need to create a trusted connection between two system or do we need to add some header to allow cross domain. Your input is very much required.

 

Please suggest/guide.

 

Sameer Ali Khan

How to transport Web service from one environment to another.

$
0
0

Dear Team,

 

I have an Interactive adobe form which uses a web service to create a customer in ECC. Can anyone please guide me what is the procedure to transport the objects to the next level for testing.

 

Regards,

Tushar.

Deploying Enterprise Service Provider

$
0
0

Hello Experts,

I am new to sap web services. I have implemented a 'Enterprise Service Provider' in our application based on a WSDL and it has 1 service.

  • I have created this wsdl based on an external XSD.
  • The wsdl schema definition types include all the required types as per the external xsd.
  • I generated all the required abap structures as per the wsdl.
  • Implemeted the method to read the request and do the necessary action in our system
  • Populated the response structure
  • Tested using sap test tool.

 

How do I form the URL(web address) for my implemented service , which I could give to the ABC application so that they can send the request.

 

I could see the following things in my Server proxies tab:

 

External Key:

Type: External Provider, Source: ESDL, Name: ABCService

Namespace: urn:sap-com:sprx:ep:cust:xxx-yyy

 

Proxy:

Proxy Name: xyz...., Prefix: ...., Description:....

 

Interface Attributes:

Provider Class: xxxxxxxxxx

Description: xxxxxxxxxxxxxxx

Webservice Definition: ZABCService

Communication Type: Point to Point enabled

Org. Porttype Name: ABCInformation

Org. Porttype Namesp: urn:sap-com:sprx:ep:cust:xxx-yyy

 

thanks in advance for the information.

 

regards,

Nayak

SOA - Security

$
0
0

Hello

 

How can I assess  the gaps, if the securiy is right, measure security and carry out security Impact assessment and a risk assessment on my SOA implementation. - thanks in advance  Qureshi


Error while consumer service generation: SRT Framework exception

$
0
0

Hi,

 

trying to create a service endpoint for an non-SAP soap based consumer proxy via http-link I get the following error message:

 

SRT Framework exception: Error in WSDL access: Exception occurred in communication framework:Error in HTTP Framework:0http://domain:port/path/file?WSDL

 

When I download the WSDL file and create the consumer proxy endpoint for the local file the error message says:

SRT Framework exception: Error in WSDL parsing: Exception occurred in library handler

 

We are running on NW 7.31. In this way note 1865316 and 1240233 are not helpful. The WSDL file can be consumed with SOAPUI without any problems. There are no errors or warnings in the log files.

 

Does someone know reasons for this error? Our SAP Systems are not allowed to access the internet. Could this be a problem (the wsdl contains external urls)

 

Edit: The problem occured with a web service I already created based on a WSDL file. During my tests I generated the consumer service again from scratch based on the WSDL-file but there is also the error described above:

SRT Framework exception: Error in WSDL access: Exception occurred in communication framework:Error in HTTP Framework:0http://domain:port/path/file?WSDL

Using the file as local file the system says:

Exception occurred in communication framework:Error in HTTP Framework:0http://domain:port/path/file?xsd=xsd0

Could be line: <xsd:import namespace="http://tempuri.org/" schemaLocation="http://domain:port/path/file?xsd=xsd0"/> in the wsdl

 

the report RSSIDL_DESERIALIZE_DEMO says:

 

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

 

 

-<soap:Body>

 

 

-<soap:Fault>

 

 

<faultcode>soap:Server</faultcode>

 

 

<faultstring>SIDL/SLIB exception</faultstring>

 

 

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

 

 

<slibfault:timestamp>Fri, 05 Jul 2013 06:00:18 GMT</slibfault:timestamp>

 

 

-<slibfault:exception>

 

 

<slibfault:text>Ausnahme in Kommunikationsframework aufgetreten:Fehler in HTTP-Framework: 0http://domain:port/path/file?xsd=xsd0</slibfault:text>

 

 

<slibfault:positionprogram="CL_SLIB_ENTITY_CONTAINER======CP" include="CL_SLIB_ENTITY_CONTAINER======CM00D" line="52" />

 

</slibfault:exception>

</detail>

</soap:Fault>

</soap:Body>

</soap:Envelope>

It would be great if someone could bring some light into the darkness. Greetings, Vanessa

Connection broken error while service consumer creation

$
0
0

Hi,

 

I need to consume a .net soap web service. During the creation of the service consumer the following error occurs:

 

Exception occurred in communication framework:Error in HTTP Framework:500 Connection Broken http://domain/path/servicename?WSDL

 

Unfortunately I cannot find informations regarding this error.

 

There is one strange behavior. Our SAP System is running on Linux and the Web Service on a windows machine. From a windows system it is no problem to access the WSDL-File. On a Linux System this is not possible.

 

Does someone know this error and knows reasons?

 

Thanks, Vanessa

CX_ST_SWITCH_NO_CASE

$
0
0

Hi all,

 

I am trying to call a transformation but I am getting the exception CX_ST_SWITCH_NO_CASE, I checked the transformation and this is where the switch is:

 

<tt:switch>      <tt:cond check="FIELD='ENCABEZADO'">       <tt:assign ref="VALUE" to-var="_C_1"/>      </tt:cond>      <tt:cond check="FIELD='DETALLE'">       <tt:assign ref="VALUE" to-var="_C_2"/>      </tt:cond>      <tt:cond check="FIELD='TOTALES_FACTURA'">       <tt:assign ref="VALUE" to-var="_C_3"/>      </tt:cond>      <tt:cond check="FIELD='INFORMACION_DE_REFERENCIA'">       <tt:assign ref="VALUE" to-var="_C_4"/>      </tt:cond>      <tt:cond check="FIELD='AUTORIZACION'">       <tt:assign ref="VALUE" to-var="_C_5"/>      </tt:cond>      <tt:cond check="FIELD='OTROS'">       <tt:assign ref="VALUE" to-var="_C_6"/>      </tt:cond>      <tt:cond check="FIELD='FIRMA_DIGITAL'">       <tt:assign ref="VALUE" to-var="_C_7"/>      </tt:cond>     </tt:switch>

 

This transformation was created by SAP based on a WSDL file, when I was creating the service consumer.

Is this valid WSDL content?

$
0
0

Hi,

 

I am not able to generate a web service and its endpoint. There are several problems I described in other discussions. Maybe someone can give me a hint if there could be problems with some of the elements from my wsdl => called with parameter ?xsd=xsd0

 

 

-<xs:element name="Upload">

 

 

-<xs:complexType>

 

 

-<xs:sequence>

 

 

<xs:elementminOccurs="0" name="projectId" nillable="true" type="xs:string" />

 

 

<xs:elementminOccurs="0" name="viewId" nillable="true" type="xs:string" />

 

 

<xs:elementminOccurs="0" name="columns" nillable="true" type="q2:ArrayOfColumnDefinition" xmlns:q2="http://schemas.datacontract.org/2004/07/name.WCF.Interface" />

 

 

<xs:elementminOccurs="0" name="rows" nillable="true" type="q3:ArrayOfRow" xmlns:q3="http://schemas.datacontract.org/2004/07/name.WCF.Interface" />

 

</xs:sequence>

</xs:complexType>

</xs:element>

 

Should the calling

"http://schemas.datacontract.org/2004/07/name.WCF.Interface" result in correct page or is it just for the namespace it doesn't matter if the file exists or not.

 

 

 

 

Or what about:

 

 

-<xs:element name="UploadSimple">

 

 

-<xs:complexType>

 

 

-<xs:sequence>

 

 

<xs:elementminOccurs="0" name="projectId" nillable="true" type="xs:string" />

 

 

<xs:elementminOccurs="0" name="viewId" nillable="true" type="xs:string" />

 

 

<xs:elementminOccurs="0" name="separator" nillable="true" type="xs:string" />

 

 

<xs:elementminOccurs="0" name="columns" nillable="true" type="xs:string" />

 

 

<xs:elementminOccurs="0" name="rows" nillable="true" type="q1:ArrayOfstring" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />

 

</xs:sequence>

</xs:complexType>

</xs:element>

 

Is this a correct part of a wsdl?

 

Thanks a lot, Vanessa

connection from ecc ehp5 to service registry

$
0
0

Hi all,

 

I have a ecc ehp5 ABAP system . I have created a webservice  . how can i publish my webservice from soa manager (r3 system) to Service Registry which is configured in a SAP J2EE engine.

 

I require the steps in SOA MANAGER and Required RFC in sm59

 

Regards

Prasad

Viewing all 360 articles
Browse latest View live




Latest Images