soap

Receiving plain XML in .NET WCF service

Hi! I'm setting up a really simple WCF service whos only job is to receive an XML-message via SOAP and send the message on to an internal service. Let's say the one I'm creating is a guardpost of such. (Actual names have been substituted for example) Initial info: I cannot change the external service calling on me. As far as I know i...

Magento catalogCategoryAttributeList SOAP API call doesn't return all attributes

My goal is to get all attributes listed in Catalog -> Attributes -> Manage Attributes Admin Panel section using SOAP API call. When I am calling stub.catalogCategoryAttributeList(sessionId) Note: Java, Apache Axis used to make this call. In php it's related to this call - http://www.magentocommerce.com/wiki/doc/webservices-api/api/c...

Use JavaScript to call a SOAP web service that requires authentication

Can I call a SOAP web service from JavaScript? The SOAP web service in question is a member of the Exchange Web Services platform. I have found the Exchange Web Services OSX Widget but that uses Curl to do the actual SOAP call. So I am wondering if there is a limitation in the JavaScript abilities to interface with SOAP using authenticat...

How can I configure SOAP XML namespaces in web service client request?

I am having trouble calling a 3rd party web-service. I have not received a SOAP fault, but am not getting a valid resultset. A colleague of mine has written a client in RPG on the OS400 and it returns a valid resultset. When comparing the RAW request in Fiddler2 for both requests, the only glaring difference I noticed was that my c# c...

WCF SOAP1.2 Service IIS hosted behind a router with port forwarding

I have an IIS hosted WCF service with SOAP 1.2 and MLS. The service is hosted using a port 18001. What I need is to access it from the Internet (www.domain.com) using a different port. The client works from the LAN using the 18001 port, but doesn't work when using it from the Internet. Fiddler shows an HTTP 500. WCF tracing shows that th...

Having trouble generating a SOAP RPC envelope from a WSDL

We are generating a SOAP envelope using WSDL4J to parse the WSDL and XSOM to parse the schema (to find the types). This works fine with "Document" web services but not with "RPC" style services. When parsing RPC style we receive errors stating that the parser is unable to reference types in other namespaces (from the wsdl:definition and...

suds: incorrect marshaling of Array of Arrays

I try to talk to a load balancer (Zeus ZXTM) with python: a = client.factory.create('StringArrayArray') b = client.factory.create('StringArray') b.value = ['node01:80',] a.value = [b,] client.service.addDrainingNodes(['my pool'], a) But I get the following error: suds.WebFault: Server raised fault: 'Not an ARRAY reference at /usr/...

SOAP Client On Dreamhost

Hi Everyone I really really need help. Been trying to get this on and off for over a month now and still no luck. I need to enable the soap php extension in Dreamhost. Preferrably the native PHP soap, but something like NUSOAP will do too, just have no idea how to make it happen and how to use it. Someone please help. Thanks! ...

Successfully calling a WCF Service from Ruby? Anyone?

I'm trying to integrate a rails application with a WCF service. I've tried soap4r and Savon with no love at all. As far as I can tell, none of the Ruby libraries support the newest version of SOAP. The error that I was getting was: Cannot process the message because the content type 'text/xml;charset=UTF-8' was not the expecte...

php nusoap connecting to a sap webservice

I am connecting from php using nusoap to the sap soap web service, we had some proples getting it to work but I have now manage to get the connection to work. When I do a service call from php the sap web service get the requests but does not convert it to a soap object instead it seems to escape my call and pass it as a string... my ca...

Objective c webservice error

Hi, I have an error when calling a .NET webservice from objective c This is my code: -(IBAction)buttonClicked:(id)sender { NSString *postString =[NSString stringWithFormat:question]; NSLog(postString); NSURL *url = [NSURL URLWithString: address+@"?op=execute"]; NSMutableURLRequest *req = [NSMutableURLRequest requestWithURL:url]; NSS...

SOAP error in visual studio 2005

I am trying to add a SOAP service using VS 2005 via add web reference. However when I add the reference, I get all options disabled and the following error. What am I doing wrong? The document at the url http://interface.postcodechecker.co.uk/wsdl/pccInterface.wsdl was not recognized as a known document type. The error message from eac...

iPhone - Accessing MySql Server??

I am basically trying to retrieve some data from a MySql server, and display them on my iphone Let's say i have a table named "car" and i need to send 10 rows of my table to my iphone. 1- Is there any possible way to send an actual array of objects "cars" to my iphone. Or does it have to be a string. 2- If it has to be a string, what i...

How to enable SOAP on a web-hosting that don't support SOAP

In my php5 web-application i use zend mailMerge for constructing doc/pdf files from user data. Unfortunately, when i write a code, browser throws me an error: "Uncaught exception 'Zend_Soap_Client_Exception' with message 'SOAP extension is not loaded." I contacted with my hosting provider and asked about installation soap. He told me t...

any idea about ebxml in php?can we use it to create the soap request?

Hi, Anybody have any idea about how to create the soap request using the ebxml in php. ...

PHP: Returning XML in SOAP function call

I want to return the following XML in SOAP when a function is called rather than just a string. There are many different functions that will return an xml formatted this way, is there a way that I can define what a function returns? Like making my own data type? <meta> <supplier>Amazon.com</supplier> <datetime>2010/08/21 14:32:4...

Is there a WSDL-like mechanism for JSON?

My company is using SOAP for web services. Despite my efforts to convince my peers to use JSON, we still ended up using SOAP. WSDL was one of the main reasons (another is their unfamiliarity with JSON). That kind of annoyed me. I love JSON for its simplicity and lightweight, but I also like WSDL which provides the description of the dat...

Modifying PHP / SOAP code to add HTTP Header in all requests

I;ve inherited some php SOAP code and due to changes in the service we are using, I need to modify to "add an authorization in the HTTP headers of all requests". I'm not sure what to do and if its even possible. Part of the relevant code looks like this: function soap_connect() { $soap_options = array( ...

Get driving direction in iPhone

Hi, I read both iPhone and Google Map for iPhone EULA and want to implement a static driving direction map in my iPhone application (native). I am finding a simple way to get route data and display with build-in route display feature in iOS 4 SDK' Mapkit. Is there any programmer implement a feature like this with Google Map and Bing M...

soap extension and x64/i386

Hi, I have a small problem with soap client. We have 2 Linux servers: Debian x64 and Debian i686. At Debian x64 php array transform to soap type: ArrayOfLong. BUT! At Debian i686 php array transform to soap type: StringArray! How I can use ArrayOfLong at Debian i686? Thx ...