[Users] BPEL - FTP - WSDL

tbarbey thomas.barbey at synergieassocies.com
Wed Mar 16 10:40:51 CET 2011


Hi,

I'm currently tying to create a BPEL process which invokes a webservice based on the Petals FTP component.

I created my "SA FTP provide" and my "SA SOAP consume" and it works perfectly.

Now I'm trying to invoke this service through my BPEL process. I copied the ftp.wsdl file from my "SA FTP provide" project to my BPEL project. I added a new Partner Link Type and clicked on "Add WSDL" but when I pick my ftp.wsdl file, I can't see any operations (put, mput, get, mget, dir)... What should I do? Should I use the ftpinterface.wsdl instead?

Here is my ftp.wsdl code:


Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl:definitions 
	name="Ftp"
	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns:ftp="http://petals.ow2.org/components/ftp/version-3"
	xmlns:ftpInterface="http://petals.ow2.org/components/ftp/version-3"
	targetNamespace="http://petals.ow2.org/components/ftp/version-3">
	
	<wsdl:import 
		namespace="http://petals.ow2.org/components/ftp/version-3"
		location="ftpInterface.wsdl" />
	
	<wsdl:binding name="FtpBinding" type="ftpInterface:Ftp">
		<soap:binding style="document"
			transport="http://schemas.xmlsoap.org/soap/http" />
		<wsdl:operation name="get">
			<wsdl:input>
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
			<wsdl:fault name="fault">
				<soap:fault use="literal" name="fault" />
			</wsdl:fault>
		</wsdl:operation>
		<wsdl:operation name="mget">
			<wsdl:input>
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
			<wsdl:fault name="fault">
				<soap:fault use="literal" name="fault" />
			</wsdl:fault>
		</wsdl:operation>
		<wsdl:operation name="put">
			<wsdl:input>
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
			<wsdl:fault name="fault">
				<soap:fault use="literal" name="fault" />
			</wsdl:fault>
		</wsdl:operation>
		<wsdl:operation name="mput">
			<wsdl:input>
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
			<wsdl:fault name="fault">
				<soap:fault use="literal" name="fault" />
			</wsdl:fault>
		</wsdl:operation>
		<wsdl:operation name="dir">
			<wsdl:input>
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
			<wsdl:fault name="fault">
				<soap:fault use="literal" name="fault" />
			</wsdl:fault>
		</wsdl:operation>
	</wsdl:binding>
	
	<wsdl:service name="FTPServiceRBSConverter">
		<wsdl:port name="FTPServiceRBSConverterEndpoint" binding="ftp:FtpBinding">
			<soap:address location="http://petals.ow2.org/FTPServiceRBSConverter/FTPServiceRBSConverterEndpoint"/>
		</wsdl:port>
	</wsdl:service>
</wsdl:definitions>






-------------------- m2f --------------------

Subscribe/Unsubscribe emails notifications.

Response to this email will be posted on the Petals forum.
Please delete the existing text before responding :)

Read the topic online:
http://forum.petalslink.com/viewtopic.php?p=30547#30547

-------------------- m2f --------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110316/b7bf9646/attachment.htm>


More information about the Users mailing list