jax-ws Questions

9

Solved

I'm new to both Web Services and RMI and I wonder which is the better way to do remoting between different web applications, when these applications are all written in Java, that is when diff...
Alvaroalveolar asked 19/9, 2008 at 10:32

3

Solved

I am trying to call a jax ws web service from a stand alone java class(containing the main method). I have tried this in SOAP UI and there it returns the response. My Java Code : Inside the main()...
Christiano asked 6/9, 2013 at 9:20

2

Solved

How can I configure a web service generated by WebLogic 10.3.6 using JAX-WS to include the object schema inside one single WSDL file declaration, instead of an import declaration? Example code: I...
Mikimikihisa asked 4/12, 2014 at 12:14

3

Solved

My JAX-WS war contains following entries. WEB-INF/lib/ WEB-INF/beans.xml // empty WEB-INF/lib/commons-logging-1.1.1.jar WEB-INF/lib/corrs-beans-1.0-alpha-1-SNAPSHOT.jar // EJBs are here WEB-INF/li...
Linseed asked 31/12, 2012 at 8:31

3

I'm using Oltu for Oauth2. When using @Context HttpServletRequest request I am unable to retrieve post data When I am using @FormParam I am able to retrieve post data. On passing request to OAut...
Chappy asked 13/3, 2014 at 11:13

3

Solved

I have a Web Service which I am trying to Autowire a variable into. Here is the class: package com.xetius.isales.pr7.service; import java.util.Arrays; import java.util.List; import javax.jws.Web...
Backbreaker asked 18/2, 2011 at 12:15

5

Solved

I'm trying to implement simple web service client for PayPal Express Checkout API using JAX WS. PayPal Express Checkout API provides WSDL file, from which I was able to generate Java classes using ...
Ge asked 18/5, 2012 at 14:35

2

Solved

The use case is that the application (running on JBoss 5) must operate on very limited bandwidth. Currently every time we go to make a webservice call we request the wsdl and recreate the stub usin...
Player asked 7/12, 2010 at 22:25

2

Solved

I want to share an object between my servlets and my webservice (JAX-WS) by storing it as a servlet context attribute. But how can I retrieve the servlet context from a web service?
Proceed asked 4/11, 2008 at 9:39

2

Solved

Im trying to deploy a project containing an JAX-WS Interface to a wildfly 8.2 server. The project is packed as a war. Within that project I would like to use interceptors. import org.apache.cxf.bi...
Mydriasis asked 28/6, 2015 at 11:22

2

Solved

I'm looking for a maven plugin for creating (wsgen) and importing (wsimport) web service into my projects but seems none of them working with JDK 8 so I can not compile my whole project with JDK 8 ...
Tasman asked 15/2, 2016 at 11:58

2

Solved

I'm just confused with ws-addressing. Wikipedia says it is a specification of transport-neutral mechanisms that allow web services to "communicate addressing information". Communicate addressing ...
Fayre asked 29/3, 2013 at 15:5

4

Solved

I've got a Java web service in JAX-WS that returns an OutputStream from another method. I can't seem to figure out how to stream the OutputStream into the returned DataHandler any other way than to...
Shinleaf asked 14/5, 2009 at 21:53

5

I'm using Jersey 2.3 My WS endpoint class : @Path("/employees") public class EmployeeWSEndpoint { @Context Request request; @GET @Path("/allEmployees") @Produces(MediaType.APPLICATION_JSON...
Craigcraighead asked 1/10, 2013 at 10:37

4

I would like to write a JAX-WS web service that signs my SOAP messages using the http://www.w3.org/TR/xmldsig-core/ recommendation. With what I found on the internet I wrote a JAX-WS handler (SOAP...
Brigidbrigida asked 29/9, 2011 at 13:50

2

Solved

I've created a webservice client with cxf with the xew plugin for list unwrapping The problem is that the null in the list disappear. E.g.: I have an Request with a List<String> with String...
Abirritant asked 15/12, 2015 at 14:0

3

I'm trying to consume a web service exposed by a provider. The Provider has a strict checking at his end that the request xml should not contain tags which don't have values. I'm using Jax-WS. If...
Pasteurizer asked 26/6, 2012 at 20:34

4

Solved

I have a custom SOAP message handler for incoming messages that will run different code based on which operation is being called. My first try to get the operation name looked something liket this:...
Wilmoth asked 23/11, 2012 at 20:20

2

I wrote 2 web services, one with Jax-WS and one with Jax-RPC. They just return a String. I stress-tested both with jMeter and, strangely, thereby Jax-RPC was a bit faster. When do I really profit f...
Drudge asked 22/7, 2010 at 9:42

6

What are the advantages of using a dynamic client with JAX-WS services as opposed to just using generated client classes? What are the disadvantages? **For my particular case I am using Apache CXF...
Briefs asked 13/11, 2009 at 17:29

3

I'm trying to use wsimport to generate classes from a WSDL. I'm using the Maven POP generated by Netbeans (7.1) but I get the following output when I attempt to build it: [jaxws:wsimport] Process...
Unexampled asked 9/4, 2012 at 12:28

4

I have a WSDL file from outside WS that i'm connecting to. And I'm trying to get it working with CXF (works fine with JAX-WS). But I'm getting error from other system. So I decided to take a look a...
Inedible asked 1/8, 2013 at 7:14

5

Both <binding> and <portType> seem to define an operation and its message. I don't quite understand, why are they both necessary?
Apollyon asked 22/12, 2010 at 16:34

1

I have a WSDL file for a service implemented in .NET. I also have the same file with some "customizations" made by a 3rd-party to make the file tolerable to wsimport, mostly of the form: <s:ann...
Perpend asked 13/9, 2013 at 14:54

2

I'm experiencing an odd networking problem connecting to a web service running on glassfish from a java client running on tomcat using JAX-WS (Metro). Here's the scenario... Both servers are runn...

© 2022 - 2024 — McMap. All rights reserved.