Hi Hez,
You can take the code first approach, see the java_first_jaxws sample for an
example of this.
Seán.
-Original Message-
From: hezjing [mailto:hezj...@gmail.com]
Sent: 13 May 2009 09:43
To: users@cxf.apache.org
Subject: Apache CXF for SOAP over HTTPS
Hi
I have a project that
2009/5/13 hezjing hezj...@gmail.com:
Hi
I have a project that requires us to develop a client/server which send
request/response (over HTTPS) in the following format:
...
There is no WSDL.
Can we use Apache CXF to develop this type of client/server?
You can use Dispatch clients [1] and
Yes. I found the schemagen in the JAXB tools, also available as an ANT
task. And then one can use the schema to generate shell-classes.
However, the tool is not quite working as expected; it keeps generating
a file schema2.xsd and I want a different name :-) So that will
require some more
Hi,
it might be that a JAX-RS runtime does not introspect the parent classes yet,
as far as the injection of contexts is concerned.
The workaround is to add a method to the very top (concrete) subclass :
@Context
public void setServletContext(ServletContext jaxrsThreadLocalContext) {
Tom wrote:
I have copied the code from the CXF manual to get access to the
ServletContext of either the SOAP or REST call and it works ok. However,
I naturally have more that one Service to implement, so I wanted to move
this code to an abstract parent class. When the code is there, only the
In meantime, I will work on ensuring contexts can be injected into
super class fields directly...
That would be great, thanks!
Tom
I have copied the code from the CXF manual to get access to the
ServletContext of either the SOAP or REST call and it works ok. However,
I naturally have more that one Service to implement, so I wanted to move
this code to an abstract parent class. When the code is there, only the
SOAP resource
Hi all,
I'm using a CXF with wss4j and I'm trying to run an example with
SAMLTokenSigned example.
In org.apache.ws.security.transform.STRTransform class, the
enginePerformTransform method executes lookup(thisDoc), but in my app it
returns null.
I modify WSDocInfoStore class (that it contains a
Hi,
What exactly is not working when registering proviers programmatically ?
Are exception mappers not invoked ?
I've added a test which tries to follow your example pretty closely :
Dan,
What do you mean that Spring code explicitly does NOT process any
WebServiceContext resources via the @Resource annotation? Maybe I'm not
getting what you're saying, but I explicitly do use the @Resource
annotation to grab the WebServiceContext for me.
ApplicationContext.xml:
bean
Hi all,
how can I get an example with CXF. I find on internet but I don't try
nothing.
Can you help me.
bye
--
View this message in context:
http://www.nabble.com/CXF-and-Attachments-tp23523555p23523555.html
Sent from the cxf-user mailing list archive at Nabble.com.
On Wed May 13 2009 10:45:47 am Ron Grimes wrote:
Dan,
What do you mean that Spring code explicitly does NOT process any
WebServiceContext resources via the @Resource annotation? Maybe I'm not
getting what you're saying, but I explicitly do use the @Resource
annotation to grab the
So,
you guys have totally lost me.
But, I have managed to get the @Resource WebServiceContext populated by not
doing a silly thing, which I will now gleefully describe to you.
In my applicationContext.xml, I had declared a JAX-RS service to have the
same implementation class as my JAX-WS service.
Ok, got it. I'm only using the
org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcess
or. Plus, my @Resource references the bean id explicitly. So, those
might be the differences.
Ron
-Original Message-
From: Daniel Kulp [mailto:dk...@apache.org]
Sent: Wednesday, May
It looks like you don't have ws-addressing turned on. If you turn on ws-
addressing, then the header should have the action and other addressing
headers added to it.
The WSDL you pointed to actually has a WS-SecurityPolicy policy fragment in
it. Thus, if you use CXF 2.2.x and add the
The Apache CXF dOSGi team is proud to announce the availability of our
first full release, 1.0.
The dOSGi subproject of CXF provides the Reference Implementation of
the Distribution Software (DSW) component of the Distributed OSGi
Specification[1].
Download information may be found here[2]
The
http://www.jroller.com/gmazza/entry/using_mtom_and_apache_fop ? (MTOM, not
SwA).
Kid_79 wrote:
Hi all,
how can I get an example with CXF. I find on internet but I don't try
nothing.
Can you help me.
bye
--
View this message in context:
Hi all,
I am trying to create a client for this WSDL:
wsdl2java https://api-test.yieldmanager.com/api-1.31/contact.php?wsdl
The command exits with this message:
May 13, 2009 12:04:15 PM org.apache.cxf.transport.https.SSLUtils
getCiphersuites
INFO: The cipher suites have not been configured,
For older RPC/encoded web services, you'll need to use Axis 1.x or SAAJ
w/Metro or CXF:
http://www.jroller.com/gmazza/entry/calling_rpc_encoded_web_services
wsdl2java won't work.
Glen
Sven Haiges-3 wrote:
WSDLToJava Error: Rpc/encoded wsdls are not supported in JAXWS 2.0
--
View this
My (cxf) webservice can be called from some clients but not from others.
The webservice is created by something like:
MyConfigServiceImpl configServiceImpl = new MyConfigServiceImpl();
JaxWsServerFactoryBean sf = new JaxWsServerFactoryBean();
On Tue May 12 2009 5:14:13 pm Bruno Ledesma wrote:
Sorry, JBoss is using Spring 2.07 (wrong info)
I just ran the CXF trunk (2.2.x) tests with Spring 2.0.7 and everything
passed. Thus, you should be able to just use the Spring 2.0.7 stuff that
JBoss ships.
Dan
All CXF versions that i've
Thanks!
That solved the problem.
Niels
dkulp wrote:
It looks like you don't have ws-addressing turned on. If you turn on ws-
addressing, then the header should have the action and other addressing
headers added to it.
The WSDL you pointed to actually has a WS-SecurityPolicy policy
Since we need to pull in some bug fixes from CXF 2.2.2 ,can you please let me
know what is the targeted release data?
Hi
I am getting an error generating a client for this wsdl:
http://api.rkd.reuters.com/schemas/wsdl/SignificantDevelopments_1_HttpAndRKDToken.wsdl
[INFO] Thrown by JAXB : Property Value is already defined. Use
lt;jaxb:proper
ty to resolve this conflict. at line 14 column 33 of schema
Thanks a lot Daniel!
After your tests , there are 2 possibilities:
1) CXF its using the Spring 2.5.6 from liferay ( i dont really think this
can cause that exception that i posted)
2) The imcompatibility is with another CXF version... My CXF version its not
2.2.x, its a older one, i´ve tested
On Wed May 13 2009 4:39:49 pm Niels Bo wrote:
Hi
I am getting an error generating a client for this wsdl:
http://api.rkd.reuters.com/schemas/wsdl/SignificantDevelopments_1_HttpAndRK
DToken.wsdl
[INFO] Thrown by JAXB : Property Value is already defined. Use
lt;jaxb:proper
ty to resolve this
Hi,
has anyone experiences with @WebServiceRef for JAX-WS client
development? When using this annotation, my application wont start
anymore. Tomcat just hangs without giving much infos. In fact i have
not seen any info at all. Of course i could go without using
WebServiceRef, but i
27 matches
Mail list logo