soap

Include XML in SOAP response

Hi, In my WSDL my reponse I have it setup to be like this: <message name='getPartsResponse'> <part name='Result' type='xsd:string'/> </message> The problem I am having is that what I am sending in the response is XML and not an string. As a result of this I am getting the XML of the response (not the XML SOAP Response (that is ok))...

Converting generic.list to ArrayOfInt for transmission over SOAP to web service

I'm attempting to pass a generic list of integers from a client application to a web service using the the SOAP protocol. When I attempt to pass the list as a parameter to the web method declared in the web service, I get the error "cannot convert from generic.list to ArrayOfInt". How do I go about resolving this? // web service metho...

XML differences between WCF and Python SUDS for inheritance?

Hello StackOverflow! This is my first post, so apologies if I don't include all the right information! I have a question regarding the different ways inheritance are represented between WCF and SUDS (Python). I have a C++/CLI WCF server (.NET 3.5 SP1) and I'm trying to communicate with it. I've used a C# (WCF also) client and it work...

Server-side tracing of SOAP messages for WCF service

I'm trying to follow this tutorial on configuring server-side SOAP tracing for my WCF service, as well as the MSDN documentation. When I run a test, I see Activity 00000000 in Microsoft Service Trace Viewer but the messages tab is empty. C:\temp\Web_tracelog.svclog is being written but C:\temp\Web_messages.svclog is not. I'm probably ...

How do I pass a list parameter as multiple link-named elements instead of as an array in SOAPpy ?

I am trying to pass multiple instances of an element to a web servile that has the following wsdl <complexType name="OAMCommand"> <sequence> <element name="m-strName" type="xsd:string" minOccurs="1" maxOccurs="1"/> <element name="m-argVector" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> </sequence> </comple...

How can I pass in an array as a value into a PHP soapclient request?

How can I pass in an array as a value into a PHP soapclient request? I have a soapclient instantiated and connected already. I then try to make a call to a webservice method that expects 3 parameters (string, string, hashmap). Here is what I expected to work below. But when viewing the xml output, the params node is empty. soapclient-...

javascript SOAP xmlhttprequest issue mobile

All right, so previously I asked... SOAP Prototype AJAX SOAPAction Header Question (can't hyperlink it unfortunately, not enough rep for "2" links... see below) Which never worked out. I think it has something to do with Prototype, it will return a 0 as onSuccess. I can't figure out the Content-type utf-8 formatting. Now if I go back...

PHP SoapClient: Problems with Distributed WSDL File

Hello, I have a problem using a distributed WSDL File ( scheme / other definitions are declared outside the actual wsdl) with php's SoapClient. This is the Fault Message I get: SOAP-ERROR: Parsing WSDL: 'getSomeInfo' already defined. After some googling , it seems to be a bug inside php as someone else discovered exactly the same pr...

Looking for way to have REST web service accessed through ESB

I am preparing on how to present using an ESB, such as Glassfish, to a company I am working with, but I realized that they may want to have some of their new webservices switch from SOAP to REST, and this is where I run into a problem, as my experience with ESBs (mainly BEA's ALSB) is that they seemed to be geared toward SOAP. I would p...

Call a webservice without proxy

I have to call a webservice from withing a C# programm. The webservice has most probably not a standard format. The interface description (wsdl and xsd) are very complicated, and using a proxy generating mechanismus results in hundreds of classes. The generated classes ar of little help since they are very generic, having mostly simple O...

Having issue while using soap4r, unable to add namespace, encoding style to soap envelope.

Hi, I am having problems with one of the soap service I'm using. I am using soap4r for consuming the soap service. But somehow they are expecting something else than what I am sending. This is what I'm sending:<?xml version="1.0" encoding="utf-8" ?> <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas....

WCF Custom SOAP Header Issues

I'm trying to implement an endpoint behavior which injects a custom SOAP header into all messages to and from a service. I've gotten pretty close by implementing the approach from the accepted answer of this question: http://stackoverflow.com/questions/986455/wcf-wsdl-soap-header-on-all-operations/995951#995951 After implementing that...

Hide REST endpoint from MEX/WSDL in WCF

I have a WCF service that has REST and SOAP endpoints for every service. This was implemented similarly to this post: http://stackoverflow.com/questions/186631/rest-soap-endpoints-for-a-wcf-service with a configuration similar to the following: <services> <service name="TestService"> <endpoint address="mex" binding="mexHttpBindin...

Soap parameters unwrapped in Client and wrapped in webservice, how to expose same methods but different params both in client and server side(java2wsdl)?

The client side should look like (taking the login example) login(user, password) SOAP header is added by interceptor. The service side look like login(Login login, headerstuff). Login is just a class with all the elements from the client call. ALso have an interceptor to show how you could add things to the header before it arrives at ...

/sharedtypes eqivalent for svcutil.exe?

Building an app that is relying on a 3rd party provider who has a very verbose set of SOAP services (we're talking 50+ WSDL files). Each individual WSDL however has numerous shared type declarations. When generating client code with wsdl.exe, there used to be a /sharedtypes flag that would merge duplicate entries if a type was found se...

SOAP class for PHP 4

I need to connect to a webservice via soap, and only realized that the server I need to work on is PHP 4. Are there any good methods to connect to a web service using PHP 4? ...

soap in objective c

how can i handle wsdl in objective c? maybe manual parsing of xml? any tutorial? ...

Game data across network

I'm designing a game where players are programmed bots competing in a programming contest. The bots can be programmed in any language - Java, Ruby, Python, C#. I'm looking for some way to transmit game data across the network or some way by which the game server can talk to the bots. What would be a better choice for this? Should i use X...

WCF configuration for SOAP plain text password authentication over SSL

I have an application that connects via https to a SOAP-based web service that implements WS-Security. The web service is written in Java, expects a plain text password as well as a properly set timestamp. After a great deal of googling and experimentation, I can't figure out how to configure my WCF client to interact with this service...

SOAP 1.2 python client

Hi, I am looking for a python SOAP 1.2 client but it seems that it does not exist . All of the existing clients are either not maintainted or only compatible with SOAP 1.1: suds SOAPpy ZSI ...