soap

SOAP Libraries Implementing WS-ReliableMessaging

Hello Everyone, I'm looking for SOAP libraries that implement WS-ReliableMessaging. So far I've come across Apache's Sandesha implementation for Axis. Are there any other frameworks that provide an implementation of the WS-ReliableMessaging specification? Thanks! ...

Axis2 SOAP Envelope Header Information

I'm consuming a web service that places an authentication token in the SOAP envelope header. It appears (through looking at the samples that came with the WS WSDL) that if the stub is generated in .NET, this header information is exposed through a member variable in the stub class. However, when I generate my Axis2 java stub using WSDL...

Bad response (400) with a WCF streaming service configured programmatically.

Hi, this if my first attempt at using streaming for WCF, and I am struggling with the dreadful "The remote server returned an unexpected response: (400) Bad Request" response. The trace viewer says that this is a System.ServiceModel.ProtocolException with message "There is a problem with the XML that was received from the network. See...

Restful and SOAP

How can i implement both restful and Soap together? ...

SOAP request with attribute

hi all, I can not seem to find out how to set an attribute to a SOAP request without using the XSD_ANYXML encoding. The request parameter should look as follows <request xmlns:ns="/some/ns"> ... <ns:parameter attr="some attribute"> value </ns:parameter> ... </request> Of course the following c...

PHP 5 SOAP client returns NULL when WSDL-provided function is called

Hi all, I am trying to use a webservice to look for specific users from my PHP application. I have used that exact same webservice in ASP.NET with success. Basically, I do everything like the PHP doc tells me to, and I use the same methods/variables I used in ASP.NET (for the webservice itself), but I can't seem to get a result. The f...

Python/Suds: Type not found: 'xs:complexType'

I have the following simple python test script that uses Suds to call a SOAP web service (the service is written in ASP.net): from suds.client import Client url = 'http://someURL.asmx?WSDL' client = Client( url ) result = client.service.GetPackageDetails( "MyPackage" ) print result When I run this test script I am getting the fol...

WSE 2.0 SoapHttpRouter: Is it possible to route soap messages with already attached client certificate?

hi folks, the title says it all.. will the client certificate be preserved after routing the call via an SoapHttpRouter? if not, how to route a message with already attached clientcertificate or: how to reattach an certificate at the side of soaphttprouter again? (not the best solution.. :-( ) thanks and regards! ...

Passing a PHP array in a SOAP call

So I am trying to include the following XML in my SOAP request: <Responses> <Response> <QuestionAnswerID>someint</QuestionAnswerID> <QuestionID>someint</QuestionID> </Response> <Response> <QuestionAnswerID>someint</QuestionAnswerID> <QuestionID>someint</QuestionID> </Response> </Responses>...

Using a WSDL with abstract types in PHP

I'm working on an integration between our web application and Microsoft Exchange 2007. I am using Exchange Web Services (EWS) to communicate to the Exchange Server. However, I am running into some issues with the WSDL. There are several types defined in the WSDL that have elements of abstract types. For example: <xs:complexType name...

IBM WebSphere Message Broker SOAP request timeout

Created .NET WCF service, tested it - works. Generated schemas from Data and service contracts, put messages to Message Broker generated Message Flow from it, tested it using simple mapping (requestMessage=responceMessage) - works. Also I can reach MB from another application and send/recieve SOAP messages. But when I try to create requ...

How do I call a Web Service in VB6?

I have an old VB 6 Application. I now want to access a Web service/web method in it, I am using MSSOAPLib30 DLL for the interaction. Everything is fine with the simple types like int string. But I am unable to send Complex types like Class and Structs. Anybody have any suggestions? ...

Problems with special characters in php soap client

Hi! I have a problem related to this question. I have a web service (also using php) that returns some names. When any of them contains Swedish characters (å, ä or ö) and probably others as well i get a soapfault (looks like we got no XML document). I can however see the full (correct afaik) response using $soapcalo->__getLastResponse()....

Has anyone succeeded at downloading orders from Amazon Seller Central using PHP?

It looks like this question has been asked before, here and in other places on the web, but I have yet to find any solid documentation on how it's done. We need a way to pragmatically "suck" orders out of Amazon Seller Central on a regular basis, and insert the data into a database on our server for processing. There's hints that you ca...

Lazy Hibernate JPA using SOAP

I have a bunch of annotated, interrelated POJOs that I want to create/modify/search over SOAP. I made a utility to eagerly load every detail of each POJO and create an XML string so I can send the entire POJO graph as a search result. Even though the graphs are very small (less than three nodes), the eager loading took a very long time...

Python SOAP clients will not work with this WSDL

Thus far I've tried to access this WSDL: https://login.azoogleads.com/affiliate/tool/soap%5Fapi from the two common Python SOAP clients that I'm aware of: SOAPpy and ZSI.client.Binding. SOAPpy raises an exception in PyXML (xml.parsers.expat.ExpatError: not well-formed (invalid token)) and ZSI raises an exception in the urlparse librar...

How to import XSD schema with Python Suds (version 0.3.6) SOAP library : TypeNotFound exception ?

I'm trying to use SABRE travel web services with Python Suds, but one XSD seems not well-formed (maybe namespace is missing in this schema). from suds.client import Client wsdl = 'http://webservices.sabre.com/wsdl/sabreXML1.0.00/tpf/OTA_AirPriceLLSRQ.wsdl' client = Client(wsdl, cache=None) Debug trace returns : .DEBUG:suds.wsdl:rea...

Is it worth trying to use SOAP?

I have a small RIA that I built as a learning/make-my-life-easier project that uses Flex and ASP.Net. Currently, my architecture utilizes straight HTTP posts and the server responds with xml. I posted another question about security in my web app and some people mentioned SOAP. SOAP is something I've never actually used and I was wonde...

How to control namespace in .NET SoapFormatter?

I am writing some code that needs to be backwards compatible with EXISTING remoting code that is using SOAP to serialize some objects. My difficulty is that I have had to move some objects to new assemblies, so the remoting is broken. For example, I serialize an object using the .NET SoapFormatter like this: Person p=new Person(); str...

cron job problem with soapclient included in php

I have a php script, and need to run it everyday. This script has a soapclient, and it works fine if I run it as a script using browser directly. However, some fatal errors if I set it as a cron job. The script is very simple as "crontest.php" <?php $mage_url = 'http://******.com/api/?wsdl'; $mage_user = '*****'; $mage_api_key = ...