dpj997991 2015-09-16 18:00
浏览 81

肥皂调用在soap ui中工作但在php中不起作用 - 问题是,嵌入了keystore.jks

The problem we are encountering is that we can make a successful soap call with soapui but can not make the same call utilizing PHP.

Please find below the header we are using in soap ui.

<soap:Envelope xmlns:hubc="http://hubc.ee.sim.dsh.cms.hhs.gov" xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
   <soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
      <wsse:Security soap:mustUnderstand="true" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
         <wsu:Timestamp wsu:Id="TS-464FFDDFED6BF260B214424061128904">
            <wsu:Created>2015-09-16T12:21:52.890Z</wsu:Created>
            <wsu:Expires>2015-09-16T12:22:52.890Z</wsu:Expires>
         </wsu:Timestamp>
         <wsse:UsernameToken wsu:Id="UsernameToken-464FFDDFED6BF260B214424061097963">
            <wsse:Username>xxxxxxxxxxxxxxx</wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">8pmfYIJhqvkRLIcrR/R2yOoEelg=</wsse:Password>
            <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">xxxxxxxxxxxxx</wsse:Nonce>
            <wsu:Created>2015-09-16T12:21:49.796Z</wsu:Created>
         </wsse:UsernameToken>
      </wsse:Security>
   </soap:Header>
   <soap:Body>
      <hubc:HubConnectivityRequest/>
   </soap:Body>
</soap:Envelope>

Soap ui has a GUI interface that allows us to place a keystore file in to the soap call. We do not know how that keystore is embedded into the soap call.

Any advice as to how to make the keystore function in php the same way as it does in soap ui would be greatly appreciated.

Thanks,

Alex

  • 写回答

1条回答 默认 最新

  • doumeng3188 2015-09-16 20:01
    关注

    Wed Sep 16 16:03:21 EDT 2015:DEBUG:>> "POST /HubConnectivityService HTTP/1.1[][ ]" Wed Sep 16 16:03:21 EDT 2015:DEBUG:>> "Accept-Encoding: gzip,deflate[][ ]" Wed Sep 16 16:03:21 EDT 2015:DEBUG:>> "Content-Type: application/soap+xml;charset=UTF-8;action="

    评论

报告相同问题?

悬赏问题

  • ¥15 GDI处理通道视频时总是带有白色锯齿
  • ¥20 用雷电模拟器安装百达屋apk一直闪退
  • ¥15 算能科技20240506咨询(拒绝大模型回答)
  • ¥15 自适应 AR 模型 参数估计Matlab程序
  • ¥100 角动量包络面如何用MATLAB绘制
  • ¥15 merge函数占用内存过大
  • ¥15 Revit2020下载问题
  • ¥15 使用EMD去噪处理RML2016数据集时候的原理
  • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大
  • ¥15 单片机无法进入HAL_TIM_PWM_PulseFinishedCallback回调函数