jax-ws Questions

3

Solved

I would like to find a way to generate nice REST API documentation out of java code (WADL or HTML) - based on JAXB, JAX-RS annotations and java doc comments (no doclet please). Here is my pr...
Denticulate asked 3/1, 2012 at 8:29

1

i have like this below code in order to start to publish wsdl package my.mimos.stp.MelodyWS.webservice; import javax.xml.ws.Endpoint; public class Server { public static void main(String[] ...
Triune asked 9/5, 2013 at 3:47

2

Solved

I'm new to web services and I created a basic project in eclipse with one exposed method. I was able to deploy my webservice and it works fine. The code is below. import javax.jws.WebMethod; impor...
Bergstein asked 7/5, 2013 at 11:46

1

Solved

I am a new to Java EE Services. In my project they will be using JAX-WS with Apache CXF. I want to know what is Apache CXF? I can use plain JAX-WS to create Web Services. Why should I use Apache CX...
Apparition asked 28/4, 2013 at 7:11

2

Solved

I'm developing a web service with several methods taking as input identical complex data types. The data types have JAXB annotations and setters and getters, and the web service class has JAX-WS an...
Friseur asked 18/4, 2013 at 8:49

2

Solved

I'm getting started in developing web services using JAX-WS. I'm trying to implement classes I can send between my service and client using JAXB, but having trouble getting it to work. I've ...
Pony asked 20/4, 2010 at 2:1

2

Solved

I made a small web service using JAX-WS. The WSDL file has TYPES element like this. <types> <xsd:schema> <xsd:import namespace="http://ws.poc.mawia/" schemaLocation="http://localh...
Currency asked 16/4, 2013 at 6:52

3

Solved

Is there a framework, library or technique that combines JAX-RS and JAX-WS (or equivalent functionality) into one combined service in a similar way to using two endpoints (one SOAP and one REST) fo...
Airlift asked 17/2, 2011 at 22:25

2

Is it possible to specify security policy assertions when deploying a JAX-WS service in Axis2? So far I found only one way which is to configure policy globally (i.e. in axis2.xml). But can it be d...
Mechanical asked 10/3, 2011 at 20:13

3

Solved

I have hard times using maven to generate my web service client. So please refer to Creating a web-service client directly from the source for the first part of my question. To keep it simple and s...
Omophagia asked 28/1, 2010 at 21:39

2

Solved

From the client side, if I want to access a web service, I would simply generate a proxy for it using wsimport. That is my web service reference. Where then does the annotation @WebServiceRef come...
Neddra asked 27/3, 2013 at 14:22

2

Solved

I am creating a web service using JAX-WS (I am creating this using the Java to WSDL approach). Im having trouble getting my exception to work as I require. I have created the following exception ...
Lining asked 12/3, 2013 at 10:4

1

Solved

SAAJ: SOAP with Attachments API for Java MTOM: SOAP Message Transmission Optimization Mechanism My simple understanding: they deal with SOAP attachments, with MTOM being the more optimized versio...
Vardhamana asked 18/3, 2013 at 15:31

1

Solved

I have a simple ant script to build my classes from a sdl. Unfortunately wsimport fails immediately. I suspect it has something to do with classpaths. <taskdef name="wsimport" classname="com.su...
Impeachable asked 15/3, 2013 at 10:29

2

Solved

Before anything else, I want you to know that I can already connect to the web service server. I'm asking this question because I want to gain a deeper knowledge on how a wsimport generated client ...
Stanford asked 3/9, 2012 at 3:52

1

Solved

I've tried deploying my app to both Tomcat 6 with Metro/Jersey and Glassfish 3.1.2, but accessing the WebServiceContext resource always causes a null pointer exception, except when I test the app u...
Aspa asked 11/3, 2013 at 19:11

1

Solved

I know how to generate client stubs using Apache CXF. However, when I try to run the generated classes, it uses JAXWS. Also, I notice that the import classes of the generated classes are from the j...
Sciential asked 4/3, 2013 at 8:11

2

Solved

See the JAX-WS Maven repository from java.net - http://download.java.net/maven/2/com/sun/xml/ws/ There are two similar folders - jaxws-rt and jaxws-ri. Currently, I'm using the jaxws-rt and it's w...
Kasper asked 23/3, 2011 at 5:54

2

I have a standalone batch program which runs on jdk1.6.0_31. This standalone program has JAX-WS client and EJB client. JAX-WS client was working fine without adding any jars until I added wlfullcli...
Geelong asked 31/7, 2012 at 16:7

2

I am trying to use jaxws maven plugin to generate source for my web service client and getting following exception; [ERROR] Failed to execute goal org.jvnet.jax-ws-commons:jaxws-maven-plugin:2.2:...
Kalikow asked 12/12, 2012 at 14:0

1

The is code first approach to Jax-WS web service. @WebService (serviceName = "MyInstallPhotoService") @SOAPBinding(style=SOAPBinding.Style.DOCUMENT, use=SOAPBinding.Use.LITERAL, parameterStyle=SOA...
Stillwell asked 25/2, 2013 at 16:36

2

I have the following data type defined in a wsdl: <?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions name="myService" targetNamespace="http://example.com" xmlns:wsdl="http://schemas...
Fisch asked 29/11, 2011 at 15:12

2

Solved

I want to create a REST Jersey Web-Service accepting JSON string as input parameter. Also I will use post requestand from webmethod I will return one JSON string. How can I consume this in a HTML...
Spiculum asked 31/1, 2013 at 9:36

3

Solved

I have a WebService that returns as the result of the Invokation of the Web-Service a ResponseObject called "CustomerResponse". When I implement this object "from scratch" everything works fine: My...
Emblazonment asked 14/11, 2009 at 13:45

1

I'm currently working with the Dynamics CRM 4.0 webservice. First thing I did, was generating the right classes with wsimport for Java/JAX-WS based on the WSDL of the webservice. While generating t...
Toadeater asked 9/5, 2012 at 12:1

© 2022 - 2024 — McMap. All rights reserved.