This discussion is archived
1 Reply Latest reply: Mar 3, 2013 8:20 PM by vladodias RSS

Unable to find a WSDL that has a definition for service

Arturo Newbie
Currently Being Moderated
Dear all

I have a very simple composite applicationexposing a web service. When I deploy the application I get:

There was an error deploying the composite on soa_server1: Deployment Failed: Unable to find a WSDL that has a definition for service {http://soa/sf/login}bpelprocess1_client_ep and port loginPort_pt. Please make sure that the port attribute for the binding defined in the composite file is correct by checking the namespace, service name, and port name. In addition, check that the WSDL associated with the binding namespace is imported and currently reachable (check the import nodes at the top of the composite file). Finally, validate the HTTP proxy settings for the server.

However the build process shows no errors. The entire application was built using Jdeveloper 11.1.1.5 using a pre-constructed WSDL. The SOA suite is 11.1.1.5

Any pointers will be really appreciated.

Thanks
The composite is this:
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Generated by Oracle SOA Modeler version 1.0 at [2/28/13 2:25 PM]. -->
<composite name="SOA2" revision="1.0" label="2013-02-28_14-25-14_553"
mode="active" state="on" xmlns="http://xmlns.oracle.com/sca/1.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
xmlns:orawsp="http://schemas.oracle.com/ws/2006/01/policy"
xmlns:ui="http://xmlns.oracle.com/soa/designer/">
<import namespace="http://soa/sf/login" location="loginToSFDC.wsdl"
importType="wsdl"/>
<service name="bpelprocess1_client_ep" ui:wsdlLocation="loginToSFDC.wsdl">
<interface.wsdl interface="http://soa/sf/login#wsdl.interface(loginPort)"/>
<binding.ws port="http://soa/sf/login#wsdl.endpoint(bpelprocess1_client_ep/loginPort_pt)"/>
</service>
<component name="BPELProcess1" version="2.0">
<implementation.bpel src="BPELProcess1.bpel"/>
<property name="bpel.config.transaction" type="xs:string" many="false">required</property>
</component>
<wire>
<source.uri>bpelprocess1_client_ep</source.uri>
<target.uri>BPELProcess1/bpelprocess1_client</target.uri>
</wire>
</composite>


The WSDL used to generate the BPEL is:

<?xml version= '1.0' encoding= 'UTF-8' ?>
<definitions

targetNamespace="http://soa/sf/login"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns1="http://soa/sf/login"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:flt="urn:fault.partner.soap.sforce.com"
xmlns:obj="urn:sobject.partner.soap.sforce.com"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:typ="urn:partner.soap.sforce.com"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
>
<types>
<xsd:schema targetNamespace="http://uk.gov.fca.sf/login" elementFormDefault="qualified" xmlns:tns1="http://uk.gov.fca.sf/login"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:flt="urn:fault.partner.soap.sforce.com"
xmlns:obj="urn:sobject.partner.soap.sforce.com" xmlns:typ="urn:partner.soap.sforce.com"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/">
<xsd:import namespace="urn:partner.soap.sforce.com" schemaLocation="xsd/partner_types.xsd"/>
<xsd:import namespace="urn:fault.partner.soap.sforce.com" schemaLocation="xsd/partner_faults.xsd"/>
<xsd:import namespace="urn:sobject.partner.soap.sforce.com" schemaLocation="xsd/partner_objects.xsd"/>
</xsd:schema>
</types>
<message name="loginInMessage">
<part name="loginIn" element="typ:login"/>
<part name="LoginScopeHeaderIn" element="typ:LoginScopeHeader"/>
<part name="CallOptionsIn" element="typ:CallOptions"/>
</message>
<message name="loginOutMessage">
<part name="return" element="typ:loginResponse"/>
</message>
<portType name="loginPort">
<operation name="loginOp">
<input message="tns1:loginInMessage"/>
<output message="tns1:loginOutMessage"/>
</operation>
</portType>
<binding name="loginPortSOAP11Binding" type="tns1:loginPort">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="loginOp">
<soap:operation style="document" soapAction="http://soa:8101/login/loginOp"/>
<input>
<soap:body use="literal" parts="in"/>
</input>
<output>
<soap:body use="literal" parts="return"/>
</output>
</operation>
</binding>
<binding name="loginPortSOAP12Binding" type="tns1:loginPort">
<soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="loginOp">
<soap12:operation style="document" soapAction="http://uk.gov.fca.sf:7101/login/loginOp" soapActionRequired="false"/>
<input>
<soap12:body use="literal" parts="in"/>
</input>
<output>
<soap12:body use="literal" parts="return"/>
</output>
</operation>
</binding>
<service name="loginSrvc">
<port name="login_port_11" binding="tns1:loginPortSOAP11Binding">
</port>
<port name="login_port_12" binding="tns1:loginPortSOAP12Binding">
</port>
</service>
<partnerLinkType name="ProviderRole"
xmlns="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
<role name="Role1">
<portType name="tns1:loginPort"/>
</role>
</partnerLinkType>
</definitions>

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points