soap

SOAP authentication with PHP

I need to connect to a web service that requires authentication credentials in the form of a plain text user name and password. I have a basic understanding of SOAP and have managed to connect to other open web services that do not require a username or password using NuSOAP. The following was sent to me: <?php // Set up security opti...

BizTalk Orchestration: Respond with Untyped SOAP Fault

I have a BizTalk 2009 orchestration with a request-response port type that is published as a WCF Basic-HTTP web service. The port has one operation, and that operation has request and response messages with appropriate schemas. After receiving a request on this port, there are a few cases where a fault message should be returned to the...

Documenting webservice API Reference guide?

Online webservice API/reference guide - What software application do you use to document your webservice/API technical specification/reference guide? ...

Creating a SOAP Header with WS-Addressing and WS-Security from scratch

I am sending out a SOAP message from a windows service to an http endpoint (regular aspx page that will just accept the whole SOAP envelope). The overall operation is async, the actual response comes back at a later time. The nature of the setup (aspx page receiving message) means I cannot have a service reference in my project. The SOA...

.Net Web Reference SSL Error

While using a Visual Studio "Web Reference" to a SOAP service on a server that requires an HTTPS connection I get the error: "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel." The parent class of the client is SoapHTTPClientProtocol if that makes any difference. I am not in t...

Android Webservice SOAP

Hi All, I'm calling soap webservice in android app. its working fine and getting the response in SOAP object. I don't know what to do after that. I'm searching for tutorial but I didnt find any. I'm really very fed up. I need to parse the reponse. Can anybody please help me in this case. filter.setOnClickListener(new OnClickListen...

PHP Soap call throwing Bad Request when using xsi:type

EDIT: The following two are examples of what works and what doesn't work. I can pass the latter through __doRequest, but I would really rather use the other SOAP related functions (for example they provide a better response, object instead of string). Is there any way using PHP to get the the second example just using arrays, SoapVar, S...

Connection refused when calling SOAP Webservice using Android

I developed a webservice in .net and I'm trying to call it in Android. To call the webservice I'm using ksoap2. The WDSL's URL is: http://localhost/Cidadaos_Cidade/Open.asmx?WSDL Here's the WSDL <?xml version="1.0" encoding="utf-8"?> <wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/...

android webservice to a php server (XML vs JSON and SOAP vs REST)

Hey guys, I am actually looking for some opinion on how to get this done. I have a php server with a mysql backend to authenticate users using android os. I came across the debate of having JSON vs XML to minimize the overhead and using REST vs SOAP. Can I get some tips on what is the best path to go about getting this done ? I know its...

Update data with RIA Services over SOAP

Hi There, I have an SL Application which uses RIA and Domain services for data access. I have modified this to work on SOAP so any other applications can use the service. On a Windows client I can query data without a problem. But I need to make some update and inserts. As you may know all insert, update, delete methods are not visibl...

Web service in iphone

Hi everyone i am new to iphone development.I am working on an application which required to check and register the user name and password using soap web service.could anyone help me how to do that with that web service.i have two text fields for login.and button to check if the credentials are correct or not. ...

PHP SoapClient - Returning attribute values in a response

I'm attempting to get values from a webservice. The responce is formated as.. <campaign Id="200"> <name> test </name> </campaign> PHP Code SoapClient( "WSDL"); $return = $client->GetCampaigns('Username', 'Password' ); Yet when I attempt to access the return, I get just a stdClass with the name attribute.. public 'Campaign' =>...

Using REST with Delphi

After reading this article about SOAP versus REST I started to wonder what option Delphi developers have on choosing a good REST library to import REST-service functionality inside Delphi/WIN32 applications. And what options there are to create REST services in Delphi. So I have a few related questions: Is there any open-source REST li...

How to send SOAP request header in Java?

Hi. I have a WSDL file (the web-service has written by .NET) and i can generate the java web-service client proxy classes and codes in IntelliJ IDEA 7.0.4 by its tool. the web-service has a soap request header , but i can't see any property or method in auto generated Java proxy classes and codes to set the request header. (but when i u...

OpenSource webApplication for managing files through WebService ?

Hi, We are currenty searching for an open source or free web application that can manage files through WebServices. Our need are those ones : - possibility to upload a file of 10 mo (maxixum) through Soap WS - possibility to retrieve or delete it & configure some basics data (directory of the files on server) Thanks in advance for you...

xs:choice embedded in xs:sequence prevents the use of a union

I have the following xsd <xsd:complexType name="myID"> <xsd:choice> <xsd:element name="testID" type="priv:testID"/> <xsd:sequence> <xsd:element name="newID" type="priv:newID"/> <xsd:element name="testID" type="priv:testID" minOccurs="0"/> </xsd:sequence> </xsd:choice> </xsd:comple...

Could not authenticate user.

Hi, I'm having problem on using soap I get an error: Fault code: soap:Server Fault string: Server was unable to process request. ---> ERROR: Could not authenticate user. How to fix this? I dont know why this error appears. the last time i check my code its ok but now i got that error. thanks ...

Problem with XML parsing on iPhone

When I receive data from web service my NSMutableData is filled with following XML: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;&lt;soap:Body&gt;&lt;GetWeatherResponse xmln...

Active Directory Web Services (ADWS) SDK

I recently come to know that there are web services by WCF for Active Directory. I presume this is not about LDAP. Are there any documentations or blogs about it as to what the default endpoints are or what the API looks like or does it even talk in SOAP? or can you please shed some light on how to connect to Active Directory Web Servi...

Create a SOAP header?

How do you add create a SOAP web service header? Example <soap:Header> <myHeader xmlns="https://www.domain.com"&gt; <Username>string</Username> <Password>string</Password> </myHeader> </soap:Header> source code using System; using System.Collections.Generic; using System.Web; using System.Web.Services; using ...