Quantcast
Channel: SCN: Message List - Service-Oriented Architecture (SOA) and SAP
Viewing all 1056 articles
Browse latest View live

Re: SRT Framework Exception During the creation of a logical Port

$
0
0

I had the same issue,

 

In my case i was addressing the WSDL for the port but you need to address the binding.

 

I've created the port manually filling the username and password in the 'Consumer Security' subscreen'

 

And in the 'Transport Settings'

 

URL Acess Path - I've put the URL of the binding

Computer - IP of the system

Port - Port

Protocol - HTTP

 

And it worked for me

 

Best regards,

Vagner Rizzo


Re: Register SAP Object after activating existing Service-Provider

$
0
0

sap note 1649307 result the problem on our system!

Re: ARIS + Solution Manager

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.

Re: Adding a certificate to a SOAP web service

$
0
0

Hello Gurvinder

 

You need to configure an endpoint in transaction SOAMANAGER, with the option SSL over HTTPS. The following wiki page explains very thoroughly the different options: http://wiki.sdn.sap.com/wiki/x/6owxDQ

 

Cheers,

Attila

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!


Re: Adding a certificate to a SOAP web service

$
0
0

Thanks Attila.  We have done that.  I think our issue is with the certificates.   We installed the crypto library, but are a bit confused as to which certificate to create under which node in STRUST.  Also, do we only need to create one certificate that would be shared w/.net or do we need to create more than one?

 

So, the main question is how to attach the certificate to the web service...any help you can offer would be much appreciated.

Re: Adding a certificate to a SOAP web service

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

Re: Consume a local webservice (localhost)

$
0
0

Hello Stefan,

 

did u get error by option : file downloaded + without replacing localhost ???

Re: what's wrong with the wsdl

Re: Consume a local webservice (localhost)

$
0
0

Hi Jitendra

 

Yes, I received the error message when I didn't replace localhost in the WSDL definition. After replacing it with the name of my PC it worked.

 

Do you have ideas?

 

Regards,

Stefan

Re: Incorrect path prefix in HTTP destination generated from SOAMANAGER

$
0
0

Hi,

 

Did you find the solution for this?

 

I've encountered a similar problem. In SOAMANAGER the url prefix contains "....http://..." but in the generated SM59 destination, it says "....http:/..."  so only 1 "/".

 

Kind regards,

Geert


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

Re: Web service data source - error RSDS301

$
0
0

I have the same problem ! But note is either in reworking or is released internally only

Re: Connection broken error while service consumer creation

$
0
0

Hello Vanessa ,

 

have you checked with downloading WSDL ?

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.

Viewing all 1056 articles
Browse latest View live


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