Top "Jax-ws" questions

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

JAX-WS Loading WSDL from jar

I'm writing a fat client that makes use of a SOAP service for some features (bug reporting etc.) I've got …

wsdl jar jax-ws wsimport
How to add header to SOAP request?

I try to invoke HTTPS SOAP web service through java code: URL url = new URL("https://somehost:8181/services/"SomeService?wsdl"); …

java web-services jax-ws webservice-client
How do I add a SOAP Header using Java JAX-WS

A typical SOAP client request using JAX-WS might be FooService service = new FooService(); FooPort port = service.getFooPort(); FooPayload payload = new …

soap header jax-ws
Java Web Service error: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog

I have a problem creating and connecting a Java client to a running Web Service. I use the following code: …

java web-services wsdl jax-ws wsimport
java: Rpc/encoded wsdls are not supported in JAXWS 2.0

I'm using CXF 2.1 to generate java code from a wsdl, but I'm getting the following error: WSDLToJava Error: Rpc/encoded …

java jax-ws
How to throw a custom fault on a JAX-WS web service?

How do you throw a custom soap fault on a JAX-WS web service? How can I specify the faultCode, faultString …

java web-services exception jax-ws soapfault
java.lang.NoClassDefFoundError: com/sun/istack/localization/Localizable?

i try to run my project by tomcat7. afer the generation of the wsdl file of my webservices by jax …

java maven jax-ws
Unable to create JAXBContext creating my wsdl

I am trying to generate my WSDL for webservices but I get this error: Note: ap round: 2 Exception in thread "…

java web-services jax-ws wsgen
overriding or setting web service endpoint at runtime for code generated with wsimport

Using code that was generated with wsimport, can the service endpoint be overridden without having to regenerate the code? I …

java jax-ws
Applying external JAXB binding file to schema elements imported from WSDL

The XPath expression in my external binding files can't target the elements in my XML schemas which are imported into …

jaxb jax-ws xjc wsimport