jax-ws Questions

2

Solved

have defined a Java Interface with the annotation @WebService Compiled the code which went fine Example: @WebService public interface HelloWorldIfc{ Now I tried to define an endpointinterface ...
Thicken asked 14/1, 2013 at 14:45

5

Solved

I am currently working on a Web Service client using CXF without Spring configuration files. It works pretty well but I cannot figure out how to set the binding SoapVersion using the Java Api. Usi...
Omasum asked 22/11, 2010 at 17:11

4

Solved

I followed the instructions here for properly installing the latest JAX-WS release (2.2.6) on top of my JDK v1.6.0_31 (i.e. copying the jaxws-api.jar and jaxb-api.jar from the JAX-WS release into m...
Protoxide asked 3/5, 2012 at 15:18

0

I know how to enable extensions in a plain JAXB bindings file - list them in the root element's extensionBindingPrefixes: <jaxb:bindings version="1.0" xmlns:jaxb="http://java.sun.com/xml/ns/...
Cyte asked 22/9, 2016 at 13:28

2

Solved

I am trying to generate a stub using jax-ws for the WSO2 Identity Server admin service https://xx.xx.xx.xx:9447/services/RemoteUserStoreManagerService?wsdl. I've downloaded the wsdl but when I run...
Andriette asked 28/8, 2012 at 8:5

1

Solved

I have built a web application that uses SpringBoot v1.3.6.RELEASE Tomcat 8.0.36 Java 1.8u101 on CentOS 7.2 The web application is also a SOAP client that calls out to another web application.(JA...
Esbenshade asked 30/8, 2016 at 17:58

2

I am deploying JAX-WS webservice on websphere and when I am testing the same through soapUI, it is throwing below error. Please advice what can be the issue: ClassCastException: com.ibm.xml.xlxp2....
Pompeii asked 21/7, 2014 at 11:58

3

In what contexts is it better to use one over the other and why? Thanks!
Athlete asked 18/8, 2011 at 14:5

2

Solved

I have to expose an ejb service layer via jax-ws . I have generated the web service using jax-ws and wsimport but I'm stopped by a strange things ; Date are being mapped to XmlGregorianCalendar . ...
Kazim asked 19/6, 2012 at 21:19

7

Don't seem to know where (what directory - source or classes) to properly use wsgen against my WebService class... Create a sample document literal based WebService: package hello; import javax....
Glia asked 23/6, 2011 at 20:29

12

Solved

I'm trying to deploy some web services in a WAR application on JBoss 5.1.0. I have created the source files from an existing wsdl using JAX-WS tool wsgen. This created the Service files and @XmlTy...
Currier asked 15/11, 2009 at 19:36

1

Solved

I've found this QA already and was able to prevent the generation of classes, but enums are still generated. I've tried to prevent it with custom binding: <jxb:bindings node="//xs:simpleTyp...
Duyne asked 8/8, 2016 at 8:10

2

Solved

When using Eclipse, I'm able to use JAX-WS annotations (e.g. @WebService) without including any external dependencies, but I can't do the same for JAX-RS annotations (e.g. @Path). I took a look at ...
Anestassia asked 2/8, 2016 at 10:31

3

i have a NO-.net webservice from oracle To access i need to add the soap header. How can i add the soap header in java? Authenticator.setDefault(new ProxyAuthenticator("username", "password")); S...
Eckard asked 12/5, 2011 at 10:55

4

Solved

Im generating some classes from WSDL files with wsimport maven plugin @ Mule Anypoint Studio 3.5 with JDK 1.7_55 I'm using jaxb 2.2.7 and remove version 2.1.9 from mule libs and replaced by 2.2.7....
Keslie asked 13/6, 2014 at 9:18

1

Solved

I would like to publish a webservice programmatically to tomcat. With e.g JAX-WS or Apache CXF Similar to Endpoint.publish(...). //how to tell this tomcat? Endpoint.publish("http://0.0.0.0:8080/Si...
Solstice asked 22/3, 2016 at 10:11

2

We have a JAX-WS/JAXB binding to an external web-service that is working fine on Java 7 (1.7.0u80) with the included reference implementations. During migration to Java 8 (1.8.0u66) the web service...
Scout asked 25/10, 2015 at 9:11

2

Solved

Problem By default, JAX-WS builds the following SOAP fault message when an uncaught exception that extends RuntimeException occurs on my server: <S:Envelope xmlns:S="http://schemas.xmlsoap.org...
Rosaleerosaleen asked 24/6, 2016 at 16:22

1

Solved

I'm trying to generate Java source from XSD and have to disable wrapper style with JAXWS. I've written the custom binding but it seems that JAXWS doesn't work with XJC. The binding I use is pretty ...
Convocation asked 28/6, 2016 at 10:42

1

Both of them can be used to implement a soap-client. What're the differences?
Envoy asked 6/6, 2016 at 22:8

2

I am using JAX-WS 2.2.5 framework for calling WebServices. I want to identify the special case when the call fails because the Web Service is down or not accessible. In some calls, i get a WebSer...
Salena asked 17/12, 2014 at 6:0

2

Solved

How do you throw a custom soap fault on a JAX-WS web service? How can I specify the faultCode, faultString and detail of the soap fault? Is it possible to set the value of the detail as bean instea...
Conglomerate asked 28/11, 2012 at 1:24

4

Solved

I know this isn't exactly the correct way to ask a question, but I'm having a problem: I have a wsdl stored locally, and I need to create a Web Service Client to call that Web Service. The problem...

5

I've trouble setting jax-ws timeout. My code is: @WebServiceClient(name = "VoipDBJDBCService", targetNamespace = "http://db.server.voipmeter.jextreme.eu/", wsdlLocation = "http://trace0.nyc.blinkm...
Cenac asked 28/6, 2010 at 8:16

2

Is it possible that a jax-ws soap-webservice can output json format instead of xml? @Component @WebService public class HRSService { @WebMethod public String test(String value) { return value;...
Juster asked 4/9, 2014 at 8:21

© 2022 - 2024 — McMap. All rights reserved.