Created
January 14, 2014 06:00
-
-
Save anonymous/8413775 to your computer and use it in GitHub Desktop.
Hi Isuru Perera ,Here i am sending the BPEL proxy service and wsdl file, this wsdl developed in eclipse,after that i deploy the .zip files into BPS Server, while i am consuming this BPS endpoint in Proxy service , it's giving an errors.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<proxy xmlns="http://ws.apache.org/ns/synapse" | |
name="Bpelproxy1" | |
transports="https,http" | |
statistics="disable" | |
trace="disable" | |
startOnLoad="true"> | |
<target> | |
<inSequence> | |
<log level="full"> | |
<property name="x" expression="//x/text()"/> | |
<property name="y" expression="//y/text()"/> | |
</log> | |
<property name="x" expression="//x/text()" scope="default" type="STRING"/> | |
<property name="y" expression="//y/text()" scope="default" type="STRING"/> | |
<payloadFactory media-type="xml"> | |
<format> | |
<p:IfelseRequest xmlns:p="http://www.youtility.in"> | |
<p:x>$1</p:x> | |
<p:y>$2</p:y> | |
</p:IfelseRequest> | |
</format> | |
<args> | |
<arg evaluator="xml" expression="get-property(x)"/> | |
<arg evaluator="xml" expression="get-property(y)"/> | |
</args> | |
</payloadFactory> | |
<send> | |
<endpoint> | |
<address uri="http://192.168.1.16:9763/services/Ifelse/"/> | |
</endpoint> | |
</send> | |
</inSequence> | |
<outSequence> | |
<log level="full"/> | |
<send/> | |
</outSequence> | |
</target> | |
<description/> | |
</proxy> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<definitions name="Ifelse" | |
targetNamespace="http://www.youtility.in" | |
xmlns:tns="http://www.youtility.in" | |
xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" | |
xmlns="http://schemas.xmlsoap.org/wsdl/" | |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" | |
> | |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
TYPE DEFINITION - List of types participating in this BPEL process | |
The BPEL Designer will generate default request and response types | |
but you can define or import any XML Schema type and use them as part | |
of the message types. | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> | |
<types> | |
<schema attributeFormDefault="unqualified" elementFormDefault="qualified" | |
targetNamespace="http://www.youtility.in" | |
xmlns="http://www.w3.org/2001/XMLSchema"> | |
<element name="IfelseRequest"> | |
<complexType> | |
<sequence> | |
<element name="x" type="int" /> | |
<element name="y" type="int"></element> | |
</sequence> | |
</complexType> | |
</element> | |
<element name="IfelseResponse"> | |
<complexType> | |
<sequence> | |
<element name="result" type="string"/> | |
</sequence> | |
</complexType> | |
</element> | |
</schema> | |
</types> | |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
MESSAGE TYPE DEFINITION - Definition of the message types used as | |
part of the port type defintions | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> | |
<message name="IfelseRequestMessage"> | |
<part name="payload" element="tns:IfelseRequest"/> | |
</message> | |
<message name="IfelseResponseMessage"> | |
<part name="payload" element="tns:IfelseResponse"/> | |
</message> | |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PORT TYPE DEFINITION - A port type groups a set of operations into | |
a logical service unit. | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> | |
<!-- portType implemented by the Ifelse BPEL process --> | |
<portType name="Ifelse"> | |
<operation name="process"> | |
<input message="tns:IfelseRequestMessage" /> | |
<output message="tns:IfelseResponseMessage"/> | |
</operation> | |
</portType> | |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PARTNER LINK TYPE DEFINITION | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> | |
<plnk:partnerLinkType name="Ifelse"> | |
<plnk:role name="IfelseProvider" portType="tns:Ifelse"/> | |
</plnk:partnerLinkType> | |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
BINDING DEFINITION - Defines the message format and protocol details | |
for a web service. | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> | |
<binding name="IfelseBinding" type="tns:Ifelse"> | |
<soap:binding style="document" | |
transport="http://schemas.xmlsoap.org/soap/http" /> | |
<operation name="process"> | |
<soap:operation | |
soapAction="http://www.youtility.in/process" /> | |
<input> | |
<soap:body use="literal" /> | |
</input> | |
<output> | |
<soap:body use="literal" /> | |
</output> | |
</operation> | |
</binding> | |
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
SERVICE DEFINITION - A service groups a set of ports into | |
a service unit. | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> | |
<service name="Ifelse"> | |
<port name="IfelsePort" binding="tns:IfelseBinding"> | |
<soap:address location="http://localhost:8080/Ifelse" /> | |
</port> | |
</service> | |
</definitions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment