soap

In C#, how would I capture the SOAP used in a web service call?

陌路散爱 提交于 2019-12-21 07:03:04
问题 I have a C# application that is a client to a web service. One of my requirements is to allow capturing the SOAP that I send, so that if there is a problem, I can either fix the bug, or demonstrate that the problem is in the service I am calling. My WebReference proxy service class derives from System.Web.Services.Protocols.SoapHttpClientProtocol as usual. If I had a magic wand, I would make this base class implement an event OnPost that I could handle to write the SOAP into my logs and

Getting “WS Security Header in the message is invalid.” when calling ACAGetTransmitterBulkRequestStatus

∥☆過路亽.° 提交于 2019-12-21 06:36:08
问题 I've been able to make successfull call to first ACA web service and I thought, that getting status would be a breeze. Bo-o-oy how I have been wrong! I've used same settings for the status service as I did for the submit one... and I got "WS Security header is invalid error!" What gives?!?! Signature generation code is the same as I been using for submission! I would appreciate if any one would be able shed some light what possibly is wrong here? I am aware, that following tags should be

How can I send a SOAP request and receive a response using HTML?

不打扰是莪最后的温柔 提交于 2019-12-21 06:19:13
问题 I would like to send a number to a SOAP "server"(I don't know if I can call it a server, correct me if I'm wrong) and receive a response using HTML , I've seen many questions with answers containing examples of sending an XML request such as below, but I have no idea on how to receive and see a response on HTML , sorry I'm new to SOAP . P.S.: Of course, by HTML I meant JavaScript within the HTML :P Server: Here Thanks in Advance! <html> <head> <title>SOAP JavaScript Client Test</title>

Modify SOAP header Mustunderstand attribute in WCF client

◇◆丶佛笑我妖孽 提交于 2019-12-21 06:12:14
问题 I am writing a WCF client for a service (not WCF). Getting an error that Unprocessed 'mustUnderstand' header element: {http://www.w3.org/2005/08/addressing}Action, because request SOAP contains header with mustunderstand='true'. I have to either set it false or remove the whole header. can you show the way to do that? Here is the binding code var transportElement = new HttpsTransportBindingElement(); transportElement.AuthenticationScheme = AuthenticationSchemes.Basic; var messegeElement = new

Which is the best way to implement SOAP Web Services on JBoss Seam?

帅比萌擦擦* 提交于 2019-12-21 06:06:18
问题 I need to implement a SOAP Web Service on Jboss Seam 2.1.0. The idea is to export an Stateless bean method as a Web Service. However, I have found two approaches. First one, is to use the Seam's own web services annotations. The problem of this is the lack of documentation. Second one, is to use Enunciate. It's a lot better documented, but I feel that this is not the standard manner. So, which one is the best approach? Have I missed something? Is there more documentation around about the

Which is the best way to implement SOAP Web Services on JBoss Seam?

独自空忆成欢 提交于 2019-12-21 06:06:15
问题 I need to implement a SOAP Web Service on Jboss Seam 2.1.0. The idea is to export an Stateless bean method as a Web Service. However, I have found two approaches. First one, is to use the Seam's own web services annotations. The problem of this is the lack of documentation. Second one, is to use Enunciate. It's a lot better documented, but I feel that this is not the standard manner. So, which one is the best approach? Have I missed something? Is there more documentation around about the

Returning a PHP Array from a PHP SoapServer

笑着哭i 提交于 2019-12-21 05:47:12
问题 I'm relatively new to Soap on the "creating the service side", so appologies in advance for any terminology I'm munging. Is it possible to return a PHP array from a Remote Procedure Soap Service that's been setup using PHP's SoapServer Class? I have a WSDL (built by blindly following a tutorial) that, in part, looks something like this <message name='genericString'> <part name='Result' type='xsd:string'/> </message> <message name='genericObject'> <part name='Result' type='xsd:object'/> <

How to use MS SOAP toolkit?

落花浮王杯 提交于 2019-12-21 05:44:07
问题 I know that the Microsoft SOAP toolkit has been deprecated for a while now (.NET has all this stuff built in) but I was wondering in anyone has a quick bit of info on setting up a simple app that uses it. I was referred to http://www.devarticles.com/c/a/Cplusplus/Building-A-SOAP-Client-With-Visual-C-plus/ but the service in the example is no longer functioning and I can't seem to find any documentation online. I've looked into gSoap, but it seems overly complicated for what I have to do and

Using Suds for SOAP in python, are suds.client.Client objects thread safe?

感情迁移 提交于 2019-12-21 05:29:06
问题 I'm using Suds to access a SOAP web service from python. If I have multiple threading.Thread threads of execution, can each of them safely access the same suds.client.Client instance concurrently, or must I create separate Client objects for each thread? 回答1: As far as I know they are NOT thread safe. You could safely use the same client object so long as you are using a queue or thread pool. That way when one thread is done with the client, the next one can use it. For network-based events

Sending a Soap Header with a WSDL Soap Request with PHP

醉酒当歌 提交于 2019-12-21 05:17:10
问题 I'm extremely new to SOAP and I'm trying to implement a quick test client in PHP that consumes a ASP.NET web service. The web service relies on a Soap Header that contains authorization parameters. Is it possible to send the auth header along with a soap request when using WSDL? My code: php $service = new SoapClient("http://localhost:16840/CTI.ConfigStack.WS/ATeamService.asmx?WSDL"); $service->AddPendingUsers($users, 3); // Example webservice [SoapHeader("AuthorisationHeader")] [WebMethod]