jax-ws Questions
2
Solved
Just like the title says.
@WebService(
targetNamespace = "http://com.lalaland.TestWs",
portName = "TestWs",
serviceName = "TestWs")
public class TestWs implements TestWsInterface {
@EJB(name...
Larondalarosa asked 10/10, 2013 at 13:54
3
Is it possible to run a single @WebService bean as both secure and insecure at the same time, preferably using the same URL except for the http/https protocol difference?
I am able to run the serv...
Burlingame asked 26/5, 2010 at 10:5
1
Solved
I am experimenting with standalone JAX-WS web services, server and client side (meaning, not running inside a Java EE container). A good SO post showing standalone server-side is this one.
For the...
2
I am trying to write custom Java client for Exchange Web Services.
I have generated client stubs using wsimport tool as explained here from EWS's Services.wsdl file. And now I have written code tha...
Folks asked 8/10, 2013 at 11:32
3
Solved
I am trying to generate the webservices client once i build my project on the fly .. It currently does so but put it in package named based on the namespace of the WS.. so lets assume the name spac...
3
Solved
I have created a very simple web service using Netbeans, Java EE6, JAX-WS and TomCat.
It just have one @WebMethod getWsdlURL(), which is supposed to return the URL of my wsdl, and it should be some...
Dibromide asked 4/10, 2013 at 11:56
4
I'm just digging around a bit trying to understand how Java can have standard reference implementations included in the JRE (eg JAXB/JAX-WS in JRE6), while still allowing 3rd-party implementations ...
1
After launching the application and immediately shutting down Tomcat, I receive the following two warnings of Tomcat:
Mrz 11, 2013 11:25:06 AM org.apache.catalina.loader.WebappClassLoader checkThr...
4
Solved
We have been using JAXB 2.1 for a long time in our system. We have a platform that is built with Ant and generates a bunch of bundles that are deployed in an OSGi runtime. We use Java SE 6.
We use...
0
I have followed Michal's guide from his answer to this question [1] on implementing custom annotation for injecting arbitrary things into resource methods. This (gist) [2] contains a minimalistic t...
Bertrando asked 28/8, 2013 at 12:58
3
A typical SOAP client request using JAX-WS might be
FooService service = new FooService();
FooPort port = service.getFooPort();
FooPayload payload = new FooPayload();
payload.setHatSize(3);
payloa...
1
Solved
I am using JAX-WS as a client. I used to use the following system property to log all HTTP requests & responses for debugging:
com.sun.xml.ws.transport.local.HTTPTransportPipe.dump=true
Howe...
4
Solved
I generate some WebServices out of some existing wsdl
I use Maven to do this but some webservices are generated with
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
and the oth...
Sylviasylviculture asked 16/3, 2011 at 10:34
1
Solved
I have a RESTful webservice which will return string and it was written in Java (JAX-WS).
My problem is when I send request to that webservice with URL like :
http://localhost:8080/project/webserv...
2
Solved
Has anyone successfully updated the JAX-WS version used by Weblogic 10.3.3?
I've been trying to do what's described in the accepted answer from here for hours with no luck.
I'm using Maven to res...
Graph asked 3/10, 2012 at 20:49
4
Solved
I've used Jersey for the better part of a year now and have just stumbled upon a problem to which I can't find the answer: how do you intercept (or hook into) the Jersey request lifecycle?
Ideally...
1
Solved
I am trying to port this CORS filter to JAX-RS 2.
However, I do not see how to get the Response object (as in the old code) from the ContainerResponseContext I get passed in the overridden method ...
5
Solved
I'm learning how to develop SOAP web services with Java.
So far now I've been following this excellent tutorial
http://web.archive.org/web/20120626005333/http://java.sun.com/developer/technicalAr...
Lepage asked 24/3, 2010 at 21:29
2
Solved
I need to include more than one WSDL in my Maven JAXWS configuration and I need to specify different output directories for them since some of the method names in wsdlA conflict with method names i...
4
Solved
I'm currently writing a new set of web services using JAX-WS but I'm having difficulties deciding on the best way to validate the inputs. I can do some validation in my implementation classes but s...
2
Solved
I've got a simple command line Java JAX-WS app to test a SOAP request, but the server is expecting the Password Type to be PasswordText and I'm stumped on how to set this...
The code looks like so...
1
I have a lot of endpoints annotated with @WebService(targetNamespace = "mynamespace"). Every @WebResult and @WebParam has the same definition of targetNamespace = "mynamespace".
Is there a way to ...
Id asked 4/6, 2013 at 10:52
2
Just started using JAX-WS. I created 2 test web services in the one WAR file as follows....
package com.djs;
import javax.jws.WebService;
@WebService()
public class AddTwoInts {
public int per...
Categorical asked 30/5, 2011 at 5:6
1
Solved
I have been working on developing CXF web services that sit behind a security proxy which asks for HTTP basic authentication prior service invocation. These services communicate between each other ...
2
I've found a read a number of threads on here about how to retrieve the XML response from a JAX-WS client. In my case, the client is generated from the WSDL via Oracle's JDeveloper product and is g...
Arthrospore asked 20/5, 2013 at 15:1
© 2022 - 2024 — McMap. All rights reserved.