> Hi Paul
> 
> My guess is a namespace issue on the type EmployeeBean
> 
> In one message it is referenced from namespace imp1, in another message
> it's referenced from xsd, so I'm guessing that if you correct whichever
> is incorrect it will work fine (probably the xsd:EmployeeBean needs
> changing to imp1:EmployeeBean) - this is just a guess but it does seem
> to indicate that it's looking for EmployeeBean type in namespace xsd
> which == http://www.w3.org/2001/XMLSchem when it would be in the
> namespace of "urn:TBEWebAPI" == imp1
> 

After much head scratching, that is what I figured, unfortunately, I have no
control over the wsdl as it is generated by Taleo on their servers so unless
they fix their wsdl generation it would appear that I'm screwed if I want
use CF to consume the web service :-(

To verify this, since I originally posted I downloaded the wsdl file and
replaced all xsd:EmployeeBean occurrences with impl:EmployeeBean and tried
to use WSDL2Java on the local copy. I made progress but then got the error
that the FlexRollingEntityBean was referenced but not defined. This was the
same issue so I replaced all xsd:FlexRollingEntityBean with
impl:FlexRollingEntityBean and re-ran the WSDL2Java tool again, this time it
generated a null exception.

What vexes me most is that the wsdl works in Eclipse WPT so these issues I'm
seeing seem to be related to the way in which CF is built to consume web
services but their example WSDL file on the Taleo web site can be consumed
by CF without a problem. Comparing the example to the actual wsdl generated
by their servers however shows several differences so it does seem to add
weight to the idea that it's the generation of the wsdl file that is faulty
in some way and Eclipse WPT is just less sensitive to the faults.

Paul




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327990
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to