Consuming HTTPS web service using WCF -


i'm trying consuming client's web service using wcf. client's web service done on https, , can consume fine following binding:

<bindings>   <basichttpbinding>     <binding name="purchaseordersoap" closetimeout="00:01:00" opentimeout="00:01:00"         receivetimeout="00:10:00" sendtimeout="00:01:00" allowcookies="false"         bypassproxyonlocal="false" hostnamecomparisonmode="strongwildcard"         maxbuffersize="65536" maxbufferpoolsize="524288" maxreceivedmessagesize="65536"         messageencoding="text" textencoding="utf-8" transfermode="buffered"         usedefaultwebproxy="true">       <readerquotas maxdepth="32" maxstringcontentlength="8192" maxarraylength="16384"           maxbytesperread="4096" maxnametablecharcount="16384" />       <security mode="transport" />     </binding>   </basichttpbinding> </bindings> 

however, our security team have told me need use message or transportwithmessagecredential security, because fortify 360 complains transport security weak.

when try meesage error:

system.invalidoperationexception: basichttp binding requires  basichttpbinding.security.message.clientcredentialtype equivalent  basichttpmessagecredentialtype.certificate credential type secure messages. select  transport or transportwithmessagecredential security username credentials. 

and transportwithmessagecredential following error:

system.invalidoperationexception: username not provided. specify username in  clientcredentials. 

i've not got username/password (i can connect fine in browser), question is:

can use message or transportwithmessagecredentials when consuming existing https web service (without publisher making changes)? if so, changes need make configuration?

edited clarify question.

if cannot third party vendor add endpoint service supports message security stuck. seems support basichttpbinding transport level security.

transport security not "less" secure message level security. message level security means contents of soap message encrypted. allows either store or relay message in clear text way , still assured no 1 can peek @ message. if doing communicating between system , vendor on internet transport , message level security equally secure.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -