soap

HTTP compression - can I configure a client to compress the data sent to a server?

Hello, I'm using IIS 7 as web server for my application. If I enable dynamic content compression in the server, will this also enable clients to send compressed data to the server, if they can? I mean, my application uses SOAP webservices, and clients usually send large chunks of data to the server. The clients are written in C#/.NET. ...

Dynamics CRM Get Info For Customer

I'm working on a ASP.NET (C#) site that pulls most of its data from Dynamics CRM over SOAP using Microsoft's CrmService SDK. I'm at the point where a query has returned an entity with a property of the type Customer. I need to get the name string of that customer record, but cannot figure out how to do so. By doing a little guess work ...

Python SOAP suds connection in session?

Hi i wont to store connection tu soap server in python session. When i try to do this, session['all']=Client(url) I getting error: MethodNotFound: Method not found: 'server.___getinitargs___' How to store suds connection in session? ...

SOAP library in C

I am looking for a SOAP Library for C. I know there is gSOAP. What other options do I have? ...

can xpath be used in outgoing SOAP request (envelope) regardless of SOAP server config?

I'm trying to figure out two things: Can Xpath be used to query a SOAP-based web services server? Is this built into the SOAP protocol such that any good SOAP server would handle the requests correctly without having to add custom handling of XPath queries? The two questions may seem redundant, but I'm breaking them because: I don'...

Tutorial how to create a CXF web service from existing Java code and embed it in Tomcat

Do you know a tutorial how to create a CXF soap web service from existing Java code and embed it in Tomcat, and also generate a wsdl file so that any .NET system would be able to generate client code easily? I miss that WSDL creation point in, for example this http://www.ibm.com/developerworks/library/ws-pojo-springcxf/ tutorial. No wsd...

WSDL for other protocols different than SOAP?

From wikipedia: The Web Services Description Language (WSDL, pronounced 'wiz-dəl') is an XML-based language that provides a model for describing Web services. But in most cases, I found that WSDL is used in conjunction with SOAP. but as far as I know, if the WSDL is a language to describe web services. there should be possibl...

I want to learn soap attachment in java

I am trying trying to build a web service with client and server side soap attachment. Could you guide to any edocs which would help me learn this in simple steps. Environment: java jax-rpc with attachment handler Thanks in advance ...

Svcutil generating bad config with multiple endpoints

I have a WCF service that has exposed a soap and an xml endpoint. When I use svcutil to generate the proxy code on the client side the generated configuration contains two endpoints which causes the client to fail. If I edit the web.config file and remove the second endpoint (with the custom binding) all works as expected. Is there a ...

Python: How can I use Twisted as the transport for SUDS?

I have a project that is based on Twisted used to communicate with network devices and I am adding support for a new vendor (Citrix NetScaler) whose API is SOAP. Unfortunately the support for SOAP in Twisted still relies on SOAPpy, which is badly out of date. In fact as of this question (I just checked), twisted.web.soap itself hasn't e...

Help with NuSoap - Creation of web service

I have been helplessly trying to create a web service in PHP using NuSoap for the past 2 days. However, after endlessly sifting through various tutorials and guides, i am still stuck with 10 lines of code that refuse to work. Server : // Pull in the NuSOAP code require_once('./lib/nusoap.php'); // Create the server instance $server = ...

How do I process multipart http responses in Ruby Net:HTTP?

There is so much information out there on how to generate multipart responses or do multipart file uploads. I can't seem to find any information on how to process a multipart http response. Here is some IRB output from a multipart http response I am working with. >> response.http.content_type => "multipart/related" >> response.http.bod...

Silverlight 4 calling Http Auth protected SOAP Webservice

I need to call a SOAP Webservice in Silverlight 4 which is protected by HTTP Basic Auth. The service is hosted on a different domain than the silverlight application. Is there any way to do this. Setting ClientCredentials.Username doesn't work for me ... Any suggestions? ...

How to push a datetime var or a demical var to a .NET SOAP server using PHP?

I am sending all the parameters needed to the SOAP server, but they require one of the params to be a decimal and one to be a datetime. I can't figure out how to convert a string to either type. <?php $params = array( # this converts the string to an int 'int' => (int) '123', # to datetime is a big ? to me 'day' => date("n/j/Y...

Does xs:time default to UTC when time zone is omitted?

The XML schema spec seems vague on how to interpret an xs:time value when no time zone is specified. (See section 3.2.8.) Is there a common consensus on this (e.g. UTC or the local time zone)? ...

curl issue with URL not connecting

So I'm not a very good network person so I was hoping someone could point me in the right direction to figuring out what I am doing wrong. I am trying to use curl to post a SOAP message. I am running the following: curl -d "string of xml message" -H "Content-Type:text/xml; charset=utf-8" "[ip]:[port]/[service]" This results in a 'Con...

fsockopen soap request

I am trying to send a SOAP message to a service using php. I want to do it with fsockopen, here's is the code : <?php $fp = @fsockopen("ssl://xmlpropp.worldspan.com", 443, $errno, $errstr); if (!is_resource($fp)) { die('fsockopen call failed with error number ' . $errno . '.' . $errstr); } $soap_out = "POST /xmlts HTTP/1.1\r\n...

Location of various javax.xml.* packages within the Java 6 SDK.

Alright, so recently I was using Notepad++ for all of my programming needs, but I've started using Eclipse for larger-scale Java projects now. I decided to pick up an old project of mine which used various classes within the "javax.xml.*" namespaces. When I was compiling and running the program with Notepad++ it worked just fine, howev...

Flex and SOAP webservices

I'm in the process of trying to call a SOAP web service using Flex's built-in SOAP support. I construct the basic WebService object as follows (just to give you an idea): _service = new WebService(); _service.loadWSDL(_serviceURL + "?wsdl"); _service.addEventListener(FaultEvent.FAULT, faultHandler, false, 0, false); When I call functi...

Easiest RPC client method in PHP

I've been asked to help a friend's company to bring up a web application. I have very limited time and I reluctantly accepted the request, at one condition. As most of the logic goes on in the back-end, I suggested that I would finish the complete back-end only, allowing a front-end developer to simply interface with my backend. I pl...