web-services

Unable to set SOAP Header while calling Web Service through Camel using dataFormat as POJO

岁酱吖の 提交于 2020-02-08 07:38:43
问题 I am using Camel in our project and requesting WebServices, the dataFormat is POJO. I was able to request when my SOAP message did not contain SOAP headers, but when it had Headers, I was unable to set those. I looked at the documentation but was not able to understand and have several questions. I want to create a message like the below: <soapenv:Envelope`enter code here` xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http:/

How to Configuring WCF services to work with both HTTP and HTTPS - multiple bindings not working

回眸只為那壹抹淺笑 提交于 2020-02-08 07:23:27
问题 Iam fairly new to Silver-light and WCF, so please bear with me. I have silver-light application that calls .svc service. The service is being called successfully over https but i would also like to make it work with calls over plain http. What modifications do i need to make to my web.config and ServiceReferences.ClientConfig files below. My complete system.serviceModel section in my Web.config file is this. <system.serviceModel> <bindings> <customBinding> <binding name="MyApp.Web.GetData

How to hold Xml file names in CSV Data set Config (Jmeter)

狂风中的少年 提交于 2020-02-08 02:48:28
问题 How can I use CSV Data set Config for holding Xml File names? I have Xml files storing Soap Messages and I want to CSV Data set Config to read them. How can I do it? 回答1: This can be done the same way as creating any CSV Data Set file. Create a CSV data set file. In the file, specify the FULL PATH for the XML files In Jmeter, create and configure your CSV DataSet config as needed 3a. You may need to put the full path of the CSV data set file 3b. make sure the order of your variable names

WCF webservice hosted on IIS returns empty xml response

不打扰是莪最后的温柔 提交于 2020-02-07 05:23:04
问题 I have created a rest wcf service that is hosted on IIS window server environment. When I try accessing the service(http://localhost:8081/Service1.svc/EmployeeDump) from IIS it returns blank xml response. It does not give any error, just a blank xml is returned. However, service wsdl(metadata) file is accessible from browser. The service works fine when I run it on Visual Studio and endpoint methods returns data response in xml. But when I host same service in IIS server, it returns blank

How to solve Error Code: 0, Message HTTP failure on android - IONIC API

谁说我不能喝 提交于 2020-02-06 07:44:11
问题 When i accessed my app on the browser i have no problem accessing data from API. But when i launch it on emulator on android studio, i can´t. It pops-up a card with a ERROR CODE :0, Message Ht failure with the referent link API. I tried to add the allow-intent, change the "localhost" on API GET request to "127.0.0.1"... and more that i don't remember. Even the DATA received by the server side is not accessible. Right now i'm inclined to think that is a proxy related issue or a CORS problem.

How to delete an EJBCA end entity using the WSs

最后都变了- 提交于 2020-02-06 04:27:24
问题 I can see that I can revoke a certificate using WS (however I'm not sure how I'm supposed to get it's issuerDN) but is there a way to delete the end entity in it's entirety. Basically can I do the equivalent of doing "revoke and delete" with a web service? Edit: just noticed that "revoke and delete" doesn't truly delete the end entity as if they are remade the old revoked certificates are still there. Guess the only way is to delete the data from the DB? 回答1: Correct. Delete an end entity

publishing and discovering REST web services

余生长醉 提交于 2020-02-05 09:10:06
问题 I am a student and new to web services. I have an academic project where I have to do dynamic service composition, where the client(coded client, not the human client) will search for web services and out of the searched web services it will choose any one to call at run time. I tried to implement it using SOAP based web services(JAX-WS). But I found on the internet that SOAP based services are not much in use so I tried to implement in on REST. Now my problem is where I should publish the

Connecting to SQL server from Restful C# service

冷暖自知 提交于 2020-02-05 05:58:25
问题 I am trying to develop a restful C# service with a connection to Microsoft SQL database. From what I understand, I am supposed to do the connection to the SQL server inside the following code: using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Web; using System.Data; using System.Data.SqlClient; namespace Webserver.Models { public class WebserverContext : DbContext { public WebserverContext() : base("name=WebserverContext") { } public

How to pass user credentials to WSDL (web service) inside script task/SSIS?

﹥>﹥吖頭↗ 提交于 2020-02-05 03:28:41
问题 Requirement -I have user credentials to access a WSDL file and I can access the file via browser. WSDL link - XYZ userdID- asdf pwd - ***** I need to use C# code inside SSIS script task to call this web service (specifically a single method call) using appropriate user credentials. Get the response(which would be in XML) , parse the XML to get specific values from it and insert that into a SQL table. If anyone know/have any idea/reference link on how to achieve the above requirement, please

Is this a JBOSS web service? Tomcat? How to create a server.xml file?

偶尔善良 提交于 2020-02-05 03:26:45
问题 I am working on a webservice that a previous employee built and I am just trying to figure out what documentation I need to be looking at. I think that the webservice is using JBOSS and therefore using Apache Tomcat. In the project there are several webservices so it is somewhat tricky to tell which is using what. (What are shared files etc). Question Number One : How can I verify that it is using JBOSS? My job is to make the webservice use bi-directional key exchange. I have done this before