Questions tagged [jax-ws]

JAX-WS is the JSR 224 defining a Java API for XML-Based Web Services

Specifications:

  • JavaTM API for XML-Based Web Services (JAX-WS) 2.0 - JSR 224
  • Web Services Metadata for the Java Platform 2.1 - JSR 181
  • Web Services for Java EE, version 1.3 - JSR 109


Implementations:


Useful links:

JAX-WS Reference Implementation (RI) Project

4067 questions
2
votes
1 answer

How can I generate list setters for the JAX-WS commons Maven plugin?

I've been using wsimport to generate client stubs and supporting classes. I have a particular class that holds a list and wsimport does not generate a setter for this list (which I need). I've read where setting the collectionType to "indexed"…
josh-cain
  • 4,997
  • 7
  • 35
  • 55
2
votes
2 answers

How to detect if a call to a REST server in java was from a mobile device?

I have developed a REST based server in java for Android devices and Desktop Devices and now I want to make a difference between those two entities. I want to know when an Android device is accessing the methods(Create/Read/Update/Delete) and when…
Ion Morozan
  • 783
  • 1
  • 9
  • 13
2
votes
1 answer

Consuming a web service with usernametoken profile with pwd digest

guy's, pleeaseee help me!!! I created a web service which use UserNameToken Profile security with Password type like 'digest'. When i try to use the webservice from SOAP-UI (sending the information in the head of the xml) i can consume the…
Elvis Oliveira
  • 941
  • 2
  • 15
  • 29
2
votes
1 answer

Exposing JAX-WS web service as spring bean

Is this possible to somehow expose JAX-WS web service as spring bean? I need to set some objects into my implementation class, but I want to do this using spring.
user1376810
2
votes
1 answer

Confusion about web services

We have some existing Java code running on a Tomcat server that we want to allow code on another machine to execute, so we are looking into web services. I am new to web services and I think I'm probably doing something wrong here. I have followed…
pacoverflow
  • 3,726
  • 11
  • 41
  • 71
2
votes
1 answer

Mule IDE unable to generate JAX-WS client

Using Mule IDE version 3.2.3 to invoke JAX-WS web service. In the "Import WSDL" dialogue after entering the WSDL URL and package name the JAX-WS client generation fails with error message Error generating from WSDL: Thrown by JAXB : A…
Vineet Bhatia
  • 2,469
  • 4
  • 30
  • 28
2
votes
0 answers

Too many WSP5018: Loaded WSIT configuration in server.log

In my glassfish server.log I found too many and frequent messages as WSP5018: Loaded WSIT configuration from file: file:/usr/src/glassfishv3.0.1/glassfish/domains/domain1/applications/MY_APP/META-INF/wsit-client.xml. I think it appears when jax-ws…
Giuseppe
  • 125
  • 2
  • 14
2
votes
1 answer

jaxws noSuchMethodError in javax/wsdl/Operation.getExtensibilityElements

When I create a ws client in IBM WAS 6.1 as a dynamic project the client works just fine. But when we do the same thing and try to integrate the client in an existing project which has many other jars we get the following error just before we try to…
Selvakumar Arumugam
  • 79,297
  • 15
  • 120
  • 134
2
votes
2 answers

SOAP request. Convert string to byte array

I have Soap WS on Java. Here is soap request
Ilya
  • 29,135
  • 19
  • 110
  • 158
2
votes
0 answers

SoapFault - faultcode: 'S:Client' faultstring: 'Cannot find dispatch method in Android calling JAX-WS

I am trying to call a java webservice deployed in my localhost in glassfish server from Android using KSoap2 API.I am getting the following exception in logcat: 04-22 02:24:53.251: W/System.err(251): SoapFault - faultcode: 'S:Client' faultstring:…
soumitra chatterjee
  • 2,268
  • 9
  • 26
  • 48
2
votes
1 answer

Spring does not autowire beans with JAX-WS webservice end points

I am trying to consume a JAX-WS webservice written by me. I always get nullPointerException for spring autowired annotated beans. However, everything works fine within serverSide over web, but accessing beans through JAX-WS webservice. I have tried…
rohit
  • 602
  • 4
  • 11
  • 24
2
votes
1 answer

JAX-WS: Place a wrapper around an ArrayList being returned

I have the following endpoint interface: @WebService public interface SEIWebService { @WebMethod @WebResult(name="CreateWorkOrderItemResponse") CreateWorkOrderItemResponse createWorkItem(@WebParam(name =…
Ascalonian
  • 14,409
  • 18
  • 71
  • 103
1
vote
1 answer

JAX-WS webservice security issue

I'm trying to create a JAX-WS webservice with security enabled. I followed this tutorial and done it with a previously built webservice of my own. It's just a simple webservice that returns the current time. So the client is on a stand alone Java…
Switch
  • 14,783
  • 21
  • 69
  • 110
1
vote
1 answer

clientgen generated PortType_Stub cannot be cast to javax.xml.ws.BindingProvider

While trying to access a webservice through a client, I am not able to get the requestContext. I am trying to access the requestContext like this: QuerySysStatService querySystem=new QuerySysStatService_Impl(wsdl); QuerySysStatPortType…
user1096318
  • 31
  • 1
  • 1
  • 6
1
vote
1 answer

Distributed Java best method for client callback method

Im trying to implement an Observer/Observable pattern on an EC2 instance. I have been able to create the application using RMI relatively simply. However trying to get RMI and the Amazon cloud to work has been neer impossible for client…
Ben Flowers
  • 1,434
  • 7
  • 21
  • 49
1 2 3
99
100