My customer asked me to implement MTOM/XOP for .NET Remoting via HTTP/SOAP for remote stream access (for example, file uploading). WCF web services in not an option.
So, what I have to do is modify our custom SoapClientFormatterSink and SoapServerFormatterSink to do the job, i.e. SerializeMessage method, which takes IMessage and if one...
I assume somehow you can user an XmlReader to read the envelope from an XmlDocument. Does anyone have a good example how? I want to simply extract the entire sent SOAP text into a string variable so we can log it in case of a request error.
Example methods:
protected virtual HttpWebRequest CreateWebRequest(string endPoint, Int32 cont...
Hi,
I am trying to generate the following XML in my SOAP call:
<CResponse>
<ID>int</ID>
<Response Action="Apply">
<Question ID="$someint">
<Responses>
<Response ID="$someotherint" />
<Response ID="$yetanotherint" />
</Responses>
</Question>
</Response>
...
Hi
I'm really stuck on getting my SOAP messages to work. I've tried many approaches but they all have the same problem in common: they don't have a security header.
The security header needs to contain a username and password. In VB.Net this is done by:
userNameAssertion.UsernameTokenProvider = new
UsernameTokenProvider(username, pass...
Looking to read the file size of the SOAP POST, any best practices?
$data = fopen('php://input','rb');
$content = fread($data,5000);
$dom = new DOMDocument();
$dom->loadXML($content);
Would like the 5000 to be dynamic as each SOAP POST size will be different or does this matter?
Using fread() would be great
...
Hi
I'm quite new to SOAP. I need to understand something failry basic I'm sure.
First, the info:
This method returns a list of all items in a database where a field matches a value. For example: WhereClause = "TypeCode = 'M'"
Code
//[some code]
bool morePages;
//[some other code]
PartListDataSetType plType = proxy.GetList(CompanyNa...
Hi guys,
I've got a SOAP fault response that i'm trying to output into a sort of 'print_r' nice format so I can include the fault in an email to our IT staff when SOAP request fails.
Can anyone tell me the best way to simply format an XML SOAP faultstring in the format, variableName: variableValue?
Cheers
...
I'm trying to access a SOAP API using Suds. The SOAP API documentation states that I have to provide three cookies with some login data. How can I accomplish this?
...
We are planning to use SOAP UI Pro to test our Services (developed in c#.net)
I am getting an error in the service and would like to debug the service call.
I am not able to attach a breakpoint.
Does anyone have tried to debug SOAP UI test tool call?
...
Could someone please help me with what's wrong here? I have tried to add a security header, so far just containing a username.
Thanks
Dim ENC As String
Dim XSI As String
Dim XSD As String
Sub SOAPsuds()
'Define Envelope Constants
ENC = "http://schemas.xmlsoap.org/soap/encoding/" 'Encoding
XSI = "http://www.w3.org/199...
I just wondered if there are any libraries in Java or any other language implementing SOAP over protocol that is not HTTP? I've heard that some project had implemented SOAP over SMTP. Are there any other experiences?
...
Hi all,
I'm trying to figure out how to connect Excel 2007 to php5 based web services.
I found this pretty interessting article on the topic. Ok, so it seems to be
doable. Now, php5 soap services don't accept parameters in url form, so a RESTesque call like
http://domain.org/service.php?getme=something
won't work out since there are ...
I have created a web service in visual studio. How do I read the HTTP post data when someone sends a request to one of my methods.
The message they are sending me is a soap wrapped xml file.
...
While using WCF and OperationContracts I have the following method defined:
[OperationContract]
[FaultContract(typeof(ValidationFault))]
[FaultContract(typeof(FaultException<ExceptionDetail>))]
int DoSomething(int someId, MyComplexType messageData);
When this gets translated to a WSDL by the WCF runtime, it ends up wit...
I've just started on a project where I need to insert contacts into a SugarCRM system using the SOAP interface.
So far I have created a reference to the service http://sugar-dev.walkinwifi.net/soap.php?wsdl=sugarsoap
Then writen some code like this
public SugarHelper()
{
//Create a new instance of the client proxy
...
I am consuming a SOAP web service using php5's soap extension. The service' wsdl was generated using Axis java2wsdl, and whatever options are used during generation result in the port binding url being listed as https://xxx.xxx.xxx.xxx**:80**
If I download the wsdl to my server, remove the port 80 specification from the port binding lo...
What is difference between REST and WebService (SOAP), I looked at the facebook api, they use HTTP headers and some parameters (probably xml or non) and return result in xml, where else SOAP does exactly same, HTTP headers + xml parameters and returns headers + xml.
REST also requires some authenticated token where else SOAP uses http s...
I am having trouble trying to pass an array of data to a Nusoap client request to a WSDL server. The spec is a mixture of attribute values and simpleContent values.
The WDSL spec looks something like this:
<s:complexType name="RequestMessage">
<s:sequence>
<s:element minOccurs="0" name="Address" type="s0:MessageAddress"/>
<s:...
How to expose / publish services using Java HTTP post for XML SOAP message.
What are all steps need to follow.
I did googling but haven't found any thing about exposing / publishing services.
...
I need to use a web service to be able to sync my iphone app with my Asp.Net website. Data needs to be sent both ways. I haven't started building the web service nor the client yet so before I start, what's the best way to do it? Using SOAP, REST? I understand that support for SOAP or REST isn't built-in in iPhone SDK but are there any r...