soap

How To Pass Soap Header When WSDL Doesn't Define It?

I have a web service that I am calling and their published WSDL doesn't actually define much of the service, 3/4 of it you have to manually build afterwards. The problem I have is that they need a SoapHeader with some specific information in it, but I don't have any way of doing it. The only real things I have for the service is a prox...

Web Service attempt Giving SoapException, why and what to do?

I learned about the basics of making a web service with Visual Studio 2008 ASP.Net + VB. And I got the "Hello World" working, but for some reason I can't get a function method to work the same way without this error, and I can't any info anywhere what to do about it. Code: *Web Service:* <WebMethod()> _ Public Sub logEvent(ByVal ...

Large request when sending TIFF image via SOAP

We have a WebService with a method to upload images, this method accepts a byte array which is a TIFF. On the client side the TIFF is loaded with Image.FromFile(path) and then saved into a MemoryStream. Then memoryStream.ToArray() is called which results in a byte array which is used in the WebService request. Currently we have a TIFF ...

C# SOAP Web Services client - example that shows how to log all raw SOAP intput and output?

I'm looking for a C# example showing how to access a remote SOAP Web Service, and logging (to a file, or even just to a string I can do whatever with) all complete raw SOAP requests and complete raw SOAP responses. I found some other posts on StackOverflow with similar topics, but they seem to reference a web.config file, which my desk...

Generating WSDL when using PHP's native SOAP class?

Hello, I'm using the native SOAP class in PHP 5, having changed from NuSOAP as the native class is faster (and NuSOAP development seems to have ceased). However the PHP 5 SOAP lacks the ability to generate WSDL. Has anyone experience of generating WSDL in PHP? If so, please recommend your preferred method. Thanks. ...

Windows tool for sending complete http body ( including headers ) to server

I was wondering if anyone knew of a tool where I could send a fully formed HTTP body ( headers & content ) to a web server. So far the best I've got is putty but was hoping for something where I could look @ and edit the payload then click a button and send it. ( I could probably write something like this in a couple minutes but was ho...

Camel Caps SOAP method names

One of my co-workers is developing SOAP API for php application and he is wondering if CamelCaps names are some kind of convention for SOAP methods? Our current API has lower_caps_and_underscores, but it seems somewhat strange when compared with random subset of other SOAP APIs, and we wouldn't really want to annoy consumers of API with...

Passing array to SOAP function in PHP

Greetings, I can't seem to find a way to create a function request with array as an argument. For example, how do I make this kind of request using PHP SoapClient: <GetResultList> <GetResultListRequest> <Filters> <Filter> <Name>string</Name> <Value>string</Value> </Filter> <Filter> <Name>...

Unable to call a web service from Groovy

I'm going through the first examples from the new Java Web Services: Up and Running book. I tried to go through the SOAP client example for Java on page 13, but in Groovy. So here is my Groovy shell code: import javax.xml.namespace.QName import javax.xml.ws.Service import java.net.URL url = new URL("http://someURL?wsdl") qname = new Q...

Generating client code with wsdl2js?

I am trying to use wsdl2js to generate the client-side handler of a SOAP request for a WSDL file but running into a few problems. If I use: >wsdl2js -p [projectName] [wsdlFile] it only generates a javascript file, which isn't what I need. If I use wsdl2js -client [wsdlFile] like they demonstrate, I get an "Unexpected option: -...

Does a .NET library for the W3C Markup Validator API exist?

I'd like to validate that users of my WPF application are putting proper XHTML into its TextBox control. I found that there's an API for the W3C Markup Validator. It's web page says: Building of libraries used to interact with the validator's API is encouraged. and it lists known Perl, PHP/PEAR and ColdFusion libraries. Doe...

Has anyone used the new WCF REST Starter Kit successfully and would you use it again?

As the title suggests, I would like to see if this is something people are happy with. I have several projects, where I will dedicate some time in experimenting with different kinds of technologies web service related, preferably alternatives to SOAP which would be well integrated inside/with dotnet. I would like to hear if there are a...

Extracting Data from a dataset returned from a web service

Hi All, Has anyone a source of the qury language used to extract data returned from a web service. I wrote a web service returnes a dataset, [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [ToolboxItem(false)] // To allow this Web Service to be called from script, using ASP...

Sending a Soap Header with a WSDL Soap Request with PHP

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://localhos...

Can use ASP to call PHP soap?

My customer has a PHP web service, that they want me to use. It's PHP-based, while my web is ASP-based. The ASP code looks like this: Dim soapclient WSDL_URL = "http://xxx.xxxx.xx/index.php?Action=service" set soapclient = Server.CreateObject("MSSOAP.SoapClient30") soapclient.ClientProperty("ServerHTTPRequest") = True on error res...

Using SOAP to access webservices - failing on soapclient()

I'm receiving the following error when using soapclient($myUrl); SOAP-ERROR: Parsing WSDL Here is what I see if a directly access the WSDL link. <element name = "key" nillable="true" type="xsd:anyType"/> <element name = "value" nillable="true" type="xsd:anyType"/> </seq...

Parsing a multipart SOAP response in Flex?

I have a Flex application that needs to grab reporting data from a Jasper server, through the JasperReports Web Services API. Flex Builder 3 does a nice job of generating the web services consumption code, with one exception. If you ask for a directory list or an accounting of report parameters, Jasper returns plain XML in the SOAP wra...

ASP.net Web Service and intellisense

Ok so I have an ASP.Net website project. The project resides on a server on the network, accessed by Visual Studio 2008 via a fileshare. In the web site project I add a web reference to a webservice I have previously created. I can consume this webservice via winforms apps without any problems. But when I try to reference the Webserv...

Can I have a cross-platform cross-technology solution?

Hi , We have an old application which has a FORTRAN API to be called from other applications. After some time they built a ( C ) wrapper for the FORTRAN API.Then I'm now building a c++ wrapper , with a little data handling , for the C API. So I'm thinking what is the best way of building an API that can be called from any programming ...

PHP client calling .net 3.5 sp1 web service

I need to create a web service that a PHP client can call. The service needs to accept 1 or many integers, provide security, and does not need to return any data (though other similar services may need to). This particular service will is intended to trigger a data extract that will be picked up later. My manager believes that creating ...