jax-ws Questions
2
For some reason the invocation of Web Service throws NullPointerException on my local Weblogic 12c installation. The same package works correctly on another instance of Weblogic 12c, so there must ...
Racehorse asked 17/8, 2017 at 10:36
4
Solved
I'm trying to deploy my jsp site on Oracle web server, but when I call my web service using a port I get the following error :
SEVERE: SAAJ0120: Can't add a header when one is already present
Thi...
5
Solved
After reading a few articles about JAX-RS and JAX-WS, I had a few questions that I want to confirm?
Can JAX-RS do Asynchronous Request like JAX-WS?
Can JAX-RS access a web service that is not run...
Adahadaha asked 14/5, 2013 at 9:42
4
I try to invoke HTTPS SOAP web service through java code:
URL url = new URL("https://somehost:8181/services/"SomeService?wsdl");
QName qname = new QName("http://services.somehost.com/", "SomeSer...
Crossjack asked 25/1, 2013 at 13:40
1
Solved
I am calling a soap webservice via jax ws client code (generated from wsdl).
But the service sends response with "Content-Type:text/html" where as the jax-ws implementation requires "text/xml" typ...
4
How can I add SOAP Headers to Spring Jax-WS Client?
Specifically, I have a Jaxb object I would like to add to the header but xml examples would be appreciated.
I am using Spring's JaxWsPortProxyF...
Mucoprotein asked 28/10, 2010 at 18:34
5
Solved
I have a very simple endpoint using Jersey. My URL is static, it doesn't require any request parameters. It looks like this:
@GET
@Path("/mydata")
@Produces(javax.ws.rs.core.MediaType.APPLICATION...
8
Solved
I've used JAXWS-RI 2.1 to create an interface for my web service, based on a WSDL. I can interact with the web service no problems, but haven't been able to specify a timeout for sending requests t...
Lavender asked 27/1, 2010 at 17:21
3
I created an implementation of LoggingHandler that implements SOAPHandler<SOAPMessageContext>
It should log whenever handleMessage triggers (and it is never called in my case)
MyService ser...
Cesena asked 11/5, 2010 at 6:39
3
Solved
I have to generate a WS Client and I can't decide which plugin to use. Until now my options are: jaxb2-maven-plugin, axistools-maven-plugin and jaxws-maven-plugin.
2
I have simple "HelloWorld" web service deployed on jboss under ubuntu.
I have created simple client, but I can't get it to work. I'm getting NullPointerException each time I run the client.
Note t...
Genu asked 1/6, 2013 at 11:22
4
Solved
Since initialization of the WS client service and port takes ages I like to initialize them once at startup and reuse the same instance of the port.
Initalization would look something like this:
p...
Bragg asked 15/5, 2012 at 11:42
5
Solved
I get error while connecting to my web service:
javax.xml.ws.soap.SOAPFaultException: Unmarshalling Error: unexpected
element (uri:"", local:"OrderID"). Expected elements are
<{}Login>,<...
Crenelation asked 15/5, 2012 at 12:10
5
Solved
Trying to deploy a JAX-WS endpoint using Tomcat 7 Maven plugin and CXF
2.7.8. As a matter of preference, I don't want to have any XML config for
Spring or CXF. I see several blogs, articles, posts ...
Stencil asked 19/1, 2014 at 22:41
1
Solved
I have the following XML as my JAX-WS web service response:
<soapenv:Envelope>
<soapenv:Header/>
<soapenv:Body>
<QueryRBTReqMsgResponse>
<QueryRBTRspMsg>
<res...
Olein asked 22/8, 2017 at 9:19
5
Solved
I'm using SOAPUI tool to access JAX-WS web services deployed in Weblogic 10.3.2
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.pc3.pol...
Wisecrack asked 6/12, 2010 at 16:3
5
Solved
I have a strange problem.
Using wsimport I generated als JAX-WS Code from a WSDL (in a dedicated eclipse java project). This works fine in JDK6 without any external dependencies (running in Eclip...
Bursary asked 15/6, 2011 at 21:3
5
I have a server-side JAX-WS SOAPHandler (on WebSphere v8) that in certain cases needs to respond to the client with a SOAP response that it has in a String variable (let's call it responseXml).
Wh...
Charleton asked 9/10, 2012 at 17:19
4
Solved
I am trying to minimize required configuration while deploying JAX-WS-based Web service on Tomcat. With the introduction of Servlet 3.0 (supported by Tomcat 7+), web.xml can be thrown out, but ther...
Epictetus asked 14/5, 2013 at 7:54
7
Solved
I got The constructor Service(URL, QName, WebServiceFeature[]) is undefined error after I run wsimport for my client web service. Im using JDK 1.6. Please help.
3
Solved
My environment is a Maven Project and Wildfly (8.2.1) as Application Server. What I need is to connect wihin a incoming REST call to a third party server using SOAP. I need SSL Client Authenticatio...
3
Solved
I have been struggling to get this to work and I think i can use some help. I am working on a Java project where the pom.xml has a bunch of dependencies some of which are themselves indirectly depe...
Lurlene asked 7/5, 2014 at 15:12
1
In my project I have the following project structure:
I have a module that is producing a war file and can be deployed inside a Tomcat application server. This module has dependencies on Axis2 lib...
Serrato asked 30/8, 2017 at 15:41
3
Solved
Good day. I'm learning how to write a connector to external SOAP RCP styled service. I'm using jaxws-maven-plugin plugin to generate Java classes from the WSDL file. And I'm using Spring to create ...
Quaver asked 14/12, 2014 at 10:32
2
Solved
What is/are the difference/s of Java's JAX-WS and Metro? Are they the same of are they two different JAX-WS implementations?
According to my research, JAX-WS is already a part of JDK 6. However, J...
Hippo asked 1/10, 2012 at 9:1
© 2022 - 2024 — McMap. All rights reserved.