Advertisement
nex036ara

FirmaWsdl

Jun 6th, 2014
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.48 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <wsdl:definitions
  3.    targetNamespace="http://www.toomanysecrets.com/firmaServis"
  4.    xmlns:ws="http://www.toomanysecrets.com/firmaServis"
  5.    xmlns:external="http://www.toomanysecrets.com/tipovi"
  6.    
  7.    name = "FirmaServis"
  8.    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
  9.    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
  10.    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  11.    xmlns:wsoap12="http://schemas.xmlsoap.org/wsdl/soap12/"
  12.    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
  13.    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema"
  14.    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  15.    >
  16.    
  17.    
  18.    
  19.     <wsdl:types>
  20.         <xs:schema targetNamespace="http://www.toomanysecrets.com/firmaServis">
  21.             <xs:import namespace="http://www.toomanysecrets.com/tipovi" schemaLocation="../shema/FakturaCrypt.xsd" />
  22.             <xs:import namespace="http://www.toomanysecrets.com/tipovi" schemaLocation="../shema/FakturaRaw.xsd" />
  23.             <xs:import namespace="http://www.toomanysecrets.com/tipovi" schemaLocation="../shema/FakturaSigned.xsd" />
  24.             <xs:import namespace="http://www.toomanysecrets.com/tipovi" schemaLocation="../shema/ZahtevZaIzvodCrypt.xsd" />
  25.             <xs:import namespace="http://www.toomanysecrets.com/tipovi" schemaLocation="../shema/PresekCrypt.xsd" />
  26.              <xs:import namespace="http://www.toomanysecrets.com/tipovi" schemaLocation="../shema/Fault.xsd" />    
  27.             <xs:element name="notif" type="xs:string"/>
  28.         </xs:schema>
  29.     </wsdl:types>
  30.    
  31.    
  32.     <wsdl:message name="fakturaRequest">
  33.         <wsdl:part name="fakturaReq" element="external:faktura"/>
  34.     </wsdl:message>
  35.    
  36.    
  37.     <wsdl:message name="notifikacija">
  38.         <wsdl:part name="notif" element="ws:notif"/>
  39.     </wsdl:message>
  40.    
  41.    
  42.       <wsdl:message name="faultMessage">
  43.         <wsdl:part name="fault" element="external:fault"/>
  44.     </wsdl:message>
  45.    
  46.    
  47.     <wsdl:portType name="FirmaPortType">
  48.        
  49.         <!--request-response -->
  50.         <wsdl:operation name="PrimiFakturu">
  51.             <wsdl:input name="fakturaInput" message="ws:fakturaRequest"/>
  52.             <wsdl:output name="strOutput" message="ws:notifikacija"/>
  53.             <wsdl:fault name="fault" message="ws:faultMessage"></wsdl:fault>
  54.         </wsdl:operation>
  55.        
  56.        
  57.     </wsdl:portType>
  58.    
  59.     <wsdl:binding name="FirmaBinding" type="ws:FirmaPortType">
  60.        
  61.         <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
  62.      
  63.         <wsdl:operation name="PrimiFakturu">
  64.        
  65.           <soap:operation soapAction="" style="document"/>
  66.            
  67.             <wsdl:input name="fakturaInput">
  68.                 <soap:body use="literal"/>
  69.             </wsdl:input>
  70.                
  71.              <wsdl:output name="strOutput">
  72.                 <soap:body use="literal"/>
  73.             </wsdl:output>
  74.            
  75.            
  76.            <<wsdl:fault name="fault">
  77.                 <soap:fault name="fault" use="literal"/>
  78.             </wsdl:fault>
  79.            
  80.            
  81.         </wsdl:operation>
  82.        
  83.     </wsdl:binding>
  84.    
  85.    
  86.    
  87.     <wsdl:service name="FirmaServis">
  88.        
  89.         <wsdl:port name="FakturaPort" binding="ws:FirmaBinding">
  90.             <soap:address location="http://localhost:8080/FakturaPort"/>
  91.         </wsdl:port>
  92.        
  93.     </wsdl:service>
  94.    
  95.    
  96. </wsdl:definitions>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement