on 04-01-2016 8:15 AM
Hi,
I tried to follow this tutorial: Web Services Adapter Example - SAP Event Stream Processor - SCN Wiki
but I have a problem with subsribe.bat, when i run it, it appears:
name=sybase
password=sybase
<!--Uncomment the following 2 elements when you use 'start_adapter[.bat|.sh]' --> | |
<ProjectName>StockTraderProject</ProjectName> | |
<StreamName>tradesIn</StreamName> | |
</EspPublisherParameters> |
Thank you for your help!
Jan Bednar
Hi Jan,
First question is whether you are using ESP or SDS?
Do you have a specific reason to use SOAP instead of either REST or Websockets? For continuously streaming data Websockets is the recommended web service interface as it is far more scalable than either REST or SOAP. If your input data is generating only 1 or a few events from a given source, for example when tracking web page clicks, then REST would be the recommended interface.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Robert,
I'm using ESP, version: Version: 5.1.110.00/20151206.1/SP11/winnt/x86_64/64-bit/OPT/Sun, Dec 06, 2015 5:41:30 PM
We decided to use SOAP, because we are using SOAP in other services.
Is it possible just to change setting of ports from 19011 to 9786? Because we have just node running on 9786.
Thank you.
Hi Robert,
we have port set to 9090.
Thank you for your information.
I accidentaly used tutorial for ESP SP04 but we have SP11. I'm trying to set Discovering Schema and Creating a Mapping File for the SOAP Adapter. Here is link to tutorial: http://help.sap.com/Download/Multimedia/zip-esp_51sp11/esp_developer_guide.pdf I'm using WebserviceX.NET :: XML Web Services solution provider</title> <META HTTP-EQUIV="Conten... for getting WSDL file. This is my adapter config:
I got this error:
04-01-2016 16:50:59.351 ERROR [main] (SOAPTransporter.getTables) Unable to get discovery tables
java.lang.Exception: Failed to generate stub classes from all available URLs.
at com.sap.esp.adapter.ws.soap.transporter.SOAPTransporter.generateStubs(SOAPTransporter.java:133)
at com.sap.esp.adapter.ws.soap.transporter.SOAPTransporter.getTables(SOAPTransporter.java:538)
at com.sap.esp.adapter.ws.soap.Discoverer.discover(Discoverer.java:44)
at com.sap.esp.adapter.ws.soap.Discoverer.main(Discoverer.java:145)
Do you know what can be a problem?
Thank you
Jan
Hi Jan,
The problem is that you have not set a value for the Adapter Mapping file. This setting is required for doing Discovery, because this file name is the destination file: when you do Discovery, and you choose the schema, the results get populated into this mapping file that you have specified.
Thanks,
Alice
Hi Alice,
Okay, so I should use
c:\SAP_ESP_5.1\ESP-5_1\adapters\webservices\examples\input\stockTraderMappings.xml
?
I thought that one is just for your example. I also tried that one but I have problems with TomCat and I don't want to use it at all, I just tried the example.
So I can use this Mapping file as default for all variants?
Thank you,
Jan
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.