jax-ws Questions

1

INFO - Sample code I've set up sample code (SSCCE) for you to help track the problem: https://github.com/ljader/test-cxf-base64-marshall The problem I'm integrating with 3rd party JAX-WS servic...
Serin asked 10/8, 2015 at 19:25

2

I am using wsimport to generate client stubs for JAX-WS webservice calls wsimport has the -p option which allows to customise name of package. For eg. if the WSDL has namespace of com.abc, then y...
Crymotherapy asked 5/1, 2015 at 12:37

3

I have re-formatted the question to hopefully make my intentions clearer. Architecture I'm writing some web services that I will be publishing myself using JAX-WS. The process we have been using f...
Evannia asked 29/10, 2013 at 17:48

4

Solved

How can I dynamically change the address which my JAXWS client is using? This client was generated by wsimport.
Petulance asked 1/3, 2011 at 18:10

1

Solved

If have a rather large schema that is used in several webservices, therefore I want to separate XSD compilation from WSDL compilation. In a simplified example, compiling in a single step works: $ ...
Underwrite asked 6/3, 2015 at 15:2

0

How to use a generic common Interface for Jax-WS ? public interface IGenericWebService<T extends Record> { @WebMethod public List<T> listAll(); } how to make it works without over...
Repartee asked 18/6, 2015 at 7:7

1

Solved

When I generate webservice client stubs using Apache Axis, I disable the server certificate trust check in my code using the client stubs by calling the following method AxisProperties.setProperty...
Zombie asked 4/6, 2015 at 6:55

2

Solved

I've got a problem related to the unmarshalling process in a JAX-WS based WebService. In WSDL file there is an element defined as <element name="quantity" nillable="true" type="int" /> In...
Chinook asked 6/2, 2013 at 23:51

1

We’re using JAX-WS in combination with JAXB to receive and parse XML web service calls. It’s all annotation-based, i.e. we never get hold of the JAXBContext in our code. I need to set a custom Vali...
Michael asked 20/5, 2014 at 4:52

2

Solved

I'm trying to write an Apache CXF JAX-WS client. The dependencies in my pom.xml are <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-common-utilities</a...
Iand asked 10/6, 2011 at 21:11

2

Solved

I have a JAX-RS client in CXF created via JAXRSClientFactoryBean.create. How can I set the connection/receive timeouts? I assume I need to get hold of the conduit but can't work out how to. This p...
Acting asked 9/1, 2015 at 14:32

4

Solved

I'm trying to retrieve the client IP with JAX-WS, I used: @Resource WebServiceContext wsContext; MessageContext mc = wsContext.getMessageContext(); HttpServletRequest req = (HttpServletRequest)m...
Valeda asked 4/10, 2012 at 13:8

4

Solved

I need to concatenate the string value of a spring bean, to an existing string, and then set it as an attribute of another bean: <bean id="inet" class="org.springframework.beans.factory.config....
Ballottement asked 22/11, 2011 at 22:50

1

Solved

I'm developing a Java Web Service. At this moment I can get Http header requests. But I want to add more header requests. I'm currently doing this in a servlet filter. @WebFilter(urlPatterns = ...
Baxy asked 8/5, 2015 at 17:46

2

Solved

This problem has had me stumped for almost two days now, I really need some help figuring it out. I have used wsimport to generate code from two different .wsdl files for a Java project. The firs...
Shift asked 6/5, 2015 at 14:14

1

Solved

How do I add soap action header in java. I tested the service in SoapUI using <a:Action s:mustUnderstand="1">MyServiceName</a:Action> in Header and it works fine as per this post SOAP A...
Gleesome asked 15/4, 2015 at 14:58

1

Solved

The setup I use the jaxws-maven-plugin v2.1 to generate a web service class. I also include the following Jetty dependencies: org.eclipse.jetty.jetty-server org.eclipse.jetty.jetty-sevlet org.ec...
Revolting asked 9/4, 2015 at 0:44

2

I am using Apache CXF's cxf-codegen-plugin to turn a wsdl into java objects. I specified a binding file to add additional jaxb processing. I want all of these files to inherit from an interface (or...
Insignia asked 30/5, 2014 at 18:44

4

Solved

I'm using Mule standalone 3.1.0 and I have a flow with a default exception strategy. My fooImpl class throws an exception on purpose and its stacktrace gets vomited onto the mule stdout - Exception...
Bogoch asked 20/2, 2015 at 11:49

1

Hi I have worked with JAX-WS for SOAP based webservices. Now I want to use REST because REST have advantages over SOAP as i studied about from here. But from different articles I knew that we can ...
Proviso asked 26/9, 2012 at 10:15

1

Our application need to send some request to SOAP service. We use wsimport command to generate class for our client. But sometime when service down or some network problem, our request hang until t...
Burack asked 28/1, 2015 at 2:58

2

Solved

I'm really new in Java Web Service. I can say that my knowledge level is only 10%. Can somebody please give me a HelloWorld Example of JAX-WS (client - service) with explanations?...
Lookout asked 14/5, 2013 at 7:18

0

Is there any open-source jax-ws handler that implements policy-based WS-Security that does not depend on cxf or axis2 ? My main use case is to implement webservice clients, but using cxf or axis2 ...
Trey asked 23/12, 2014 at 13:23

3

I created a JAX-WS webservice, using JAXB annotations on some request fields to make them mandatory. @XmlElement(required = true) protected String number; The WSDL generated by cxf-java2ws-plugi...
Sleeping asked 10/12, 2014 at 10:1

0

While running wsdl2java I was getting below message: I am using cxf 3.1 with jdk 7 my wsdl2java command is as below wsdl2java -d C:\esub\.cxftmp/src -classdir C:\esub\build\classes -p http://www...
Keldon asked 16/12, 2014 at 2:49

© 2022 - 2024 — McMap. All rights reserved.