soap

Soap Envelope Header in Delphi 7 not including utf-8 encoding. How can I modify it?

I'm having problems receiving invalid non-ascii characters coming from a Delphi 7 client sending a utf-8 encoded XML to a C# WebService in a String parameter. With a .Net client, the characters are received without a problem. I've tried a lot of stuff, and nothing seemed to work, so I decided to trace the SOAP conversation with Wireshark...

Are HTTP APIs with (almost) no methods that bad?

Suppose I have an HTTP API with two methods: read and write. So I could do POST url: /api/read body: <method>customers.list</method> <args> <area_code>90210</area_code> </args> POST would be the method for both read and write. I know it's not RESTful, but I can update it on the fly on the server side without having to change the cli...

Custom serialization of JDK5 Enum in Axis 1.2 on client-side

Hi Folks, I am migrating a SOAP web service to JDK1.5. I have took advantage of native java enums in the new code. For some reasons, I'm stuck with Axis 1.2 and it does not natively support JDK5 "enums". I have found a tutorial on how to implement custom a serialization / deserialization for java enums: http://www.developpez.net/forums...

Get simple response from SOAP service with classic asp

Hi, I have been tasked with obtaining a response from a SOAP request, using classic asp. The request is about as basic as it gets - I just need to fire off 3 parameters to a web service URL and write out the response (which is in simple plain text format). I've checked the service using a couple of SOAP testing utilities and it output...

php soap example

hi, am using nusoap-0.9.5 and am trying to run the examples given in samples but am getting errors like Warning: SoapClient::SoapClient() expects at most 2 parameters, 6 given in C:\wamp\www\trvl\nusoap-php5-0.9\samples\client1.php on line 18 Fatal error: Uncaught SoapFault exception: [Client] SoapClient::SoapClient() [<a href='soapcl...

How to add XML Schema into SoapBody of SoapMessage in Apache CXF ?

Hi, is there a way to modify SoapBody message using Apache CXF ? I have tried to use Interceptors feature with Phase.SEND mode to try to add an xml schema with a result in SoapBody. I did not have any luck. The issue was that I want to validate the result message with xml schema. The current output of the SoapBody sent a result messag...

Android; how can you invoke a SOAP web service without using ksoap?

I'm not asking to be spoon fed here, just need some pointers on where to direct my searching I want to call a SOAP web service, possibly this one I don't want to use KSoap, is there anyway I can do this using the apache libraries that are included with the Android SDK? ...

JAX-WS binding to existing Java classes problem

Asking and answering my own question here, because I had a dickens of a time finding this online: Caused by: java.lang.NullPointerException at com.sun.xml.ws.model.JavaMethodImpl.freeze(JavaMethodImpl.java:367) Trying to call a web service from inside Glassfish v3. Works fine from JDK1.6.0_21 ...

Calling a SOAP web service with a complex data type using PHP

I'm trying to write PHP to call a web service. Using SoapUI, I construct the following call to the service, which works: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://gmo.ws.client.np.z2.com/xsd"&gt; <soapenv:Header/> <soapenv:Body> <xsd:login> <xsd:auth> <...

Java custom SOAP processor for web services

I want to build a custom framework that expose a web service by using J2SE lightweight inbuilt HTTP server for already running large socket based swing client server application. Business functionality exposed through heavy weight object which has a method to get XML string and build object using XML string. The framework should expose...

Which tools to build a SOAP server in PHP?

We are investigating options to build a SOAP webservice in PHP. We have some requirements: Authentication via SOAP Headers HTTPS Fine control over XML used in SOAP response Good documentation and support community. (Optional) WS Security support There's the following tools providing such functionality: Native PHP SoapServer Zend_S...

Web service - method naming?

I know naming a webservice method is probably a personal preference, however I'm interested to know what you guys would name it, and why? 1: AccountCreate AccountDelete AccountList AccountUpdate or 2: CreateAccount DeleteAccount ListAccount UpdateAccount ...

HashMap via SOAP from Java to PHP and back

Hi Guys, i'm facing a little problem and can't find a solution. The situation: I have a Java-Webservice containing different Methods. One of these creates a new Object (named "Bestellung", which is german for "Order"). This object contains some attributes, most of them are Strings, one is a Hashmap named "applikationsDaten" (applicati...

Auto-generating WSDL file for a Python Twisted SOAP Server

Any recommendations for auto-generating the WSDL for a Python/Twisted SOAP Server? I've found lots of examples for taking an existing WSDL and generating the stubbed Python code, but am looking for the reverse operation. ...

How to parse soap response

I have spent the last few days trying to parse a soap response but I can't get it to work. I would like to be able to get all the "oproduct" objects. EDIT: I am doing it this way instead of using the built in soap client because I need to do parallel requests using multi_curl. Here is my code: $xml = simplexml_load_string($response); ...

How do you manage change with your web services?

Over time your web service might changes, what do you do and how do manage change? (Different versions; add more features, modify or even remove features etc) ...

Preventing BizTalk from emitting a "To" Soap header in an outgoing request to a WCF BasicHttp service

Using BizTalk 2010 to consume a WCF webservice with BasicHttp binding. My service is rejecting the requests coming from BizTalk. I can see using tracing and soapUI that the reason is the "To" header emitted by BizTalk in the outgoing message: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"&gt; <s:Header> <To s:mustUnders...

How to consume this wsdl webservice using Javascript client (assume cross-domain issue is no problem, ignore that issue)

Hello guys,i'am a newbie, and i need some help.. Here is the offline wsdl file about webservice: www.mediafire.com/?23266wtqkewbugc#1 And the online wsdl file:lontar.cs.ui.ac.id/Lontar/services/PenelusurDokumen?wsdl, but the server now is down. I want to call some method/function from webservice via javacript client. I have tried the ...

WSDL on SQL Server gives HTTP status 505 Version Not Supported

I am a DBA, not a developer, so forgive me if this is a silly question. But we are having issues with a SQL Server 2005 Web Service end point. On the local network I am able to add the reference in Visual Studio 2010 with out any issues. It uses digest as the authentication scheme. However, when anyone tries to add the web reference on ...

jquery - Empty responseText in XMLHttpRequest object when server returns 500

I have to make SOAP calls from javascript between different domains. On the server side there is a list of allowed domains, methods and headers which are included in the response by a filter. It works well (even between different domains) when the response code is 200 but when an exception is thrown on the server side the xhr object has ...