Most voted "jax-ws" questions
JAX-WS (Java API for XML Web Services) is a Java API for creating web services. It is part of Oracle’s Java EE platform. If the question is not about "JAX-WS", do not use this tag even if you are using "JAX-WS" in your project.
Learn more…14 questions
Sort by count of
-
4
votes1
answer554
viewsInjection of Beans Spring into JAX-WS / Tomcat 7 (@Webservices) - Does not work, returns Nullpointerexception (NPE)
I’d like to inject (@Autowired or @Resource) Beans created by Spring (3.x or 4.x) in a class that implements a JAX-WS interface (reference implementation). I tested on Tomcat 6 and it works, but on…
-
2
votes1
answer1110
viewsHow does Webservice SOAP/Rest work with JAX-WS?
I spent a whole day studying and finally managed to perform authentication with Webservice SOAP using JAX-WS, using Eclipse generated client. When adding the password and password to the SOAP…
-
2
votes1
answer1199
viewsWhen I use an "Endpoint" class to publish a Web Service, where is the WSDL created?
For example, I have 3 classes in my Web Service: 1 - A SEI (the web service interface): package calc; import javax.jws.WebService; import javax.jws.WebMethod; import javax.jws.soap.SOAPBinding;…
-
2
votes0
answers162
viewsHow to generate XSD that requires sending the contents of an XML element using JAX-WS
I’m creating a web service with JAX-WS. In an operation, I receive an object that contains some attributes and I want these attributes to always come with value. @XmlRootElement…
-
1
votes1
answer395
viewsError deploying SOAP web service with Maven and Apache Tomcat
I built a JAX-WS application by Maven, but I’m unable to deploy it to the Tomcat application server. They follow my artifacts: pom.xml: <project xmlns = "http://maven.apache.org/POM/4.0.0"…
-
1
votes1
answer940
viewsConsume Webservice passing object as parameter
I have the Webservice and send the object Cliente as a parameter, I would like to know how to make it work, and it create a suitable WSDL when running Server, so I can make the call on a Client…
-
1
votes1
answer259
viewsDeclare XML namespaces in classes imported by WSDL (Jax-Ws)
I’m developing a Webservice application using Jax-Ws. In this model after importing the WSDL the IDE generates the classes that will be used in the information exchanges. But when creating the…
-
1
votes1
answer52
viewsError including name attribute in @Webservice
I am creating the class that implements the WS call and when trying to include the name attribute, this error appears: "@WebService annotation contains an endpointInterface attribute. No name…
-
0
votes1
answer113
viewsSimplejaxwsserviceexporter - Baseddress
I created a web service with JAX-WS and used Spring to put it online and also to decrease the use of XML. Problem is that when I declare the Simplejaxwsserviceexporter in the Spring configuration…
-
0
votes1
answer393
viewsThe constructor Service(URL, Qname, Webservicefeature[]) is Undefined
I am consuming a Webservice in my Java application and am encountering the following error: The constructor Service(URL, Qname, Webservicefeature[]) is Undefined public AnaliseCredito(URL…
-
0
votes1
answer284
viewsHow to read return of a java function
I use a third-party Ged platform that provides web-services JAX-WS. There is a method called `getInstanceCardData that returns the value of the form record fields of a request. Follows the signature…
-
0
votes0
answers216
viewsJava - Generic Type as parameter of the readEntity method of Jax rs client
I want to abstract a post method from my code, using Generic type to facilitate implementation. The code is a Ws client using Jax-rs. The following public T2 post(T1 requisicao, String path){…
-
0
votes1
answer42
viewsHow can I reconnect to the database by putting variables on standalone instead of in Java code
I need to include the variables urlLot, user and pass in the standalone so you don’t have to change the code and recompile every time I switch environments. Unfortunately I can’t think of any way to…
-
-1
votes1
answer63
viewsJAX WS RS JPA does not return Onetomany relation in JSON
In my relationship, a Call is related to many Histories. The key to the Call is present in each History. When consulting a History by code, there is a @Manytoone relation that returns the Call to…