You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by eugenetranslator <eu...@gmail.com> on 2010/02/09 09:15:36 UTC
CXF wsdl2java doesn't work for Sabre web-services
I cannot generate the client for the famous Sabre web-services:
http://cert.webservices.sabre.com/wsdl/sabreXML1.0.00/tpf/OTA_TravelItineraryReadLLS1.15.1RQ.wsdl
neither can I generate the client for other services from Sabre.
*NullPointer exception*
What's wrong with the client generation utility?
__________ Information from ESET Smart Security, version of virus signature database 4841 (20100206) __________
The message was checked by ESET Smart Security.
http://www.eset.com
Re: SABRE web-services does CXF work in REALITY with Sabre?
Posted by Daniel Kulp <dk...@apache.org>.
Not to be too facetious, but what doesn't work? This message really doesn't
describe what the problems are or even point to the WSDL's or anything. Does
it fail at wsdl2java time? Runtime? Etc..... Stack traces? Can you
provide sample code that isn't working as expected?
Dan
On Tuesday 23 March 2010 10:03:53 am eugenetranslator wrote:
> HELP !
>
> Did someone of you manage to get it worked - CXF with SABRE?
> In Sabre they tell : "use Axis 1.4" if something isn't working.
> And indeed, JAX-WS does not work with Sabre?
>
> Friends, maybe someone know how to get it worked?
> Axis 1.4 is so obsolete..
>
> Eugene
--
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog
Re: SABRE web-services does CXF work in REALITY with Sabre?
Posted by Glen Mazza <gl...@gmail.com>.
Just a guess, but could the NPE be because you haven't downloaded the XSDs
that that WSDL is importing (I'm unsure of the ability of WSDL2Java to
download needed XSDs off the Internet.)
Also, it isn't that difficult to try Metro and see if its WSDL2Java
equivalent (wsimport) either (a) works with that WSDL, or (b) if it doesn't,
hopefully gives you a better error message informing you to the problem.
That can help in troubleshooting CXF. Ant and Maven client examples are
here: http://www.jroller.com/gmazza/entry/soap_client_tutorial
HTH,
Glen
eugenetranslator wrote:
>
> HELP !
>
> Did someone of you manage to get it worked - CXF with SABRE?
> In Sabre they tell : "use Axis 1.4" if something isn't working.
> And indeed, JAX-WS does not work with Sabre?
>
> Friends, maybe someone know how to get it worked?
> Axis 1.4 is so obsolete..
>
> Eugene
>
--
View this message in context: http://old.nabble.com/CXF-wsdl2java-doesn%27t-work-for-Sabre-web-services-tp27514211p28006665.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: SABRE web-services does CXF work in REALITY with Sabre?
Posted by Dennis Sosnoski <dm...@sosnoski.com>.
Assuming this is based on the OTA schemas (like most of the Sabre
services), you may want to look into the JiBX/OTA project:
http://www.jibx.org/jibxota This comes with sample web service
interfaces using Axis2 and JiBX/WS. I'll have to look into including a
CXF sample as well, though I'm not sure of the current state of the JiBX
support in CXF.
- Dennis
Dennis M. Sosnoski
XML and Web Services in Java
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117
eugenetranslator wrote:
> HELP !
>
> Did someone of you manage to get it worked - CXF with SABRE?
> In Sabre they tell : "use Axis 1.4" if something isn't working.
> And indeed, JAX-WS does not work with Sabre?
>
> Friends, maybe someone know how to get it worked?
> Axis 1.4 is so obsolete..
>
> Eugene
>
SABRE web-services does CXF work in REALITY with Sabre?
Posted by eugenetranslator <eu...@gmail.com>.
HELP !
Did someone of you manage to get it worked - CXF with SABRE?
In Sabre they tell : "use Axis 1.4" if something isn't working.
And indeed, JAX-WS does not work with Sabre?
Friends, maybe someone know how to get it worked?
Axis 1.4 is so obsolete..
Eugene
Re: CXF wsdl2java doesn't work for Sabre web-services
Posted by Daniel Kulp <dk...@apache.org>.
On Tue February 9 2010 3:15:36 am eugenetranslator wrote:
> I cannot generate the client for the famous Sabre web-services:
>
> http://cert.webservices.sabre.com/wsdl/sabreXML1.0.00/tpf/OTA_TravelItinera
> ryReadLLS1.15.1RQ.wsdl
>
> neither can I generate the client for other services from Sabre.
>
> *NullPointer exception*
>
> What's wrong with the client generation utility?
What version of CXF? The latest version (2.2.6) seems to work fine. I'd be
a bit surprised if it didn't since SABRE uses CXF quite extensively.
Dan
>
>
> __________ Information from ESET Smart Security, version of virus signature
> database 4841 (20100206) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
--
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog