Questions tagged [jax-ws]

JAX-WS is the JSR 224 defining a Java API for XML-Based Web Services

Specifications:

  • JavaTM API for XML-Based Web Services (JAX-WS) 2.0 - JSR 224
  • Web Services Metadata for the Java Platform 2.1 - JSR 181
  • Web Services for Java EE, version 1.3 - JSR 109


Implementations:


Useful links:

JAX-WS Reference Implementation (RI) Project

4067 questions
2
votes
2 answers

Spring 3 MVC + Web Services (JAX-WS)

We have a Spring 3 MVC webapplication, and we are trying to expand it with Web Services. I have now tried with JAX-WS Web-services, annotating WebService and WebMethod on the appropriate places. I do have a dispatcher mapped in my web.xml. This is…
user829237
  • 1,719
  • 8
  • 37
  • 61
2
votes
2 answers

What is the best practice to send XML data embedded in a SOAP message?

I have a JAX-WS Web-Service which accepts some basic data and a String which is supposed to contains the content of a whole XML file. In the first time I though I can just put this XML in my SOAP request as a CDATA section like this: …
рüффп
  • 5,172
  • 34
  • 67
  • 113
2
votes
1 answer

Exceptions calling Webservice client from JBoss

I am running into an issue with a web service created using the latest jaxws-ri. I have created a client for SVS Web Service API. I am deploying this web service client under ATG 10.0.3/JBoss 5.1 EA/ JDK 1.6_22 / RedHat 5.4. I have created a self…
boyd4715
  • 2,701
  • 10
  • 48
  • 75
2
votes
1 answer

Disable SSL socket connection pooling in JAX-WS?

I was wondering if it was possible to disable socket connection pooling in JAX-WS? I am making calls to a webservice from within Jetty. The webservice is designed to have at most two connections to the server at any given time. One of the…
2
votes
1 answer

Delete the file after download in WebService

I have developed an application, in which file is stored on fileserver (customised). There are two web services communicating with each other. 'WebServiceA' and 'WebServiceB'. on two different machines. WebServiceB stores/get the file on/from…
sailor
  • 753
  • 1
  • 6
  • 17
2
votes
1 answer

How to call JAX-WS in GWT client interface?

I am developing project on GWT(Google Web Toolkit) and I need to call web service(JAX-WS). But problem is I don't know how to call the web services from GWT so I need to know how to access that JAX-WS with in GWT client side ? I'm developing my…
LkDev
  • 221
  • 3
  • 9
2
votes
2 answers

@Resource not injected in a JAX-WS SE that's a CDI managed-bean

In a JAX-WS SE class I have a field in wich I inject a @Resource to finally get the client's IP address. All is ok until I make this SE a CDI managed bean @WebService public class AImpl implements A { @Resource private WebServiceContext…
2
votes
3 answers

How to configure CXF JAX-WS server with Blueprint

I want to deploy a simple CXF Jax-Ws servier to ServiceMix. It's just one OSGI bundle that has both the service interface and impl class. I need to deploy it to different ServiceMix servers ( version 4.4.1) so I need to change the URL address per…
2
votes
1 answer

Delegate Axis2 WSDL generation to the JAX-WS RI?

I have a very simple JAX-WS + JAXB SOAP service that I am, by nature of my employment, forced to deploy via Axis2. If I take my JAXB classes and my service class, and deploy them via the JAX-WS reference implementation baked into the JDK,…
Justin Garrick
  • 14,767
  • 7
  • 41
  • 66
2
votes
2 answers

Spring web MVC intrigation with JAX WS

Hi All I'm Integrating Spring web mvc into Jax-ws The below are my code. The web.xml
Krushna
  • 5,059
  • 5
  • 32
  • 49
2
votes
2 answers

wsContext.getMessageContext().get(MessageContext.SERVLET_REQUEST) returns null on Jetty?

I have an extension of this question. I have that exact code running on a Jetty Server, and other SOAP web services work perfectly. However, on this line: HttpServletRequest req = (HttpServletRequest)mc.get(MessageContext.SERVLET_REQUEST);…
Eric B
  • 4,367
  • 5
  • 33
  • 43
2
votes
2 answers

How to add Web Services to Netty-Server?

I have developed a netty server based on low-level tcp/ip protocols. Now this server is supposed to also handle web service calls (jax-ws). Does anyone know where to go from here? I've read nearly all posts on netty+ws but I have to admit the…
Martin
  • 607
  • 1
  • 8
  • 17
2
votes
3 answers

How to add Custom Header to SOAP request via jaxb WITHOUT using SoapHandler

I can't seem to find a way to add in custom header to a Soap request from web service client without using SOAPHandler. I look around for alternatives and BindingProvider seems to do the the job for me. But it didn't work. I am not sure what am I…
yousafsajjad
  • 973
  • 2
  • 18
  • 34
2
votes
1 answer

Using Java SE Endpoint with Embedded Tomcat

I have a JAX-WS web service exposed through the simple Endpoint interface (example) If I understand the API correctly, as an alternative to directly calling Endpoint.publish (which uses the Sun's HTTP Server), we can: Create the Endpoint -->…
Pradyumna
  • 1,583
  • 4
  • 19
  • 34
2
votes
0 answers

generating Stubs with wsimport from WSDL over https

I'm trying to generate my client stub with the jax-ws wsimport. My Web Service is running on Jboss 7.1.1, but all Request go to Apache over https, which just rewriting the Url from https to http and editing the port. My wsimport looks like this: …