Re: YOKO CXF CORBA Web Service using ProviderCorbaMessage

2007-08-02 Thread Lukas Zapletal
Hello, is it possible to call CORBA service with CXF using DII? How could I pass the request through the binding? LZ 2007/7/30, Liu, Jervis [EMAIL PROTECTED]: Hi Michal, The short answer is we do not support ProviderCorbaMessage right now in CXF, I will discuss into details why we can not

RE: YOKO CXF CORBA Web Service using ProviderCorbaMessage

2007-08-02 Thread Liu, Jervis
Hi, have a new question. I suppose the reason why you want to use Provider interface for CORBA binding is that you want to access raw CORBA message payload so that you can parse operation info and input parameters by yourself. However the question is what the raw CORBA message payload is? In

RE: YOKO CXF CORBA Web Service using ProviderCorbaMessage

2007-08-02 Thread Liu, Jervis
JAX-WS does not support DII except the Dispatch interface, the old JAX-RPC spec does. The reason is because DII in its nature, does not work well with Doc/Lit style web services. BTW, one could also argue Dispatch interface is more powerful than DII. Cheers, Jervis -Original Message-

RE: Should schema location URLs be valid?

2007-08-02 Thread Christopher Moesel
Yes, I believe that someone tried to get Apache to bend on this issue, but didn't get anywhere on it. Now we just need to do our best to get CXF graduated ASAP! -Chris -Original Message- From: Benson Margulies [mailto:[EMAIL PROTECTED] Sent: Thursday, August 02, 2007 8:43 AM To:

RE: Should schema location URLs be valid?

2007-08-02 Thread Benson Margulies
This seems to be a flaw in the incubator policy model -- on the one hand, Apache wants to use only 'incubator' names for incubated things, but on the other hand, url's shouldn't change. I guess you've done the best to be done in the circumstances. -Original Message- From: Christopher

RE: Should schema location URLs be valid?

2007-08-02 Thread Christopher Moesel
Whoops. Add the word release to my last statement below. ;) -Original Message- From: Christopher Moesel [mailto:[EMAIL PROTECTED] Sent: Thursday, August 02, 2007 8:30 AM To: cxf-user@incubator.apache.org Subject: RE: Should schema location URLs be valid? It should also be noted that

RE: Should schema location URLs be valid?

2007-08-02 Thread Christopher Moesel
It should also be noted that once CXF graduates from the incubator, this will become a valid URL. This was seen as a better option than having an incubator URL now and having to change it in a later. -Chris -Original Message- From: Willem Jiang [mailto:[EMAIL PROTECTED] Sent:

Re: YOKO CXF CORBA Web Service using ProviderCorbaMessage

2007-08-02 Thread Lukas Zapletal
I thought DII and Dispatch are equal. So is there a possibility to call a CORBA service in y dynamic way? Example of the client: QName svcQname = new QName( http://schemas.apache.org/yoko/idl/calc;,

Could not find DynamicClientFactory class.

2007-08-02 Thread velidandas
Hi, I downloaded apache-cxf-2.0-incubator.zip from http://incubator.apache.org/cxf/download.html. After extracting the zip file I could not find DynamicClientFactory class in the API Documentation, where as the online documentation is showing this class. Please let me know, Is there something

Re: YOKO CXF CORBA Web Service using ProviderCorbaMessage

2007-08-02 Thread Lukas Zapletal
Hello, the operation info and CORBA parameters are not the reason why do we need the support. We would like to create a web service provider that will be accessible from CORBA client. We have no clue how to do this because we cannot simply create ProviderCorbaMessage, ProviderSOAPMessage or even

Re: Should schema location URLs be valid?

2007-08-02 Thread Steven E. Harris
Benson Margulies [EMAIL PROTECTED] writes: In my rather quirky opinion, if you use a URL, it should be a working URL. The stuff in the JAR is an optimization. If you don't want to have a working URL, use a URI instead. I agree. I ran into this same confusion when investigating JIRA issue

JAXBElement

2007-08-02 Thread velidandas
I am getting the String parameter types being set as JAXBElement type. How to send String type parameter types here. Srinivas. -- View this message in context: http://www.nabble.com/JAXBElement-tf4207085.html#a11967724 Sent from the cxf-user mailing list archive at Nabble.com.

Re: Could not find DynamicClientFactory class.

2007-08-02 Thread Dan Diephouse
Hi, The DynamicClientFactory is indeed inside the CXF jar. (Or if you use the modules/maven approach - its inside the cxf-jaxb jar). The reason its not detailed in the distribution documentation is because for some reason those javadocs are only the api module instead of all the modules. We'll

Re: HTTP Basic Auth with wsdl2java generated Client

2007-08-02 Thread petrica
Hello to all, I have a similar problem with a generated client ( it's included in mtom samples from Apache CXF 2.0 distribution) when I am behind of the corporate firewall. I can't pass the proxy server and I have the error : Server returned HTTP response code: 407 for URL ...

Re: HTTP Basic Auth with wsdl2java generated Client

2007-08-02 Thread petrica
Hello to all, I have a similar problem with a generated client ( it's included in mtom samples from Apache CXF 2.0 distribution) when I am behind of the corporate firewall. I can't pass the proxy server and I have the error : Server returned HTTP response code: 407 for URL ...

Re: Good way to return a RowSet from a service?

2007-08-02 Thread Daniel Kulp
This is actually an interesting question that's been on my todo list to investigate for ages. It relates to things like HashMaps and such. The JAXB Javadoc describes some stuff about XmlAdapters: http://java.sun.com/javase/6/docs/api/javax/xml/bind/annotation/adapters/XmlAdapter.html that

RE: Could not find DynamicClientFactory class.

2007-08-02 Thread Velidanda Srinivas
Thanks. Anyway I am working withit, and facing problem while trying to Send String from client, as String types are getting changed to JAXBElement. Could you let me know how can I send a String type data from client. I am trying to invoke web service with Complex input and loading the complex

Re: HTTP Basic Auth with wsdl2java generated Client

2007-08-02 Thread gdprao
Hi, Thanks for the reply. Please see my following client code and TCP monitor logs. Client Code: SOAPService ss = new SOAPService(wsdlURL, SERVICE_NAME); Greeter port = ss.getSoapPort(); //HTTP authentication code BindingProvider bp = (BindingProvider)port;

REST url quirk...

2007-08-02 Thread Brad Harper
I have several identically configured REST services working with one exception. When the method I call is getMediaType(s) - ( /rest/mediaTypes /rest/mediaType/{1} ), the get mediaTypes services returns the correct data. However, when I try to access a specific type by id /rest/mediaTypes/1, I

Re: JAXBElement

2007-08-02 Thread gdprao
I remember that I too have faced the same problem once. When I changed that element in XSD with minoccurs=1, it generated String type correctly instead of JAXBElement. Thanks, Durga velidandas wrote: I am getting the String parameter types being set as JAXBElement type. How to send

Re: HTTP Basic Auth with wsdl2java generated Client

2007-08-02 Thread gdprao
Hi Dan, Thanks for digging into the problem. I have tried your suggestion. I have dowloaded the WSDL and supplied WSDL file path instead of http URL to the client and invoked the service, it worked fine and authentication was successful. But you mean the client should be allowed to dowload the

wsdl2java throws NullPointerExceptions

2007-08-02 Thread Ray Krueger
I opened https://issues.apache.org/jira/browse/CXF-875 for this issue... Basically if I use the xformat namespace extension in my bindings the wsdl2java tool throws an NPE because it tries to lookup a null transport URI in the DestinationFactoryManager.

Re: Maven wsdltojava codegen plugin

2007-08-02 Thread Ray Krueger
Nevermind, I saw the way on the wsdl-to-java wiki page where it talks about specifiying a jaxws binding file... wsdlOption wsdl${basedir}/src/main/schema/fx/CurrencyExchange.wsdl/wsdl extraargs extraarg-verbose/extraarg /extraargs /wsdlOption On 8/2/07, Ray Krueger [EMAIL

Re: wsdl2java throws NullPointerExceptions

2007-08-02 Thread Daniel Kulp
On Thursday 02 August 2007 16:56, Ray Krueger wrote: I opened https://issues.apache.org/jira/browse/CXF-875 for this issue... Basically if I use the xformat namespace extension in my bindings the wsdl2java tool throws an NPE because it tries to lookup a null transport URI in the

Re: Good way to return a RowSet from a service?

2007-08-02 Thread Glen Mazza
Mark Hansen's pretty-good-if-tad-bit-pricey SOA book (http://www.soabook.com/) covers XmlAdapters in a fair amount of detail on p.245-256, although I'm not certain it would solve the user's problem here. Glen Am Donnerstag, den 02.08.2007, 12:54 -0400 schrieb Daniel Kulp: This is actually an

RE: Good way to return a RowSet from a service?

2007-08-02 Thread Liu, Jervis
It looks like you are trying to do some kind of Database Web services. I am afraid in the world of Database web services, you would never want to return RowSet directly because RowSet object is too complex/big to be mapped to XML, not to mention other concerns like performance etc. Many