Questions tagged [web-services]

A "web service" is a software system designed to support interoperable machine-to-machine interaction over the World Wide Web.

1
vote
0answers
6 views

Webservice method with login shows a java error

I need help to consume a method of a webservice but I have not been successful. The method: <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"> <Header> <LoginInfo xmlns="...
0
votes
0answers
5 views

cxf webclient request and response logging

Currently we are using LoggingFeature to log request and response. the code is something like below and it works. LoggingFeature loggingFeature = new LoggingFeature(); loggingFeature.setPrettyLogging(...
0
votes
0answers
16 views

Communication between databases with Java ee

We have a costumer that have 3 stores with different databases. In every store has a wildfly running some webservices which communicate between them. Each json request with 10/30 rows spends 1 seconds ...
0
votes
0answers
18 views

How can i extract all the information from a web service?

I'm currently working with a little device that works to measure some stuff from electricity like voltage, power consumption and so more... and that device has a web service that i can get it by just ...
0
votes
0answers
9 views

Why is my web.xml configuration irrelevant for JAX-WS implementation in webservices-rt?

Problem I have created a new Maven web application project, and included the webservices-rt in my pom.xml. I created a sample HelloWorld webservice (see code below). I have added an empty web.xml (=...
0
votes
0answers
18 views

Why Do I need a proxy configuration in the http client object (REST web services)

To GET a response from a web service, we need to know the server url. (i.e. the appropriate uri) Why Do I need to set the proxy configuration to get response? I'm using the cpp rest sdk. a ...
0
votes
0answers
21 views

Using okHttp 3.10 for Android

Using okHttp 3.10 for Android RequestBody requestBody = new MultipartBody.Builder() .setType(MultipartBody.FORM) .addFormDataPart("alpha ", "alpha_value") ...
0
votes
0answers
11 views

GEDMPOOL web service not working in flexcube

I got spec service as below: <elp:QUERYCOLLATERALPOOL_IOFS_REQ> <elp:FCUBS_HEADER> <elp:SOURCE>FCAT</elp:SOURCE> <elp:UBSCOMP>FCUBS</elp:UBSCOMP> &...
2
votes
1answer
54 views

Coldfusion Webservice errors for complex data types

I'm trying to test the Bloomberg webservice for the getFields operation but its throwing an error. Web service parameter name parameters cannot be found in the provided parameters {CRITERIA}. Code ...
0
votes
1answer
15 views

Using RDBMS data to fuel SoapUI or similar testing tool

Does anyone have experience using DB data to fuel any variant of SOAP load testing tool? I have data in a DB that I can use to build my SOAP string and I have to build a few thousand independent test ...
0
votes
0answers
10 views

What does the defaultUri do in webServiceGatewaySupport?

I am trying to understand why should i add the defaultUri when creating a web service client extending WebServiceGateWaySupport Class? I understand that when using marshalSendAndReceive we add an ...
0
votes
0answers
8 views

Correct term for an offline web application

We are working on an offline application for which we use a web interface as the GUI. We have sensitive data showing there, so it is important for us that in our communication we make clear that this ...
0
votes
2answers
25 views

How to get and process an XML Response after making an HTTP Request

I have an iterative method that will make 100's of calls to a url and then parse the XML response and persist the data after each call. To accomplish this I have been trying to just use ...
0
votes
0answers
5 views

vCalendar multiple dates under one event for Outlook

How to properly format vCalendar output to Outlook save multi dates under one event? BEGIN:VCALENDAR PRODID:-//Test//Intranet//EN VERSION:2.0 METHOD:PUBLISH X-MS-OLK-FORCEINSPECTOROPEN:TRUE BEGIN:...
-1
votes
0answers
39 views

Automatically Passing and Pulling JSON data between .NET Framework and .NET Core

I am new in computer science (so hopefully I am using the right words and give the right information to answer this question), hopefully you guys can help me. I want to automatically transfer (JSON) ...
0
votes
1answer
24 views

Spring WS. Soap request is null

I have a SOAP web service. I try to pass entity in my request. Primitive types(include String) pass normal. But if i want to send entity, my entity is null. Do I something wrong maybe? All classes ...
-3
votes
0answers
15 views

Getting java.net.ProtocolException: Cannot write output after reading input [duplicate]

Here is my code which is giving enter image description here public int callApi(String file, String description, String name) { if (conn == null){ restService.setConn(); } try { ...
1
vote
1answer
27 views

Spring SOAP. Cannot get access to wsdl file

I try to create soap service and I have started from Spring-WS and its reference doc. But I have some questions: When i deploy this app to tomcat, in log i see such message: org.apache.catalina.core....
-1
votes
0answers
17 views

Hosting REST web-service

Currently I have not enough knownledge about hosting a service and what I need to pay attention to. Thus I'd like to present my case and hope for feedback which may help me. I have developed a ...
0
votes
0answers
18 views

the http request was forbidden with client authentication scheme ,Soap Service Error

I want to connect to a soap service as you can see here: mymodel input = new mymodel (); input.chassiNo ="1"; input.endDate ="1"; input.issueDate ="1"; input....
0
votes
0answers
7 views

WSDL to XSD using SOAP UI tool

Having trouble converting WSDL to XSD. I am new to Webservices there is a requirement to convert WSDL to XSD but when I do use the SOAP UI tool it is giving me an XSD with Soap Header and Footer, ...
0
votes
1answer
35 views

How can i send data from my REST WebService to my Xamarin App?

I need help with my program. I state that I'm still a beginner, so sorry if the question is trivial. Problem: I finished developing my REST webservices using SqlConnection. My problem now is to make ...
0
votes
0answers
8 views

disable soap validation of a soap client using the default jaxws-ri implementation of the jdk 8

My environment is a maven project with spring boot. I am using wsimport to generate JAX-WS Code from a WSDL . i want to disable the soap validation when i receive the soap response. I am using the ...
0
votes
1answer
51 views

Find letters from an a.txt file in a b.txt file C#

at this moment I am uploading 2 txt files. In the file 'A' I have a list of letters and in the file 'B' I have a couple of words, I am reading the 2 files, and I add them in a list. The goal is ...
1
vote
1answer
16 views

Soap Web Service Not Deployed in Tomcat 6

I am creating and deploying a SOAP webservice in Tomcat 6 through eclipse. Following is my code. Interface package com.hcl.anil; import javax.jws.WebService; @WebService public interface ...
0
votes
0answers
14 views

Getting 'java.io.EOFException: No content to map to Object due to end of input' while using Postman

I am using Chrome extension - Postman app to test my webservice. Below is the template of my webservice - @POST @Path("/usertransaction/get/amount") @Produces("application/json") @Consumes("...
0
votes
1answer
16 views

Create WS-security header in Groovy

I have to create UsernameToken section in SOAP header using Groovy but i can't find how to do it. I look at WSLite but how I understood this lib cant work with WSS header. I need something like this &...
0
votes
0answers
12 views

Android ksoap2 svc?wsdl namespace

I am writing an Android application that needs 4 parameters and use a wcf SOAP web service using ksoap2. The data being passed to the web service needs to match that data being sent from .Net. Java ...
0
votes
1answer
5 views

Moodle “error/forcepasswordchangenotice” on user create

I am creating a new User via Webservice. My new user has following attributes - { "username":"newuser1", "password":"Neel@123", "firstname":"Neel", "lastname":"Bhave"...
1
vote
1answer
36 views

how can i call web services with curl with json param?

I'm programming in Java. I developed a test web service in which I pass a random json and the service returns me hello Here the web service code: @Path("test") @GET @Consumes(MediaType....
0
votes
0answers
19 views

Changing the XML namespace of parameters to empty string for C#.NET Web Service

I wrote a Web Service in C#.NET as enhancement of an already existing web application (.NET 3.5) to provide an interface for a third party software. This is the description of my Web Service: POST /...
0
votes
0answers
11 views

Serialisation of SOAP response, unrooted xml

I'm trying to implement a SOAP web service, using asmx, that emulates an existing 3rd party service. The 3rd party gives an example SOAP response (simplified): <SOAP:Envelope xmlns:SOAP="http://...
0
votes
2answers
22 views

“Invalid web service call, missing value for parameter” with jQuery

I have a site which uses WebForms. It has a service which used to work, but my host recently migrated the site to a new server. The DB connections are working but my asmx service is now broken. I ...
0
votes
0answers
14 views

Java dynamicly create SOAP web service based in WSDL

I have multiple WSDL files for different SOAP services. Now I have for each web service it's own Spring WS code. Is there a way to make such a web service code on java (prefered using Spring WS), ...
1
vote
0answers
23 views

Response not coming back from one service to another service - microservices

I am facing strange issue where response as string not coming back from one service to another service. we have created microservices where one service is calling another service. i can see response ...
0
votes
0answers
17 views

User quits before long running operation is complete - How to handle server counter update?

I have a long running desktop process, say it processes 50 files.Once the whole process is complete, a database value is updated in the server(asmx web service).But if the user decides to force quite ...
1
vote
0answers
40 views

Call REST Post service from React.js [duplicate]

I am completely new to React.js so apologies if I am asking something very silly. I want to integrate React UI with java REST web service. I want to call a POST service on a button click that would ...
0
votes
1answer
19 views

Consuming a Nodejs Webservice via C# Client

I have a webservice, written in nodejs and developing a c# client. I do not have any problem with GET method but have problem with POST. Here is my client code HttpWebRequest request = (...
0
votes
0answers
19 views

Consume Soap Service in web api through URL

I am consuming soap service in web Api project it is working fine for stub but when I change URL for actual service then always it is returning stub result sample soap service result below is code ...
-1
votes
0answers
18 views

'get' is not recognized by request object [duplicate]

i'm trying to make POST request to server and getting error 500.. no answer at stackoverflow has worked.. :( here's my server import numpy as np from flask import Flask, abort, jsonify, request @...
1
vote
3answers
79 views

how to read multiple files txt c#

Hi I'm trying to read 2 txt files, from an asmx web service, the reason is that in file 1 I have random letters of which I have to find matching words from file 2. But I do not know how to read the ...
0
votes
1answer
40 views

Is this server polling considered too aggressive?

I need some guidance from the more experience before I waste any money. Please see my scenario. 300 clients need to check for data from a server throughout the day. Each clients data will be ...
0
votes
1answer
14 views

How do I set different endpoints for app in Google Play test/live?

I have an app which I want to release through the Google Play Store, but want to have the web service point to a different URL - between TEST and LIVE; can this be done? and how? TEST APP -> www....
0
votes
1answer
15 views

Handling soap+msbin1 content type in Jmeter

I am trying to use Jmeter for performance testing of a WPF app that uses WCF Web Service. I see that the service is using msbin1 encoding format. Hence i am no able to make out what the request ...
0
votes
0answers
17 views

TLS1.2 Support for Web Service Client on Websphere Application Server 8.5

I'm developing a simple Java Web Service Client, which will be deployed on Websphere Application Server. The issue: I need the client to support TLS-v1.2, because that's what the Web Service I ...
0
votes
0answers
22 views

REST API through jar file

I have exposed REST API in an application having web.xml which can be deployed on tomcat. So I have some idea about REST web services. Now I am creating a generic jar which any application can use. ...
0
votes
0answers
16 views

call ksoap2 webservice and not return huge text

I call a web service in Android app using ksoap and use the return value of the web service. In special cases, the amount returned from a certain volume (as I checked out 310 characters) will be error ...
0
votes
0answers
21 views

Unable to generate Java files from wsdl using wsimport

I am trying to generate a Java file using wsimport from wsdl, but I am getting the following exception since it is using soap12. Is there a way to generate correct files using wsimport? I was able ...
0
votes
1answer
25 views

How data is sent from client to (multi-service) server in gRPC

I am using the gRPC client server framework in one of my application (speech recognition). There are a few important things I want to clarify with my observations. 1. How the optional data field sent,...
0
votes
1answer
35 views

How to create a web service method to be accessed from Javascript in ASP .Net (Aspx)?

I need to download a list of pdf files, but I need to send the list of name files to a method as parameters in code behind to handle these. I tried with Page Methods, and Web Methods, but since these ...

http://mssss.yulina-kosm.ru