soap

Using authenticated SOAP web service in Android

I have to securely connect to an authenticated SOAP web service in Android. The web service uses a self-trusted certificate. Unfortunately it seems that the usual Java libraries for this can't be used in Android. Could someone give me some pointers on how to do this? Is it possible to implement this connect just with HTTP POST request...

PHP SOAP WSDL CALL RETURNS EMPTY RESULT

I am making a SOAP WSDL Request and get an exmpty result - no errors. The last_response is filled with: <?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"&gt;&lt;S:Body&gt;&lt;ns2:getResponse xmlns:ns2="http://api.sponsoredlistings.ask.com/api/v5/"&gt;&lt;rval xmlns="http://api.sponsore...

PHP SOAP XML Response convert to DOM Document loadxml() - not working, empty

I have a SOAP Response which I want convert to a DOM Document. I am using loadxml() for that, but it returns an empty object. <?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"&gt;&lt;S:Body&gt;&lt;ns2:getResponse xmlns:ns2="http://api.sponsoredlistings.ask.com/api/v5/"&gt;&lt;rval xmln...

WSS4J kills SOAP envelope when used with SSL

I am trying to consume a .NET web service (secured with SSL and WS-Security - UsernameToken) with Axis (in Java). I don't operate the service, I'm just building the client. The operator of the service turned off SSL and WS-Security, and we got everything communicating properly. Then, they turned SSL on, and everything was still workin...

Dependency problem of Perl CPAN modules

I tried to install SOAP::WSDL on Ubuntu 8.04 Server through CPAN but got the following error message: cpan> install SOAP::WSDL Running install for module SOAP::WSDL Running make for M/MK/MKUTTER/SOAP-WSDL-2.00.10.tar.gz Checksum for /root/.cpan/sources/authors/id/M/MK/MKUTTER/SOAP-WSDL-2.00.10.tar.gz ok SOAP-WSDL-2.00.10/ SOAP-WSDL-2.00...

Zend_Soap_Client call not working bu service works in plain php

Hi I am trying to use SOAP for the first time. I have searched for and found tutorials that explain it well and I was able to make it work in plain PHP. However building this into my Zend Project brings a problem. Here is a snippet that call the login service. Can anyone help me spot where the error may be? I am running this against...

capture arguments passed to a subroutine inside the package outside the subroutine

I try to log all soap calls, with subrutine called and arguments passed to the subroutine, my solution was this: #!/usr/bin/perl -w use SOAP::Transport::HTTP; SOAP::Transport::HTTP::CGI -> dispatch_to('SoapStatus') -> handle; package SoapStatus; use POSIX qw(strftime); # Can I capture arguments and called sub from here ? ...

SOAP - Simple Object Access Protocol?

SOAP - Simple Object Access Protocol I find some Difficulty in understanding the expansion of SOAP. First thing, is it really Simple? Second thing, is it used to access Objects? Third thing, If it used to access objects then what are the objects it can access? Fourth thing, Is it purely object access protocol? ...

Calling upgraded .NET webservice fromn legacy 1.1 code - SoapException

Hi all, I recently upgraded a .NET 1.1 webservice to .NET 3.5. After the upgraded web service was deployed our .NET 1.1 applications referencing this web service all threw the following exception: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction.... The .NET 1.1 applications ha...

Is is possible to provide REST and SOAP and AMF (BlazeDS) services from the same WAR?

Is there any issues with providing several different formats of web services from the same application server? ...

Web Service: Single String Parameter Or Complex Type Parameters

Is it more or less acceptable (i.e. standard) to create a publicly-exposed web service with these method signatures: ThisMethodDoesSomething(ComplexType param) ThisMethodDoesSomethingElse(AnotherComplexType param) Or this: ThisMethodDoesSomethingAndSomethingElse(string xml) Where the operation being performed depends upon the XML ...

How to build a SOAP Web service Client in SEAM

Hi everyone! I've been looking all over for this question... How do I build a soap web service client in SEAM?? it seems like a straightforward question-answer but I cant seem to make it work no matter how I try... If anyone has an example of what should be done I'd really apreciate it because I need to consume a web service from a legac...

With CXF what should my method signature be to work directly with XML objects.

I have a web service I'm exposing with CXF and I need to work directly with the XML passed in and then need to assign XML from an external source into the response. If I user Object as the parameters and return type I do get a DOM representation which I can work with. If I user Element however I'm informed I can't use it as there are n...

What's this web service protocol? Unfamiliar XML Format

I'm following a document to send a request to a web service, but I'm confused about it's protocol. It's based on HTTP, but it's not in SOAP format nor XML-RPC. Is it in an standard protocol format or they just implement their custom protocol? Here is a sample request: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns2:WebSt...

Will decoupling be beneficial in a redesign of a legacy application?

I am working on a company running several internet shops. We are about completely rewrite the whole code: site content and products management, order processing, partner relations, accounting, customer base and other. Currently we have a system, where all the stuff (all internal management sites, business-logic and internet store web sit...

how to apply XML signature on outgoing SOAP messages

Hi, I have generated stubs and bindings using cxf codegen. Everything runs fine however the server still rejects the message because of security issues. Basically I have 3 layers to take care all of which require certificates (which I have). SSL Encryption on the pipe certificate signature on specific data element certificate XML Si...

Consuming object of ComplexType through PHP SoapClient

I'm trying to consume a soap feed using the PHP SoapClient and convert it to an array. It works great until I run into an object that is a complexType. Then it returns... [0] => stdClass Object ...instead of showing the multiple elements that are displayed when I access the SOAP feed otherwise. I'm very new to SOAP, so any help is ap...

Silverlight, SOAP, and GZip - troubleshooting

How do I turn off gzip compression on my SOAP requests from Silverlight 3 or 4? I'm getting a 500 error from my server page (asmx) and for some reason the debugger doesn't catch it. Because the 500 error response is encoded I can't tell what the problem is from Fiddler. Or if I could turn it off from the asmx side that would be fine too...

SOAP and Remote Services with Open Source platforms, Recommendations

I'm a .Net developer by trade, but have done open source development in the past for fun. I need recommendations on which open source languages work particularly better (or even better yet, stable) than others. At home I'm developing sites on LAMP servers and prefer PHP and Python. Are either of those well suited for remote data/method...

Calling ASP.NET ASMX Web Service from jQuery

I am trying to call an ASMX from jQuery using JSON and get a SOAP error response. What am I doing wrong?! This is my jQuery call: $.ajax({ type: "POST", url: '/Services/TeamPerson.asmx', contentType: "application/json; charset=utf-8", data: {'active':false, 'team_id':team_id, 'player_id...