I work with a system (Salesforce) that can only consume document/literal
wrapped WSDL files. However, my customers need me to connect with older
systems that generate other formats of WSDL file (RPC literal for example or
just doc literal). So I often receive wsdl files in 'unfriendly' formats and
I have a Hell Of A time trying to shoehorn it into a format acceptable by
Salesforce. Basically, there can be no external references in the wsdl and
it must be doc/literal wrapped.

So... I was thinking that a sneaky way to solve this issue might be to
consume the wsdl in Java and then recreate the wsdl from Java
programmatically with a single call.

Can cxf be used to solve my problem?  Has this problem been solved before? 
If not, then am I on the right track? Has anyone solved this wsdl
transformation issue before?  I assume XSLT could probably do the job for a
smarter man than myself, but I've got to work with the brain I was issued
and it seems determined to learn the minimum possible about wsdls in order
to solve this problem.

TLDR: can I consume/create arbitrary format WSDLs from java so I can create
WSDLs in wrapped doc/literal format with no attributes (elements instead)
and no imports (a completely self contained WSDL should be the output).

If you can help me solve this problem I will buy you a pizza! That's right.
I'll email you a papaJohn/Dominos/Pizzahut coupon (or even call your local
pizza joint and buy it for you if you want to give me your home
address/phone number - which you probably don't).

--
View this message in context: 
http://cxf.547215.n5.nabble.com/WSDL-WSDL-translation-tp5535639p5535639.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to