soap

Move namespace from SOAP envelope root to xml payload

I've got a soap envelope that is returned from a encoded RPC PHP service that I wrote that declares a namespace in the root node of the SOAP envelope. However, I want that namespace to be in the root node of the xml payload in the SOAP body. Basically, I want this: <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/...

WCF client proxy mishandling returned SOAP envelope

I have a RPC encoded PHP webservice that returns a simple soap envelope with a boolean datatype. When doing the trace on the client side, the soap envelope looks like this right before it goes into the WCF proxy: <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoa...

Spring 3.0 and SOAP - What's best practice?

Hi guys, I'm reimplementing a web app in Spring, and I need to expose the business logic with SOAP. I'm going for Spring 3.0, and I'd like to know: what is the recommended way of exposing Spring beans? The rest of my stack is Tomcat 6, JDK 1.6, Struts 2. Cheers Nik ...

Convert .NET syntax into PHP using SoapHeader() call

Hi, I need to convert this .NET syntax into PHP using SoapHeader() call. esb.RequestServerVersionValue = new RequestServerVersion(); esb.RequestServerVersionValue.Version = ExchangeVersionType.Exchange2007_SP1; Thanks a lot! :) ...

Needed: MM7 message builder in .Net

Background In the mobile world, MM7 is a multimedia message that uses XML/SOAP as its content and HTTP as its transport (wiki). What I want some kind of a message builder (a DSL engine is preferable) that builds the SOAP (XML) message itself, so that I can actually view the raw message without sending it. What I found so far ......

Thumb-rules to decide between web service implementations: SOAP / REST?

Are there any thumb-rules to decide between two schools of thought: SOAP and REST? ...

Publishing COM/ActiveX interface using SOAP - what's the best solution?

We have a COM api (Windows DLL file) that other systems want to access using SOAP. What would be the best choice for SOAP-enabling this? Interesting parameters are: License costs Ease of setup and maintenance Ease of configuration/development if needed Compatibility Security, security updates etc. All suggestions are welcome, please...

Returning a PHP Array from a PHP SoapServer

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...

PHP Web Service with SOAP

I realize it's possible to create a PHP Web Service using SOAP, however, are there classes within PHP that make this easier than hand creating the SOAP messages? Also, how well does this interop with ASP.NET? ...

Weblogic 10.3 Throw Soap Fault - SOAPFaultException

I was previously using Axis 1.2 to create and throw AxisFaults to simulate a clients web service. We have since moved to Weblogic and I have taken the same code and converted it to a SOAPFault and now throw a new SoapFaultException( of SOAPFault), but Weblogic will now no longer compile the class. It yells about "javax.xml.soap.SOAPFau...

Making a SOAP request by using XML in Rails

I want to make a request to a SOAP Web Service but I don't want to install any gems. Is there any way to just make the request using plain XML? I think it's trivial but there might be something I've missed, because all implementations/tutorials were using a gem. I think that the SOAP response, can be handled also as a XML response rig...

Real world guide on using and/or setting up REST web services?

I've only used XML RPC and I haven't really delved into SOAP but I'm trying to find a good comprehensive guide, with real world examples or even a walkthrough of some minimal REST application. I'm most comfortable with Python/PHP. ...

Why Python omits attribute in the SOAP message?

I have a web service that returns following type: <xsd:complexType name="TaggerResponse"> <xsd:sequence> <xsd:element name="msg" type="xsd:string"></xsd:element> </xsd:sequence> <xsd:attribute name="status" type="tns:Status"></xsd:attribute> </xsd:complexType> The type contains one element (msg) and one attribute (sta...

Using PHP to call a WCF web service with multiple bindings

I have a WCF web service which allows both Basic HTTP and WS-HTTP clients, both over HTTPS using user name & password authentication. This is achieved with two bindings on the same service. So, the service is at https://foo.com/Service.svc, the Basic HTTP (SOAP 1.1) endpoint is https://foo.com/Service.svc/Unp11, and the WS-HTTP (SOAP 1....

Data server to iPhone and back

Web services -> core data -> controller -> view and then reverse... Sound right? Or is there a better way, one that avoids the complexity of SOAP? Additionally can core Data recognize XML coming from SOAP? Thanks // :) ...

Best approach for small scale distributed C++ apps

I am working on distributing a stand-alone app. Each instance of the app has to be able to send and receive queries. Requirements: Language - C++ Scale - small. May be 5 instances at a time Platform Independent Volume of data transferred is expected to be high(Raw images in the worst case) I don't want to use RPC because it needs a...

Does anyone know how to use MS SOAP toolkit?

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 ...

SOAP PHP Parsing Error?

I'm communicating with a SOAP service created with EJB -- it intermittently fails, and I've found a case where I can reliably reproduce. I'm getting a funky ass SOAP fault that says "looks like we got not XML," however, when retrieving the last response I get what is listed below (and what looks like valid XML to me). Any thoughts? ...

ASP.NET Web Service Security

I've built ASP.NET Web Services in the past that either were publicly consumed, or used Windows Authentication. I now need to build a Web Service that uses the SOAP 1.1 protocol and it needs to be secured with a username and password from the caller. It seems setting up the infrastructure for WCP is overkill for one or two Web Services...

Error calling SOAP method: Error deserializing message

I have a shipping module created with java that uses soap. When trying to ship a package I get the following error message that prevents fedex shipping rates to display: Sorry, there was an error in processing this form action. Please report the error or try again later. (Error calling SOAP method: Error deserializing message: Can't loc...