Hi Angel,
could we have the log file ?
My comments inline:
* wsdl refers to classpath:path/to/wsdl/file or http://path/to/wsdl/file
The wsdl property is looked into the classpath. Basicly, you don't need
the classpath: prefix.
If you use /ode_wf_ext.wsdl, you need to add the jar/resources
containing the WSDL into your CXF SU. To do it, in the xbean.xml, you
can use
<classpath><location>my_wsdl.jar</location><location>/path/to/wsdl/rep</location></classpath>
* service refers to <wsdl_targetnamespace>:<service/@name>
* endpoint refers to <service/port/@name>
* interfaceName corresponds to <wsdl_targetnamespace>:<portType/@name>
You need to ensure that the service name and endpoint match the service
and port elements of the WSDL that you wish to use to correctly return
WSDL for the endpoint, remembering that the service name will use the
targetNamespace for the WSDL.
I hope it helps you.
Regards
JB
Is this correct?
This is the code of my provider service unit:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
xmlns:odews="http://efs.comfin.ge.com/ws/ode_wf/service"
xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://servicemix.apache.org/cxfbc/1.0
servicemix-cxf-bc.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
<cxfbc:provider wsdl="classpath:ode_wf_ext.wsdl"
service="odews:ode_wf_ext"
endpoint="ode_wf_extSOAP"
interfaceName="odews:ode_wf_ext"
locationURI="http://dev.efs.comfin.ge.com:80/axis2/services/ode_wf_ext/"
synchronous="true"
useJBIWrapper="true">
<cxfbc:inFaultInterceptors>
<bean class="com.ge.efs.servicemix.mailpoller.MailWSInterceptor" />
</cxfbc:inFaultInterceptors>
<cxfbc:inInterceptors>
<bean class="com.ge.efs.servicemix.mailpoller.MailWSInterceptor" />
</cxfbc:inInterceptors>
<cxfbc:outFaultInterceptors>
<bean class="com.ge.efs.servicemix.mailpoller.MailWSInterceptor" />
</cxfbc:outFaultInterceptors>
<cxfbc:outInterceptors>
<bean class="com.ge.efs.servicemix.mailpoller.MailWSInterceptor" />
</cxfbc:outInterceptors>
</cxfbc:provider>
</beans>
And the WSDL of my web service:
<wsdl:definitions name="ode_wf_ext"
targetNamespace="http://efs.comfin.ge.com/ws/ode_wf/service"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://efs.comfin.ge.com/ws/ode_wf/service"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
</wsdl:binding>
...
<wsdl:operation name="send_email">
<soap:operation
soapAction="http://efs.comfin.ge.com/ws/ode_wf/service/send_email" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="ode_wf_ext">
<wsdl:port name="ode_wf_extSOAP" binding="tns:ode_wf_extSOAP">
<soap:address
location="http://dev.efs.comfin.ge.com:80/axis2/services/ode_wf_ext/" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
I have been struggling with this SU for quite a time... :( and I still don't
have a clue.
Any help will be appreciated.
Thanks,
Angel
--
Jean-Baptiste Onofré
---------------------------------
HomePage
http://www.nanthrax.net
---------------------------------
Contacts
[email protected]
[email protected]
---------------------------------
OpenSource
BuildProcess/AutoDeploy
http://buildprocess.sourceforge.net
Apache ServiceMix
http://servicemix.apache.org
-----------------------------------
PGP : 17D4F086