[Users] [BPEL] ERRORs with the se-bpel

mjambert marc.jambert at petalslink.com
Wed Mar 16 10:58:33 CET 2011


Same problem than before : all ns3 should be changed to ns2.
For the import error, the location was wrong : I replaced location="/resource/OR001-EnvoiOrPlanifie_v01/src/main/resources/pl/MissionType_01.xsd"
with location="MissionType_01.xsd" and this particular error is fixed.

I need to check with PetalsStudio developer to determine whether or not there might be a problem in generation.


Here follows my tweaked version (which still has errors yet, but it is getting better) :

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<ns2:process xmlns:ns2="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
	xmlns:ns10="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ns11="http://www.w3.org/ns/wsdl"
	xmlns:ns12="http://www.w3.org/ns/wsdl/soap" xmlns:ns13="http://www.w3.org/ns/wsdl/http"
	xmlns:ns14="http://docs.oasis-open.org/wsbpel/2.0/serviceref"
	xmlns:ns15="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:ns3="http://docs.oasis-open.org/wsbpel/2.0/process/abstract"
	xmlns:ns4="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:ns5="http://docs.oasis-open.org/wsbpel/2.0/varprop"
	xmlns:ns6="http://schemas.xmlsoap.org/wsdl/" xmlns:ns7="http://schemas.xmlsoap.org/wsdl/soap/"
	xmlns:ns9="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:xs="http://www.w3.org/2001/XMLSchema"
	name="OR001-EnvoiOrPlanifie_v01.bpel" targetNamespace="http://veolia/eau/sib/service/mobilite/praxedo/OR001/v01"
	abstractProcessProfile="http://docs.oasis-open.org/wsbpel/2.0/process/abstract/simple-template/2006/08"
	xmlns:ns1="http://veolia/eau/sib/service/mobilite/praxedo/OR001/v01Artifacts"
	xmlns:ns="http://veolia.ban.com/esb/mobilite/praxedo/v01" xmlns:ns0="http://veolia.ban.com/esb/mobilite/praxedo/AD001/v01">
	
	<ns2:import namespace="http://veolia.ban.com/esb/eau/mobilite/obj/v01"
		location="MissionType_01.xsd"
		importType="http://www.w3.org/2001/XMLSchema"></ns2:import>
		
	<ns2:import namespace="http://veolia/eau/sib/service/mobilite/praxedo/OR001/v01"
		location="OR001-EnvoiOrPlanifie_v01.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"></ns2:import>
		
	<ns2:import namespace="http://veolia.ban.com/esb/mobilite/praxedo/v01"
		location="../resources/pl/AD002-supprEventsPraxedo.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"></ns2:import>
		
	<ns2:import
		namespace="http://veolia/eau/sib/service/mobilite/praxedo/OR001/v01Artifacts"
		location="OR001-EnvoiOrPlanifie_v01Artifacts.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"></ns2:import>
		
	<ns2:import namespace="http://veolia.ban.com/esb/mobilite/praxedo/AD001/v01"
		location="../resources/pl/AD001-CreateEventsPraxedo.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"></ns2:import>
		
	<ns2:import importType="http://schemas.xmlsoap.org/wsdl/"
		location="processArtefacts.wsdl"
		namespace="http://veolia/eau/sib/service/mobilite/praxedo/OR001/v01Artifacts" />
	<ns2:partnerLinks>
		<ns2:partnerLink name="creerMission_PL"
			partnerLinkType="ns1:creerMission_PLType" partnerRole="creerMission_partenaire_PLRole"></ns2:partnerLink>
		<ns2:partnerLink name="supprMission_PL"
			partnerLinkType="ns1:supprMission_PLType" partnerRole="supprMission_partenaire_PLRole"></ns2:partnerLink>

		<ns2:partnerLink name="OR001_PL" partnerLinkType="ns1:OR001_PLType"
			myRole="OR001_client_PLRole"></ns2:partnerLink>
			
	</ns2:partnerLinks>
	<ns2:variables>
		<ns2:variable
			xmlns:tns="http://veolia/eau/sib/service/mobilite/praxedo/OR001/v01"
			messageType="tns:OR001ReqMsg" name="OR001ReqMsgVarRequest" />
		<ns2:variable
			xmlns:tns="http://veolia/eau/sib/service/mobilite/praxedo/OR001/v01"
			messageType="tns:OR001ResMsg" name="OR001ResMsgVarResponse" />


		<ns2:variable name="supprMission_PLResponse" messageType="ns:supprMissionPraxedoRespMsg"></ns2:variable>
		<ns2:variable name="supprMission_PLRequest" messageType="ns:supprMissionPraxedoReqMsg"></ns2:variable>
		<ns2:variable name="creerMission_PLResponse" messageType="ns0:creerMissionPraxedoRespMsg"></ns2:variable>
		<ns2:variable name="creerMission_PLRequest" messageType="ns0:creerMissionPraxedoReqMsg"></ns2:variable>
	</ns2:variables>
	<ns2:sequence name="OR001_Main">

		<ns2:receive name="reception de la mission" partnerLink="OR001_PL"
			operation="OR001-EnvoiOrPlanifie" portType="OR001-EnvoiOrPlanifie_Itf"></ns2:receive>


		<ns2:invoke name="creer Mission" partnerLink="creerMission_PL"
			operation="traiterEIP" portType="ns0:AD001-CreerMissionPraxedo_Itf"
			inputVariable="creerMission_PLRequest" outputVariable="creerMission_PLResponse"></ns2:invoke>
		<ns2:assign validate="no" name="preparation de la reponse finale">
			<ns2:copy>
				<ns2:from part="creerMissionPraxedoRespMsg" variable="creerMission_PLResponse">
					<ns2:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[code]]></ns2:query>
				</ns2:from>
				<ns2:to part="envVeolia" variable="OR001ReqMsgVarRequest">
					<ns2:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[props[1]/valeur]]></ns2:query>
				</ns2:to>
			</ns2:copy>
			<ns2:copy>
				<ns2:from>
					<ns2:literal xml:space="preserve">code retour CreerMission</ns2:literal>
				</ns2:from>
				<ns2:to part="envVeolia" variable="OR001ReqMsgVarRequest">
					<ns2:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[props[1]/cle]]></ns2:query>
				</ns2:to>
			</ns2:copy>
		</ns2:assign>

		<ns2:reply name="Reply" operation="OR001-EnvoiOrPlanifie"
			portType="OR001-EnvoiOrPlanifie_Itf" variable="OR001ResMsgVarResponse"></ns2:reply>
	</ns2:sequence>
</ns2:process>




-------------------- 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=31002#31002

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






More information about the Users mailing list