Re: JAX-WS handler attachment options within Apache CXF

2007-12-30 Thread Glen Mazza
Jim Ma-3 wrote: I also think we need to provide spring configuration for attaching handler chain through spring configuration . I'd like to see there is api in JaxWsProxyFactoryBean, EndpointImpl and JaxwsServerFactoryBean that we can configure the Handler with spring configuration,

Re: JAX-WS handler attachment options within Apache CXF

2007-12-30 Thread Glen Mazza
OK, I see how you can programatically add handlers to a web service if you are using the manual endpoint.publish() method (similar to the first code block in Logging Messages in [1]) but what if you're creating an SEI implementation that runs with CXFServlet? (i.e., the MyWebServicePortTypeImpl

Re: Is it possible to show incoming and Outcoming raw Soap messges

2007-12-30 Thread Glen Mazza
http://cwiki.apache.org/CXF20DOC/debugging.html, logging messages section. HTH, Glen Am Samstag, den 29.12.2007, 08:32 -0800 schrieb Frank61: Hi! How to show Soap messages in cxf client. Both incoming and outcoming. I want to check response message from WebService before cxf binds it to

Re: Wsdl2java package usage

2007-12-26 Thread Glen Mazza
Am Mittwoch, den 26.12.2007, 14:48 -0500 schrieb Silberman, Nathan: When using wsdl2java, I had been specifying the destination packages for several services to be the same package: com.foobar lets say. This is not problematic for all classes except one: ObjectFactory. The methods in

RE: Wsdl2java package usage

2007-12-26 Thread Glen Mazza
of which I execute with wsdl2java first or second. Any thoughts? I can produce some sample code if this is unclear or if a real example is needed for any diagnosis. -Original Message- From: Glen Mazza [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 26, 2007 11:34 PM To: cxf

Re: Uploading files with CXF

2007-12-22 Thread Glen Mazza
GlassFish Metro's[1] and CXF's[2] MTOM samples should help you. I also blogged on this[3], albeit for server-client transfers of documents, not vice-versa (however the code is much the same for client-server). [1] https://jax-ws.dev.java.net/source/browse/jax-ws/www/2.1.3/samples/mtom/ [2]

Re: Is the Maven2 cxf-http-basic archetype available and usable?

2007-12-17 Thread Glen Mazza
Am Montag, den 17.12.2007, 12:57 -0500 schrieb Joe-D Morrison: Is anyone successfully using the Maven2 cxf-http-basic archetype to start a CXF project? It doesn't seem to be in the central repository - I could only find cxf-http-basic here: http://repo.open.iona.com/maven2/org/apache/cxf/

Re: SOAP flow Compression?

2007-12-17 Thread Glen Mazza
. When you generate the code from your wsdl, a web.xml and a cxf-servlet.xml are generated in the same folder as the wsdl. The same process occurs when you generates your war. And the generated files always overwrite your files... Glen Mazza-2 wrote: Am Donnerstag, den 13.12.2007

Re: Overloaded methods - XFire-CXF with Aegis

2007-12-15 Thread Glen Mazza
Am Freitag, den 14.12.2007, 18:29 -0800 schrieb SBixby: I have a WebService class that has a pair of overloaded methods. I don't believe you can do that with web services[1]--JAX-WS doesn't support overloaded methods. Glen [1] http://forums.java.net/jive/thread.jspa?threadID=29300

Re: Interceptor configuration not working

2007-12-15 Thread Glen Mazza
Am Samstag, den 15.12.2007, 06:12 -0800 schrieb Willem2: Oh, you can't do any configuration on the bus within the cxf-servlet.xml. Because when CXFServlet loads the cxf-servlet.xml the bus has already been loaded. You can use the beans.xml to do some configuration first. You can find the

Re: SOAP flow Compression?

2007-12-13 Thread Glen Mazza
from the cxf-servlet.xml and web.xml files, I added this in my web.xml file: context-param param-nameserverConfig/param-name param-valueWEB-INF/server.xml/param-value /context-param but it is not activated and intercepts nothing...:-( What should I do??? Glen

Re: RPC/Literal vs. Encoded

2007-12-13 Thread Glen Mazza
Am Donnerstag, den 13.12.2007, 12:06 + schrieb Jan Reise: Hi, I am trying to implement a web service prototype using CFX. I have implemented a junit test basically following the CFX how-to (test class code included below). Now I am getting an unexpected error (stacktrace

Re: SOAP flow Compression?

2007-12-13 Thread Glen Mazza
Am Donnerstag, den 13.12.2007, 08:45 -0800 schrieb Tophebboy: I already saw that...But I think I'm missing something...I read it twice and it still doesn't work!! Anyway, I found a way of activating it copying the interceptor bean definition in the cxf-servlet.xml file (I have to this after

Re: WS-Security and Tomcat error

2007-12-12 Thread Glen Mazza
You can also trace your Tomcat-hosted (i.e. web service) code from Eclipse if that would help. (I just figured out how to do this recently myself: http://www.jroller.com/gmazza/date/20071212 .) Glen Am Dienstag, den 11.12.2007, 16:46 -0500 schrieb Daniel Kulp: Any chance you could try with

Re: CXF+ACEGI setting userid/pw on the client side

2007-12-12 Thread Glen Mazza
Comment below... Am Dienstag, den 11.12.2007, 17:24 -0500 schrieb Daniel Kulp: Matt, Somehow I missed this thread. With CXF, you don't need to write a handler to add/get soap headers. We actually allow setting them via the clients request context (and retrieve via response

Re: SOAP flow Compression?

2007-12-12 Thread Glen Mazza
Am Mittwoch, den 12.12.2007, 08:58 -0800 schrieb Tophebboy: Hi everybody! I'm building an application using CXF and it can be used by people having a quite bad network and who have to get big amounts of datas via my web service. When I tested the application on such networks, I found out

Re: Dynamic client basic auth

2007-12-08 Thread Glen Mazza
I'm not sure the Java artifacts would have a defined place for such information. Glen Am Sonntag, den 09.12.2007, 01:15 +0800 schrieb tog: the same question apply for the wsdl2java. I did not see anything for setting up username/passwd in the options On Dec 9, 2007 1:13 AM, tog [EMAIL

Re: HTTP Binding and MTOM

2007-12-07 Thread Glen Mazza
I believe MTOM is defined only with respect to SOAP. Glen Am Donnerstag, den 06.12.2007, 19:07 -0800 schrieb woostreet: The following service is not working. Are you allow to use MTOM with HTTP or only with SOAP jaxws:endpoint id=service4 implementor=#lookServiceImpl

RE: Question about wsdl:import and xsd:extension

2007-12-07 Thread Glen Mazza
Am Freitag, den 07.12.2007, 11:02 -0500 schrieb Silberman, Nathan: Does CXF have a standard file structure/method for where to place the xsds if one abstracts out schemas to external files? The standard JAX-WS way I believe (from JSR 109) is that the wsdl and xsd's go into your WEB-INF/wsdl

Re: tomcat error - SEVERE: Error listenerStart

2007-12-06 Thread Glen Mazza
I just did that yesterday with Maven, and was able to get Tomcat 5.5 and 6.0 to work with CXF (I still have a problem with Metro though on Tomcat 6.0 I need to look at.) Perhaps my pom files[1] vs. yours might give some indication as to the problem--perhaps you have too many dependencies loaded

Re: is there a way to post an outbound message on a url

2007-12-06 Thread Glen Mazza
Do clients have URLs? I'm confused. Am Donnerstag, den 06.12.2007, 12:02 -0800 schrieb mule1: Hello, With cxf, is there a way to post an outbound message on to a client's url? e.g. I have a method that generates a message in xml format. I need to post this to a client's url. Not sure

Re: 2 small problems Java2Wsdl/Wsdl2Java SOAP Adress

2007-12-06 Thread Glen Mazza
Am Donnerstag, den 06.12.2007, 08:12 -0800 schrieb Tobi L.: Hello, I've got two small problems and absolutly no clue how to fix it. I try to generate a WSDL from the Java SEI. This WSDL should be the refernce for the clients. The first problem is that the soap:address

Re: Question about wsdl:import and xsd:extension

2007-12-06 Thread Glen Mazza
Am Donnerstag, den 06.12.2007, 11:17 -0500 schrieb Ryan Moquin: I'm using CXF (this really might be a JAXWS specific question?) to build a webservice that imports a common wsdl definition to create a standard interface, the import wsdl has types, a port and a binding. The wsdl that is the

Re: Confused by xml imports.

2007-12-06 Thread Glen Mazza
Look at the Server Configuration files section we have here: http://cwiki.apache.org/CXF20DOC/configuration.html Basically, you have two options, a Spring config file (what you're using) or a cxf-servlet.xml file. Make sure this configuration is not also in a cxf.xml file, that should just be

Re: StackOverflow on Tomcat Start

2007-12-03 Thread Glen Mazza
Am Montag, den 03.12.2007, 11:59 +0100 schrieb Tobias Luikard: Hello, I want to upgrade from CXF 2.0.2 to 2.0.3. I changed all jars and tried a lot of things. But I can't get rid of this problem (see stacktrace.txt) I even changed the spring version to 2.0.7 but this didn't help. :-(

RE: error upgrading to 2.0.3 with cxf.xml

2007-12-03 Thread Glen Mazza
Am Montag, den 03.12.2007, 05:43 -0800 schrieb mule1: Hello, Yes I have looked at that configuration documentation at : http://cwiki.apache.org/CXF20DOC/configuration.html and I don't have my own cxf-servlet.xml defined at all. The one referenced in cxf.xml is the cxf's import. My

Re: org.apache.cxf.interceptor.Fault: Marshalling Error with NFL/GroovyWS

2007-12-03 Thread Glen Mazza
Am Montag, den 03.12.2007, 14:17 -0500 schrieb Daniel Kulp: Guillaume, Did some more digging.This is related to: https://issues.apache.org/jira/browse/CXF-885 Basically, the GetRemainingHits is killing things. As soon as CXF sees a method that is not wrapped/wrappable, CXF

Re: org.apache.cxf.interceptor.Fault: Marshalling Error with NFL/GroovyWS

2007-12-02 Thread Glen Mazza
I don't know anything about GroovyWS; you may wish to check with them on the problem. As you can see from the blog entry, using Java, both CXF and Metro works fine with the web service, so our job is done. Perhaps if you configure GroovyWS to use Metro instead you will get a different error

Re: Maven command to run wsdl2java...

2007-12-01 Thread Glen Mazza
Am Freitag, den 30.11.2007, 11:17 +0800 schrieb James Mao: Glen, You have to do couple things in order to run codegen:wsdl2java under the folder which contains the pom.xml You can take a look at the /tools/jdee which is a maven plugin i did for generating the emacs jdee project How it

Re: Setting Content Type

2007-11-30 Thread Glen Mazza
Am Donnerstag, den 29.11.2007, 13:36 -0500 schrieb Gary Pinkham: I tried to add: http:conduit name=*.http-conduit http:client AllowChunking=false ContentType=application/soap+xml; charset=utf-8 / /http:conduit But it didn't change the request being sent (chunked

CXF classes for debugging/tracing SOAP requests and responses

2007-11-30 Thread Glen Mazza
Hello, If I wanted to trace the interceptor chains (i.e., debug the code to see message construction and transmission) for both the SOAP Request and SOAP Response, from both the perspective of the SOAP Client and the Web Service, which starting cxf class(es) would be good for that? I don't need

RE: error upgrading to 2.0.3 with cxf.xml

2007-11-30 Thread Glen Mazza
Am Freitag, den 30.11.2007, 11:20 -0500 schrieb Benson Margulies: I don't think that you should ever include cxf-servlet.xml, but I could be confused. Are you using the embedded jetty or deploying using the cxf servlet in a container? Be careful here, this gets very confusing. There are

Re: Acessing a WS with CXF by using a DynamicClient...

2007-11-30 Thread Glen Mazza
Am Donnerstag, den 29.11.2007, 14:46 -0800 schrieb Alexandre Gazola: Hello guys, I´m starting to develop with webservices... I would like to start with a simple call to a WS, given that I have the WSDL url. To relieve me from generating service interfaces, I´m trying to use a DynamicClient

Re: CXF Eclipse Plugin

2007-11-30 Thread Glen Mazza
May I ask which specific HowTo are you referring to that needs updating? Thanks, Glen Am Freitag, den 30.11.2007, 11:55 -0800 schrieb Bradford Maxwell: That works! If the HowTo's would only be updated so that they don't continue to encourage the addition of the separate plugins that are

Re: Acessing a WS with CXF by using a DynamicClient...

2007-11-30 Thread Glen Mazza
had not much experience with wsdl2java, and as a result, was overestimating the tool's difficulty. Glen Am Samstag, den 01.12.2007, 11:23 +0800 schrieb tog: Btw, conceptually it is the same: one is embedded in the other. Am I wrong ? On Dec 1, 2007 8:29 AM, Glen Mazza [EMAIL PROTECTED] wrote

Re: Custom exceptions in CXF web-service

2007-11-29 Thread Glen Mazza
, cause); --this.customException = customException;-- } Am Donnerstag, den 29.11.2007, 01:45 -0800 schrieb imorales: I use the one parameter Constructor. -- throw new MetaInformacionException(Error in meta Info) Glen Mazza-2 wrote: Am Mittwoch, den 28.11.2007, 00:25 -0800 schrieb imorales

Re: Custom exceptions in CXF web-service

2007-11-29 Thread Glen Mazza
-- Glen Mazza-2 wrote: Upgrade to the two or three parameter one, as you can see from [2], they are the only versions that will incorporate your custom exception: (Code from [2]:) // ignores

CXF/Maven basedir property

2007-11-29 Thread Glen Mazza
Hello, I have a Maven 101 question--for our CXF/Maven sample here[1], where/how do I set the basedir property (i.e., the ${basedir} you see multiple places in the file)? Does it default to the location of the pom.xml file--i.e., I actually don't need to specify it? Thanks, Glen [1]

Re: CXF/Maven basedir property

2007-11-29 Thread Glen Mazza
29.11.2007, 15:22 -0500 schrieb Glen Mazza: Hello, I have a Maven 101 question--for our CXF/Maven sample here[1], where/how do I set the basedir property (i.e., the ${basedir} you see multiple places in the file)? Does it default to the location of the pom.xml file--i.e., I actually don't need

Maven command to run wsdl2java...

2007-11-29 Thread Glen Mazza
Hello, I have another CXF/Maven[1] newbie question--to run wsdl2java using Maven, what is the plugin prefix for wsdl2java, i.e., mvn :wsdl2java at the command line? Currently I'm using mvn generate-sources instead which works fine, but would like to see if I can get it to work using the

RE: Missing namespace prefix on arg0 ?

2007-11-28 Thread Glen Mazza
Am Mittwoch, den 28.11.2007, 12:58 -0500 schrieb Benson Margulies: Prescription in several steps: 1) Always use @WebParam to specify nice names for interface parameters. 2) Pick one of: a) stop using doc/lit/wrapped. Use doc/lit/bare, and then put a package-info.java with an @XmlSchema

Re: Example of JAXB and HashMap serialization?

2007-11-28 Thread Glen Mazza
Are you sure this is a CXF/JAXB-specific question instead of a more generic JAXB question? (CXF's JAXB is the same as GlassFish Metro's, for example.) Does googling JAXB and HashMap get you anything useful? Glen Am Mittwoch, den 28.11.2007, 10:13 -0500 schrieb Kaleb Walton: I'm writing

Re: Custom exceptions in CXF web-service

2007-11-28 Thread Glen Mazza
Am Mittwoch, den 28.11.2007, 00:25 -0800 schrieb imorales: Hi all. I developed a web service using CXF. The methods of the web service throws Custom Exceptions. Something like that: -

Questions about CXF WS-RM sample

2007-11-26 Thread Glen Mazza
Hello, I've been going through CXF's Reliable Messaging sample[1] and had a couple of questions about it. The WS_RM sample involves a client[2] that sends four messages to the service[3]. The client has a MessageLossSimulator[4] interceptor that intentionally causes the 2nd and 4th messages to

Re: How to run Eclipse debugger on a CXF client

2007-11-24 Thread Glen Mazza
Am Samstag, den 24.11.2007, 11:06 +0100 schrieb Christian Schneider: Glen Mazza schrieb: Hello, I would like to run the Eclipse debugger, not just on my client stub but also on the CXF source code, in particular the CXF interceptors (so I can do line-by-line tracing, etc.) I think I

Re: How to run Eclipse debugger on a CXF client

2007-11-24 Thread Glen Mazza
Am Samstag, den 24.11.2007, 16:45 +0100 schrieb Christian Schneider: When you have a correct pom (like in the example I put in the wiki) you simply need to call mvn eclipse:eclipse on the command line. Maven will then create an eclipse .project and .classpath file that lists all necessary

Re: integration with omcat

2007-11-22 Thread Glen Mazza
Java-first has two options with CXF: annotated (JAXWS frontend) and unannotated (simple frontend). I've done WSDL-first with Tomcat: http://www.jroller.com/gmazza/date/20071019 I would look at one of our java-first samples (samples directory of the CXF distribution), and perhaps some of the

Re: Problems calling 2 different web services from the same Eclipse Runtime...

2007-11-21 Thread Glen Mazza
Comments below... Am Dienstag, den 20.11.2007, 23:57 -0800 schrieb Tophebboy: I don't know but I don't handle myself the BusFatory instanciation. I just have a client in each of my plugins which looks like the clients CXF generates automatically: code String wsdlUrl = my wsdl path;

Re: Problems calling 2 different web services from the same Eclipse Runtime...

2007-11-21 Thread Glen Mazza
to call the service with a different wsdl each time (I have to test the same service on several servers...). So I have to do it this way... Thanks very much anyway! Any other idea? Glen Mazza-2 wrote: Comments below... Am Dienstag, den 20.11.2007, 23:57 -0800 schrieb Tophebboy

Re: Partial Message decryption, message forwarded in interceptor

2007-11-20 Thread Glen Mazza
Am Freitag, den 16.11.2007, 17:18 + schrieb Wulff, Oliver: Hi all I'd like to use CXF to do partial message protection (decrypt all the elements) and forward this message to the final web service destination. I don't know about partial message protection, but don't you mean (encrypt all

RE: Interceptors pulling values out of requests

2007-11-20 Thread Glen Mazza
Am Dienstag, den 20.11.2007, 00:36 -0500 schrieb Liu, Jervis: I just updated the wiki page [1], hopefully it is more clear now how to write and configure user interceptors. Please let me know if there is anything missing or still not clear on this page. In the Adding interceptors through

Re: Problems calling 2 different web services from the same Eclipse Runtime...

2007-11-20 Thread Glen Mazza
Am Dienstag, den 20.11.2007, 07:54 -0800 schrieb Tophebboy: Hi everybody! First of all, please excuse my English which is very far from perfect (I’m French). I'm a newbie about web services. I have to create a RCP app (this, I know) which will use some web services I also have to create.

Re: when are interceptor chains created?

2007-11-16 Thread Glen Mazza
other chains to consider: 1) Server side: outgoing fault chain 2) Client side: incoming fault chain Dan On Tuesday 13 November 2007, Glen Mazza wrote: Hello, I'm slightly confused on when interceptor chains[1] are created. The text gives sections on On the incoming chains

Re: Soap version

2007-11-15 Thread Glen Mazza
Yes, check page 130 of the May 2007 JAX-WS 2.1 specification. I submitted a recent bug report on it--the annotations which specify MTOM at least do not presently work in CXF--you need to rely on a config file for MTOM instead. Glen Am Donnerstag, den 15.11.2007, 18:53 -0500 schrieb Benson

RE: Soap version

2007-11-15 Thread Glen Mazza
that snail' so that I don't have to go wade through the 130 page monster just now? --benson -Original Message- From: Glen Mazza [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 7:27 PM To: cxf-user@incubator.apache.org Subject: Re: Soap version Yes, check page

RE: Soap version

2007-11-15 Thread Glen Mazza
Oops, that's not the snail. It's called @BindingType. Look here: http://www.jroller.com/gmazza/date/20071102#NWSstep6 @BindingType(value=javax.xml.ws.soap.SOAPBinding.SOAP11HTTP_MTOM_BINDING) Glen Am Donnerstag, den 15.11.2007, 19:45 -0500 schrieb Glen Mazza: OK, but you're probably going

RE: Difference between cxf.xml and cxf-servlet.xml?

2007-11-15 Thread Glen Mazza
Do we have a sample anywhere of the syntax of this--specifying the Spring app context in the XML, and what such a config file would look like? Thanks, Glen Am Donnerstag, den 15.11.2007, 11:12 -0500 schrieb Jiang, Ning (Willem): If you specify the Spring application context in your web.xml

Re: axis vs cxf, which is better?

2007-11-15 Thread Glen Mazza
Am Donnerstag, den 15.11.2007, 12:13 -0500 schrieb Daniel Kulp: On Wednesday 14 November 2007, Mohammad Shamsi wrote: im new in both axis and cxf, but for start i found that cxf is easier to config and work (specially with spring), am i right ? It's kind of a loaded question. Each

Re: [Deploy in JBOSS] Address already in use Exception

2007-11-14 Thread Glen Mazza
I don't think you mean a tcp/ip port, but if you do, normally the Linux command fuser -k 8080/tcp will kill any servlet container's lock on that port (that occasionally happens with me on Tomcat, so I have to do that, and then restart Tomcat.) But your question seems better suited for the JBoss

Re: [Deploy in JBOSS] Address already in use Exception

2007-11-14 Thread Glen Mazza
Am Mittwoch, den 14.11.2007, 18:14 +0300 schrieb Eman Ali al-Maktari [IT Department]: Thanks Glen for the quick reply, The port that's hold by JBoss is 9090 as the address I'm using to publish my endpoint is http://localhost:9090/sn_categories;; fuser -k 9090/tcp should work for you

Re: SoapFault Error

2007-11-13 Thread Glen Mazza
Am Dienstag, den 13.11.2007, 14:03 -0600 schrieb Asleson, Ryan: Once I did that, when I run the test, it fails with this error: org.apache.cxf.binding.soap.SoapFault: Server did not recognize the value of HTTP Header SOAPAction: . I can't for the life of me figure out what might be

RE: SoapFault Error

2007-11-13 Thread Glen Mazza
It's the -validate option when you run wsdl2java. It's listed here: http://cwiki.apache.org/CXF20DOC/wsdl-to-java.html Glen Am Dienstag, den 13.11.2007, 14:17 -0600 schrieb Asleson, Ryan: The WSDL is at the end of this message. How do I use the CXF WSDL validator? I haven't seen any

when are interceptor chains created?

2007-11-13 Thread Glen Mazza
Hello, I'm slightly confused on when interceptor chains[1] are created. The text gives sections on On the incoming chains, you'll have the following phases and On the outgoing chain there are the following phases, but I'm unsure what incoming and outgoing refer to. Is it: 1.) Only with respect

Re: FileNotFoundException wsdl

2007-11-12 Thread Glen Mazza
Am Montag, den 12.11.2007, 11:08 +0100 schrieb Abid Hussain: Hello everybody, I generated a client using wsdl2java and packed it in a jar, so that I can use it in other applications. When generating the client using wsdl2java I indicated that the wsdl file is in etc/kvvservice.wsdl.

RE: question about http://schemas.xmlsoap.org/soap/encoding/ and Dynamic Client

2007-11-12 Thread Glen Mazza
Am Montag, den 12.11.2007, 04:53 -0500 schrieb Benjamin Coiffe: Thanks for the answer James, Unfortunately, I don't think that it would help because the exception is thrown when the wsdl is parsed (using XJC I believe)... With JAX-WS, you cannot parse a WSDL that is RPC/encoded, the

Re: classCastExcception in web service client generated with CXF

2007-11-12 Thread Glen Mazza
Am Montag, den 12.11.2007, 06:54 -0800 schrieb JoCosti: Thanks Glenn for the quick and developed answer, I do appreciate a lot since I'm a newbie concerning web services and particularly jax-ws. Concerning your remarks : 1) I think it's doc/literal, here's a part of binding section

Re: Cannot use classes marked as final as WebMethod parameters.

2007-11-08 Thread Glen Mazza
Am Donnerstag, den 08.11.2007, 01:40 -0800 schrieb Pierre Buyle: Hi, I'm trying to expose existing internal service beans as WebService using the default JAXB databinding. Some of my data classes are marked as final in Java. With JAXB, this translate to a complexType with the value extension

Re: wsdl2java code generation problem ArrayOfType Problem

2007-11-08 Thread Glen Mazza
java arrays?? regards, sven Glen Mazza schrieb: Am Mittwoch, den 07.11.2007, 18:53 +0100 schrieb Sven: this class 'PlaceBetsReq' takes an array of PlaceBets but wsdl2java generates a class 'ArrayOfPlaceBets' but i need PlaceBets[]. i axis 1.4 is see it works, but not at me

Re: wsdl2java code generation problem ArrayOfType Problem

2007-11-07 Thread Glen Mazza
Am Mittwoch, den 07.11.2007, 18:53 +0100 schrieb Sven: this class 'PlaceBetsReq' takes an array of PlaceBets but wsdl2java generates a class 'ArrayOfPlaceBets' but i need PlaceBets[]. i axis 1.4 is see it works, but not at me with xfire. I have not done this before, but I think I have an

Re: Return direct XML

2007-11-06 Thread Glen Mazza
I was about to say just return the XML in an xsd:string, it should work fine. But that raises an interesting question: when are the 's escaped so they don't interfere with the rest of the SOAP Message (which is in XML itself?) I'm guessing they're escaped automatically by the web services

Re: wsdlLocation

2007-11-05 Thread Glen Mazza
Hmmm...shouldn't the XSD's be in the same directory as the WSDL (i.e., WEB-INF/wsdl)? According to here[1], that's where they need to be. HTH, Glen [1]http://blogs.sun.com/manveen/entry/converting_an_existing_webservice_to Am Montag, den 05.11.2007, 08:50 -0700 schrieb David W Sica: I don't

Re: cxf servlet beside app servlet

2007-11-04 Thread Glen Mazza
Am Sonntag, den 04.11.2007, 14:57 +0330 schrieb Mohammad Shamsi: hi all, i want to develop some webservice in my web application. i have 2 servlet configured in my web.xml file (Strurts Actoin Servlet, and a Ajax Servlet) in servlet mappings, i have : servlet-mapping

Re: other spring cxf resources ?

2007-11-04 Thread Glen Mazza
Do you have a WSDL? Just follow the links I gave. That fact that you have 9 servers or 900 shouldn't matter--the URL in the WSDL would be the same for all the servers your app is distributed on (just as it is the same for your web application as a whole, correct?) Glen Am Sonntag, den

Re: Spring CXF integration non-standalone client

2007-10-31 Thread Glen Mazza
:24 -0700 schrieb luismi: I mean having a client in a separate application from the webapp service application, and call the service remotely keeping the use of Spring context Glen Mazza-2 wrote: Please move this question to cxf-user. The dev list is for development of CXF only

Re: Client returns empty string!

2007-10-31 Thread Glen Mazza
Am Mittwoch, den 31.10.2007, 14:35 -0700 schrieb Bashar Jawad: I have been banging my head against the wall on this problem, so I will really appreciate any help. I am going to simplify the problem as much as possible.

Re: Client returns empty string!

2007-10-31 Thread Glen Mazza
-0700 schrieb Bashar Jawad: I found this article: http://www.ibm.com/developerworks/xml/library/x-jaxmsoap/ However this doesn't use cxf. Is it possible to use cxf to receive SOAP messages with SAAJ ? Thanks, Bashar Glen Mazza wrote: Am Mittwoch, den 31.10.2007, 14:35 -0700

Re: Dispatch Client + JaxB

2007-10-30 Thread Glen Mazza
Hmmm...can you actually use JAXBContext with rpc/encoded? I would have guessed no (and hence you would be limited to the other two Dispatch options--either Sources or SOAPMessages), because JAX-WS is not defined with respect to rpc/encoded web services, only rpc/lit or doc/lit. Glen Am

Re: Simple/Aegis model to be supported in the long run?

2007-10-29 Thread Glen Mazza
Brian, are you handling HIPAA data? Then I would forget about the simple frontend. It's not intended for that. For good, rigorous coding of Privacy Act/HIPAA data, you should be starting with WSDL-first development.[1][2] That will give you the needed experience later when you need to

Re: CXF + oc4j

2007-10-28 Thread Glen Mazza
Am Sonntag, den 28.10.2007, 09:21 -0400 schrieb Hoda, Nadeem [USA]: Anybody have trouble with CXF on oc4j (10.1.3.3.0) app server? Out of the box, I get the following error with the wsdl_first sample (this same helloworld.war works fine with tomcat 5.5): 07/10/28 16:38:03.656 helloworld:

Re: Unintended Consequences...

2007-10-26 Thread Glen Mazza
Am Mittwoch, den 24.10.2007, 15:50 -0700 schrieb Yeroc: Glen Mazza-2 wrote: Am Mittwoch, den 24.10.2007, 14:36 -0700 schrieb Yeroc: All... I've got a very puzzling problem issue with CXF v2.0.1. I implemented a SOAPHandler that logs all the SOAP messages being sent over the wire

Re: cxf client for non ws-i bp compliant services?

2007-10-25 Thread Glen Mazza
Can't you just use an XFire client instead? Glen Am Donnerstag, den 25.10.2007, 16:59 +0200 schrieb Christian Vest Hansen: I have an XFire 1.2.6 web service that I wan't to write a CXF client for, but when I invoke operations on this service CXF throws exceptions with messages like Found

Re: JAX-WS + JAXB problem - javax.xml.ws.soap.SOAPFaultException thrown instead of custom exception

2007-10-22 Thread Glen Mazza
Am Montag, den 22.10.2007, 11:37 +0200 schrieb Piotr PiBis Berlowski: Hi, We consider this issue to be a huge blocker for a major project. When a user-defined exception is thrown by the server, a client receives a SOAPExceptionFault (with the message that belonged to the user-defined

Re: Newbie-question. No bean named 'cfx' is defined.

2007-10-22 Thread Glen Mazza
What I did for my simple web service[1] might(?) be of help for you. Glen [1] http://www.jroller.com/gmazza/date/20071019#step7 (steps 7 and 8) Am Montag, den 22.10.2007, 00:33 -0700 schrieb thomaslarsson: Yea, I see that I missed those import statements now. The reason why I have been

Re: Client can't receive the message due to read timed out

2007-10-21 Thread Glen Mazza
I'm not sure how to adjust the timeout parameters--someone else can perhaps respond to that issue. But how long should it take your server to respond? Can you greatly simplify your server so it responds immediately (basically just mock it out so it immediately returns something), to confirm that

RE: DynamicClientFactory and ant

2007-10-18 Thread Glen Mazza
schrieb Lee Breisacher: It's not just internal - I need to deliver these jars with my application. Just seems strange to deliver ant.jar with a web service client application. Lee -Original Message- From: Glen Mazza [mailto:[EMAIL PROTECTED] Sent: Thursday, October 18, 2007 7

Re: DynamicClientFactory and ant

2007-10-18 Thread Glen Mazza
Why does it matter which JAR files it internally uses? Code is code. Glen Am Donnerstag, den 18.10.2007, 20:42 -0400 schrieb Lee Breisacher: It seems a bit odd to me that DynamicClientFactory (a runtime facility) depends on ant (a development tool). Is there any plan to remove this

Re: Disable access to wsdl in Servlet transport

2007-10-16 Thread Glen Mazza
Jeff, I think he doesn't want people to see the WSDL file. It's not the service he wants to restrict, but viewing its WSDL. I don't know if that can be done. Glen Am Mittwoch, den 17.10.2007, 11:11 +0800 schrieb Jeff Yu: Hi, There is an easy way that I came up is to use a filter in

Re: Stacktrace, Why?

2007-10-11 Thread Glen Mazza
In addition, it can help to reduce your source code to the most minimum that replicates the error. Less for the reader to wade through / easier to spot errors that way. Glen Am Dienstag, den 09.10.2007, 09:41 -0400 schrieb Daniel Kulp: That stack trace points to you using the the Sun reference

Re: Error deploying CXF 2.0.2 to WebSphere 6.1.0.5

2007-10-11 Thread Glen Mazza
If you haven't been liberated yet, [EMAIL PROTECTED] might help or (worst case) [EMAIL PROTECTED] Glen Am Mittwoch, den 10.10.2007, 10:37 -0700 schrieb [EMAIL PROTECTED]: Someone please unsubscribe me from this mailing list. I tried atleast 10 times through unsubscribe mail id. It asked me to

RE: logging behavior of the client side

2007-10-11 Thread Glen Mazza
Metro also is a bit on the chatty side when generating a client. But our debugging page gives more info on setting logging levels: http://cwiki.apache.org/confluence/display/CXF20DOC/Debugging Glen Am Mittwoch, den 10.10.2007, 18:04 -0400 schrieb Benson Margulies: What do you think of turning

Re: Message level service

2007-10-11 Thread Glen Mazza
I'm probably not understanding your entire question, but I think if you're using SAAJ, that would mean you don't need to use a web service framework--neither CXF nor anything else. (SAAJ has a SOAPConnection object that will do what you want.) See here[1] for an example. Glen [1]

Re: Simple HTTPS CXF client setup

2007-10-03 Thread Glen Mazza
Thanks, I added that link to the wiki (HTTP Client page). Glen Am Montag, den 01.10.2007, 18:29 -0500 schrieb Gamble, Wesley (WG10): All, Anyone interested in talking to their Web services over HTTPS: +1 on this post:

Re: Local transport

2007-09-29 Thread Glen Mazza
I'm not sure what you mean. Am Freitag, den 28.09.2007, 22:45 -0400 schrieb Benson Margulies: Could someone please post a recipe for combing the local transport with jaxws?

Re: CXF doesn't generate classes stubs

2007-09-17 Thread Glen Mazza
cxf-user mailing list is best for this, let's keep the archives organized. But would this blog entry help you: http://techpolesen.blogspot.com/2007/08/jax-ws-dynamic-dispatch-with-cxf.html? Glen Am Montag, den 17.09.2007, 19:00 +0200 schrieb NOEL-exterieur, Remy: Hi all, I want to use the

Re: CXF simple front end and HTTPS ?

2007-09-14 Thread Glen Mazza
If you need to use SSL, perhaps you should formally step up to standard JAXWS[1]. It's not that more difficult, and that will make your SSL work[2] more standard and platform-independent. HTH, Glen [1] http://www.javapassion.com/handsonlabs/wshelloworld/ [2]

Re: Code first sample without ant

2007-09-12 Thread Glen Mazza
What's wrong with Ant, BTW? Haven't learned it yet? Glen Am Mittwoch, den 12.09.2007, 01:36 -0300 schrieb Diego Pires Plentz: Hi Guys! I'm migrating from XFire and I'm looking for a sample like the purchase-order sample from XFire: just simple pojos/classes, little configuration and no

RE: Can't get at SOAP error from Web Service (SOAP 1.2)-HandlerFault is not a standard Code value

2007-09-11 Thread Glen Mazza
Am Dienstag, den 11.09.2007, 09:55 -0500 schrieb Gamble, Wesley (WG10): Glen, Upon further investigation, I think that you are right and my message is not being sent. If you look at the error trace below, it kind of looks like this error is being thrown from within one of the _outbound_

RE: NameSpaceHandling error

2007-09-11 Thread Glen Mazza
I think I know the problem--its an ongoing bug, not fixed yet--the schema locations need to be altered to point to a local file until we get the cxf.apache.org URL. I'm not sure where each XSD is, however. Anyone can help? Glen Am Dienstag, den 11.09.2007, 10:11 -0500 schrieb Sureka, Sushil: I

Re: Simplest way to configure FINE or debug level logging for CXF

2007-09-10 Thread Glen Mazza
http://cwiki.apache.org/CXF20DOC/debugging.html? Am Montag, den 10.09.2007, 17:29 -0500 schrieb Gamble, Wesley (WG10): All, I would like to enable very low level logging statements to attempt to debug a problem. Which file do I need to put where in order to do that? I attempted to set up

RE: Can't get at SOAP error from Web Service (SOAP 1.2) -HandlerFault is not a standard Code value

2007-09-10 Thread Glen Mazza
Am Montag, den 10.09.2007, 18:48 -0500 schrieb Gamble, Wesley (WG10): I am starting to think that this is an interoperability issue with a M $ ASMX style Web service. Do I need to look into using WCF to talk to it? Sorry, I don't know Microsoft's products. snip/ However, it appears

<    1   2   3   >