soap

How can I set attributes for SOAP elements in Delphi?

In a SOAP client request, the header needs this line: <NS2:Header Name="Foo">Bar<NS2:Header> So I wrote a class which has two string properties: the Content property - for the value of the element ("Bar") the Name property - for the value of the attribute ("Foo") The AS_ATTRIBUTE flag of the Name property should indicate that it ...

How should I do an ISerializable Stream (or near enough)

I have a web service accessed via SOAP. I'd really like one of the methods to return a Stream. What are my options? My thoughts right now amount to implement Stream and stuff all the data in a string. Is there a type that does this already? If possible (and I don't think it is) I'd love to actually tunnel the stream through SOAP so tha...

xsd for wsdl in coldfusion

How to generate an xsd from the wsdl generated in Coldusion? I'm no sure how the xsd is useful for creating SOAP stub but someone needs it so need to find a way to generate one. I tried using some online tools for this but it says "inline definitions". Hopefully some one knows how to do this. ...

Secure Web Services: REST over HTTPS vs SOAP + WS-Security. Which is better?

I'm not a security expert by any means, but I favor creating REST-style web services. In creating a new service which needs to have the data it transmits secure. We've entered a debate over which approach is more secure - REST with HTTPS or a SOAP WS with WS-Security. I am under the impression we could use HTTPS for all the web serv...

Calling a webservice from behind a proxy server

I need to add a functionality in an application (C#) which will use a web service (XML SOAP service). Now this application can (and mostly) be used in an corporate environment which has a proxy server in place. I understand the SOAP services use HTTP protocol and hence should use port 80, which is normally kept opened. Is it right that...

Problem with SOAP response structure from Coldfusion webservice

I have a problem with a Coldfusion webservice I've created. The service accepts XML data, BASE64 encoded, and then writes it to disk for archive purposes. This file then undergoes a basic schema check and any errors are reported back to the user as follows: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" ...

Is it possible to deploy a SOAP server with Axis without using WSDD?

In the project I am working I have deployed a SOAP server using Deployment Descriptors (WSDD) files. To do that a webserver (e.g tomcat, jetty) is started and then the following command is executed: java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient deploy.wsdd What I need is to skip the above command to avoid a call to the Ax...

How do I encode a binary MIME attachment in C#?

I need to send a binary attachment to a JAVA webservice via SwA (Soap with Attachments). After discovering that .Net does not support SwA I am writing my own client. How do I encode the binary MIME attachment, so that the Java service will be able to decode it? ...

SOAP Java 1.4.2

What libraries are available to write a SOAP client in Java version 1.4.2? ...

How to handle rpc/literal webservice with JAXB2 and Spring-WS

We need to access a legacy webservice that uses the RPC/literal webservice style and also to provide webservice endpoints for it. If you use webservices of document/literal style with Spring WebserviceTemplates / WebserviceEndpoints, you can use JAXB2 to generate / marshal / unmarshal the webservice requests. But how do you do this with...

Scheduling a JasperServer Report via SOAP using Python

I was able to figure out how to run reports, download files, list folders, etc. on a JasperServer using Python with SOAPpy and xml.dom minidom. Here's an example execute report request, which works: repositoryURL = 'http://user@pass:myjasperserver:8080/jasperserver/services/repository' repositoryWSDL = repositoryURL + '?wsdl' server = ...

SOAPpy - reserved word in named parameter list

I'm using SOAPpy to access a SOAP Webservice. This call to the function findPathwaysByText works just fine: server.findPathwaysByText (query= 'WP619', species = 'Mus musculus') However, this call to the function login does not: server.login (user='amarillion', pass='*****') Because pass is a reserved word, python won't run this. Is...

xmlns:soap attribute of SOAP element

I just now started learning web services.I cannot understand the use of xmlns:soap attribute of SOAP element.Thanks. ...

Passing HTTP Auth Credentials to SOAP Webservice

Hello, I'm using a SOAP Webservice (ASMX) which is HTTP Auth secured in my Silverlight Application. How can I pass my Credentials to the Webservice? bb_webservice = new BlackberryWSSoapClient(); bb_webservice.GetLatestLocationsCompleted += new EventHandler<GetLatestLocationsCompletedEventArgs>(ws_proxy_GetLatestLocations...

WCF: Use JSON to encode a SOAP Message Body

We have SOAP implementations of our services and up till now we had some legacy code that was wrapping our args and returns in another object to get around some serialization / generics on RPC methods. After optimization, we had implemented this class so that it Json serialized (DataContractJsonSerializer) and GZipped our complex reques...

How to specify an XSD on a Soap Call in PHP

Hi there ! I'm using certain webservices which give me a really big but simple WSDL listing all of the calls I can use, however each call needs it's very own XSD Does anyone know can I specify the url to the XSD so the php extension can use any array as parameter to generate the proper XML ? thanks in advance ! ...

how to save response when saving a SoapUI project

Hi All, I am using SoapUI 2.5.1 - evaluation version In a testcase, how to save the response messages along with requests in a SoapUI project ? Here is what is happening currently: When I create a Web service SoapUI project and send SOAP request for an operation, I get a response XML. Now after saving the soapUI and exiting the tool ...

Debugging BizTalk SOAP messages ... with WireShark or what?

I'm trying to work out what a BizTalk call to a web service is failing, and want to see what the actual message content is. I found Elton Stoneman's blog on using WireShark which got me going, and I can now at least see the POST and SOAP response packets, but getting the actual content is very laborious ... copy and paste to Notepad ... ...

Add certain namespace to a SOAP Envelope in PHP

Hey ! I really need to add a certain namespace to a SOAP Envelope which is not specified in the WSDL for some reason I already tryed using the 'uri' parameter in the SoapCliente constructor but it's not working how can I add this namespace to the SoapEnvelope ? thanks in advance ...

SOAP using C#

How do you use SOAP using C#? Is there a simple, yet effective tutorial for this? ...