English 中文(简体)
Header Setup in SOAP with ASP.NET 3.5 WCF
原标题:Header Setup in SOAP with ASP.NET 3.5 WCF

在我面前,我对《社会行动计划》来说很新。 I m 试图设立SOAP服务,接受以下头盔:

<soap:Header>
   <wsse:Security>
      <wsse:UsernameToken wsu:Id= SecurityToken-securityToken >
         <wsse:Username>Username</wsse:Username>
         <wsse:Password>Password</wsse:Password>
         <wsu:Created>Timestamp</wsu:Created>
      </wsse:UsernameToken>
   </wsse:Security>
</soap:Header>

将这一服务纳入进来的申请Im是一个协会。 NET 3.5 万维网应用和我已经利用世界功能基金建立了SOAP终端点。 我设置了基本服务,以确保妇联的工作,并且进行罚款(与头盔有关)。 我听到,上述形式遵循了世界安全论坛,因此我在网上添加了WSHttpBled。

<service name="Nexternal.Service.XMLTools.VNService"
         behaviorConfiguration="VNServiceBehavior">
  <!--The first endpoint would be picked up from the confirg
  this shows how the config can be overriden with the service host-->
  <endpoint address=""
            binding="wsHttpBinding"
            contract="Nexternal.Service.XMLTools.IVNService"/>
</service>

我下载了一次测试(SapUI),并在与上述负责人的测试电文中贴出,并回过了400个Bad Request错误。

......就它的价值而言,我用IIS7管理2008年视觉演播室。

我同我一样坐在圈子里,这样,任何帮助都非常麻烦。 提前感谢。

最佳回答
问题回答

暂无回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签