Creating a custom bindings

2008-02-13 Thread Shaw, Richard A
Does anybody have any tips (where to start) on how to create a custom binding ? I created a custom binding for the old Celtix to handle simple arrays of data in CSV format, this was used to load data from CSV files as if I had requested the data from a web service. It was very useful because I

Re: Lazy instantiation of Web Service Client

2008-02-13 Thread Daniel Kulp
On Tuesday 12 February 2008, rsheldon wrote: Thanks to everyone for their help on this. It turns out that despite some logging that made me think it was connecting to the web service, CXF actually doesn't talk to the remote server until it's first used. I double checked this with

Client side plain SOAP invocation

2008-02-13 Thread silithus
Hello, I was wondering if Cxf provides client side plain XML/SOAP invocation capabilities. Ideal case would be to pass SOAP messages (in form of java IO stream for example) directly to some client-side Cxf facility which will send it to the server, and to receive response in same form. This is

Re: Client side plain SOAP invocation

2008-02-13 Thread Freeman Fang
Hi, Yeah, what you need is dispatch/provider, you can find the example from the cxf kit. Freeman On Feb 13, 2008 9:04 PM, silithus [EMAIL PROTECTED] wrote: Hello, I was wondering if Cxf provides client side plain XML/SOAP invocation capabilities. Ideal case would be to pass SOAP

Re: Client side plain SOAP invocation

2008-02-13 Thread Daniel Kulp
No, not really.The dispatch stuff allows raw soap sending, but it's through the SAAJ API's, not raw streams. Possibly a Dispatch(Source) and pass it a StreamSource, but I honestly think we'll parse it into DOM and then send it. (also, that won't support attachments). If you really need

Replica aware client

2008-02-13 Thread blacksheep
Hi, Is there a way to configure CXF generated clients to access WS server stack with a timeout value ? Thanks, Mustafa -- View this message in context: http://www.nabble.com/Replica-aware-client-tp15459476p15459476.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: Replica aware client

2008-02-13 Thread Daniel Kulp
There are several timeout things available for configuring the http stuff on the client side. See: http://cwiki.apache.org/CXF20DOC/client-http-transport-including-ssl-support.html Dan On Wednesday 13 February 2008, blacksheep wrote: Hi, Is there a way to configure CXF generated clients

how to configure HTTPConduit for client using java code

2008-02-13 Thread yulinxp
User's guide shows how to configure HTTPConduit for client using java code http://cwiki.apache.org/CXF20DOC/client-http-transport-including-ssl-support.html import org.apache.cxf.endpoint.Client; import org.apache.cxf.frontend.ClientProxy; import org.apache.cxf.transport.http.HTTPConduit;

doesn client need to use AegisDatabinding if server does

2008-02-13 Thread yulinxp
If CXF server uses SimpleFront end/AegisBinding, does the cxf client need to use ClientProxyFactoryBean to set AegisDatabinding? I am very confused. -- View this message in context: http://www.nabble.com/doesn-client-need-to-use-AegisDatabinding-if-server-does-tp15459869p15459869.html Sent

Re: doesn client need to use AegisDatabinding if server does

2008-02-13 Thread Benson Margulies
No. If you get the WSDL from the server and feed it to whatever kit you want, including CXF with JAXB, it works. Unless you find a bug. The Java you get may be quite different from the Java on the server side, however. On Feb 13, 2008 11:41 AM, yulinxp [EMAIL PROTECTED] wrote: If CXF server

Re: Replica aware client

2008-02-13 Thread Mustafa Egilmezbilek
Thanks for the answer, Dan. What I meant with replica-aware is the alternative URL(s) that is used by client when server is down or the connection or recieve times out. Thanks. On Feb 13, 2008 5:11 PM, Daniel Kulp [EMAIL PROTECTED] wrote: There are several timeout things available for

JAX-RS No service found using Spring and JBoss

2008-02-13 Thread rm-ramos
Hi guys, I'm trying to move from HTTP-Binding RESTful services to the new Java standard JAX-RS using CXF+Spring, deployed on JBoss. However I can't seem to make it work due to a No service found problem. I've been trying to get help from multiple sources, including CXF's IRC channel, but

Re: JAX-RS No service found using Spring and JBoss

2008-02-13 Thread Sergey Beryozkin
Hi I think someone was able to run a JAX-RS HTTPS demo in a tomcat container. I myself has always been confused about the way CXFServlet matches requests. Can you please try /rest in both the spring config and URLTemplate ? If you could run your Tomcat in a debugger then it would be ideal in

Re: CXF client SSL configure question

2008-02-13 Thread yulinxp
To answer my own question, I still need to set HTTPConduit for Client running in Tomcat. The SSL configuration for tomcat is for server application only?? yulinxp wrote: CXF server is running in JBoss. JBoss has enable SSL on it. CXF client is another web application running in Tomcat in

Re: Deploy my service implementation separately from my security configuration?

2008-02-13 Thread jason . laskowski
Dan, I actually got your suggestion working under JBoss 4.0.4GA but am having issues with running under Websphere. I am using the SAAJ api's to send the request to the real server and then the generic service takes care of wrapping the security onto the response. The service interface keeps

Re: soap fault question

2008-02-13 Thread David CastaƱeda
In a previous thread some ask for other samples projects ideas... what are the possibilities of adding a sample of fault handling (Soap Fault Handling, @WebFault). I have been trying for long to implement correct fault handling, but :(, or maybe some more explicit documentation.. so I can

Issue with WSDL or CXF

2008-02-13 Thread Kyle.Bober
I have a Simple WSDL from which I generate the client and server code using the applicable Maven2 plugins. My WSDL is as follows: ?xml version=1.0 encoding=UTF-8 standalone=no? wsdl:definitions name=UserService xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/;

Re: Issue with WSDL or CXF

2008-02-13 Thread Daniel Kulp
Kyle, From the stack trace, it's getting a fault back from the server. Thus, the question is: why is the server sending back a fault? Two things that would help figure that out: 1) If you can use wireshark or tcpdump or something to get the wirelevel messages, that can sometimes help.

Re: Replica aware client

2008-02-13 Thread Daniel Kulp
Mustafa, There is support for some FailoverStrategy things in CXF, but I'm struggling to find any documentation for it on our wiki or even in the code. The best I can do right now is to point you at IONA's commercial product docs at:

Re: soap fault question

2008-02-13 Thread Daniel Kulp
On Wednesday 13 February 2008, David CastaƱeda wrote: In a previous thread some ask for other samples projects ideas... what are the possibilities of adding a sample of fault handling (Soap Fault Handling, @WebFault). I have been trying for long to implement correct fault handling, but