I am not mind this process to be the third example once the problem is solved.
And the WSDL definitions of partner processes are as following.

BankLoan.wsdl

  | <?xml version="1.0" encoding="UTF-8"?>
  | <definitions targetNamespace="http://external.company/BankLoan";
  |   xmlns="http://schemas.xmlsoap.org/wsdl/";
  |   xmlns:my="http://external.company/BankLoan";
  |   xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
  |   <types>
  |     <schema targetNamespace="http://external.company/BankLoan";
  |       xmlns="http://www.w3.org/2001/XMLSchema";>
  |       <complexType name="LoanRequestType">
  |         <sequence>
  |           <element name="sessionid" type="int"/>
  |           <element name="amount" type="double"/>
  |         </sequence>
  |       </complexType>
  |       <complexType name="LoanResultType">
  |         <sequence>
  |           <element name="instruction" type="string"/>
  |           <element name="charge" type="double"/>
  |           <element name="amount" type="double"/>
  |         </sequence>
  |       </complexType>
  |     </schema>
  |   </types>
  |   <message name="LoanRequest">
  |     <part name="info" type="my:LoanRequestType"/>
  |   </message>
  |   <message name="LoanResult">
  |     <part name="result" type="my:LoanResultType"/>
  |   </message>
  |   <portType name="BankLoanPortType">
  |     <operation name="loan">
  |       <input message="my:LoanRequest" name="form"/>
  |       <output message="my:LoanResult" name="result"/>
  |     </operation>
  |   </portType>
  | </definitions>
  | 

BankLoan_SVC.wsdl

  | <?xml version="1.0" encoding="UTF-8"?>
  | <definitions targetNamespace="http://external.company/BankLoan";
  |   xmlns="http://schemas.xmlsoap.org/wsdl/";
  |   xmlns:my="http://external.company/BankLoan";
  |   xmlns:xsd="http://www.w3.org/2001/XMLSchema";
  |   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
  |   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |   xsi:schemaLocation="http://schemas.xmlsoap.org/wsdl/
  |             http://schemas.xmlsoap.org/wsdl/";>
  | 
  |   <import namespace="http://external.company/BankLoan"; 
location="BankLoan.wsdl" />
  | 
  |   <binding name="BankLoanSoapBinding" type="my:BankLoanPortType">
  |     <soap:binding style="rpc" 
transport="http://schemas.xmlsoap.org/soap/http"/>
  |     <operation name="loan">
  |       <soap:operation/>
  |       <input>
  |         <soap:body use="literal" 
namespace="http://external.company/BankLoan"/>
  |       </input>
  |       <output>
  |         <soap:body use="literal" 
namespace="http://external.company/BankLoan"/>
  |       </output>
  |     </operation>
  |   </binding>
  | 
  |   <service name="BankLoanService">
  |     <port name="BankLoanPortType" binding="my:BankLoanSoapBinding">
  |       <soap:address location="REPLACE_WITH_ACTUAL_URI" />
  |     </port>
  |   </service>
  | </definitions>
  | 

BlackList.wsdl

  | <?xml version="1.0" encoding="UTF-8"?>
  | <definitions targetNamespace="http://internal.company/BlackList";
  |   xmlns="http://schemas.xmlsoap.org/wsdl/";
  |   xmlns:my="http://internal.company/BlackList";
  |   xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
  | 
  |   <message name="CustomerInfo">
  |     <part name="userid" type="xsd:int"/>
  |   </message>
  |   <message name="BlackListResult">
  |     <part name="isBlackListed" type="xsd:boolean"/>
  |   </message>
  | 
  |   <portType name="BlackListPortType">
  |     <operation name="isBlackListed">
  |       <input message="my:CustomerInfo" name="info"/>
  |       <output message="my:BlackListResult" name="result"/>
  |     </operation>
  |   </portType>
  | </definitions>
  | 

BlackList_SVC.wsdl

  | <?xml version="1.0" encoding="UTF-8"?>
  | <definitions targetNamespace="http://internal.company/BlackList";
  |   xmlns="http://schemas.xmlsoap.org/wsdl/";
  |   xmlns:my="http://internal.company/BlackList";
  |   xmlns:xsd="http://www.w3.org/2001/XMLSchema";
  |   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
  |   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |   xsi:schemaLocation="http://schemas.xmlsoap.org/wsdl/
  |             http://schemas.xmlsoap.org/wsdl/";>
  | 
  |   <import namespace="http://internal.company/BlackList"; 
location="BlackList.wsdl" />
  | 
  |   <binding name="BlackListSoapBinding" type="my:BlackListPortType">
  |     <soap:binding style="rpc" 
transport="http://schemas.xmlsoap.org/soap/http"/>
  |     <operation name="isBlackListed">
  |       <soap:operation/>
  |       <input>
  |         <soap:body use="literal" 
namespace="http://internal.company/BlackList"/>
  |       </input>
  |       <output>
  |         <soap:body use="literal" 
namespace="http://internal.company/BlackList"/>
  |       </output>
  |     </operation>
  |   </binding>
  | 
  |   <service name="BlackListService">
  |     <port name="BlackListPortType" binding="my:BlackListSoapBinding">
  |       <soap:address location="REPLACE_WITH_ACTUAL_URI" />
  |     </port>
  |   </service>
  | </definitions>
  | 

Customer.wsdl

  | <?xml version="1.0" encoding="UTF-8"?>
  | <definitions targetNamespace="http://internal.company/Customer";
  |   xmlns="http://schemas.xmlsoap.org/wsdl/";
  |   xmlns:my="http://internal.company/Customer";
  |   xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
  |   <types>
  |     <schema targetNamespace="http://internal.company/Customer";
  |       xmlns="http://www.w3.org/2001/XMLSchema";>
  |       <complexType name="LoginRequestType">
  |         <sequence>
  |           <element name="userid" type="int"/>
  |           <element name="password" type="string"/>
  |         </sequence>
  |       </complexType>
  |       <complexType name="LoginResultType">
  |         <sequence>
  |           <element name="sessionid" type="int"/>
  |         </sequence>
  |       </complexType>
  |           <element name="OperationFault" type="my:OperationFaultType"/>
  |       <complexType name="OperationFaultType">
  |         <sequence>
  |           <element name="reason" type="string"/>
  |         </sequence>
  |       </complexType>
  |     </schema>
  |   </types>
  |   <message name="LoginRequest">
  |     <part name="info" type="my:LoginRequestType"/>
  |   </message>
  |   <message name="LoginResult">
  |     <part name="result" type="my:LoginResultType"/>
  |   </message>
  |   <message name="FaultResult">
  |     <part name="ref" element="my:OperationFault"/>
  |   </message>
  | 
  |   <portType name="CustomerPortType">
  |     <operation name="login">
  |       <input message="my:LoginRequest" name="info"/>
  |       <output message="my:LoginResult" name="result"/>
  |           <fault message="my:FaultResult" name="fault"/>
  |     </operation>
  |   </portType>
  | </definitions>
  | 

Customer_SVC.wsdl

  | <?xml version="1.0" encoding="UTF-8"?>
  | <definitions targetNamespace="http://internal.company/Customer";
  |   xmlns="http://schemas.xmlsoap.org/wsdl/";
  |   xmlns:my="http://internal.company/Customer";
  |   xmlns:xsd="http://www.w3.org/2001/XMLSchema";
  |   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
  |   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |   xsi:schemaLocation="http://schemas.xmlsoap.org/wsdl/
  |             http://schemas.xmlsoap.org/wsdl/";>
  | 
  |   <import namespace="http://internal.company/Customer"; 
location="Customer.wsdl" />
  | 
  |   <binding name="CustomerSoapBinding" type="my:CustomerPortType">
  |     <soap:binding style="rpc" 
transport="http://schemas.xmlsoap.org/soap/http"/>
  |     <operation name="login">
  |       <soap:operation/>
  |       <input>
  |         <soap:body use="literal" 
namespace="http://internal.company/Customer"/>
  |       </input>
  |       <output>
  |         <soap:body use="literal" 
namespace="http://internal.company/Customer"/>
  |       </output>
  |       <fault name="fault">
  |         <soap:fault use="literal" 
namespace="http://internal.company/Customer"/>
  |       </fault>
  |     </operation>
  |   </binding>
  | 
  |   <service name="CustomerService">
  |     <port name="CustomerPortType" binding="my:CustomerSoapBinding">
  |       <soap:address location="REPLACE_WITH_ACTUAL_URI" />
  |     </port>
  |   </service>
  | </definitions>
  | 

Logger.wsdl

  | <?xml version="1.0" encoding="UTF-8"?>
  | <definitions targetNamespace="http://internal.company/Logger";
  |   xmlns="http://schemas.xmlsoap.org/wsdl/";
  |   xmlns:my="http://internal.company/Logger";
  |   xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
  | 
  |   <message name="LogInfo">
  |     <part name="message" type="xsd:string"/>
  |   </message>
  | 
  |   <portType name="LoggerPortType">
  |     <operation name="log">
  |       <input message="my:LogInfo" name="info"/>
  |     </operation>
  |   </portType>
  | </definitions>
  | 

Logger_SVC.wsdl

  | <?xml version="1.0" encoding="UTF-8"?>
  | <definitions targetNamespace="http://internal.company/Logger";
  |   xmlns="http://schemas.xmlsoap.org/wsdl/";
  |   xmlns:my="http://internal.company/Logger";
  |   xmlns:xsd="http://www.w3.org/2001/XMLSchema";
  |   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
  |   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |   xsi:schemaLocation="http://schemas.xmlsoap.org/wsdl/
  |             http://schemas.xmlsoap.org/wsdl/";>
  | 
  |   <import namespace="http://internal.company/Logger"; location="Logger.wsdl" 
/>
  | 
  |   <binding name="LoggerSoapBinding" type="my:LoggerPortType">
  |     <soap:binding style="rpc" 
transport="http://schemas.xmlsoap.org/soap/http"/>
  |     <operation name="log">
  |       <soap:operation/>
  |       <input>
  |         <soap:body use="literal" 
namespace="http://internal.company/Logger"/>
  |       </input>
  |     </operation>
  |   </binding>
  | 
  |   <service name="LoggerService">
  |     <port name="LoggerPortType" binding="my:LoggerSoapBinding">
  |       <soap:address location="REPLACE_WITH_ACTUAL_URI" />
  |     </port>
  |   </service>
  | </definitions>
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916839#3916839

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916839


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to