BusinessObjects Board

RUN-248005. There is no response for the web service

Hi!
Could you please help me: i use datastore of type webservice, i imported wsdl-function in DS and received input and output schema in metadata. I try to call imported function in query transform (after executing batch job in DS) and i receive error: RUN-248005 There is no response for the web service . Ensure that the network, web server, and service are running properly. Also ensure that the service client call time out is set properly. I tested webservice using programm SoapUI (from site http://www.soapui.org), webservice works.
I found this article http://forums.sdn.sap.com/thread.jspa?threadID=1826365
It says that the only way is using datastore of type Adapter. I created this type of datastore (previous i created adapter instance name in Data Services Management console), in Url of webservice field i enter the url to wsdl and when i created datastore i push the the Fucntion(x) under created datastore and have the following error in Data Services Management console in log of my adapter instance name:
Unable to parse WSDL from Web Service. Error: File C:\BOXI40\Data Services\ext\DataServices.html is either missing or is empty. Create the file C:\BOXI40\Data Services\ext\DataServices.html, containing the Data Services WebServer URL.
Error browsing root nodes. Xml generated so far: [].

Thanks.


vhvoschevsky (BOB member since 2011-03-05)

And may be i can use datastore of type WebService, not Adapter ?


vhvoschevsky (BOB member since 2011-03-05)

if you are able to import the function then the problem may not be completly with the WSDL, the forum post may not be applicable for your case

no need to switch to adapter yet, let’s see what is the issue that you are having with Webservice Datastore, can you do the following
run the job from command using al_engine and pass -D -np at the command of command line to enable debug tracing
once the job completes it will create a axis2_log.txt file in %LINK_DIR%\log folder, mask any information that you don’t want to share from the log (repalce with XXXXX) and post that log

also provide the following information
1- is endpoint URL secure (HTTPS)
2 -is there a PROXY in your env ? (you connect to internet using proxy)
3 - does this webservice requires authentication if yes what type (Basic, WS-Security)


manoj_d (BOB member since 2009-01-02)

Hi,Manoj.
Thanks a lot for your answer!
Answers on your question:
1 - endpoint doesn’t have https (use http)
2 - no, we have no proxy on our env
3 - yes, web service requires authentication and here we find our problem. If the web server has anonymous type of authentication, we don’t have problem, job works succesfully. If the web server has basic type of authentication, we fill name and password fields in our datastore of type Webservice and also don’t have problem, job works succesfully. If web server has ntlm type of authentication we have problem, because as i read here https://bobj-board.org/t/188712 Webservice datastore doesn’t support such type of authentication. Anonymous type authentication is not securable, basic too. So we decided create web server on the machine where job server is installed, did authentication type is anonymous and disallowed connections to web server from another ip addreses.
Is it a good decision ?
Thanks, Viktor


vhvoschevsky (BOB member since 2011-03-05)

Hi,Manoj!

Could you please give any feedback ?

Thanks, Viktor


vhvoschevsky (BOB member since 2011-03-05)

NTLM is a security option supported on Windows (Windows NT was its root) only. Hence it is a bad idea to base your security architecture on that. As we have to run on Windows and Linux we cannot support NTLM, actually the Apache project does not support NTLM either and we are just using it.

Your approach is certainly valid, the standard way would be to use https and certificates to secure all - see DS docs.


Werner Daehn :de: (BOB member since 2004-12-17)

Hi there,

Hope someone can shed some light.

I was searching the forum and trying to find similar discussions on what I am facing. I too got the error RUN-248005. There is no response for the web service…

This is what I had/was doing.

  • Tested web service/function and all worked well in SoapUI. Created Web Service datastore in DS with the wsdl used in SoapUI, then successfully imported the function.
    -The response of the importerd function returns a session id which is a requirement as an input for authentication for other API calls.

To mention; I am using non-secure (HTTP) and authentication here is as mentioned in the above point; uses the return output of a function to authenticate another function/call.
Any ideas on what configurations that I might have missed out that caused ‘no response for the web service’. Please let me know if more information required.

Thanks,
jk


SingJK (BOB member since 2015-04-23)

what is the complete version of DS ? can you run the job from command line with additional -D -np options and post the last few lines of %DS_COMMON_DIR%\log\axis2_log.txt file (mask any thing that you don’t want to share, like URL etc)


manoj_d (BOB member since 2009-01-02)

Thanks for your reply manoj_d.

DS version is XI 3.2 SP3 (12.2.3).

Last few lines of the axis2_log.txt is as follows:

[Thu Apr 23 15:00:01 2015] [debug] …\src\core\transport\http\sender\http_transport_sender.c(805) using axis2 native http sender.
[Thu Apr 23 15:00:01 2015] [debug] …\src\core\transport\http\sender\http_sender.c(416) msg_ctx_id:urn:uuid:2634ca36-f72d-4155-a7f2-e07691f044da
[Thu Apr 23 15:00:01 2015] [error] …\src\core\transport\http\sender\http_sender.c(1442) Error occurred in transport
[Thu Apr 23 15:00:01 2015] [error] …\src\core\engine\engine.c(179) Transport sender invoke failed
[Thu Apr 23 15:00:01 2015] [info] [rampart][rampart_mod] rampart_mod shutdown

Let me know if more information is required, thanks.

Regards,
jk


SingJK (BOB member since 2015-04-23)

Thanks to Manoj’s help, the problem was identified. The enableMTOM parameter had been enabled in the axis2.xml file. Commenting this out resolved the problem.


SingJK (BOB member since 2015-04-23)

Hi I am also facing the same error, but we are using https .

Would I have to modify the axis2 file as well ?

Any help appreciated.


zuluking (BOB member since 2012-05-31)