Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 535.7K On-Premises Infrastructure
- 138.1K Analytics Software
- 38.6K Application Development Software
- 5.6K Cloud Platform
- 109.3K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71K Infrastructure Software
- 105.2K Integration
- 41.5K Security Software
Error while compiling SOA composite- Cannot find Port Type.

Hi,
I am deploying SOA composite in SOA (SAR) and also deploying on SOA server. Everything fine when I am compiling and deploying the composite. The problem i am facing an error cannot find Port Type RequestApprovalService in WSDL manager,
Please help me to resolve the issue or how can ApprovelProcess.WSDL and other WSDLS available for my SOA composite?
Please see below error screenshot
Thanks,
Kashif
Answers
-
Define portType element in your wsdl, check this link. portType will include a input and output/response.
-
Hello,
If you use the template to create your custom composite (as in the the docs at https://docs-uat.us.oracle.com/en/middleware/idm/identity-governance/12.2.1.3/omdev/developing-workflows.html#GUID-4A350… et al) you'll have an ApprovalProcess.bpel process which has ApprovalProcess.wsdl where the service for the BPEL process is "RequestApprovalService".
The port types in ApprovalProcess.wsdl should look like:
<wsdl:portType name="ApprovalProcess"> <wsdl:operation name="process"> <wsdl:input message="client:ApprovalProcessRequestMessage"/> </wsdl:operation> </wsdl:portType> <wsdl:portType name="ApprovalProcessCallback"> <wsdl:operation name="processResponse"> <wsdl:input message="client:ApprovalProcessResponseMessage"/> </wsdl:operation> </wsdl:portType> The composite.xml will have:
<component name="ApprovalProcess">
<implementation.bpel src="ApprovalProcess.bpel"/>
<componentType xmlns="http://xmlns.oracle.com/sca/1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ui="http://xmlns.oracle.com/soa/designer/">
<service name="RequestApprovalService" ui:wsdlLocation="ApprovalProcess.wsdl">
<interface.wsdl interface="http://xmlns.oracle.com/YourAppName_jws/YourProjectName/ApprovalProcess#wsdl.interface(ApprovalProcess)"
callbackInterface="http://xmlns.oracle.com/YourAppName_jws/YourProjectName/ApprovalProcess#wsdl.interface(ApprovalProcessCallback)"/>
</service>
..
I don't recall seeing that specific error - but if everything looks correct - maybe check to see if the ApprovalProcess.wsdl file is in the location specified in composite.xml?
Hope that helps,
Amy
-----
When closing a thread as answered remember to mark the correct and helpful posts to make it easier for others to find them.