i’m new with BODS and actually try to call a webservice via https in my realtime-job.
As described in https://bobj-board.org/t/193518, i created a new folder as copy from webservice-c and enhanced axis2.xml and Policy.xml.
Unfortunately i didn’t get rid of the well known error
132 5940 RUN-248005 04.06.2012 11:47:25 There is no response for the web service <…>. Ensure that the network, web server, and service are running properly.
The server didn’t need a client certificate, so i tried to comment out the two parameters “KEY_FILE” and “SSL_PASSPHRASE” as written in https://bobj-board.org/t/186458 without any change of the response.
I also don’t think it’s an SSL error, even as the Web Service Server returns an self signed, outdated certificate. But this would return in an SSLException, wouldn’t it?
Does anybody have an idea?
Attached you will find the axis2.xml, Policy.xml and also a screenshot from the Web Service configuration.
Btw: do i have to restart whole BODS when changing axis2.xml or is it parsed every time the job starts?
looking at the axis2.xml looks like the Security phase is not enabled, can you uncomment the following tag under
if the job still fails, run the job from command line with additinoal -np -D arguments this will create axis2_log.txt file in %LINK_DIR%\log folder, post that log, review the log before posting and remove any sensitive information (url, etc)
you don’t need KEY_FILE and PASSPHRASE if you don’t need client certificate, commet these out also
This failed because of invalid database username/password??
Why do i have to use database credentials?
Isn’t it possible to just use server + repository + repository credentials + jobname?
Maybe you can provide an example how to call the job via command line with all necessary arguments please?
PS: calling the webservice via soupUI works without problems.
I am newbie in BODS and have a tough task to consume the external web services using BODS , have refered few blogs but unable to get the technicalities.
I have gone through some of links of your’s wherein you provided solutions to the different queries.Please provide the step by step guide to consume external web services using BODS.
I have gone through the suggested link, followed steps to created the data store,imported the functions, created DF and job, used the SSL certificate as well still we are getting below error :
There is no responce for web service ,ensure that the network,web server and service are running properly.Also ensure that the service client call time out is set propoerly.
If possible can you share your contact details.
Thanks & Regards
Vir
this is a generic error, run the job from commandline with additional -D -np option, this will create a axis2_log.txt file in %LINK_DIR%\log folder, attach that log to the post
do you use WebService-Security (“WSS”) for authentification?
This would be the part in XML-Message you have to send (and also add manually to calls in soapUI)
Please find attached axis2_log file herewith.
We did the changes in the axis2.xml file , as we don’t want to set clientside certification we are not using policy file and no proxy setting as well.
On behalf of Vir: The webservice/s work/s fine from soapUI. I was able to add a default Content-Type = “text/xml” and eliminate this error, but the subsequent “Error occurred in Transport” message remains.
However, more importantly, the original xml reader error persists.
I just wanted to clarify the steps again while actually creating the DF:
i. The input schema was created using copy/paste from soapUI for the specific method & generating the xsd in Visual Studio.
ii. This xsd file was then used to create the XML format in BODS.
iii. Used this format, temporarily, as an XML source file to create the input schema in a Query transform.
iv. A subsequent Query transform uses this schema as input & the schema automatically created/saved while importing the web-service function, serves as the output
v. For the time being, we are just dumping the output into a temp XML file.
Additionally, I changed the Certificate file (used Chrome to download it as .cer file, instead of the Firefox .crt). Now, I see that there is log entry about certification.
I was checking the error, I think the error might be happening because of Soap Version, is your service using Soap 1.2 ?DS doesn’t support Soap 1.2 , what is the content type that you are getting in the response ?
It seems like a web-service supporting multiple protocols (there are namespace defined for both xmlsoap12 and xmlsoap, in the WSDL. The soapUI clearly identifies the SOAP version as 1.1.
Also, the response content-type is: text/xml;charset = utf-8
ok, if the WSDL has both the ports, then DS will only import the Soap11 port, will it be possible for you to use tcpMon or wireshark to trace the http rsponse that comes back to DS ?
or is it possible for you to file a case with Support ? I can work with support on trouble-shooting this issue
Hi,
I am facing issues connecting to a WS-HTTP web service, Attached are the error, axis2.xml and policy.xml files, Can anyone tell me what is going wrong here?