Questions tagged [java-ws]
87 questions
0
votes
1 answer
How to change default SOAP-ENV and ns2 namespace prefixes in spring-ws
Following is the response I'm getting and I need to override SOAP-ENV and ns2 in this payload.
…

kavish peiris
- 43
- 5
0
votes
2 answers
Does InputStream need to be closed if it's returned in a Response?
I have piece of code similar to this:
@POST
@Produces(MediaType.APPLICATION_OCTET_STREAM)
@Path("test")
public Response getFileContent() {
InputStream in = Files.newInputStream(filePath);
return…

Mailosz
- 131
- 1
- 9
0
votes
1 answer
Java command that lists JAR files and associated paths (similar to Ruby's gem list -d)
The Java TM API for XML Web Services mentions using the Java Endorsed Standards Override Mechanism to substitute 2 JAR files (jaxws-api.jar and jaxb-api.jar) for the ones that are included in standard release of JDK 6.
Is there a console command…

craig
- 25,664
- 27
- 119
- 205
0
votes
2 answers
How can i call a soap web service that changed from http to https?
I tried to call a web service that changed recently from HTTP to HTTPS and I get this error :
java.net.SocketException: Unexpected end of file from server
Note that i had issues with certificates but i added them in the truststore via keytool,…

adnane Lebouiha
- 1
- 2
0
votes
1 answer
How to Iterate all Child Element SOAP Headers as per the below web service client
Basically I am trying to write the JAX-WS service side code as per the article link below.
Code in handleMessage for web service client ( complete code is in http://informatictips.blogspot.com/2013/09/using-message-handler-to-alter-soap.html…

Uday Kiran
- 487
- 2
- 9
- 29
0
votes
4 answers
Can you view the XML generated by .NET when using a JavaWS service?
How can I view the XML being sent to a Java Web Service from a C#-based ASP.NET page?
I've created a disco object web ref in .NET from my Java WSDL, but when I use the likes of Fiddler to view the XML attached to the HTTP request, instead I see the…

mr_urf
- 3,303
- 4
- 26
- 29
0
votes
0 answers
Javax WS Response adds "type" in Response Entity
I have an Endpoint written in Java WS. The DTO classes used are as follows:
public class MainResponseDTO extends PaginationResponseDTO {
private List mainDTOs;
public List getMainDTOs() {
return mainDTOs;
}
…

Dinesh Shekhawat
- 504
- 6
- 13
0
votes
3 answers
Spring boot apache CXF capture soap errors and return http error code
I am using spring boot with Apache CXF. The starter im using is the spring boot cxf-spring-boot-starter-jaxws. I followed the guides from apaches cxf own website. http://cxf.apache.org/docs/springboot.html.
I am also using Java11.
The problem I'm…

Robbo_UK
- 11,351
- 25
- 81
- 117
0
votes
1 answer
Unable to launch application "javaws"
I am unable to launch "javaws -viewer". I am on "Windows10" and when I type the below command in Run window, I get an error message. Please find the screenshot for the same below.
javaws –viewer
javaws viewer
Clicking on Details, I see the…

Karthick
- 13
- 1
- 5
0
votes
1 answer
How to use variables in JNLP arguments
Having the following sample jnlp:
Some Example
Some Sample Vendor

thathashd
- 1,022
- 4
- 17
- 49
0
votes
1 answer
How to access code of JAVA WS app.(Windows)
I am wondering if there is a way to access the code of the Java WS application.
I would like to find an alternative method of application automation (directly calling procedures and passing parameters) instead of using some external UI automation…

vlad.lisnyi
- 325
- 2
- 12
0
votes
2 answers
Invoking SOAP methods JAX-WS
I have the following problem and would really appreciate any pointers:
I am trying to implement a SOAP service using a top-down approach - I have been given a WSDL file and am supposed to write a soap service that corresponds to it.
I generated the…

Dragan
- 227
- 3
- 9
0
votes
1 answer
Jersey unsupported media type while using @FormDataParam
The form for uploading file
this is simple html form having a multipart/form-data enctype.
0
votes
1 answer
Can't find tag or library described for http://java.sun.com/jsp/jstl/core
I have created java web service with this settings.
After created with out any error popup so many file with red cross mark, I have opened the files and error showing on this line
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"…

user3373819
- 89
- 2
- 10
0
votes
1 answer
Java WS RS - Post Entity Complex Object
Currently trying to call a service which needs:
{
"a": [
{
"a1": "stuff",
"a2": "stuff",
"a3": "stuff"
}
],
"b": "stuff",
"c": "stuff",
"d": "stuff"
}
I need to post my json query via java ws rs and was wondering…

sourpet
- 17
- 8