soap

Problem invoking Web service using WS-Security

I am invoking a webservice form my .net web application a getting the following com.ibm.wsspi.wssecurity.SoapSecurityException on invocation. WSEC5048E: One of "SOAP Header" elements required. The SOAP request seems to be valid so I guess the problem is something to do with the webservice using WS-Securty. I had to install a certific...

Invoking a TCP SoapService using TcpClient

I have a demo soap service which echos back the request public class EchoWebService : SoapService { [SoapMethod("Echo")] public string Echo(string request) { Console.WriteLine("Request: {0}", request); return DateTime.Now + Environment.NewLine + request; } } Service is h...

Memory leak in JBoss

I am having a very strange behavior in JBoss, and I'd like avail myself of the Collective Wisdom of the SO Crowd. We're using JBoss (4.0.4 I think) to serve SOAP calls. In fact, it's used as glorified RPC server, no more. We're running out of memory when we have 20+ clients sending their requests at the same time. The requests consist o...

Can you recommend a Python SOAP client that can accept WS-Attachments?

I've read mixed reviews of both Suds and ZSI -- two Python SOAP libraries. However, I'm unclear whether either of them can support WS-Attachments. I'd prefer to use Suds (appears to be more straightforward), but I'll defer to whichever library suits my needs. ...

Closing A SOAP Connection

I've made soap connection to a server and the server doesn't seem to be dropping that connection, in netstat the status of the connection is listed as CLOSE WAIT. I'm told that the client that created the soap connection has to send a command to the server to close the connection. Can anyone tell me the correct way to do this in C#? Bel...

Adding fields to a WebService

I have a SOAP service that exposes a method TradeDetail getTradeDetail() TradeDetail stores 5 fields, transaction number, dates etc I need to add a couple of fields to TradeDetail. I want to keep backward compatibility (for a while) and it looks as if my options are limited to creating a new class with the extra fields TradeDetail2 ...

Connecting ASP.Net to Wcf/Tcp chat service

I have a WCF chat service that accepts duplex tcp connections. A single duplex tcp connection can be used to send and receive messages for more than one user (so I can have multiple chat servers that all connect to each other). Now I want to add Web users into the mix, to let them chat with the desktop users. This is for a live-support ...

SOAP to Stream to String

I have a SOAP object that I want to capture as a string. This is what I have now: RateRequest request = new RateRequest(); //Do some stuff to request here SoapFormatter soapFormat = new SoapFormatter(); using (MemoryStream myStream = new MemoryStream()) { soapFormat.Serialize(myStream, request); myStream.Position = 0; using (Str...

gsoap fault processing - sending application specific exceptions

Hello GSoap community! My application is crashing when I am sending application specific fault details. Here's how my SOAP_ENV__Detail looks like - struct SOAP_ENV__Detail { public: ex__ExceptionType *ex__Exception; /* optional element of type ex:ex__ExceptionType */ int __type; /* any type of element <fault> (defined below) ...

Getting Raw XML From SOAPMessage in Java

I've set up a SOAP WebServiceProvider in JAX-WS, but I'm having trouble figuring out how to get the raw XML from a SOAPMessage (or any Node) object. Here's a sample of the code I've got right now, and where I'm trying to grab the XML: @WebServiceProvider(wsdlLocation="SoapService.wsdl") @ServiceMode(value=Service.Mode.MESSAGE) public c...

How to use SOAP/WSDL in PHP 4?

More specifically I'm trying to make the google adwords API work using PHP 4. What are my options? Any links to a class I could use, sample code, etc would be much appreciated. Thanks. ...

Where does the tomcat axis file server-config.wsdd come from?

Part of our system provides a web service through apache tomcat, the service is referenced in the server-config.wsdd file. Unfortunately nobody can remember how it got in there. The apache set up has changed, and I need to update the system for the new configuration. What magic keywords can I google for to help me work out how and why it...

What rights do you need to have in Team Foudation Server to add a SOAP event handler

I would like users do to it themselves, but I don't want everyone to be an adminstrator. ...

C# webservice needs to convert SOAP to REST on the fly.

I am trying to write a translation layer for a test system for which I am writing software. I am using LabVIEW for the test system and that uses a RESTful webservice. I have implemented the REST Methods and they are working OK. The remote Test controller and data service layer etc are written in C# and SQL and these are the items I have ...

invoking web service using httprequest

i have a web service which contains a method like the following [WebMethod] public string UploadFile(byte[] bytes, string file_name) { } i want to invoke this web service method using HttpWebRequest so that i can stream the file without buffering in memory. How can do it... i tried to invoke it as follows HttpWebRequest hw = ...

How can I disable a compiled in extension in PHP

My home system has a version of PHP compiled with the SOAP extension. The live system has a version of PHP without the SOAP extension, and most of the scripts rely on the NuSOAP library quite heavily. The fact that NuSOAP and the SOAP extension use the same names for their classes is a terrible headache. How can I disable the SOAP exten...

Generic SOAP Debugging Tools

When you're programming against a SOAP Service, what tools do you use to explore/poke-at the API? I realize that Visual Studio/Eclipse likely have some sort of client built in (and please, do talk about them), but I'm more interested in information about stand-alone programs like Soap Client for OS X. More specifically, does anyone h...

Error message trying to catch a soapfault using the PHP Soap class

For some reason I can't catch the error. I'm following an example in O'Reillys PHP cookbook, so I'm not doing any cowboy coding (yet). The error is: SoapFault exception: [SOAP-ENV:Server] SoapFault::SoapFault() [soapfault.soapfault]: Invalid parameters. Invalid fault code. in C:\xampp\htdocs\soap\client_database.php:13 Stack trace: #0 ...

Exception occurs with JAX-RPC handler

I have some SOAP webservices build with JAX-RPC. These work fine. But as soon as I add a handler, I get an exception. When the binding is removed from the webservices.xml, everything works fine again. The weird thing is, the handler itself isn't included in the stacktrace of the exception. I also noticed, the init and getHeaders method...

What is a valid content-type value for a .DM file type ( cellular phone DRM )

Obeying NDA restrictions I have to be vague. I've been tasked to evaluate the feasibility of forcing a .dm file from my client's system to a cellular device. So far I know I can send a smil payload with a txt & gif|jpg payload but not a .dm file. Inside of the DRM wrapper there is a header prefix before the payload starts. Content...