> WSWS4100E: Method createFault() of class javax.xml.soap.SOAPFactory is
> not supported in SAAJ 1.2.
>
That's the error the concerns me the most. Looks like WebSphere has an
old version of SAAJ or something. JAX-WS requires SAAJ 1.3, not 1.2.
I hate to ask a silly question, but have you
On Friday 29 February 2008, nate roe wrote:
> When I try to download CXF, I have trouble opening the archives
> (tar.gz or zip) in WinRAR or in WinZip. The MD5 hashes for these
> files do not match. This seems to be the case for both 2.0.3 and 2.0.4
> binary distributions.
I just tried the tar.gz
You MIGHT be able to do this:
factory.setStart(false);
Server serv = factory.create();
JMSDestination dest = (JMSDestination)serv.getDestination();
AddressType address = dest.getJMSAddress();
address.setJndiDestinationName();
serv.start();
Dan
On Friday 29 February 2008, Ayush Gupta
AFAIK CXF 2.0.4 uses the JAXB 2.0 and JAXWS API 2.0.
If you are using the JDK 1.6 update 3 or later version , the JDK's JAXB
and JAXWS version are 2.1.
If you build the CXF 2.0.4 source with it , you will get build fail message.
Willem
nate roe wrote:
When I try to download CXF, I have trou
When I try to download CXF, I have trouble opening the archives (tar.gz or
zip) in WinRAR or in WinZip. The MD5 hashes for these files do not match.
This seems to be the case for both 2.0.3 and 2.0.4 binary distributions.
The 2.0.4 Zip source distribution does not appear corrupted. However, wh
It appears to me that I just cannot do this configuration via the API and
must use the WSDL or cxf.xml. It will be great if someone could confirm
this?
If that is true then JMS configuration does seem to go against the "Rules of
Configuration" mentioned at
http://cwiki.apache.org/CXF20DOC/configur
Here is a complete example of a CXF client using SSL and WS-Security. You
don't need cxf.xml configuration file to use this, all is done in Java.
TestClient.java
---
/**
* Please modify this class to meet your needs
* This class is not complete
*/
import java.util.HashMap;
import
You can try something like:
ClassLoader cl = new URLClassLoader(new URL[0],
Thread.currentThread().getContextClassLoader()) {
public InputStream getResourceAsStream(String s) {
if
("META-INF/services/javax.xml.ws.spi.Provider".equals("s")) {
That seems to be an OLD MS based service. Most likely, turning chunking
off will fix it.
import org.apache.cxf.endpoint.Client;
import org.apache.cxf.frontend.ClientProxy;
import org.apache.cxf.transport.http.HTTPConduit;
HPRequestWSSoap port = ss.getHPRequestWSSoap();
Cli
Thank you, removing the wstx-asl jar worked for me on the service. But the
client is throwing following exception after getting the response back from
the service.
Feb 29, 2008 4:29:18 PM org.apache.cxf.phase.PhaseInterceptorChain
doIntercept
INFO: Interceptor has thrown exception, unwinding now
Yes, that makes sense since it is the concrete class which does take over. I
did wish that Jaxb was smarter about handling interfaces.
Thanks for explaining!
-ayush
-Original Message-
From: Daniel Kulp [mailto:[EMAIL PROTECTED]
Sent: Friday, February 29, 2008 1:11 PM
To: cxf-user@incub
Could you pls give me some code snippets?
I don't know how to block the call to
getResource("META-INF/services/javax.xml.ws.spi.Provider")
dkulp wrote:
>
>
> Honestly, I'm not sure there IS a way. I was hoping for at least a
> system property, but looking at the code for jaxws-api, the sys
Right... That's the limitation of how the XmlJavaTypeAdapter stuff
works. It's the concrete class that COMPLETELY drives the generated
schema and what gets written to the wire. All the JAXB annotations go
on that class, not the interface (other than the TypeAdapater
annotation, although
Now using NET, I can connect to it! Using wsimport, I can connect too!
But CXF client doesn't work! The message could be sent!
~~ I
mean could NOT. (typo again)
--
View this message in context:
http://www.nabble.com/How-to
I was trying to use cxf client. But it didn't work for me. Here is my post:
http://www.nabble.com/client-SSL-question-td15564062.html#a15564062
To summarize my problem:
I need to access the web service here:
https://mdf.ingenixmedpoint.com/mdfwebservices/hprequest.asmx?WSDL
I can't connect to url
Daniel,
I tried this and am indeed able to use interfaces as parameters.
However, I did encounter one problem: "The marshalling is being done based
on the concrete class of passed object and not based on the interface
itself"
So, consider this example:
- Lets say that UserImpl has a few additio
It doesn't seem to be working anyway you look at it. I have a fix I'm
testing now. :-(
The "workaround" right now that MIGHT work would be to use spring
configuration to
org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor
to the outFaultChain of the service. That's what my fix is ba
Those all sound good, but unfortunately I am pretty much
a web-services newbie, I don't have a clue how to
implement that, especially the @WebParam sugestion.
Do I need some entries in the WSDL, etc?
the old implementation was basically outputing this:
http://www.foobar.com/connector-1.5/headers_
That all said, can I ask the reason for NOT using CXF for the client?
Dan
On Friday 29 February 2008, Daniel Kulp wrote:
> Honestly, I'm not sure there IS a way. I was hoping for at least a
> system property, but looking at the code for jaxws-api, the system
> property is actually checked las
Honestly, I'm not sure there IS a way. I was hoping for at least a
system property, but looking at the code for jaxws-api, the system
property is actually checked last. :-(
The only way I can come up with that MIGHT work is to create a special
classloader that blocks the call to
getResourc
Those classes generated by wsimport and CXF client are very similar.
For HPRequestWS ss = new HPRequestWS();
wsimport version:
ss-->delegate: [EMAIL PROTECTED]
CXF version:
ss-->delegate: [EMAIL PROTECTED]
How can I force it use WSServiceDelegate not cxf ServiceImpl???
Please help!
--
View thi
So I want to add some custom logging, but first I just tried the
logging example in the wiki page for configuration. I get an
exception on startup. What am I doing wrong? The only
difference I see is between my cxf-servlet.xml and the example is
that the example has no jaxws:endpoint entires.
C
On Friday February 29, 2008 Daniel Kulp wrote:
>
> On Thursday 28 February 2008, Daniel Lipofsky wrote:
> > Well, I still can't figure out what changed.
> > But JBoss does include that class in jboss-jaxws.jar.
> > Removing the CXF version (jaxws-api-2.0.jar) from
> > my install solved the pro
I have a project which uses CXF server to publish my own service.
Now I need to add in a web service client into the project to connect to 3rd
party web service.
I use JAX-WS RI wsimport to generate those class files. It works alone!
But when I add it in my project, cxf client take control!
I do
The documentation talks about configuring JMS transport for a service via
either WSDL or through cxf.xml. Is there a way that I can set or override
these properties using code? More specifically, I'd like to set the
following things at runtime:
1. jndiDestinationName
2. jndiReplyDesti
Interesting. I did a bunch of searches for:
javax.xml.stream.isInterning
and am not finding much. It seems to be some proprietary property IBM
through in for websphere.
That looks like to me is that it's somehow getting some sort of custom
implementation of JAXB that IBM has created (instead
Hi,
I am prototyping with cxf and have some difficulties with a ruby client
I have a simple test service which looks like that:
@WebService
@SOAPBinding()
public interface HelloService {
@WebMethod
public String sayHello();
@WebMethod
public String say( @WebParam(name="w"
On Thursday 28 February 2008, Daniel Lipofsky wrote:
> Well, I still can't figure out what changed.
> But JBoss does include that class in jboss-jaxws.jar.
> Removing the CXF version (jaxws-api-2.0.jar) from
> my install solved the problem.
>
> Is there a list of JARs to avoid for a JBoss install?
Chris,
How are you creating your client in your spring config?
If you are using our jaxws:client namespace handlers, it has an "address"
parameter that would work.
If you are using the JaxWsProxyFactoryBean class in a normal "bean", set
the "address" property.
That should work.
Dan
On Friday 29 February 2008, Davide Gesino wrote:
> I have tried the new snapshot (release 35) with different factories,
> and definetively now everything works fine.
> The pooled factory is pretty cool!!!
Thanks for confirming that it works. :-)
I've been thinking about this more and the new fa
Of course, I typed all that and forgot the most obvious way:
Just add a parameter to your method like:
@WebParam(header = true, mode = Mode.OUT)
Holder header
Dan
On Friday 29 February 2008, Daniel Kulp wrote:
> OK. This is turning into another FAQ type thing that possibly needs
> a sample
OK. This is turning into another FAQ type thing that possibly needs a
sample
There are a couple options open to you:
First, you need the context injected in:
@Resource
WebServiceContext context;
1) Standard JAX-WS API's: throw the value in the WebServiceContext and
in a SoapHandler, us
On Friday 29 February 2008, John-M Baker wrote:
> Sounds great.
>
> Should I be using the Axis2 java2wsdl generator, or CXF's version? I
> can't help feeling that I should let Axis2 generate it... And I
> couldn't get the java2wsdl task to work :)
Well, if the map is in there, it either won't wor
I thought you wrote that you were also failing with CXF java2wsdl?
On Fri, Feb 29, 2008 at 12:17 PM, John-M Baker <[EMAIL PROTECTED]> wrote:
> Sorry, "What's your frustration with java-first and CXF"?
>
> John Baker
> --
> Web SSO
> IT Infrastructure
> Deutsche Bank London
>
> URL: http://websso
Sounds great.
Should I be using the Axis2 java2wsdl generator, or CXF's version? I can't
help feeling that I should let Axis2 generate it... And I couldn't get the
java2wsdl task to work :) Take a look:
Anything look obviously wrong
I have a csae where I want to set something in the SOAP
response header based on what happened in the execution of
the method implementation.
I suppose I want to extend AbstractSoapInterceptor, but what
I can't figure out is how to pass a flag from the method
to the interceptor. I thought about s
On Friday 29 February 2008, John-M Baker wrote:
> Yep, I agree. Or rather, Axis2's java2wsdl has helpfully put that
> namespace in the file. The -p option obviously resolved it for me. I
> assume Axis2 is behaving correctly by generating this WSDL given
> returning a Map must be a fairly common fea
Sorry, "What's your frustration with java-first and CXF"?
John Baker
--
Web SSO
IT Infrastructure
Deutsche Bank London
URL: http://websso.cto.gt.intranet.db.com
"Benson Margulies" <[EMAIL PROTECTED]>
29/02/2008 17:08
Please respond to
cxf-user@incubator.apache.org
To
cxf-user@incubato
It's wrong in my opinion. HashMap's in JAXB are hard, but they can be done.
What's your frustration with java-first and CXF?
On Fri, Feb 29, 2008 at 12:06 PM, John-M Baker <[EMAIL PROTECTED]> wrote:
> Yep, I agree. Or rather, Axis2's java2wsdl has helpfully put that
> namespace in the file. Th
Yep, I agree. Or rather, Axis2's java2wsdl has helpfully put that
namespace in the file. The -p option obviously resolved it for me. I
assume Axis2 is behaving correctly by generating this WSDL given returning
a Map must be a fairly common feature, yet 'claiming' that namespace seems
to be a 'b
It is doing what you asked it to do. You've got namespaces like
http://util.java/xsd";
in your file. You are claiming control of that package. Either change the
namespace or remap it to a package of your own.
There's nothing wrong with returning hashmaps.
On Fri, Feb 29, 2008 at 11:58 A
Thanks, that fixed the problem. I'm returning a java.util.HashMap from one
of the objects - I assume that's where the problem lies? Is this a bad
thing?
John Baker
--
Web SSO
IT Infrastructure
Deutsche Bank London
URL: http://websso.cto.gt.intranet.db.com
"Daniel Lipofsky" <[EMAIL PROTE
WSDL, generated by the java2wsdl Axis2 task. More than happy to try the
CTX java2wsdl process when I can persuade it to work (which I currently
can not!).
http://schemas.xmlsoap.org/wsdl/";
xmlns:ns4="http://ldap.dao.websso.db.com/xsd";
xmlns:ns0="http://ldap.springframework.org/xsd";
xmlns
I'm not sure why it is using that package,
it usually bases the package name off the
namespace URL, but you can override by adding the -p
parameter like this
try that and see if it helps.
- Dan
> -Original Message-
> From: John-M Baker [mailto:[EMAIL PROTECTED]
You'd need to show us your wsdl.
On Fri, Feb 29, 2008 at 11:20 AM, John-M Baker <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm looking for a reliable wsdl2java product and I'm looking at CXF. I've
> generated a set of sources from a WSDL but a set of java.util.xsd.*
> sources have been generated. Wh
That looks ok to me. What kind of error do you get?
Bob
-Original Message-
From: John-M Baker [mailto:[EMAIL PROTECTED]
Sent: Friday, February 29, 2008 11:20 AM
To: [EMAIL PROTECTED]
Subject: WSDLtoJava
Hello,
I'm looking for a reliable wsdl2java product and I'm looking at CXF.
I've
Hello,
I'm looking for a reliable wsdl2java product and I'm looking at CXF. I've
generated a set of sources from a WSDL but a set of java.util.xsd.*
sources have been generated. When compiled and run, the VM complains that
java.util is a protected package (because it is).
I'm generating the s
Aegis has interface support. You can specify a map from Class to class
name that maps interface classes to proxy class names, and it will create
objects of the proxy types.
On Wed, Feb 27, 2008 at 10:15 PM, Daniel Kulp <[EMAIL PROTECTED]> wrote:
> On Wednesday 27 February 2008, Ayush Gupta wrote:
I have tried the new snapshot (release 35) with different factories, and
definetively now everything works fine.
The pooled factory is pretty cool!!!
thanks.
Davide
--
View this message in context:
http://www.nabble.com/WebServiceContext-not-injected-in-endpoint-tp15708465p15758714.html
Sent
Thanks Arundel,
I never knew about WSS4J mailing list. I will start a thread in regard
to this on WSS4J mailing list.
With Regards,
Mayank
Arundel, Donal wrote:
Okay, sounds like the certs were as we suspected then :-)
If you were proposing a WSS4J enhancement request for x509TokenProfile
1
When I call the service as a client, it takes 5 seconds to load. I am not sure
whether it takes 5 seconds to create the service or it takes 5 seconds to look
up for ciper filters.
Feb 29, 2008 2:14:42 PM
org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromWSDL
INFO: Cre
Yip, using cxf 2.0.4.
Dan, thanks. That worked a treat. I added this to the code and life is
good.
if (toCall.isUnwrappedCapable()){
toCall = toCall.getUnwrappedOperation();
}
one othe strange thing i'm seeing in my unit tests though is occaisonally
I'm getting this
Sweet! Thanks for looking at this so promptly.
I'll try this tomorrow.
-ayush
-Original Message-
From: Daniel Kulp [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 28, 2008 12:09 PM
To: cxf-user@incubator.apache.org
Cc: [EMAIL PROTECTED]
Subject: Maps and Interfaces as params/returns
53 matches
Mail list logo