jax-ws Questions
1
I'm trying to POST a JAX-RS resource using the Service / Dispatch mechanism. The problem is that the Content-Type of the outgoing request is locked to text/xml. I can't see a way changing this to s...
Coinsurance asked 17/12, 2012 at 8:20
2
Solved
Java 6 shipped with JAX-WS 2.0. Java 5 didn't ship with JAX-WS as far as I know.
I was able to use JAX-WS 2.2.5 with Java 1.6 for creating Webservice client stubs by using the Java Endorsed Overri...
Lafave asked 28/11, 2014 at 5:24
2
Solved
I'm developing WebService with JAX-WS(i'm using wsimport goal on jaxws-maven-plugin). I wrote a WSDL that imports a XSD schema.
WEB-INF/wsdl/service.wsdl
WEB-INF/wsdl/service.xsd
Also I generat...
3
Solved
How can I change the soap address in a web service. I'm working on JBoss 7.1.1.
I have this web service class:
@WebService
public class Card {
@WebMethod
public CardResponseDTO insertCard(
@W...
4
We have a set of web services implemented in JAX-WS and a SOAPHandler that adds control attributes in the SOAP headers.
Today, we need to add the @HandlerChain annotation in every new service we cr...
Leucocytosis asked 14/10, 2011 at 12:17
4
I have some wsimport generated JAXB classes
wsimport -d src/main/java -keep -extension
-p my.package
http://www.OpenLigaDB.de/Webservices/Sportsdata.asmx?WSDL
I will demonstrate the problem wi...
2
I'm comparing the client stubs generated by IBM Rational Application Developer with Java's wsimport and notice that IBM RAD generates an extra class which is the SOAPProxy class. This class allows ...
4
Solved
How do I write a JAX-WS service so the @WebParam of my @WebMethod is a Joda-Time class like DateTime? Will @XmlTypeAdapter on a parameter work? I'm deploying to GlassFish 2.1.
Let me clarify the q...
3
Solved
I have a web service using mutual SSL authentication. I can access it just fine in the browser when I have the client's certificate installed.
I need to be able to access this using wsimport for g...
Larkin asked 7/8, 2012 at 14:36
2
I'm working with a client's WSDL file that uses the same element definition for the input and output messages, but I'm having trouble getting JAX-WS/JAXB to unmarshal the response.
<wsdl:messag...
1
Solved
I have an autogenerated soap webservice client (using cxf), and some elements are marked to be optional.
If I do not set these elements, the XML request send to the webservice has lot's of element...
4
Solved
I am consuming a webservice soa, with netbeans (jax-ws) i use netbeans auto generate client, and all run fine, but i see that the wsdl is always downloading while the client is running.
In product...
Kroll asked 6/11, 2013 at 14:49
2
I am new to Java and trying to jump into WebServices. I found two examples somewhere and I am confused with the available options.
Firstly, javax.jws.WebService with annotation seem to work fine,...
Overawe asked 25/4, 2013 at 10:23
5
Solved
Similar to How can I access the ServletContext from within a JAX-WS web service?, is there a way to access applicationContext, easier than this?
import javax.annotation.Resource;
import javax.jws....
Steatopygia asked 2/3, 2009 at 13:16
2
Solved
I have a webservice soap service that takes an object with an optional list as xml parameter:
@XmlElement(required = false)
private List<String> list;
public List<String> getList() { ...
Chagrin asked 25/8, 2014 at 9:56
1
Solved
My messaging provider gives me two different kinds of WSDLs to use.
http://my.amazonaws.com:8000/webservice/?wsdl
http://my.amazonaws.com:8000/webservice/?singleWsdl
The first one is an embedded...
Anhinga asked 13/8, 2014 at 3:26
2
I have a @WebMethod call
@WebMethod
public int cancelCampaign(String campaignId, String reason);
I'd like to make the campaignId field marked as mandatory. Not sure how to do that.
I'm using a ...
Vassaux asked 28/9, 2012 at 14:50
3
Solved
So I have a simple web service:
@WebMethod(operationName="getBookList")
public HashMap<Integer,Book> getBookList()
{
HashMap<Integer, Book> books = new HashMap<Integer,Book>(...
Smoothspoken asked 19/6, 2012 at 19:20
3
Solved
I hava a Metro jax-ws webservice that looks more or less like this:
@WebService
@Transactional
public class UserManagementServiceImpl {
@Resource
private WebServiceContext context;
...
}
Th...
Aponeurosis asked 28/4, 2011 at 15:19
7
Solved
My webservice provider give me a large WSDL file, but we are going to use only a few function inside.
I believe that the large WSDL have negative impact to the application performance.
We use the...
Raber asked 31/12, 2008 at 2:36
2
Solved
Using code that was generated with wsimport, can the service endpoint be overridden without having to regenerate the code?
I have written a simple java webservice, following are the steps:
I com...
3
I try to access a Sharepoint list via JAX-WS as described here
However, when running the code below I get:
java.lang.Exception: Exception. See stacktrace.com.sun.xml.internal.ws.client.ClientTran...
Relative asked 1/2, 2011 at 16:28
2
Solved
I'm using Netbeans to automatically create webservice clients based off WSDL files. This works well, except the webservices I'm using require that I pass in a custom cookie in the HTTP header to ev...
Caracas asked 5/2, 2013 at 2:19
2
Solved
I have a WSDL file which is from an Axis2 Web Service. When I generate a client stub using wsimport given the WSDL file, the resulting classes require JAXBElement paramaters. Why is it like that?
...
Provender asked 31/8, 2012 at 7:56
3
Solved
I am in the process of learning CXF with the help of this Apache CXF Web Service Development book but, alas, one of the book's sample projects won't even compile!
The code in question is Chapter 3...
© 2022 - 2024 — McMap. All rights reserved.