hello there
When I execute ODE JBI componenet i get the following error , <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <soap:Fault> <faultcode>soap:Server</faultcode> <faultstring>Unmapped Fault : {http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure: No results for expression: {OXPath10Expression $response.body/text}</faultstring> </soap:Fault> </soap:Body> </soap:Envelope> BPEL process file as follows <?xml version="1.0" encoding="UTF-8"?> <bpws:process exitOnStandardFault="yes" name="HelloWorld2" targetNamespace="urn:/HeaderTest.bpel" xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable" xmlns:hello="urn:/HelloWorld2.wsdl" xmlns:tns="urn:/HeaderTest.bpel" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <bpws:import importType="http://schemas.xmlsoap.org/wsdl/" location="HelloWorld2.wsdl" namespace="urn:/HelloWorld2.wsdl"/> <bpws:partnerLinks> <bpws:partnerLink myRole="Provider" name="helloPartnerLink" partnerLinkType="hello:HelloPartnerLinkType"/> </bpws:partnerLinks> <bpws:variables> <bpws:variable messageType="hello:HelloRequest" name="request"/> <bpws:variable messageType="hello:HelloResponse" name="response"/> <bpws:variable name="text" type="xsd:string"/> </bpws:variables> <bpws:sequence> <bpws:receive createInstance="yes" name="start" operation="Hello" partnerLink="helloPartnerLink" portType="hello:HelloPortType" variable="request"/> <bpws:assign name="assign1" validate="yes"> <bpws:copy keepSrcElementName="yes"> <bpws:from><![CDATA[concat('Hello',' World')]]></bpws:from> <bpws:to part="body" variable="response"> <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[/text]]></bpws:query> </bpws:to> </bpws:copy> </bpws:assign> <bpws:reply name="end" operation="Hello" partnerLink="helloPartnerLink" portType="hello:HelloPortType" variable="response"/> </bpws:sequence> </bpws:process> wsdl as follows <?xml version="1.0"?> <!-- ~ Licensed to the Apache Software Foundation (ASF) under one ~ or more contributor license agreements. See the NOTICE file ~ distributed with this work for additional information ~ regarding copyright ownership. The ASF licenses this file ~ to you under the Apache License, Version 2.0 (the ~ "License"); you may not use this file except in compliance ~ with the License. You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, ~ software distributed under the License is distributed on an ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ~ KIND, either express or implied. See the License for the ~ specific language governing permissions and limitations ~ under the License. --> <definitions name="Hello" targetNamespace="urn:/HelloWorld2.wsdl" xmlns:tns="urn:/HelloWorld2.wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns="http://schemas.xmlsoap.org/wsdl/"> <types> <schema targetNamespace="urn:/HelloWorld2.wsdl" xmlns="http://www.w3.org/2001/XMLSchema"> <element name="HelloRequest"> <complexType> <all> <element name="text" type="string"/> </all> </complexType> </element> <element name="HelloResponse"> <complexType> <all> <element name="text" type="string"/> </all> </complexType> </element> </schema> </types> <message name="HelloRequest"> <part name="body" element="tns:HelloRequest"/> </message> <message name="HelloResponse"> <part name="body" element="tns:HelloResponse"/> </message> <portType name="HelloPortType"> <operation name="Hello"> <input message="tns:HelloRequest"/> <output message="tns:HelloResponse"/> </operation> </portType> <plnk:partnerLinkType name="HelloPartnerLinkType"> <plnk:role name="Provider" portType="tns:HelloPortType"/> </plnk:partnerLinkType> <!-- This is an abstract interface/portType definition. Note the lack of binding and service: these are defined by the HTTP binding component. See HelloWorld2-http/HelloWorld2.wsdl for details. --> </definitions> -- View this message in context: http://old.nabble.com/Unmapped-Fault-%3A-No-results-for-expression%3A-%7BOXPath10Expression...-tp26965259p26965259.html Sent from the Apache Ode User mailing list archive at Nabble.com.
