Versions Compared

Key

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

...

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

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