[jboss-svn-commits] JBL Code SVN: r7508 - labs/jbossesb/trunk/product/samples/trailblazer2/client/resources
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Nov 9 13:20:58 EST 2006
Author: daniel.brum at jboss.com
Date: 2006-11-09 13:20:56 -0500 (Thu, 09 Nov 2006)
New Revision: 7508
Added:
labs/jbossesb/trunk/product/samples/trailblazer2/client/resources/LoanBrokerWS-wsdl
labs/jbossesb/trunk/product/samples/trailblazer2/client/resources/LoanBrokerWS-wsdl.xml
labs/jbossesb/trunk/product/samples/trailblazer2/client/resources/web.xml
Log:
Added: labs/jbossesb/trunk/product/samples/trailblazer2/client/resources/LoanBrokerWS-wsdl
===================================================================
--- labs/jbossesb/trunk/product/samples/trailblazer2/client/resources/LoanBrokerWS-wsdl 2006-11-09 18:20:39 UTC (rev 7507)
+++ labs/jbossesb/trunk/product/samples/trailblazer2/client/resources/LoanBrokerWS-wsdl 2006-11-09 18:20:56 UTC (rev 7508)
@@ -0,0 +1,47 @@
+<?xml version="1.0"?>
+<definitions name="LoanBrokerWSService" targetNamespace="http://localhost/trailblazerWS">
+<types>
+ <schema elementFormDefault="qualified" targetNamespace="http://localhost/trailblazerWS">
+ <complexType name="WebCustomer">
+ <sequence>
+ <element name="address" nillable="true" type="string"/>
+ <element name="email" nillable="true" type="string"/>
+ <element name="employerName" nillable="true" type="string"/>
+ <element name="loanAmount" type="double"/>
+ <element name="loanDuration" type="int"/>
+ <element name="name" nillable="true" type="string"/>
+ <element name="salary" type="double"/>
+ <element name="ssn" type="int"/>
+ </sequence>
+ </complexType>
+ </schema>
+</types>
+
+<message name="LoanBrokerESB-WS_RequestLoanResponse"/>
+ <message name="LoanBrokerESB-WS_RequestLoan">
+<part name="WebCustomer_1" type="tns:WebCustomer"/>
+</message>
+<portType name="LoanBrokerESB-WS">
+ <operation name="RequestLoan" parameterOrder="WebCustomer_1">
+<input message="tns:LoanBrokerESB-WS_RequestLoan"/>
+<output message="tns:LoanBrokerESB-WS_RequestLoanResponse"/>
+</operation>
+</portType>
+ <binding name="LoanBrokerESB-WSBinding" type="tns:LoanBrokerESB-WS">
+<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="RequestLoan">
+<soap:operation soapAction=""/>
+ <input>
+<soap:body namespace="http://localhost/trailblazerWS" use="literal"/>
+</input>
+ <output>
+<soap:body namespace="http://localhost/trailblazerWS" use="literal"/>
+</output>
+</operation>
+</binding>
+ <service name="LoanBrokerWSService">
+ <port binding="tns:LoanBrokerESB-WSBinding" name="LoanBrokerESB-WSPort">
+<soap:address location="http://d820:8080/trailblazer/LoanBrokerWS"/>
+</port>
+</service>
+</definitions>
Added: labs/jbossesb/trunk/product/samples/trailblazer2/client/resources/LoanBrokerWS-wsdl.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/trailblazer2/client/resources/LoanBrokerWS-wsdl.xml 2006-11-09 18:20:39 UTC (rev 7507)
+++ labs/jbossesb/trunk/product/samples/trailblazer2/client/resources/LoanBrokerWS-wsdl.xml 2006-11-09 18:20:56 UTC (rev 7508)
@@ -0,0 +1,47 @@
+<?xml version="1.0"?>
+<definitions name="LoanBrokerWSService" targetNamespace="http://localhost/trailblazerWS">
+<types>
+ <schema elementFormDefault="qualified" targetNamespace="http://localhost/trailblazerWS">
+ <complexType name="WebCustomer">
+ <sequence>
+ <element name="address" nillable="true" type="string"/>
+ <element name="email" nillable="true" type="string"/>
+ <element name="employerName" nillable="true" type="string"/>
+ <element name="loanAmount" type="double"/>
+ <element name="loanDuration" type="int"/>
+ <element name="name" nillable="true" type="string"/>
+ <element name="salary" type="double"/>
+ <element name="ssn" type="int"/>
+ </sequence>
+ </complexType>
+ </schema>
+</types>
+
+<message name="LoanBrokerESB-WS_RequestLoanResponse"/>
+ <message name="LoanBrokerESB-WS_RequestLoan">
+<part name="WebCustomer_1" type="tns:WebCustomer"/>
+</message>
+<portType name="LoanBrokerESB-WS">
+ <operation name="RequestLoan" parameterOrder="WebCustomer_1">
+<input message="tns:LoanBrokerESB-WS_RequestLoan"/>
+<output message="tns:LoanBrokerESB-WS_RequestLoanResponse"/>
+</operation>
+</portType>
+ <binding name="LoanBrokerESB-WSBinding" type="tns:LoanBrokerESB-WS">
+<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="RequestLoan">
+<soap:operation soapAction=""/>
+ <input>
+<soap:body namespace="http://localhost/trailblazerWS" use="literal"/>
+</input>
+ <output>
+<soap:body namespace="http://localhost/trailblazerWS" use="literal"/>
+</output>
+</operation>
+</binding>
+ <service name="LoanBrokerWSService">
+ <port binding="tns:LoanBrokerESB-WSBinding" name="LoanBrokerESB-WSPort">
+<soap:address location="http://d820:8080/trailblazer/LoanBrokerWS"/>
+</port>
+</service>
+</definitions>
Added: labs/jbossesb/trunk/product/samples/trailblazer2/client/resources/web.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/trailblazer2/client/resources/web.xml 2006-11-09 18:20:39 UTC (rev 7507)
+++ labs/jbossesb/trunk/product/samples/trailblazer2/client/resources/web.xml 2006-11-09 18:20:56 UTC (rev 7508)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation= "http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
+<servlet>
+<servlet-name>LoanBrokerWS</servlet-name>
+<servlet-class>org.jboss.soa.esb.samples.trailblazer.web.LoanBrokerWS</servlet-class>
+</servlet>
+<servlet-mapping>
+<servlet-name>LoanBrokerWS</servlet-name>
+<url-pattern>/LoanBrokerWS</url-pattern>
+</servlet-mapping>
+<env-entry>
+ <description>LoanBroker Config File</description>
+ <env-entry-name>LoanBrokerConfigFile</env-entry-name>
+ <env-entry-type>java.lang.String</env-entry-type>
+ <env-entry-value>@LoanBrokerConfigFile@</env-entry-value>
+ </env-entry>
+</web-app>
More information about the jboss-svn-commits
mailing list