CAP´ITULO 7
A.2 Documentos WSDL referentes ao estudo de caso
documento WSDL referente ao servi¸co Cliente
<?xml version="1.0" e n c o d i n g="UTF -8" ?>
<w s d l : d e f i n i t i o n s name=" clienteService " tar getNam es p ace=" http:// localhost:8080 /axis / samples/ warehouse/ wsdl / cliente.wsdl "
x m l n s : i m p l=" http:// localhost:8080 / axis / samples/ warehouse/wsdl / cliente. wsdl " x m l n s : i n t f=" urn:cliente " x m l n s : a p a c h e s o a p=" http:// xml. apache.org/xml - soap " x m l n s : w s d l s o a p=" http:// schemas. xmlsoap. org/wsdl /soap /" x m l n s : s o a p e n c="http:// schemas. xmlsoap.org/ soap / encoding/" x m l n s : x s d=" http:// www.w3. org /2001/ XMLSchema" x m l n s : w s d l =" http:// schemas. xmlsoap. org/wsdl /" xmlns=" http:// schemas. xmlsoap.
org/wsdl /">
<w s d l : m e s s a g e name=" comprarOut">
<w s d l : p a r t name="in0" typ e=" soapenc:Array "/> </ w s d l : m e s s a g e>
<w s d l : m e s s a g e name=" levarIn">
<w s d l : p a r t name="in0" typ e=" soapenc:Array "/> </ w s d l : m e s s a g e>
<w s d l : p o r t T y p e name=" Cliente">
<w s d l : o p e r a t i o n name=" comprar" parameterOrder="in0">
<w s d l : o u t p u t message=" impl:comprarOut " name=" comprarOut "/> </ w s d l : o p e r a t i o n>
<w s d l : o p e r a t i o n name=" levar" parameterOrder="in0"> <w s d l : i n p u t message=" impl:levarIn " name=" levarIn"/> </ w s d l : o p e r a t i o n>
</ w s d l : p o r t T y p e>
<w s d l : b i n d i n g name=" lojaSoapBinding " typ e=" impl:cliente ">
<w s d l s o a p : b i n d i n g s t y l e="rpc" t r a n s p o r t=" http:// schemas. xmlsoap .org/soap / http "/>
<w s d l : o p e r a t i o n name=" comprar">
<w s d l s o a p : o p e r a t i o n s oap Action=""/> <w s d l : o u t p u t name=" comprar">
<w s d l s o a p : b o d y e n c o d i n g S t y l e="http:// schemas. xmlsoap.org/ soap / encoding/" namespace=" urn:cliente " u s e=" encoded"/ >
</ w s d l : o u t p u t> </ w s d l : o p e r a t i o n>
<w s d l : i n p u t name=" levar">
<w s d l s o a p : b o d y e n c o d i n g S t y l e="http:// schemas. xmlsoap.org/ soap / encoding/" namespace=" urn:cliente " u s e=" encoded"/ >
</ w s d l : i n p u t> </ w s d l : o p e r a t i o n> </ w s d l : b i n d i n g>
<w s d l : s e r v i c e name=" clienteService ">
<w s d l : p o r t b i n d i n g=" impl:clienteSoapBinding" name=" cliente"> <w s d l s o a p : a d d r e s s l o c a t i o n=" http:// localhost:8080 /axis /
services/Loja "/> </ w s d l : p o r t>
</ w s d l : s e r v i c e> </ w s d l : d e f i n i t i o n s>
documento WSDL referente ao servi¸co Banco
<?xml version="1.0" e n c o d i n g="UTF -8" ?>
<w s d l : d e f i n i t i o n s name=" bancoService " tar getNam es p ace=" http://
localhost:8080 /axis / samples/ warehouse/ wsdl / banco. wsdl " x m l n s : i m p l= " http:// localhost:8080 / axis / samples/ warehouse/wsdl /banco.wsdl "
x m l n s : i n t f=" urn:banco" x m l n s : a p a c h e s o a p=" http://xml. apache.org/xml - soap " x m l n s : w s d l s o a p=" http:// schemas. xmlsoap.org/ wsdl /soap /"
x m l n s : s o a p e n c=" http:// schemas. xmlsoap. org/soap / encoding/"
x m l n s : x s d=" http:// www.w3. org /2001/ XMLSchema" x m l n s : w s d l=" http:// schemas. xmlsoap. org/wsdl /" xmlns=" http:// schemas. xmlsoap.org/ wsdl / ">
<w s d l : m e s s a g e name=" autorizarOut ">
<w s d l : p a r t name=" autorizarOut " typ e=" xsd:string "/> </ w s d l : m e s s a g e>
<w s d l : m e s s a g e name=" autorizarIn ">
<w s d l : p a r t name="in0" typ e=" soapenc:Array "/> </ w s d l : m e s s a g e>
<w s d l : m e s s a g e name=" enviarContaOut ">
<w s d l : p a r t name=" enviarContaOut " typ e=" xsd:string"/> </ w s d l : m e s s a g e>
<w s d l : m e s s a g e name=" enviarContaIn ">
<w s d l : p a r t name="in0" typ e=" xsd:string"/> <w s d l : p a r t name="in1" typ e=" xsd:string"/> <w s d l : p a r t name="in2" typ e=" xsd:string"/> <w s d l : p a r t name="in3" typ e=" xsd:double"/> </ w s d l : m e s s a g e>
<w s d l : m e s s a g e name=" enviarPagamentoOut ">
</ w s d l : m e s s a g e>
<w s d l : m e s s a g e name=" enviarPagamentoIn "> <w s d l : p a r t name="in0" typ e=" xsd:string"/> <w s d l : p a r t name="in1" typ e=" xsd:string"/> <w s d l : p a r t name="in2" typ e=" xsd:double"/> </ w s d l : m e s s a g e>
<w s d l : p o r t T y p e name=" Banco">
<w s d l : o p e r a t i o n name=" enviarConta " parameterOrder="in0 in1 in2 in3">
<w s d l : i n p u t message=" impl:enviarContaIn " name=" enviarContaIn "/>
<w s d l : o u t p u t message=" impl:enviarContaOut " name=" enviarContaOut "/>
</ w s d l : o p e r a t i o n>
<w s d l : o p e r a t i o n name=" enviarPagamento " parameterOrder="in0 in1 in2">
<w s d l : i n p u t message=" impl:enviarPagamentoIn" name=" enviarPagamentoIn "/>
<w s d l : o u t p u t message=" impl:enviarPagamentoOut" name=" enviarPagamentoOut "/>
</ w s d l : o p e r a t i o n>
<w s d l : o p e r a t i o n name=" autorizar" parameterOrder="in0">
<w s d l : i n p u t message=" impl:autorizarIn " name=" autorizarIn "/> <w s d l : o u t p u t message=" impl:autorizarOut " name=" autorizarOut "
/>
</ w s d l : o p e r a t i o n> </ w s d l : p o r t T y p e>
<w s d l : b i n d i n g name=" bancoSoapBinding " typ e=" impl:banco">
<w s d l s o a p : b i n d i n g s t y l e="rpc" t r a n s p o r t=" http:// schemas. xmlsoap .org/soap / http "/>
<w s d l : o p e r a t i o n name=" enviarConta "> <w s d l s o a p : o p e r a t i o n s oap Action=""/> <w s d l : i n p u t name=" enviarContaIn ">
<w s d l s o a p : b o d y e n c o d i n g S t y l e="http:// schemas. xmlsoap.org/ soap / encoding/" namespace=" urn:banco" u s e=" encoded"/> </ w s d l : i n p u t>
<w s d l : o u t p u t name=" enviarContaOut ">
<w s d l s o a p : b o d y e n c o d i n g S t y l e="http:// schemas. xmlsoap.org/ soap / encoding/" namespace=" urn:banco" u s e=" encoded"/> </ w s d l : o u t p u t>
</ w s d l : o p e r a t i o n>
<w s d l : o p e r a t i o n name=" enviarPagamento "> <w s d l s o a p : o p e r a t i o n s oap Action=""/> <w s d l : i n p u t name=" enviarPagamentoIn ">
</ w s d l : i n p u t>
<w s d l : o u t p u t name=" enviarPagamentoOut ">
<w s d l s o a p : b o d y e n c o d i n g S t y l e="http:// schemas. xmlsoap.org/ soap / encoding/" namespace=" urn:banco" u s e=" encoded"/> </ w s d l : o u t p u t>
</ w s d l : o p e r a t i o n>
<w s d l : o p e r a t i o n name=" autorizar"> <w s d l s o a p : o p e r a t i o n s oap Action=""/> <w s d l : i n p u t name=" autorizarIn ">
<w s d l s o a p : b o d y e n c o d i n g S t y l e="http:// schemas. xmlsoap.org/ soap / encoding/" namespace=" urn:banco" u s e=" encoded"/> </ w s d l : i n p u t>
<w s d l : o u t p u t name=" autorizarOut ">
<w s d l s o a p : b o d y e n c o d i n g S t y l e="http:// schemas. xmlsoap.org/ soap / encoding/" namespace=" urn:banco" u s e=" encoded"/> </ w s d l : o u t p u t>
</ w s d l : o p e r a t i o n> </ w s d l : b i n d i n g>
<w s d l : s e r v i c e name=" bancoService ">
<w s d l : p o r t b i n d i n g=" impl:bancoSoapBinding" name=" banco"> <w s d l s o a p : a d d r e s s l o c a t i o n=" http:// localhost:8080 /axis /
services/Banco"/> </ w s d l : p o r t>
</ w s d l : s e r v i c e> </ w s d l : d e f i n i t i o n s>
documento WSDL referente ao servi¸co Loja
<?xml version="1.0" e n c o d i n g="UTF -8" ?>
<w s d l : d e f i n i t i o n s name=" lojaService " tar getNam es p ace=" http://
localhost:8080 /axis / samples/ warehouse/ wsdl / loja . wsdl " x m l n s : i m p l=" http:// localhost:8080 /axis / samples/ warehouse/ wsdl / loja .wsdl "
x m l n s : i n t f=" urn:loja" x m l n s : a p a c h e s o a p="http:// xml. apache. org/xml -soap " x m l n s : w s d l s o a p=" http:// schemas. xmlsoap. org/ wsdl / soap /"
x m l n s : s o a p e n c=" http:// schemas. xmlsoap. org/soap / encoding/"
x m l n s : x s d=" http:// www.w3. org /2001/ XMLSchema" x m l n s : w s d l=" http:// schemas. xmlsoap. org/wsdl /" xmlns=" http:// schemas. xmlsoap.org/ wsdl / ">
<w s d l : m e s s a g e name=" comprarIn ">
<w s d l : p a r t name="in0" typ e=" soapenc:Array "/> </ w s d l : m e s s a g e>
<w s d l : m e s s a g e name=" levarOut">
<w s d l : p a r t name="in0" typ e=" soapenc:Array "/> </ w s d l : m e s s a g e>
<w s d l : p a r t name="in0" typ e=" xsd:string"/> <w s d l : p a r t name="in1" typ e=" xsd:double"/> </ w s d l : m e s s a g e>
<w s d l : m e s s a g e name=" fazerPedidoOut ">
<w s d l : p a r t name=" fazerPedidoOut " typ e=" soapenc:Array "/> </ w s d l : m e s s a g e>
<w s d l : m e s s a g e name=" fazerPedidoIn ">
<w s d l : p a r t name="in0" typ e=" xsd:string"/> </ w s d l : m e s s a g e>
<w s d l : m e s s a g e name=" autorizarOut ">
<w s d l : p a r t name=" autorizarOut " typ e=" soapenc:Array "/> </ w s d l : m e s s a g e>
<w s d l : m e s s a g e name=" autorizarIn ">
<w s d l : p a r t name="in0" typ e=" xsd:string"/> </ w s d l : m e s s a g e>
<w s d l : p o r t T y p e name="Loja ">
<w s d l : o p e r a t i o n name=" comprar" parameterOrder="in0">
<w s d l : i n p u t message=" impl:comprarIn " name=" comprarIn "/> </ w s d l : o p e r a t i o n>
<w s d l : o p e r a t i o n name=" levar" parameterOrder="in0">
<w s d l : o u t p u t message=" impl:levarOut " name=" levarOut"/> </ w s d l : o p e r a t i o n>
<w s d l : o p e r a t i o n name=" emitirRecibo " parameterOrder=" in0 in1"> <w s d l : i n p u t message=" impl:emitirReciboIn " name="
emitirReciboIn "/> </ w s d l : o p e r a t i o n>
<w s d l : o p e r a t i o n name=" fazerPedido " parameterOrder="in0"> <w s d l : o u t p u t message=" impl:fazerPedidoOut " name="
fazerPedidoOut "/>
<w s d l : i n p u t message=" impl:fazerPedidoIn " name=" fazerPedidoIn "/>
</ w s d l : o p e r a t i o n>
<w s d l : o p e r a t i o n name=" autorizar" parameterOrder="in0">
<w s d l : o u t p u t message=" impl:autorizarOut " name=" autorizarOut " />
<w s d l : i n p u t message=" impl:autorizarIn " name=" autorizarIn "/> </ w s d l : o p e r a t i o n>
</ w s d l : p o r t T y p e>
<w s d l : b i n d i n g name=" lojaSoapBinding " typ e=" impl:loja">
<w s d l s o a p : b i n d i n g s t y l e="rpc" t r a n s p o r t=" http:// schemas. xmlsoap .org/soap / http "/>
<w s d l s o a p : o p e r a t i o n s oap Action=""/> <w s d l : i n p u t name=" comprar">
<w s d l s o a p : b o d y e n c o d i n g S t y l e="http:// schemas. xmlsoap.org/ soap / encoding/" namespace=" urn:loja" u s e=" encoded"/> </ w s d l : i n p u t>
</ w s d l : o p e r a t i o n>
<w s d l : o p e r a t i o n name=" levar">
<w s d l s o a p : o p e r a t i o n s oap Action=""/> <w s d l : o u t p u t name=" levar">
<w s d l s o a p : b o d y e n c o d i n g S t y l e="http:// schemas. xmlsoap.org/ soap / encoding/" namespace=" urn:loja" u s e=" encoded"/> </ w s d l : o u t p u t>
<w s d l : i n p u t name=" levar">
<w s d l s o a p : b o d y e n c o d i n g S t y l e="http:// schemas. xmlsoap.org/ soap / encoding/" namespace=" urn:loja" u s e=" encoded"/> </ w s d l : i n p u t>
</ w s d l : o p e r a t i o n>
<w s d l : o p e r a t i o n name=" autorizar"> <w s d l s o a p : o p e r a t i o n s oap Action=""/> <w s d l : o u t p u t name=" autorizarOut ">
<w s d l s o a p : b o d y e n c o d i n g S t y l e="http:// schemas. xmlsoap.org/ soap / encoding/" namespace=" urn:loja" u s e=" encoded"/> </ w s d l : o u t p u t>
<w s d l : i n p u t name=" autorizarIn ">
<w s d l s o a p : b o d y e n c o d i n g S t y l e="http:// schemas. xmlsoap.org/ soap / encoding/" namespace=" urn:loja" u s e=" encoded"/> </ w s d l : i n p u t>
</ w s d l : o p e r a t i o n>
<w s d l : o p e r a t i o n name=" emitirRecibo "> <w s d l s o a p : o p e r a t i o n s oap Action=""/> <w s d l : i n p u t name=" emitirReciboIn ">
<w s d l s o a p : b o d y e n c o d i n g S t y l e="http:// schemas. xmlsoap.org/ soap / encoding/" namespace=" urn:loja" u s e=" encoded"/> </ w s d l : i n p u t>
</ w s d l : o p e r a t i o n>
<w s d l : o p e r a t i o n name=" fazerPedido ">
<w s d l s o a p : o p e r a t i o n s oap Action=""/> <w s d l : o u t p u t name=" fazerPedidoOut ">
<w s d l s o a p : b o d y e n c o d i n g S t y l e="http:// schemas. xmlsoap.org/ soap / encoding/" namespace=" urn:loja" u s e=" encoded"/> </ w s d l : o u t p u t>
<w s d l : i n p u t name=" fazerPedidoIn ">
<w s d l s o a p : b o d y e n c o d i n g S t y l e="http:// schemas. xmlsoap.org/ soap / encoding/" namespace=" urn:loja" u s e=" encoded"/> </ w s d l : i n p u t>
</ w s d l : o p e r a t i o n> </ w s d l : b i n d i n g>
<w s d l : s e r v i c e name=" lojaService ">
<w s d l : p o r t b i n d i n g=" impl:lojaSoapBinding " name=" loja "> <w s d l s o a p : a d d r e s s l o c a t i o n=" http:// localhost:8080 /axis /
services/Loja "/> </ w s d l : p o r t>
</ w s d l : s e r v i c e> </ w s d l : d e f i n i t i o n s>
documento WSDL referente ao servi¸co Dep´osito
<?xml version="1.0" e n c o d i n g="UTF -8" ?>
<w s d l : d e f i n i t i o n s name=" depositoService " tar getNam es p ace=" http:// localhost:8080 /axis / samples/ warehouse/ wsdl / deposito. wsdl " x m l n s : i m p l=" http:// localhost:8080 / axis / samples/ warehouse/wsdl / deposito.wsdl " x m l n s : i n t f=" urn:deposito " x m l n s : a p a c h e s o a p=" http:// xml. apache.org/xml - soap " x m l n s : w s d l s o a p=" http:// schemas. xmlsoap. org/wsdl /soap /" x m l n s : s o a p e n c="http:// schemas. xmlsoap.org/ soap / encoding/" x m l n s : x s d=" http:// www.w3. org /2001/ XMLSchema" x m l n s : w s d l =" http:// schemas. xmlsoap. org/wsdl /" xmlns=" http:// schemas. xmlsoap.
org/wsdl /">
<w s d l : m e s s a g e name=" fazerPedidoIn ">
<w s d l : p a r t name="in0" typ e=" soapenc:Array "/> </ w s d l : m e s s a g e>
<w s d l : m e s s a g e name=" fazerPedidoOut ">
<w s d l : p a r t name=" fazerPedidoOut " typ e=" xsd:string"/> </ w s d l : m e s s a g e>
<w s d l : m e s s a g e name=" emitirReciboOut ">
<w s d l : p a r t name=" emitirReciboOut " typ e=" xsd:string "/> </ w s d l : m e s s a g e>
<w s d l : m e s s a g e name=" enviarPagamentoOut ">
<w s d l : p a r t name=" enviarPagamentoOut " typ e=" xsd:string"/> </ w s d l : m e s s a g e>
<w s d l : m e s s a g e name=" enviarPagamentoIn "> <w s d l : p a r t name="in0" typ e=" xsd:string"/> <w s d l : p a r t name="in1" typ e=" xsd:string"/> <w s d l : p a r t name="in2" typ e=" xsd:double"/> </ w s d l : m e s s a g e>
<w s d l : m e s s a g e name=" enviarContaIn ">
<w s d l : p a r t name="in0" typ e=" xsd:string"/> </ w s d l : m e s s a g e>
<w s d l : m e s s a g e name=" enviarContaOut ">
<w s d l : p a r t name="in3" typ e=" xsd:double"/> </ w s d l : m e s s a g e>
<w s d l : p o r t T y p e name=" Deposito">
<w s d l : o p e r a t i o n name=" enviarPagamento " parameterOrder="in0"> <w s d l : o u t p u t message=" impl:enviarPagamentoOut" name="
enviarPagamentoOut "/>
<w s d l : i n p u t message=" impl:enviarPagamentoIn" name=" enviarPagamentoIn "/>
</ w s d l : o p e r a t i o n>
<w s d l : o p e r a t i o n name=" enviarConta " parameterOrder="in0"> <w s d l : o u t p u t message=" impl:enviarContaOut " name="
enviarContaOut "/>
<w s d l : i n p u t message=" impl:enviarContaIn " name=" enviarContaIn "/>
</ w s d l : o p e r a t i o n>
<w s d l : o p e r a t i o n name=" fazerPedido " parameterOrder="in0">
<w s d l : i n p u t message=" impl:fazerPedidoIn " name=" fazerPedidoIn "/>
<w s d l : o u t p u t message=" impl:fazerPedidoOut " name=" fazerPedidoOut "/>
</ w s d l : o p e r a t i o n>
<w s d l : o p e r a t i o n name=" emitirRecibo " parameterOrder=" in0"> <w s d l : o u t p u t message=" impl:emitirReciboOut " name="
emitirReciboOut "/> </ w s d l : o p e r a t i o n>
</ w s d l : p o r t T y p e>
<w s d l : b i n d i n g name=" depositoSoapBinding " typ e=" impl:deposito "> <w s d l s o a p : b i n d i n g s t y l e="rpc" t r a n s p o r t=" http:// schemas. xmlsoap
.org/soap / http "/>
<w s d l : o p e r a t i o n name=" enviarPagamento "> <w s d l s o a p : o p e r a t i o n s oap Action=""/> <w s d l : o u t p u t name=" enviarPagamentoOut ">
<w s d l s o a p : b o d y e n c o d i n g S t y l e="http:// schemas. xmlsoap.org/ soap / encoding/" namespace=" urn:deposito " u s e=" encoded" />
</ w s d l : o u t p u t>
<w s d l : i n p u t name=" enviarPagamentoIn ">
<w s d l s o a p : b o d y e n c o d i n g S t y l e="http:// schemas. xmlsoap.org/ soap / encoding/" namespace=" urn:deposito " u s e=" encoded" />
</ w s d l : i n p u t> </ w s d l : o p e r a t i o n>
<w s d l : o p e r a t i o n name=" fazerPedido "> <w s d l s o a p : o p e r a t i o n s oap Action=""/> <w s d l : i n p u t name=" fazerPedidoIn ">
<w s d l s o a p : b o d y e n c o d i n g S t y l e="http:// schemas. xmlsoap.org/ soap / encoding/" namespace=" urn:deposito " u s e=" encoded" />
</ w s d l : i n p u t>
<w s d l : o u t p u t name=" fazerPedidoOut ">
<w s d l s o a p : b o d y e n c o d i n g S t y l e="http:// schemas. xmlsoap.org/ soap / encoding/" namespace=" urn:deposito " u s e=" encoded" /> </ w s d l : o u t p u t> </ w s d l : o p e r a t i o n> <w s d l : o p e r a t i o n name=" enviarConta "> <w s d l s o a p : o p e r a t i o n s oap Action=""/> <w s d l : o u t p u t name=" enviarContaOut ">
<w s d l s o a p : b o d y e n c o d i n g S t y l e="http:// schemas. xmlsoap.org/ soap / encoding/" namespace=" urn:deposito " u s e=" encoded" />
</ w s d l : o u t p u t>
<w s d l : i n p u t name=" enviarContaIn ">
<w s d l s o a p : b o d y e n c o d i n g S t y l e="http:// schemas. xmlsoap.org/ soap / encoding/" namespace=" urn:deposito " u s e=" encoded" /> </ w s d l : i n p u t> </ w s d l : o p e r a t i o n> <w s d l : o p e r a t i o n name=" emitirRecibo "> <w s d l s o a p : o p e r a t i o n s oap Action=""/> <w s d l : o u t p u t name=" emitirReciboOut ">
<w s d l s o a p : b o d y e n c o d i n g S t y l e="http:// schemas. xmlsoap.org/ soap / encoding/" namespace=" urn:deposito " u s e=" encoded" />
</ w s d l : o u t p u t> </ w s d l : o p e r a t i o n> </ w s d l : b i n d i n g>
<w s d l : s e r v i c e name=" depoisitoService ">
<w s d l : p o r t b i n d i n g=" impl:depositoSoapBinding" name=" deposito"> <w s d l s o a p : a d d r e s s l o c a t i o n=" http:// localhost:8080 /axis /
services/ Deposito"/> </ w s d l : p o r t>
</ w s d l : s e r v i c e> </ w s d l : d e f i n i t i o n s>
APˆENDICE C
A.3 Documentos XPEWS referentes ao estudo de caso
documento XPEWS referente ao servi¸co Cliente
<e n v e l o p e xmlns=" http:// aquarius.inf.ufpr .br" x m l n s : x s i=" http:// www. w3. org /2001/ XMLSchema - instance" x s i : s c h e m a L o c a t i o n =" http://
aquarius.inf.ufpr .br pews .xsd">
<b e h a v i o u r name=" Cliente" x m l n s : c l i e n t e=" http:// localhost:8080 / axis / samples/ loja /wsdl / cliente.wsdl ">
<o p e r a t i o n s>
<o p e r a t i o n name=" comprar" portType=" Cliente" r e f e r s T o=" cliente:comprar "/>
<o p e r a t i o n name=" levar" portType=" Cliente" r e f e r s T o=" cliente:levar "/>
</ o p e r a t i o n s> <pathExp>
<s e q>
<o p e r a t i o n name=" comprar"/> <o p e r a t i o n name="levar"/> </ s e q>
</ pathExp> </ b e h a v i o u r> </ e n v e l o p e>
documento XPEWS referente ao servi¸co Banco
<e n v e l o p e xmlns=" http:// aquarius.inf.ufpr .br" x m l n s : x s i=" http:// www. w3. org /2001/ XMLSchema - instance" x s i : s c h e m a L o c a t i o n =" http://
aquarius.inf.ufpr .br pews .xsd">
<b e h a v i o u r name=" Banco" xm ln s :b an co=" http:// localhost:8080 / axis / samples/ loja / wsdl / banco. wsdl ">
<o p e r a t i o n s>
<o p e r a t i o n name=" autorizar" portType=" Banco" r e f e r s T o=" banco:autorizar "/>
<o p e r a t i o n name=" enviarConta " portType=" Banco" r e f e r s T o=" banco:enviarConta "/>
<o p e r a t i o n name=" enviarPagamento " portType=" Banco" r e f e r s T o=" banco:enviarPagamento"/>
<o p e r a t i o n name=" abortarOperacao " portType=" Banco" r e f e r s T o=" banco:abortarOperacao"/>
</ o p e r a t i o n s> <pathExp>
<c h o i c e> <s e q>
<o p e r a t i o n name=" autorizar"/> <o p e r a t i o n name=" enviarConta "/> <o p e r a t i o n name=" enviarPagamento "/>
</ s e q>
<o p e r a t i o n name=" abortarOperacao "/> </ c h o i c e>
</ pathExp> </ b e h a v i o u r> </ e n v e l o p e>
documento XPEWS referente ao servi¸co Loja
<e n v e l o p e xmlns=" http:// aquarius.inf.ufpr .br" x m l n s : x s i=" http:// www. w3. org /2001/ XMLSchema - instance" x s i : s c h e m a L o c a t i o n =" http://
aquarius.inf.ufpr .br pews .xsd">
<b e h a v i o u r name=" Loja " x m l n s : l o j a=" http:// localhost:8080 / axis / samples/ loja / wsdl /loja . wsdl ">
<o p e r a t i o n s>
<o p e r a t i o n name=" comprar" portType="Loja " r e f e r s T o=" loja:comprar "/>
<o p e r a t i o n name=" autorizar" portType=" Loja " r e f e r s T o=" loja:autorizar "/>
<o p e r a t i o n name=" fazerPedido " portType=" Loja " r e f e r s T o=" loja:fazerPedido "/>
<o p e r a t i o n name=" emitirRecibo " portType="Loja " r e f e r s T o=" loja:emitirRecibo "/>
<o p e r a t i o n name=" levar" portType="Loja " r e f e r s T o=" loja:levar"/>
<o p e r a t i o n name=" abortarOperacao " portType=" Loja " r e f e r s T o=" loja:abortarOperacao "/>
</ o p e r a t i o n s> <pathExp>
<c h o i c e> <s e q>
<o p e r a t i o n name=" comprar"/> <o p e r a t i o n name=" autorizar"/> <o p e r a t i o n name=" fazerPedido "/> <o p e r a t i o n name=" emitirRecibo "/> <o p e r a t i o n name=" levar"/>
</ s e q>
<o p e r a t i o n name=" abortarOperacao "/> </ c h o i c e>
</ pathExp> </ b e h a v i o u r> </ e n v e l o p e>
documento XPEWS referente ao servi¸co Dep´osito
<e n v e l o p e xmlns=" http:// aquarius.inf.ufpr .br" x m l n s : x s i=" http:// www. w3. org /2001/ XMLSchema - instance" x s i : s c h e m a L o c a t i o n =" http://
aquarius.inf.ufpr .br pews .xsd">
<b e h a v i o u r name=" Deposito" x m l n s : d e p o s i t o=" http:// localhost:8080 / axis / samples/ loja /wsdl / deposito. wsdl ">
<o p e r a t i o n name=" enviarConta " portType=" Deposito" r e f e r s T o=" deposito:enviarConta "/>
<o p e r a t i o n name=" enviarPagamento " portType=" Deposito" r e f e r s T o=" deposito:enviarPagamento"/>
<o p e r a t i o n name=" emitirRecibo " portType=" Deposito" r e f e r s T o=" deposito:emitirRecibo"/>
<o p e r a t i o n name=" abortarOperacao " portType=" Deposito" r e f e r s T o=" deposito:abortarOperacao"/>
</ o p e r a t i o n s>
<var Def name="tpay "> <minus>
<l i b F u n c t i o n name="now" u n i t=" hours"/> <pewsCounter component=" time " name=" term "
opname=" enviarConta " u n i t=" hours"/> </ minus>
</ var Def> <pathExp> <s e q>
<o p e r a t i o n name=" fazerPedido "/> <o p e r a t i o n name=" enviarConta "/> <c h o i c e>
<s e q> <pred>
<l e q>
<var name=" tpay "/> <c o n s t v a l u e="12"/> </ l e q>
<o p e r a t i o n name=" enviarPagamento "/> </ pred>
<o p e r a t i o n name=" emitirRecibo "/> </ s e q>
<pred> <gt>
<var name=" tpay "/> <c o n s t v a l u e="12"/> </ gt>
<o p e r a t i o n name=" abortarOperacao "/> </ pred> </ c h o i c e> </ s e q> </ pathExp> </ b e h a v i o u r> </ e n v e l o p e>