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
1answer
24 views

Reusing types across multiple services and .net versions

I have Services (Service1, Service2, ...) all which reference a Common.dll all of which are in .Net 4.0, and I am having trouble reusing the types in the consumer of the service. Common.dll has ...
0
votes
0answers
18 views

How to check and get data by ID using KSOAP2?

How to check and get data from webservice using KSOAP2 library... I only can check or get from webservices seperately but don't know how to check and get at the smae time data from webservices for ...
1
vote
0answers
31 views

I don't understand why I can't retrieve parameters from a form in Java EE

I'm currently learning Java EE and I was doing an exercice where you retrieve data from a form that uses method POST. I reproduce the code from the course I'm taking but it does not work for me. The ...
0
votes
0answers
8 views

pdf downloaded from web service to cordova app is corrupt

I have a cordova app that requests a file from a web service. The service gets the file and uses the following c# code to convert and send it back: byte[] bytes = System.IO.File.ReadAllBytes(filepath)...
0
votes
1answer
23 views

Reusing types across multiple webservices

I have a collection of related webservices that share some of the types between them, notably the "token" generated by the TokenService. When using "add reference" in Visual Studio, proxy classes are ...
-1
votes
2answers
28 views

Downloading an image from a database

I'm working in a school project, and I need some help to figure out the best solution to my problem. I'm using webservice java in netbeans. I need to download the image that is in the webservice ...
-1
votes
1answer
39 views

XML Serializer looses values of the object after serialization

I have a wsdl document 3rd party and try to serialize request to XML. I figured out that some values(like PaymentType), which were set to instance of the object are not serializing. Others do (like ...
3
votes
1answer
24 views

I want to add x customers on Prestashop via code but with extra fields

I'm trying to add customers with a code but the PrestaShop is giving me a bug. Im using PHP and XML $XMLRQString ='<?xml version="1.0" encoding="utf-8"?>'. ...
0
votes
0answers
10 views

How to write rest service Uploading Images to Server android with java

Most of the examples upload images in android web services are coded with PHP; Java has too few examples. I found 3 examples and follow code but when testing on android and ARC of chorme, I get an ...
0
votes
0answers
13 views

Azure app service: How to allow access of rest api to mysql server?

I've deployed spring-boot app as a rest api, on azure app services, how can I enable access of web service on remote MySql server?
0
votes
0answers
6 views

regarding webservices. how they communicate(dont say XML?JSON). I am not speaking about what language, I mean How can apps communicate and why?

I am new to web services. I have few question regarding web services. 1. I knew webservices means, Web services enable application-to-application interaction over the Web, regardless of platform, ...
0
votes
1answer
17 views

How to specify basic authentication in PL/SQL SOAP WSDL web service call

I am trying to call an Oracle Fusion Cloud web service from an Oracle Applications EBS server using PL/SQL. I can perform the web service call successfully from SOAPUI, however in SOAPUI the ...
-1
votes
0answers
17 views

AFNetworking background request handling iOS

I am using AFNetworking to make HTTPS webservice call. It works fine when app is in foreground, but when I put app in background, it gives server connection lost error. Request has successfully ...
0
votes
0answers
13 views

How to handle additional elements in WCF WS Security UserNameToken Service authorization

I need to expose WCF service with UsernameToken authorization. Everything works as expected besides one thing. Client have fixed message that includes additional tag that is not in http://docs.oasis-...
-1
votes
0answers
15 views

Inbound file with error: The request string (process) is not properly formed. (158,16005)

When sending to PSCS, I receive the error The request string ( ProcessName ) is not properly formed. (158,16005). I tried using the XML in a SOAPUI and it run successfully. Though when the 3rd party ...
-1
votes
0answers
11 views

Setup a load balancing in front of 2 https website

I'm setting up a Load Balancing Server 10.0.0.1 in front of 2 web servers. My web servers are running on secure mode at port 8443. (https://10.0.0.2:8443/login/ and https://10.0.0.3:8443/login/) So I ...
0
votes
0answers
14 views

Java 8 :: Implementing SOAP call: getting com.sun.xml.internal.bind.v2.ClassFactory No default constructor found on class javax.activation.DataHandler

I am trying to implement a SOAP web service and I have generated stub files using CXF. However, when I am trying to call the Web Service, I get an error: com.sun.xml.internal.bind.v2.ClassFactory ...
0
votes
0answers
6 views

Moodle web services refresh token

I understand that i can fetch web services client token through the url https://www.yourmoodle.com/login/token.php?username=USERNAME&password=PASSWORD&service=SERVICESHORTNAME and it works. ...
0
votes
0answers
9 views

cxf-maven-plugin Fails generating Java Classes

I'm having a trouble using cxf-spring-boot-starter-maven-plugin wich wraps wsimport (Java's tool) I have the following configuration in my pom.xml: (...) <parent> <groupId>org....
0
votes
0answers
8 views

user adding extra characters to url of a webservice(endpoint)

correct URL : http://localhost:8088/ws/services/plansRead -returns correct result edited URL : http://localhost:8084/ws/services/plansRead1233 -returns org.xml.sax.SAXException: Invalid element ...
0
votes
0answers
22 views

web service server deployment issue

I'm learning web service with wildfly and eclipse and follow the following steps: create a dynamic web project named MESinvoke create a web service class MEScreate the code is below: import javax....
0
votes
0answers
28 views

How to call a web service [duplicate]

Using Eclipse, I created a web service client from a wsdl. Eclipse generated the Java Classes after the wizard. What I'd like to do is to call the web service manually in one of the Classes I created....
1
vote
0answers
25 views

web service deployment with no class found error

I created a web service and deployed it to server successfully. But when I tried to send a request I got the error message like below: The error happened at below code: Service service1 =null; try { ...
-1
votes
0answers
11 views

how to protect all document that have announce access in web application by authentication or authorization in Asp.Net

Now announce user can access document and download file by url that is uploaded on sever. we want protect our web application from announce user can not download file.
-1
votes
0answers
15 views

Unable to set jupyter notebook password on Linode

Following the Linode documentation to set jupyter notebook server on my linux machine using Apache web service. While setting password for Jupyter notebook I am getting an error jupyter notebook ...
0
votes
1answer
9 views

How does biding happens in JAX-Rs xml to object?

I have been exploring on how to consume the web services and I found a good articles on JAX-Rs and it is the way to consume Rest Webservices. my task is to hit the URL which returns the XML as ...
0
votes
0answers
19 views

Forward SOAP request base on QName from client Java

Currently, I created a project webservice which I provide 2 webservices endpoint corresponding with 2 versions is MyWebserviceV1 and MyWebserviceV2. However, I would like to have only one access url ...
0
votes
1answer
23 views

How I can validate input field in Webservice in Asp.net C#?

I'm writing a Web service in Asp.net C#, i need to validate field in web service itself, how i can do that? i have given small example below public class Pack{ public double Weight { get; set; } ...
0
votes
1answer
27 views

web service show localhost not IP in SOAP

I created a web service named WildflyTest and a method called HelloWorld and deployed it to my wildfly 11 server,the server ip is 10.10.9.151.I tried to test using SoapUI, and I can open the wsdl ...
1
vote
0answers
16 views

how to correctly generate the xml with zeep?

I am trying to generate an xml to consume a web service with ZEEP but the resulting xml is not valid for the service, the types in the elements are not added correctly. How can I correctly add the xsi ...
0
votes
0answers
14 views

StructureFareRulesRQ Parse Failure - Visual Studio Web Reference Naming Convention Error?

I'm trying to call the StructureFareRulesRQ API from Sabre but its seems as though this API is different than the rest of the Sabre APIs. After adding the wsdl file to my project, I am expecting the ...
0
votes
0answers
21 views

Web Service thru Spring boot

I am referring someone code and not getting what exactly is the meaning of the below code as its throwing error when they are calling like sdServices.topup(null, null, null, topupRequest) @...
0
votes
0answers
11 views

How to set relative path to WSDL file in annotation?

I am not able to set the relative path to my wsdl file. I always get the error message that the file can not be found and I don t understand why. My Webservice Client looks like this: @...
-1
votes
0answers
17 views

Spring Boot, how do i print data from my soap web service without getting “ResponseMessage@21e484b”

I'm trying to consume a soap webservice and print the data inside it, when i tried to print numbers it works normally but when i tried to print words it returned this: ResponseType$ResponseMessages$...
0
votes
1answer
29 views

Opening a pdf file in a Cordova App via web service

I have a Cordova app that uses a C# webService to communicate with a SQL database. This works great. My problem is that I have some pdf documents on the server with the local filePath held in the ...
0
votes
1answer
33 views

Request Entity Too Large WCF REST Servcie

Hello I am receiving "Request Entity Too Large" error, when uploading even small files of size (188KB and 5 KB)!. I added maxAllowedContentLength ,maxBufferPoolSize maxStringContentLength, ...
-1
votes
0answers
8 views

Which are the api of Nmairial esign for storing signed documents with legal validity?

I want to integrate Namirial services in my web application,im looking for which api offered from Namiraial allows me to store signed document with legal validity in Namirial systems for a period of ...
2
votes
0answers
52 views

Web service File Stream to Byte[] to FileStream to pdf failing C#

I am trying to create a web service that returns a pdf file as a byte[] and then the app that consumes it grabs the byte[] and saves it as a pdf file and then opens it. The file fails to open at the ...
0
votes
1answer
14 views

Jax-ws endpoint not asking to create wrapper classes

I'm following this simple tutorial: https://www.mkyong.com/webservices/jax-ws/jax-ws-hello-world-example-document-style/?fbclid=IwAR0vxhYrj9MKy1Q28h6luFVJoSxDP4KWBOLEu_v_Ss4uQztmB-9JuYsS4RI and at ...
0
votes
0answers
30 views

How to connect to an ASMX web service with SOAP UI

The ASMX web service supports authentication using security tokens. I'm requesting the service with the following code: service = new WebService(); UsernameToken token = new UsernameToken( ...
0
votes
0answers
21 views

Why would I be returning error codes using Javascript calls to my basic web service?

I am hosting an ASP.NET web application in IIS and have added a TestWebService.asmx file to support some API calls. This web service was based on a web service that has been working using SOAP for ...
0
votes
0answers
22 views

Error 403 when connecting to WebService from Web Server

I'm trying to connect to a WebService from a PHP server. When the server is in AWS EC2 Cloud, it gets the correct response, but when the I issue the request from a server hosted in Linode cloud, I ...
-1
votes
0answers
7 views

Integrate LimeSurvey with a database using a webservice

I want to use LimeSurvey with a database already existent. We made the authetication by LDAP, but this can't give us the informations we need. It just make the process of authentication. How can I ...
0
votes
0answers
20 views

Service Reference throws Error after changing endpoint and certificate in SSIS using Script Component

I had a working code where data from MSSQL db used to flow to the SAP Bapiret2 private service reference via the wsdl file using the Script Component of SSIS. The code worked for INT,QA and Stage ...
0
votes
0answers
3 views

Where is the binding with the wsdl/soap file and the code behind of the web service?

I want to understand the connection between the wdsl file and the code that really do the methods decripted by the wsdl file. So I ask you, where is the url reference to the code in the wsdl file? How ...
0
votes
0answers
24 views

adding service reference of api.sabre.com in visual studio

I'm trying to add api.sabre.com in visual studio add service reference function but I'm getting the error "An error(details) occurred while attempting to find services at 'https://api.sabre.com'
0
votes
0answers
16 views

REST service child data not persisting to derby database

I have main entity and child entity. data for main entity its persisting to derby database fine. but the child data its not persisting I have tried to change XML input still does not work. when i ...
0
votes
0answers
21 views

Problem with RESTApi with multiple client call

I am new in rest and trying to write a simple rest api which transfer some amount from one source to another. I do not have database, using a map as a datasource. My service simply checks if source ...
0
votes
1answer
21 views

Reading custom error code and result message that returned from web service in Angular 7

I have a web service and when I request with mistaken data, the web service returns like this with HTTP 400 status code: { "result": "Member Language Code Can Not Be Empty", "errorCode": "...
0
votes
0answers
11 views

How to fix com.ctc.wstx.exc.WstxParsingException: Maximum attribute size (524288) exceeded?

When I run my web service with an embedded XML (encoded in Bas64) with a huge amount of data, the response is: I've already set the following line in the WebLogic server -Dcom.ctc.wstx....

http://mssss.yulina-kosm.ru