jax-ws Questions
1
Solved
I am trying to compile my maven project, but can't do this. I get this issue:
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/xml/bind/api/TypeReference
at com.sun.xml.ws.db.gl...
8
I am trying to generate my WSDL for webservices but I get this error:
Note: ap round: 2
Exception in thread "main" javax.xml.ws.WebServiceException: Unable to create JAXBContext
at com.sun.xml.i...
Wildfowl asked 29/8, 2011 at 15:36
3
Solved
What are JAX WS Interceptors? Where do I find info regarding the same!
Innsbruck asked 9/9, 2009 at 8:39
1
Solved
We are calling web service for which using cxf-codegen-plugin for code generation from WSDL and have configured JAX-WS client in Spring xml as follows:
<jaxws:client id="abcApiInterface" servic...
Plaid asked 15/6, 2017 at 19:46
0
I have a jaxws:client configuration like below. Would like to know where can I get the full list of key I can pass into the jaxws:properties map?
Example:
schema-validation-enabled
mtom-enabled
se...
4
Solved
What is the difference between:
JAX-WS
Axis2
CXF
All three can be used to create webservices in Java.
As of I know JAX-WS is a specification and Axis2 and CXF are implementations, but Java 1.6 ...
Manipulator asked 19/7, 2012 at 17:56
4
The XPath expression in my external binding files can't target the elements in my XML schemas which are imported into my WSDL.
Everything runs if I do inline binding customization but I really wan...
3
I have JaxWS web service client which has been running succesfully in Java 6 for years. Now when Java was upgraded to version 8, we are getting NullPointerException when getting port
java.lang.Nul...
Sempstress asked 22/9, 2015 at 15:7
1
Environment:
Spring MVC : 4.1.7.RELEASE
CXF: 3.0.0
java: 1.8
web.xml --- loads appContext.xml (spring cofigs) & cxfContext.xml (configs for cxf)
spring-servlet.xml --- loading the spring ...
Prism asked 1/12, 2015 at 4:52
4
Solved
I try to run my project by tomcat7. after the generation of the wsdl file of my webservices by jax ws maven plugin (and it generated by success) but tried to view the wsdl file in the browser but n...
2
Solved
There is an excellent article by Young Yang that explains how to use wsimport to create web service client artifacts that have asynchronous web service calls. Asynchrony requires that the WSDL has ...
Grab asked 1/7, 2012 at 15:18
2
Solved
I am using JAXWS to generate a WebService client for a Java Application we're building.
When JAXWS build its XMLs to use in SOAP protocol, it generates the following namespace prefix:
<env:Env...
Superphysical asked 2/10, 2010 at 14:20
4
Solved
I am quite new to web services, JAX-WS etc. so maybe noob question...
So, I want to implement a web service to make two systems communicate. The "client" system is interested in events that are ge...
Sidestep asked 8/3, 2013 at 9:45
5
Solved
The Error
I am using wsimport in a Java project to generate sources for three SOAP web services. The first two work fine: I use the JAX-WS Maven plugin to grab the WSDL file and generate correspon...
3
Solved
How can I specify a JAXB Binding for an imported XSD within a WSDL when using wsimport?
I tried following binding, which causes the error "XPath evaluation of //xs:element[@name='isFoobar'] result...
2
I was reading about message exchange patterns (MEP) in web services.
I came across a pattern called Solicit Response.
I googled it but did not find much information about it and its usage.
Can an...
Volding asked 11/6, 2012 at 9:8
1
I have a java web service hosted in Apache Tomcat. Tomcat Server.xml file have an entry like this:
Connector port="8025" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443"
But, t...
Akihito asked 23/5, 2014 at 17:44
3
Solved
Using Java 1.6 wsimport I generated source from a WSDL for a web service. One of the fields in the request structure has type xs:dateTime in the XML schema included by the WSDL and type javax.xml.d...
Valle asked 9/12, 2011 at 16:6
3
I have a third party jar that ships with a jaxb-impl.jar and includes it in its manifest classpath. The problem is, it seems as though supplying your own version of JAXB (regardless of which versio...
Rf asked 4/1, 2013 at 17:46
4
I'm trying to start a jax ws & rs server endpoints, I can get them started using rs-api 2.0 (and version 2.0.1) but when I try to make a request it throws
java.lang.NoClassDefFoundError: javax...
1
I am working on a client APP which communicated with the third party API though SOAP. The App runs fine on my local machine but becomes slow by 10x on uploading to AppEngine, on further investigati...
Waxman asked 3/10, 2016 at 18:11
2
Solved
I have a method inside a webservice, with the following signature:
@WebResult(name="purchaseId") public int CreatePurchase(
@XmlElement(required=true)
@WebParam(name = "item") String item {
......
Funchal asked 21/11, 2011 at 11:56
3
Solved
I want to upgrade my jaxws to 2.2 (jdk1.6 comes bundled with jaxws 2.1). My jdk is (I did not install public jre):
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java...
2
Solved
I would like to configure my JAX-WS client to send messages in ISO-8859-1. Currently UTF-8 is used.
Here is what the client tries to do:
Map<String, Object> reqContext = ((BindingProvider) ...
Licorice asked 4/11, 2012 at 7:34
1
I am working on a project which already had metro based web-service client implemented. Now, I needed to add another client for different service. I implemented new client, but now it throws except...
Xeniaxeno asked 2/11, 2016 at 15:22
© 2022 - 2024 — McMap. All rights reserved.