You can read the doc[1] and try the sample in
CXF_HOME\samples\restful_http_binding
[1] http://cwiki.apache.org/CXF20DOC/http-binding.html
Cheers,
Willem.
Mansour Raad wrote:
I've seen the example where a SOAP endpoint is published using a Servlet.
Can somebody please point me to how to creat
Hi,
I think this issue is fixed by James couple days before
.(http://svn.apache.org/viewvc?view=rev&rev=554819*)* . Did you used the
lastest cxf kit ?
Cheers
Jim
kranga wrote:
Can someone please attempt to duplicate this and help me debug the
root cause. The error is with the geenrated code
Hi Jim -
I partially fix this, I change the data binding to Aegis (now the map
has a type in the WSDL) but now I get a different problem with wsdl2java
The WSDL looks very similar at the one generated by xFire I think
there is a problem with the WSDL namespaces but I'm not sure what.
This is
Hi Benson,
FYI, I just know Willem update this wiki page today. So what I see may
not same as you saw.
Best Regards
Freeman
Freeman Fang wrote:
Hi Benson,
I think you should follow spring_http sample.
The doc from wiki might out of date, but the working demo is more
believable. :-)
Btw,
Hi Benson,
I think you should follow spring_http sample.
The doc from wiki might out of date, but the working demo is more
believable. :-)
Btw, I roughly check this wiki page and spring_http sample, they are
pretty much match with each other. Would you please mark what kind of
macros define
Hi ,
The generated wsdl seems invalid**. Can you also paste the wsdl you
generated?
Cheers
Jim
Julio Arias wrote:
Hi -
I have the following web method, we are using JAXB binding but the
WSDL generator doesn't create a complex type for the returning(or
param) map thus wsdl2java blows up wit
Hi -
I have the following web method, we are using JAXB binding but the
WSDL generator doesn't create a complex type for the returning(or
param) map thus wsdl2java blows up with the following exception(see
below). Xfire use to create a complex type in the WSDL for this. Do I
need a specia
I've seen the example where a SOAP endpoint is published using a
Servlet.
Can somebody please point me to how to create REST endpoint that
produces JSON ?
Thanks.
Mansour
:-)
Can someone please attempt to duplicate this and help me debug the root
cause. The error is with the geenrated code without changes. The WSDL is
readily accessible at the location (you don't have to register) and the
error happens on calling the SoapPort implementation. Any help is
appreciated.
Hi Benson,
I've fixed this and the other exception related issues that you reported in
SVN. You can download the sources yourself or I think we'll probably get a
new snapshot published later tonight which you can try out. Will keep you
posted...
Cheers,
- Dan
On 7/19/07, Benson Margulies <[EMA
Complex types should be handled automatically as a rule. If you're
using Aegis binding, then you don't have to do anything. If you're
using JAXB, you should just be able to add annotations on the service
class and you'll be go to go for a basic start. You may find you need
to add various annotat
Can I set the wsdl and the the service bean? I'm getting an error when
it loads the wsdl saying it can't find the service, but that maybe since
java2wsdk splits the wsdl into two files and maybe it's not loading the
second one.
-Original Message-
From: Daniel Kulp [mailto:[EMAIL PROTECTE
I have worked through the examples on the wiki and looked at the
tutorials.
I'm looking for help on howto create a complex type.
I have a method that I want to return a java bean and more specifically
an array of java beans. Can someone please help me with this.
Interface
Us
Willem,
I'm sending this again. I'm not sure you missed it the first time or
you been too busy to look at it.
Here's my services.xml and web.xml. I'm not sure how to show you my
classpath. I'm building this project inside of eclipse. I have all my
jars in my WEB-INF dir and I'm using the ecl
Before I started discovering various issues in the migration from xfire
to cxf, my original goal was to wrap up a service of mine for deployment
in a servlet container. The code of my service is set up to use Spring
to wire together various of its bits and pieces.
I'm looking at the macros defi
Hi,
Sorry for the late reply, I was away on business. Anyway, both solutions
solve my problem, thanks.
Regards
Marc
On 7/16/07, Holger Stolzenberg <[EMAIL PROTECTED]> wrote:
For me this worked:
-Ursprüngliche Nachricht-
Von: Dan
Confirmed as a bug and logged as:
https://issues.apache.org/jira/browse/CXF-813
I'm testing a fix now.
Dan
On Thursday 19 July 2007 04:49, Stuart Bingë wrote:
> Hi Dan,
>
> On Wednesday 18 July 2007 23:10:46 Dan Diephouse wrote:
> > Hi Stuart,
> > Did you specify a @WebService(endpointInterface
So I should setup the JaxWsServerFactoryBean to use the generated wsdl
rather than what JAXB is creating?
Looking at the generated java classes from the wsdl, would just using an
annotation like this on the methods fix the problem rather than needing
an external wsdl?
@WebResult(targetNamespace =
Oh. shoot. I gave the wrong instructions... :-(
Use the java2wsdl tool with the -s option. Not the wsdl2java tool.
Sorry about that. (you can add the -classdir option if you want as well
to have the generated classes compiled)
Looking at the soap message, what I described is correct.
I went ahead and ran wsdl2java against the current wsdl that Jaxb is
generating. Should I go ahead and just use those replacement classes?
-Original Message-
From: Daniel Kulp [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 19, 2007 1:51 PM
To: cxf-user@incubator.apache.org
Cc: Clough, S
Here's the soap response via tcpmon:
HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Content-Type: text/xml
SOAPAction: ""
Content-Length: 278
Server: Jetty(6.1.3)
http://schemas.xmlsoap.org/soap/envelope/";>http://services.afp.prg.com/";>http://services.afp.prg.com/";>12276
-Original Message-
F
I'm trying to build a webservice against the WSDL at
http://www.xignite.com/xRealTime.asmx?WSDL
I generated the client using wsdl2Java included the -exsh flag. However,
when I run the SOAP client, I get the following exception:
Note: The web service works perfectly when I access from Axis2 ge
Samuel,
Could you send the soap message?
I'm willing to bet this is related to CXF-802 and CXF-655 which I'm still
battling with. My expectation is that the "completedLogId" element in
the response soap message is ending up qualified instead of unqualified
like the schema states it should
Well, I've sniffed this with tcpmon and executed it via soapui. In both
cases, I'm seeing the correct value come back in the response, but for
some reason .NET is not reading it. Do I need to set some sort of
annotation to ensure .NET compatibility? I would think things are fine.
I see literal i
Cool. Everything works now. Including the serviceBean="#somebean".
Thanks again,
Jacob
On 7/18/07, Dan Diephouse <[EMAIL PROTECTED]> wrote:
I think that section of the migration guide assumes that you've already
imported the cxf bean definitions into your application. The cxf-*
resources
inclu
Type 'catalog' into the window/preferences filter box.
> -Original Message-
> From: Durgaprasad Rao [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 19, 2007 12:30 PM
> To: cxf-user@incubator.apache.org
> Subject: RE: Eclipse XSD validation for jaxws.xsd
>
> Thanks for the reply. I found
Thanks for the reply. I found the location of this jar containing jaxws.xsd.
How can I export this XSD to Eclipse so that it finds this schema. Currently my
eclipse reports : Failed to read schema document
'http://cxf.apache.org/schema/jaxws.xsd'. Eclipse could able to find spring
related nam
I'm trying to track down a problem. I have a method that takes a long
and boolean parameter and then returns a long. The method was working
just fine when I was using Aegis binding with the ServerFactoryBean.
For some reason, Aegis was generating invalid wsdl (another thread I
posted yesterday) r
The jaxws.xsd file is packaged in the
cxf-rt-frontend-jaxws-2.0-incubator.jar as well as the uber
cxf-2.0-incubator.jar. In both cases, you can find it under /schemas.
-Chris
-Original Message-
From: gdprao [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 19, 2007 11:35 AM
To: cxf-user@in
(I'm CCing one of our mentors to make sure I get this right)
Yes. This would be considered a software grant. There is another form
that needs to be filled out for that.
See:
http://www.apache.org/licenses/#grants
We'll need to bring this up on the IPMC list as well to make sure they
are
I am new to CXF and trying to use it with spring. When I am trying to use
beans.xml file with jaxws.xsd namespace, Eclipse reports that this namespace
is not found. How can I add this schema to the eclipse so that it can find
the schema and does not report validation errors. Any help is appreci
Forgot one thing - I think tarring it up and attaching it to a JIRA issue
would be fine. Then we can start a discussion about the code and how the
community feels about accepting it :-) I'm definitely interested and am keen
to see what you've done.
Cheers,
- Dan
On 7/19/07, Dan Diephouse <[EMAIL
OK, time to join the dev list. Will do.
> -Original Message-
> From: Dan Diephouse [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 19, 2007 11:29 AM
> To: cxf-user@incubator.apache.org
> Subject: Re: Contribution of wsdl2js tool
>
> Hi Benson,
>
> Such contributions are definitely welco
Hi Benson,
Such contributions are definitely welcome!
I believe there are a few major things that need to happen. You would need
to package the code under an ASL license and send along Corporate CLA [1].
The CXF community would also need to vote on the contribution and possible
committers. There
I've got a WSDL from Aegis that is missing a type altogether. Here's the
front of it, for what it's worth. The type ns1:Transliteration is
completely missing. I will try to cook this into a test case unless
someone tells me that this is a known problem.
http://ws.index.rnm.basistech.com";
xmlns:
Dear CXF team,
Basis Technology would like to contribute our wsdl2js tool to CXF under
the usual ASF license.
The tool consists of Java source code that uses the same WSDL library
that CXF already uses and generates Javascript code that targets some
JavaScript utility functions that work in
Hi Dan,
On Wednesday 18 July 2007 23:10:46 Dan Diephouse wrote:
> Hi Stuart,
> Did you specify a @WebService(endpointInterface="...YourInterface") on the
> implementation class? You're using the JAX-WS frontend and per the JAX-WS
> spec, thats how its supposed to work :-)
Yeah, I've got my implem
Thanks Dan!
I've solved this issue adding "ContentType" information in http-conduit:
http://www.google.com/api/adsense/v2}AccountService.http-conduit";>
I don't know why without it I receive this error... in fact, the http request
already contains the "text/xml" information... so
38 matches
Mail list logo