soap

How to generate a PHP soap client code?

Is there a way to generate a PHP soap client from a wsdl file? I mean something like wsdl.exe or svcutil.exe in .net, that generates code for a class that can be the client of a service, not something like: $WSDL = new SOAP_WSDL($wsdl_url); $client = $WSDL->getProxy(); My problem is that I want the php client to be able the wor...

Why webservices do not allow static methods?

Why something like following is not allowed. I mean why the following method will not be exposed in the web service. [WebMethod] public static string Foo() { return "bar"; } It will be great if you can provide me a non language specific high level answer rather than something like "Proxy Objects can not call static methods"....

turn off soap extension on webmethod

It possible turn off soap extension on webmethod ? Something like this : [WebMethod] [SoapExtensionClass] public void func() { if(b) { // turn off soap extension on web method } } ...

Long-running SOAP request on ASP.NET Web Service results in no response

We have a SOAP web service running on ASP.NET Web Services over IIS6 that exhibits a strange behavior when it processes a request that results in long server-time processing. Essentially if a request takes more than about 5 minutes to process on the server then IIS never sends the response back to the client, even though, from ASP.NET's...

How do I send an empty dateTime with NUSOAP?

I'm using NUSOAP on the server-side of a web service. I want to return a null dateTime element, but I'm not sure how. If I return the values false or '' , the result is <due_date xsi:type="xsd:dateTime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/&gt; whereas I would like it to be <due_date xsi:type="xsd:dateTime" xmlns:...

cannot find dispatch method - Axis 1.4 SOAP Web service

I am using Apache Axis 1.4 and Netbeans 6.5 to develop and test a SOAP Web service and client. I generated the Java classes from the WSDL (see attachment). It builds and deploys without problem, but when I try to run the client to test the WS, I get an error. The namespace looks correct, so why does it say it can't find the dispatch me...

Tracing the SOAP envelope that is being sent by a .NET web service client possible?

A C# client application we developed calls an external SOAP web service of a third party company. Now I want to trace the exact SOAP request envelopes that are being generated by the VS.NET-generated SOAP proxy in our application and transfered to the external SOAP web service. The method of using a network monitor like Wireshark (as d...

Changing web service url in SUDS library

Using SUDS SOAP client how do I specify web service URL. I can see clearly that WSDL path is specified in Client constructor but what if I wan't to change web service url? ...

WCF sending huge data

I want to send a huge set of data to a WCF service. The data might consist of thousands od records (entities), depending on the parsed input file. Now the question is: what is the most optimal way to send these data? a. Record by record? By this I will be sure that I won't exceed the maximum allowed message size and I can recover from...

Integrating SOAP and VXML

I am writing an interface for our VXML application that will allow access to a SOAP service. Because of the difficulties inherent in trying to use javascript to make SOAP calls and the limitations of VXML, as in making external resource calls are pretty much limited to HTTP requests, GET and POST. I designed a java servlet that would a...

getting soapclient Error in magento while clicking on downloading product

Getting Like this: Could not connect to host Trace: #0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'http://172.10.1...', '', 1, 0) #1 [internal function]: SoapClient->__call('findDevicesByAc...', Array) ...

Problem with python soap library suds. Wsdl was not understood

The code below throw a SAXParseException: "mismatched tag": from suds.client import Client <br> url = 'http://www.didww.com/api/?wsdl' client = Client(url, cache=None) print client Is it problem with suds, or there is some errors in wsdl? ...

Testing SOAP endpoint through junit throws SAXParseException (soapenv:Envelope)

Hi all, I've try to implement integration tests for a working application (spring, hibernate, soap, cxf). I build an SOAP-XML by hand and handle it to my endpoint. Like this: private Source createRequest(String domainName, String email, String userId, String password) { String content = ""; content += "<soapenv:Envelope xmlns:s...

Where can find WSDL file generated by gSOAP

Hi there, I received url of web service running on gSOAP/2.7 (deciding from HTTP headers). The problem is they didn't provide me with WSDL file. Anybody knows which default URL I should look for WSDL if service address is http://www.host.com/ ...

How to create Net.TCP WCF binding for\using SOAP 1.1?

How to create Net.TCP WCF binding for\using SOAP 1.1? Is it posible? If yes. What do I need? MSDN if there is any help on this. Open Source Libs/wrappers. Tutorials and blog articles on How to do it. If no: I need know where did you get the information from (link to MSDN or other official WCF information resource). ...

Can I force further XML parsing in SOAP::Lite?

I'm trying to write a simple SOAP client using SOAP::Lite. After making a request, the response only seems to be parsed into perl data structure a couple levels down. After that it's just a string of the remaining XML. I feel like it would be really kludgy to take that string and parse it manually with another XML parser. my $response...

Swapping ASP.NET DataProvider from RDBMS to WCF

I have a client that is pushing for all data access to go over SOAP web services. No, I don't know why; I guess they like to keep their processors warm with all the XML building and parsing. Anyway... I have to move an existing web app programmed using a DataProvider on Oracle to WCF. I haven't written the web service yet. Are their any ...

curl w3c-markup-validator localy is slow, how do I make it faster?

I am using curl like this: curl -s -F "uploaded_file=@/path_to_file;type=text/html" -F output=soap12 http://localhost/w3c-markup-validator/check >text.xml && xsltproc script/guilbep_soap_w3c.xsl text.xml xsltproc is fast; but curl is not. does it come from the fact that w3c-markup-validator is local? or from w3c-markup-validator itsel...

The name/identity of the invoker of a web service

I have a SOAP web service which I call from two clients using axis2. Can the web service know from which of these two clients the call originated from? If so, how do I know that during runtime? Is there any API provided to lookup the name of the invoker of a particular web service by that web service. Thanks. ...

Get Just the Body of a WCf Message

Hi all, I'm having a bit of trouble with what should be a simple problem. I have a service method that takes in a c# Message type and i want to just extract the body of that soap message and use it to construct a completely new message. I can't use the GetBody<>() method on the Message class as i would not know what type to serialise ...