axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: xml-axis/java/samples/bidbuy deploy.wsdd
Date Wed, 20 Nov 2002 20:04:02 GMT
stevel      2002/11/20 12:04:02

  Modified:    java/wsdd/examples/chaining_examples ch_wsddScenario10.wsdd
                        ch_wsddScenario9.wsdd
               java/samples/bidbuy deploy.wsdd
  Log:
  changes to sample wsdd files to get it them to validate against the schema
  
  Revision  Changes    Path
  1.5       +21 -27    xml-axis/java/wsdd/examples/chaining_examples/ch_wsddScenario10.wsdd
  
  Index: ch_wsddScenario10.wsdd
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/wsdd/examples/chaining_examples/ch_wsddScenario10.wsdd,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ch_wsddScenario10.wsdd	4 May 2001 19:00:22 -0000	1.4
  +++ ch_wsddScenario10.wsdd	20 Nov 2002 20:04:01 -0000	1.5
  @@ -1,37 +1,31 @@
   <?xml version="1.0" encoding="UTF-8"?>
  -<deployment 	name="wsddScenario10" 
  -				targetNamespace="urn:myService"
  -				xmlns:tns="urn:myService"
  -				xmlns="http://xml.apache.org/axis/wsdd/" 
  -				xmlns:java="http://xml.apache.org/axis/wsdd/providers/java/"
  -				xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" 
  -				xsi:schemaLocation="http://xml.apache.org/axis/wsdd/ D:\Schemas\WSDD\WSDD.xsd">
  -	<documentation>
  +<deployment name="wsddScenario10" targetNamespace="urn:myService" xmlns:tns="urn:myService"
xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java/"
xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" xsi:schemaLocation="http://xml.apache.org/axis/wsdd/
D:\Schemas\WSDD\WSDD.xsd">
  +    <documentation>
       		This is a test of the WSDL service description and how it generates the right serviceHandler.
    	</documentation>
  -	<service name="wsddScenario10-service1">
  -		<requestFlow>
  -			<documentation>
  +    <service name="wsddScenario10-service1">
  +        <requestFlow>
  +            <documentation>
   				The input chain does not need to define type, as this is default
       				when more than one handler is specified within the flow
      			 </documentation>
  -			<handler name="inputHandler1" type="java:samples.handlers.testHandler1"/>
  -			<handler name="inputHandler2" type="java:samples.handlers.testHandler1">
  -				<parameter name="parm1">inputHandler2</parameter>
  -			</handler>
  -		</requestFlow>
  -		<provider>
  -			<operation name="op1" qName="tns:op1"/>
  -			<operation name="op2" qName="tns:op1"/>
  -			<java:provider className="samples.wsdd.wsddScenario10" isStatic="true"/>
  -		</provider>
  -		<responseFlow>
  -			<documentation>
  +            <handler name="inputHandler1" type="java:samples.handlers.testHandler1"/>
  +            <handler name="inputHandler2" type="java:samples.handlers.testHandler1">
  +                <parameter name="parm1">inputHandler2</parameter>
  +            </handler>
  +        </requestFlow>
  +        <provider>
  +            <operation name="op1" qname="tns:op1"/>
  +            <operation name="op2" qname="tns:op1"/>
  +            <java:provider className="samples.wsdd.wsddScenario10" isStatic="true"/>
  +        </provider>
  +        <responseFlow>
  +            <documentation>
   				The even though no type is specified, the default chain type is taken
   			      because more than one handler is specified
      			 </documentation>
  -			<handler name="outputHandler1" type="java:samples.handlers.testHandler2"/>
  -			<handler name="outputHandler2" type="java:samples.handlers.testHandler2"/>
  -		</responseFlow>
  -	</service>
  +            <handler name="outputHandler1" type="java:samples.handlers.testHandler2"/>
  +            <handler name="outputHandler2" type="java:samples.handlers.testHandler2"/>
  +        </responseFlow>
  +    </service>
   </deployment>
  
  
  
  1.5       +21 -27    xml-axis/java/wsdd/examples/chaining_examples/ch_wsddScenario9.wsdd
  
  Index: ch_wsddScenario9.wsdd
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/wsdd/examples/chaining_examples/ch_wsddScenario9.wsdd,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ch_wsddScenario9.wsdd	4 May 2001 19:00:23 -0000	1.4
  +++ ch_wsddScenario9.wsdd	20 Nov 2002 20:04:01 -0000	1.5
  @@ -1,38 +1,32 @@
   <?xml version="1.0" encoding="UTF-8"?>
  -<deployment 	name="wsddScenario9" 
  -				targetNamespace="urn:myService"
  -				xmlns="http://xml.apache.org/axis/wsdd/" 
  -				xmlns:tns="urn:myService"
  -				xmlns:java="http://xml.apache.org/axis/wsdd/providers/java/"
  -				xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" 
  -				xsi:schemaLocation="http://xml.apache.org/axis/wsdd/ D:\Schemas\WSDD\WSDD.xsd">
  -	<documentation>
  +<deployment name="wsddScenario9" targetNamespace="urn:myService" xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:tns="urn:myService" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java/" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
xsi:schemaLocation="http://xml.apache.org/axis/wsdd/ D:\Schemas\WSDD\WSDD.xsd">
  +    <documentation>
       		A more complex serviceDeployment descriptor is used to describe the service.
       		The type is not needed either, as it reflects the default choice (simpleTargetedChain).
       	</documentation>
  -	<service name="wsddScenario9-service1">
  -		<requestFlow type="java:org.apache.axis.SimpleChain">
  -			<documentation>
  +    <service name="wsddScenario9-service1">
  +        <requestFlow type="java:org.apache.axis.SimpleChain">
  +            <documentation>
   				The input chain does not need to define type, as this is default
       			when more than one handler is specified within the flow
      			 </documentation>
  -			<handler id="inputHandler1" type="samples.handlers.testHandler1"/>
  -			<handler id="inputHandler2" type="samples.handlers.testHandler1">
  -				<parameter name="parm1">inputHandler2</parameter>
  -			</handler>
  -		</requestFlow>
  -		<provider>
  -			<operation name="op1" qName="tns:op1"/>
  -			<operation name="op2" qName="tns:operation2" />
  -			<java:provider className="samples.wsdd.wsddScenario9" isStatic="true" />
  -		</provider>
  -		<responseFlow>
  -			<documentation>
  +            <handler id="inputHandler1" type="samples.handlers.testHandler1"/>
  +            <handler id="inputHandler2" type="samples.handlers.testHandler1">
  +                <parameter name="parm1">inputHandler2</parameter>
  +            </handler>
  +        </requestFlow>
  +        <provider>
  +            <operation name="op1" qname="tns:op1"/>
  +            <operation name="op2" qname="tns:operation2"/>
  +            <java:provider className="samples.wsdd.wsddScenario9" isStatic="true"/>
  +        </provider>
  +        <responseFlow>
  +            <documentation>
   				The even though no type is specified, the default chain type is taken
         				because more than one handler is specified
       			</documentation>
  -			<handler name="outputHandler1" type="samples.handlers.testHandler2"/>
  -			<handler name="outputHandler2" type="samples.handlers.testHandler2"/>
  -		</responseFlow>
  -	</service>
  +            <handler name="outputHandler1" type="samples.handlers.testHandler2"/>
  +            <handler name="outputHandler2" type="samples.handlers.testHandler2"/>
  +        </responseFlow>
  +    </service>
   </deployment>
  
  
  
  1.7       +4 -4      xml-axis/java/samples/bidbuy/deploy.wsdd
  
  Index: deploy.wsdd
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/samples/bidbuy/deploy.wsdd,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- deploy.wsdd	20 Nov 2002 20:00:52 -0000	1.6
  +++ deploy.wsdd	20 Nov 2002 20:04:01 -0000	1.7
  @@ -11,13 +11,13 @@
           <parameter name="className" value="samples.bidbuy.BidService"/>
           <parameter name="allowedMethods" value="RequestForQuote SimpleBuy Buy Ping"/>
       </service>
  -    <beanMapping qName="bid:PurchaseOrder" languageSpecificType="java:samples.bidbuy.PurchaseOrder"/>
  -    <beanMapping qName="bid:Address" languageSpecificType="java:samples.bidbuy.Address"/>
  -    <beanMapping qName="bid:LineItem" languageSpecificType="java:samples.bidbuy.LineItem"/>
  +    <beanMapping qname="bid:PurchaseOrder" languageSpecificType="java:samples.bidbuy.PurchaseOrder"/>
  +    <beanMapping qname="bid:Address" languageSpecificType="java:samples.bidbuy.Address"/>
  +    <beanMapping qname="bid:LineItem" languageSpecificType="java:samples.bidbuy.LineItem"/>
       <!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->
       <service name="BidRegistry" provider="java:RPC">
           <parameter name="className" value="samples.bidbuy.RegistryService"/>
           <parameter name="allowedMethods" value="Register Unregister Lookup LookupAsString"/>
       </service>
  -    <beanMapping qName="reg:Service" languageSpecificType="java:samples.bidbuy.Service"/>
  +    <beanMapping qname="reg:Service" languageSpecificType="java:samples.bidbuy.Service"/>
   </deployment>
  
  
  

Mime
View raw message