Oracle BPEL and CXF
Hi Folks, I am having difficulty calling a CXF generated web-service with a JAX-WS / Spring generated WSDL (if that makes any difference) from Oracle BPEL - part of the Oracle SOA suite. My WSDL has an imported schema with another nested imported schema For example for my audit WSDL: - -Audit WSDL -> imports audit.xsd -> imports common.xsd Oracle doesn't seem to find either schema, normally it would create variables for the input and output parameters, but this doesn't happen. Has anyone got CXF and BPEL to work together? The service works fine from SOAP UI, we had similar problems with Xfire and BPEL, we were hoping the move to CXF would solve the problems. Thanks for the help! All the best, Ash
Re: Oracle BPEL and CXF
I would recommend trying GlassFish Metro[1]. If it works with Metro, then the problem is most probably with CXF (if you can send us a bug report it would be appreciated); but if it fails also with Metro then you know you have an Oracle BPEL issue. The Ant file here[2] at Step #5 is for a web service *client* (not service), but it should show how similar it is to go back and forth between the two web service stacks. HTH, Glen [1] https://jax-ws.dev.java.net/nonav/2.1.2m1/docs/wsimportant.html [2] http://www.jroller.com/gmazza/entry/using_amazon_web_services_with Am Mittwoch, den 29.08.2007, 14:08 +0100 schrieb [EMAIL PROTECTED]: > Hi Folks, > > I am having difficulty calling a CXF generated web-service with a JAX-WS > / Spring generated WSDL (if that makes any difference) from Oracle BPEL > - part of the Oracle SOA suite. > > My WSDL has an imported schema with another nested imported schema > > For example for my audit WSDL: - > > -Audit WSDL > -> imports audit.xsd > -> imports common.xsd > > Oracle doesn't seem to find either schema, normally it would create > variables for the input and output parameters, but this doesn't happen. > Has anyone got CXF and BPEL to work together? The service works fine > from SOAP UI, we had similar problems with Xfire and BPEL, we were > hoping the move to CXF would solve the problems. > > Thanks for the help! > All the best, > Ash
Re: Oracle BPEL and CXF
This honestly sounds like a bug in BPEL. If it works with SOAP UI, then it sounds like the service is working correctly. BPEL just isn't interpretting the wsdl correctly. One thing to try would be to suck all the schema into the wsdl types section directly so there is only the one giant wsdl. Maybe it cannot handle the imports at all. I don't really know. Dan On Wednesday 29 August 2007, [EMAIL PROTECTED] wrote: > Hi Folks, > > I am having difficulty calling a CXF generated web-service with a > JAX-WS / Spring generated WSDL (if that makes any difference) from > Oracle BPEL - part of the Oracle SOA suite. > > My WSDL has an imported schema with another nested imported schema > > For example for my audit WSDL: - > > -Audit WSDL > -> imports audit.xsd > -> imports common.xsd > > Oracle doesn't seem to find either schema, normally it would create > variables for the input and output parameters, but this doesn't > happen. Has anyone got CXF and BPEL to work together? The service > works fine from SOAP UI, we had similar problems with Xfire and BPEL, > we were hoping the move to CXF would solve the problems. > > Thanks for the help! > All the best, > Ash -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727C: 508-380-7194 [EMAIL PROTECTED] http://www.dankulp.com/blog