soap

Magento Order Import Extensions, Commercial or Otherwise

Is there a standard third-party module that everyone/anyone is using for programming batch order imports in Magento? I need to do a complicated history import for a client, and the SOAP API doesn't have an order creation API, and an Order model existing in the system is dependent on so many other things already existing that it's not a...

PHP WSO2's WSF/PHP

I am trying to use WSO2' WSF for PHP and I am using a WS Security object. I am making the request to the server and getting an Authentication error. I believe the WS Security Object is missing something, so I would like to see the RAW SOAP message being sent...Is there a way to do this. I am not doing this locally. ...

soap headers problem

I've been trying to use code below to test web service but it didn't seem to work. I keep getting exception saying SoapFault exception: [soap:Client] System.Web.Services.Protocols.SoapHeaderException: eWAYCustomerID, Username and Password are required in soap header at ... As I am very new to soap I'm guessing its something simple I ...

How to pass Array as parameter to SOAP in Ruby

Currently I'm using Savon to work with WebService in ruby. It works pretty well but I have difficulty to pass parameter for argument of SOAP array type. Following code doesn't work properly: ids = [0,1,2] client.do_get_items { |soap| soap.body = { 'item-list' => ids } I would appreciate if you can solve my problem or propose an al...

Missing UsernameToken element

I am getting a request in the following method but the soap message does not appear to contain the UsernameToken Element: $policy = new WSPolicy( array( 'useUsernameToken'=>true ) ); $security = new WSSecurityToken( array( 'user'=>$username, 'passwordType'=>'PlainText', 'password'=>$password ...

Passing data using SOAP to ASP.NET Web Service via PHP SoapClient

I am trying to pass data to an ASP.NET based Web Service using the WSDL file containing the below: <s:element minOccurs="1" maxOccurs="1" name="ContactId" nillable="true" type="s:int"/> <s:element minOccurs="1" maxOccurs="1" name="GenderId" type="s:int"/> <s:element minOccurs="1" maxOccurs="1" name="EthnicityId" type="s:int"/> <s:elemen...

Webservice WS-* Shared-Certificate Security interopability with Microsoft WCF and CXF

Is there a documentation out there that will show us a configuration in Microsoft WCF using wsHttp shared certificate with Webservice WS-* security for Java SOAP WS-* interopability? We are a Java Shop and we are the client to this Microsoft WCF "Soap" service. I created a test web service in Java with CXF and implemented and shared-ce...

Consuming .Net Web Service using Perl and SOAP Lite

I'm trying to consume a .Net Web Service using perl and SOAP Lite. When I consume the web service in a .Net client - it posts to the .asmx endpoint the following: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xs...

Should a Netflix or Twitter-style web service use REST or SOAP?

I've implemented two REST services: Twitter and Netflix. Both times, I struggled to find the use and logic involved in the decision to expose these services as REST instead of SOAP. I hope somebody can clue me in to what I'm missing and explain why REST was used as the service implementation for services such as these. 1) Implementing a...

Nusoap - fix empty xmlns attribute for the response

Hi, i have created a simple web service using Php Nusoap. its working correctly but the only thing missing is to add the default xmlns attribute to the response tag. Here is the copy of Response : <?xml version="1.0" encoding="ISO-8859-1"?> <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOA...

Nusoap - fix empty xmlns attribute for the response

Hi, i have created a simple web service using Php Nusoap. its working correctly but the only thing missing is to add the default xmlns attribute to the response tag. Here is the copy of Response : <?xml version="1.0" encoding="ISO-8859-1"?> <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns...

Help Conceptualizing XML HTTP POST Automation through Application Layer

Hey everyone, For this post, I'm looking for more conceptual help than a specific technical solution (although anything helps). Basically, I've been asked to automate an XML HTTP POST through an application layer. I've never done anything like this before, so I'm a bit confused where to even start on a high level. It would be great...

WCF auditing/logging

Hi guys, I need to provide non repudiation in my WCF services and want to store all my incomming SOAP requests into a SQL server DB with signature/security data and all the envelope stuff. This way, when a problem occurs, we can tell to the client "Hi, THIS is your signed message" exactly as you wrote it. To do this, I need to store ...

Building SOAP message with XMLDocument VB.NET

I am having some problems building a properly formatted SOAP message using XMLDocument in VB.NET(C# answers are fine though). I am using the following code to manually create my SOAP message, what is happening is that the namespace prefix of the soap:Header and soap:Body are being stripped in the output XML: Dim soapEnvelope As XmlElem...

maintaining a SOAP session in Rails

I'm writing a Rails application which need to maintain a session to a SOAP-based web service, but I'm running in to difficulties between SOAP/REST. After logging in I get a session token, which must be provided in subsequent requests. I can initiate a connection (including logout) every time, but it seems like a huge amount of overhead...

how to send an object to C# WCF service from PHP using SOAP.

Hey all! I'm having trouble sending a custom object thats defined as a datacontract in my WCF web service from PHP. I'm attempting to accomplish this via SOAP. Here is what the dataContract looks like: [DataContract] public class simplyCustomer { [DataMember] public int id; [DataMember] public s...

Web Service parameters' types when accessing axis2 service from .NET client

I have created a axis2 webservice including a method with multiple parameters: class Service { public void method(string a, Enum b) { } } When accessing with a .NET client, the code generated in the client side is: void method(methodRequest request) instead of having the two original parameters, and in addition methodRequest....

Extract ns:version from wsdl file using php?

Hello, I have attempted to extract an attribute from the paypal soap wsdl file using SimpleXml and DOM in php5 but they all skip over the root tag where the namespace declarations are. It is not clear to me yet how to get a node referencing the root tag so that I can retrieve the value of ns:version using the current attributes functi...

PHP5, SOAP and 64 bit Debian machine

Hi. I've recently updated the versions of PHP5 and Apache2 on 2 debian machines. I have SOAP services on them both (they're both behind a load balancer), and on one they work, the other they don't. The one that doesn't work is a 64 bit machine. I'm using PEAR SOAP and wondered if anyone had seen any issues like it or knew of any work a...

iphone XML attachments

My iPhone app will be receiving an xml feed from a Java web service. The xml is in a SOAP message. I can easily parse data from within the xml however there is a jpeg attachment to the SOAP message that I need to display within the iPhone app. Does anyone have example code or a link to some documentation on how to work with SOAP attachme...