I dont think the attachments are coming I am now sending them as .txt
>>> "Mark Bullathsinghalage Cooray" <[email protected]> 9/21/2011
>>> 10:20 AM >>>
Sorry, check now
>>> Waruna Ranasinghe <[email protected]> 9/20/2011 10:26 PM >>>
I cannot see any attachements.
On 20 September 2011 04:26, Mark Bullathsinghalage Cooray <
[email protected]> wrote:
> Hi Waruna,
>
> I am attaching the two wsdl's generated by ODE engine (I believe)
>
> Regards,
>
> Mark.
> >>> Waruna Ranasinghe <[email protected]> 9/16/2011 8:48 PM >>>
>
> Hi Mark,
>
> On 15 September 2011 10:55, Mark Bullathsinghalage Cooray <
> [email protected]> wrote:
>
> > Hi All,
> >
> > I am using ODE - BPEL editor for Eclipse.
> >
> > After Deploying a service when I check
> > localhost:8080/ode/deployment/services I can see the deployed service.
> > However,
> >
> > I see
> >
> > 1. WSDL with Partner Link Name, portType, and Location and other elements
> > in the WSDL
> > 2. Axis2 WSDL with no PL information but contains the Partner schemas
> > (Input , Response)
> >
> > My Question is :
> >
> > 1. Why would you need PL information in a WSDL?
> >
> WSDL contains the PartnerLinkType rather than the PartnerLink. Partnerlinks
> are defined in the BPEL file.
>
> > 2. Why would you need Partner schema information ?
> >
> What WSDL are you talking about? is it the WSDL for expose the BPEL process
> as a service or the WSDL of the partner service?
>
> Thanks,
> Waruna
>
> >
> > Please be good enough to respond
> >
> > Mark.
> >
>
>
>
> --
> -----------------------------------------------------
> Regards,
> Waruna Ranasinghe
>
> blog: http://warunapw.blogspot.com
> twitter: http://twitter.com/warunapww
> http://lk.linkedin.com/in/waruna
> www.facebook.com/waruna.ranasinghe
>
--
-----------------------------------------------------
Regards,
Waruna Ranasinghe
mob: 0724318285
blog: http://warunapw.blogspot.com
twitter: http://twitter.com/warunapww
http://lk.linkedin.com/in/waruna
www.facebook.com/waruna.ranasinghe
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdl1="http://flight.apache.org"
xmlns:ns1="http://checkCredit.apache.org"
xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
xmlns:tns="org.booking.travel"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:ns0="http://flight.apache.org"
xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
targetNamespace="org.booking.travel">
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:wsdl="http://checkCredit.apache.org"
attributeFormDefault="unqualified"
elementFormDefault="qualified"
targetNamespace="org.booking.travel">
<element name="travelBookingProcessRequest">
<complexType>
<sequence>
<element name="cardNumber" type="string"/>
<element name="cardType" type="string"/>
<element name="airline" type="string"/>
<element name="source" type="string"/>
<element name="target" type="string"/>
<element name="depart" type="string"/>
<element name="arrival" type="string"/>
</sequence>
</complexType>
</element>
<element name="travelBookingProcessResponse">
<complexType>
<sequence>
<element name="result" type="string"/>
</sequence>
</complexType>
</element>
</schema>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns="http://flight.apache.org"
xmlns:ns1="http://org.apache.axis2/xsd"
attributeFormDefault="qualified"
elementFormDefault="qualified"
targetNamespace="http://flight.apache.org">
<xs:element name="bookFlight">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="str_AirLine" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="str_Source" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="str_Target" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="str_Depart" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="Arrival" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="str_CardNo" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="str_CardType" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="bookFlightResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ns="http://checkCredit.apache.org"
xmlns:ns1="http://org.apache.axis2/xsd"
attributeFormDefault="qualified"
elementFormDefault="qualified"
targetNamespace="http://checkCredit.apache.org">
<xs:element name="validateCreditCard">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="str_CardNumber" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="str_CardType" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="validateCreditCardResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
</wsdl:types>
<wsdl:message name="travelBookingProcessRequestMessage">
<wsdl:part name="payload" element="tns:travelBookingProcessRequest"/>
</wsdl:message>
<wsdl:message name="travelBookingProcessResponseMessage">
<wsdl:part name="payload" element="tns:travelBookingProcessResponse"/>
</wsdl:message>
<wsdl:portType name="travelBookingProcessPortType">
<wsdl:operation name="process">
<wsdl:input message="tns:travelBookingProcessRequestMessage"
wsaw:Action="org.booking.travel/process"/>
<wsdl:output message="tns:travelBookingProcessResponseMessage"
wsaw:Action="org.booking.travel/travelBookingProcess/processResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="travelBookingProcessSOAP11Binding"
type="tns:travelBookingProcessPortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<wsdl:operation name="process">
<soap:operation soapAction="org.booking.travel/process" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="travelBookingProcessSOAP12Binding"
type="tns:travelBookingProcessPortType">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<wsdl:operation name="process">
<soap12:operation soapAction="org.booking.travel/process" style="document"/>
<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="travelBookingProcessHttpBinding" type="tns:travelBookingProcessPortType">
<http:binding verb="POST"/>
<wsdl:operation name="process">
<http:operation location="travelBookingProcess/process"/>
<wsdl:input>
<mime:content type="text/xml" part="process"/>
</wsdl:input>
<wsdl:output>
<mime:content type="text/xml" part="process"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="travelBookingProcess">
<wsdl:port name="travelBookingProcessSOAP11port_http"
binding="tns:travelBookingProcessSOAP11Binding">
<soap:address location="http://localhost:9090/ode/processes/travelBookingProcess"/>
</wsdl:port>
<wsdl:port name="travelBookingProcessSOAP12port_http"
binding="tns:travelBookingProcessSOAP12Binding">
<soap12:address location="http://localhost:9090/ode/processes/travelBookingProcess"/>
</wsdl:port>
<wsdl:port name="travelBookingProcessHttpport"
binding="tns:travelBookingProcessHttpBinding">
<http:address location="http://localhost:9090/ode/processes/travelBookingProcess"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions><?xml version="1.0" encoding="UTF-8" standalone="no"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="org.booking.travel" xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
xmlns:wsdl="http://checkCredit.apache.org" xmlns:wsdl1="http://flight.apache.org"
name="travelBookingProcess" targetNamespace="org.booking.travel">
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<plnk:partnerLinkType name="creditCheckPLT">
<plnk:role name="creditCheckPLRole" portType="wsdl:CreditCardServicePortType" />
</plnk:partnerLinkType>
<plnk:partnerLinkType name="flightResevationPLT">
<plnk:role name="flightResevationPLRole" portType="wsdl1:BookFlightPortType" />
</plnk:partnerLinkType>
<plnk:partnerLinkType name="flightBookingPLT">
<plnk:role name="flightBookingPLRole" portType="wsdl1:BookFlightPortType" />
</plnk:partnerLinkType>
<import location="CreditCardService.wsdl" namespace="http://checkCredit.apache.org" />
<import location="http://localhost:8080/axis2/services/BookFlight?wsdl"
namespace="http://flight.apache.org" />
<types>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
attributeFormDefault="unqualified" elementFormDefault="qualified"
targetNamespace="org.booking.travel">
<element name="travelBookingProcessRequest">
<complexType>
<sequence>
<element name="cardNumber" type="string" />
<element name="cardType" type="string" />
<element name="airline" type="string" />
<element name="source" type="string" />
<element name="target" type="string" />
<element name="depart" type="string" />
<element name="arrival" type="string" />
</sequence>
</complexType>
</element>
<element name="travelBookingProcessResponse">
<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="travelBookingProcessRequestMessage">
<part element="tns:travelBookingProcessRequest" name="payload" />
</message>
<message name="travelBookingProcessResponseMessage">
<part element="tns:travelBookingProcessResponse" name="payload" />
</message>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PORT TYPE DEFINITION - A port type groups a set of operations into a logical
service unit. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- portType implemented by the travelBookingProcess BPEL process -->
<portType name="travelBookingProcess">
<operation name="process">
<input message="tns:travelBookingProcessRequestMessage" />
<output message="tns:travelBookingProcessResponseMessage" />
</operation>
</portType>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PARTNER LINK TYPE DEFINITION ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<plnk:partnerLinkType name="travelBookingProcess">
<plnk:role name="travelBookingProcessProvider" portType="tns:travelBookingProcess" />
</plnk:partnerLinkType>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BINDING DEFINITION - Defines the message format and protocol details for
a web service. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<binding name="travelBookingProcessBinding" type="tns:travelBookingProcess">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http" />
<operation name="process">
<soap:operation soapAction="org.booking.travel/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="travelBookingProcess">
<port binding="tns:travelBookingProcessBinding" name="travelBookingProcessPort">
<soap:address
location="http://localhost:9090/ode/processes/travelBookingProcess" />
</port>
</service>
</definitions>