Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagehtml/xml
linenumberstrue
<proxy name="StockQuoteProxy" startOnLoad="true" xmlns="http://ws.apache.org/ns/synapse">
   	<target>
        <inSequence>
            		<inSequence>
			<property name="Proxy-Authorization" expression="fn:concat('Basic ', base64Encode('supun:test123'))" scope="transport"/>
            			<property name="POST_TO_URI" value="true" scope="axis2"/>
            <send>
                			<send>
				<endpoint name="endpoint_urn_uuid_379C485AD3CB65037F10216600509076498395882">
                    					<address uri="http://localhost:9000/services/SimpleStockQuoteService"/>
                				</endpoint>
            			</send>
        		</inSequence>
        <outSequence>
            		<outSequence>
			<send/>
        		</outSequence>
    	</target>
    	<publishWSDL uri="file:repository/samples/resources/proxy/sample_proxy_1.wsdl"/>
</proxy>
Excerpt
hiddentrue

Description of the HTTP Basic Authentication over a Proxy Server in WSO2 ESB.