jeudi 9 avril 2015

wso2 esb call iis web service with windows security

I try to call a soap web service locate on iis 7 server with windows authentication. I always receive an 401. How can I add user/password information ?



<?xml version="1.0" encoding="UTF-8"?>
<api xmlns="http://ift.tt/IrJ6pr" name="Test" context="/test">



<property name="POST_TO_URI" value="true" scope="axis2"/>
<header name="Action" value="http://ift.tt/1apK7w4"/>
<property name="str_id" value="ENTETE"/>
<payloadFactory media-type="xml">
<format>
<Reg xmlns="http://tempuri.org/">
<text_fichier>$1</text_fichier>
</Reg>
</format>
<args>
<arg xmlns:soap="http://ift.tt/sVJIaE"
evaluator="xml"
expression="get-property('str_id')"/>
</args>
</payloadFactory>
<send>
<endpoint><adress uri="http://iisserver/test.asmx"/>
</endpoint>
</send>
</inSequence>
<outSequence>
<send/>
</outSequence>

Aucun commentaire:

Enregistrer un commentaire