soap

how does XML and Soap work with WCF ?

I have been asked this question in interview how does XML and Soap work with WCF ? can any one explain this? ...

first web service from WSDL with .NET

Hi, I have a WSDL file and I want to create a SOAP server process from that file using visual studio .NET. Until now I have created a cs file from the WSDL with the following command wsdl my.wsdl my.xsd /language:CS /server Now I want to start a server process at a custom port (eg port 10000) that will send the responce back to my cl...

SOAP request namespaces .NET

When my client makes a request via web service, the generated SOAP message looks like this: <?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"><soap:Body><myMethod xmlns="htt...

Probleme with string encoding in SOAP

Hello, I have an application in Flex3 and when I send an Soap Query, I have a corect enveloppe, but when I try the same code in Flex 4, the sting is encoding : exemple : Flex 3 : <ns1:orderLine> <ns1:line_nr>2</ns1:line_nr> <ns1:productCode>7443</ns1:productCode> <ns1:quantity>20</ns1:quantity> </ns1:orde...

Magento API in C#.Net: catalogProductRequestAttributes problem

I have the code below, trying to get a product returned with all the relevant attributes. I get no errors but I don't see any attributes in the "prod" variable. private void frmProductDetail_Load(object sender, EventArgs e) { MagentoService service = new MagentoService(); MagentoServiceHelper help = MagentoServi...

unable to compile Web service project with VS 2008

Hello, I try to compile with VS 2008 old C# Service project based on WSE where DIME attachments are used: The compiler does not find: using Microsoft.Web.Services.Dime I just installed WSE 3.0. Even that does not help to find Microsoft.Web. What is the replacement for DimeAttachment class? thanks Arman EDIT Well the answer w...

Get timestamp from base64Binary in PHP

A webservice returns a timestamp field in base64Binary format. It looks like this in SOAP response: <a:TimeStamp>AAAAAAMpI9Q=</a:TimeStamp> PHP __soapCall, however, b64_decode()s that and I get a binary string looking like ')#▒'. How do I get actual timestamp out of this? I tried to unpack('L') it but it gives me Array([1] => 0) as a ...

PHP SOAP faultcode: soap:Server

Googled everywhere with no luck, could anyone tell me what's going on here? PHP version 5.2.10 trying to make a SOAP request and get this back. SoapFault exception: [soap:Server] The application encountered an unhandled system exception. Fault Code: faultcode: soap:Server ...

Using PHP SoapClient classmap option with WSDL containing an element and complexType with the same name

I've encountered a few different WSDL files that contain an element and a complexType with the same name. For example, http://soap.search.msn.com/webservices.asmx?wsdl has two entities named "SearchResponse": In this scenario, I can't figure out how to properly map those entities to PHP classes using the SoapClient() "classmaps" option....

Toolkit for parsing SOAP message

Hello, as part of my project, i need to be able to parse a SOAP response from a remote service end-point, and convert it into a custom XML format. my project should be agnostic of the schema used by the SOAP response. however, my first step involves parsing the SOAP message and extracting the relevant sections - Headers, Body, Attachmen...

VB.NET Calling webservice with Authentication key

I'm trying to setup a connection to a webservice from VB.NET I'm totally clueless on how to perform this. I receive an overview of what their Soap can do and i also received a securitykey. I'm however not sure how to call this webservice using the securitykey in VB.NET. Hope someone can help me a bit further using the layout of the servi...

consume SOAP webservice using jquery

I have a SOAP web service in java which needs to ba called from an html page using jquery. Can somebody tell me how to do that. I am new to it. ...

Creating Custom Module Fields in SugarCRM over SOAP Interface

Hi all, we're using SugarCRM as the back-end for a web application. We automatically generate Java client-side stub SOAP classes using Apache Axis, and using these classes we are able to login through Sugar, create new Contacts, change field values, etc. (All using the SOAP interface.) We will be using a number of different SugarCRM ins...

How should a WCF service implementation handle errors/faults without coupling to FaultContract

I understand the concept of Fault Contracts in WCF, but they seem to be tightly coupled to WCF and SOAP in particular. I've created a set of services that are separate from the contract definitions and the implementations could be used in many ways, not just WCF/SOAP. For instance, if I wanted to create a RESTful service, or just use t...

SOAP XML read variable from file

I need my SOAP XML script to read variable from a csv file, line by line and send request to end-point for each variable.In the case below, values for "tel" are in a file called "telnumbers.txt". <soapenv:Header/> <soapenv:Body> <usa:companyID> <employeeID>accounts</employeeID> <tel>1412341745</tel> <...

MS Office Webservice toolkit for Office 2007 ?

There is an article here for MS Office 2003 http://metrix.fcny.org/wiki/display/tips/How+to+Create+a+Microsoft+Access+Client+for+a+SOAP-based+Web+Service+API When I tried to install http://www.microsoft.com/downloads/en/details.aspx?FamilyID=fa36018a-e1cf-48a3-9b35-169d819ecf18&amp;DisplayLang=en it says it requires Office 2003 whereas ...

Is this a namespacing problem?

I am experiencing a strange behavior with very basic web service development. This question might be dumb but I think someone would be able to explain this observation. I am developing a web service with a web method, MyWebMethod MyWebMethod(MyEnum Param, .....) Where, public enum MyEnum : int { Type_1 =1; Type_2 =...

C++ JMS client or C++/C SOAP Client

I have an application in C++, but it'll need to 'talk' to Java based message-service. In the past we used WebSphere MQ and used their C++ libraries to do the 'talking'. So I am in search of (ideally) free C++ to Java solution which doesn't hold the whole JVM in memory. The other option I've looked into is SOAP. I've looked into Axis2...

Create request with SOAP ui

Is it possible to create soap ui request with data ? right now I know how to create new request which gives you template what you should send to your webservice (which is read from you wsdl), is there a way so your requests fills with data based on type(ex: String,Integer, Date) from wsdl, from soap ui or any other test tool ? thank you ...

Barnes and Noble seller SOAP API using PHP

I am new to SOAP and have been trying to connect to Barnes and Noble SOAP API using the php5 built in soap functions. http://www.php.net/manual/en/class.soapclient.php My question is, does anyone have any documentation or experience using Barnes and Noble system? I have been going back and forth with the support person and I feel like ...