soap

Perl + SOAP::Lite Question

This is the SOAP document I'm trying to model using SOAP::Lite. <SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt; <SOAP-ENV:Body> <GetOrderByPartner...

Use StAX parse RPC style soap response

Dear all, I have a soap response which is RPC style, so it has 'multiref's. The response was passed to me as a String. Can I use StAX parser to parse it? Can StaX resolve mutirefs automatically? Thanks, Sarah ...

Problem in calling SOAP web service (written in PHP) from ASP.Net

Hi, I am trying to call a webservice, written in PHP from ASP.Net. I have added Web Reference using "Add Web Reference". The url is: http://mikikard.com/public/webservice?wsdl In Add Web Reference Window, I can see the list of functions. But, When I try to build the Website, It gives the following Error: Unable to import binding 'Soap...

Python can't import module named wsgi_soap from the soaplib

Hi! This code works on Debian under Python 2.5 but doesn't on Ubuntu under Python 2.6: from soaplib.wsgi_soap import SimpleWSGISoapApp On ubuntu under python 2.6 I get the error: from soaplib.wsgi_soap import SimpleWSGISoapApp ImportError: No module named wsgi_soap ...

suds element prefix issue

I'm having trouble getting suds to consume complex (.net) webservice. a. The generated suds soap message looks like this: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:ns0="http://schemas.cordys.com/Ucf/Organization/GlobalDomain/1.0" xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns2="http://schemas.cordy...

How to avoid "505: HTTP Version not supported" error?

Hi all, I am trying to use the Bing SOAP API for a simple search request. But now that I finally figured out how to send the request using JAX-WS, I am stuck again. I get the reply com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 505: HTTP Version not supported when I send the request. Can anyon...

what is the Message Exchange Patterns, in plain english?

Can someone please explain in plain English what the MEP is? I can't grasp the concept. From what I figure, is just a concept for two parties to understand each other (i.e. agree on a type of format that the messages they exchange between them must have). Is this it, or is there more? Thank you! ...

Using a C# Service Reference SOAP Client with different Endpoint URIs

I have a SOAP Webservice that is available on multiple servers, thus having multiple endpoints. I want to avoid adding multiple Service References (C# SOAP Port Clients) with different names just to talk to this services, since the API is exactly the same. Is there a way to configure the Endpoint URI at runtime? ...

KSOAP 2 Android with HTTPS

I am using KSOAP2 to manage SOAP in Android but it use https for the SOAP url and I am getting this error: javax.net.ssl.SSLException: Not trusted server certificate A normal error because the certificate is untrusted, but anyone knows how to workaround with this error? I can not manage the certificate because is from a other company and...

Fetching an image from Server

Here is my code to fetch an image from a server location into a web service folder "web content". // imports removed public class WebService { public int writeToFileImage(int a) throws IOException{ File file =new File("sdcard/myImage.jpg"); file.createNewFile(); URL u = new URL("http://172.29.26.40:8080/E...

PHP SOAP client and SOAP server errors

I have a web server which is acting as a SOAP client to communicate with a third party SOAP server. My client is implemented in PHP using php::soapclient. What is the best way to verify the SOAP server is functioning so I can provide the client browser with the site otherwise if if the SOAP server is down or not responding inform the ...

Spring Web Services - Exception Skipping ExceptionResolver

I have a SOAP service, the request and responses work as expected with good input, if I specify bad input for an XML element in request body: ... <ns:myIntegerElement>asdf</ns:myIntegerElement> ... my exception resolver is invoked, this resolver is just an implementation of the exception resolver, so it doesn't have exception mapping...

PHP Soap Header help

I have a fairly simple php/soap header question. Here's what I need. <ns1:Identity token="123456789"></ns1:Identity> Here's what I get... <ns1:Identity><item><key>token</key><value>123456789</value></item></ns1:Identity> using this code... $headers[] = new SoapHeader('http://qpricer.com/Services/Pricing','Identity',array('token'=...

When using soappy SOAPServer, how do I read the request's headers?

I've got a Python webservice using SOAPpy. The webservice server is structured as shown below: class myClass: def hello(): return 'world' if __name__ == "__main__": server = SOAPServer( ( 'localhost', 8888 ) ) myObject = myClass() namespace = 'whatever::namespace' server.registerObject( myObject, namespace ) server.ser...

Python SOAP to MS WebService(SharePoint)(GetListItems)

Hello, I am attempting to pull list Items from a sharepoint server(via python/suds) and am having some difficulty with making queries to GetListItems. If i provide no other parameters to GetListItems other than the list Name, it will return all the items in the default view for that List. I want to query a specific set of items(ID=15)...

Is it possible to specify the outgoing network interface to use for a PHP SoapClient?

I need to bind a SoapClient to a specific outbound network interface, but I cannot find any documentation on this. Is this even possible? If not, what are some possible workarounds? ...

Soapclient query a Sharepoint web service

I successfully query a service with the following code from here <?php $authParams = array("login" => "username", "password" => "password"); $listName = "{2882F083-8890-4ADA-A1FC-39ED1D63D825}"; $rowLimit = '150'; $wsdl = "http://localhost:89/list.wsdl"; $soapClient = new SoapClient($wsdl, $authParams); $params = array('listName' => $li...

Example of SOAP request authenticated with WS-UsernameToken

I'm trying to authenticate a SOAP request using WS-UsernameToken spec, but the target device is always denying access. My non-working request looks like this. (The password I'm trying to hash is system.) <?xml version="1.0" encoding="UTF-8"?> <Envelope xmlns="http://www.w3.org/2003/05/soap-envelope"&gt; <Header> <Security xmlns="http...

Sharepoint Filter for List Items(GetListItems)

I'm attempting to get a set of list items from sharepoint via the WebService. I want to query a small subset of items to be returned. My SOAP packet appears to be ordered properly, however, it still appears that the service is ignoring my set filter(query). Any ideas why this would still be happening? <SOAP-ENV:Envelope xmlns:ns0="ht...

Understanding SOAPAction in http header (Java somewhat involved)

I noticed my home router has some configuration field "TR-069 CLIENT CONFIGURATION" and some obscure address that I noticed gets resolved quite often each day. (Yes obviously to config the router remotely.. or something) But I want to see what is being sent. So wrote a very simple "web server" in Java to read in HTTP requests (the field ...