soap

Best example for C# consumimg Java webservice?

Best example for C# consumimg Java webservice? ...

iPhone - calling SOAP services

Hi, I'm learning how to consume web services for a student project using the iPhone. The top answer from http://stackoverflow.com/questions/204465/how-to-access-soap-services-from-iphone suggested using http://code.google.com/p/wsdl2objc/ to consume services. However, I've tried using http://www.weather.gov/forecasts/xml/DWMLgen/wsdl...

encode xml while printing SOAPMessage

Hi, I have written a function to pretty print a javax.xml.soap.SOAPMessage to a string: public static String soapMessageToString (SOAPMessage msg) { try { Writer out = new StringWriter(); TransformerFactory transformerFactory = TransformerFactory.newInstance(); Transformer transformer = t...

Consuming SOAP + Attachement in CF

I'm making a SOAP request with cfhttp due to SSL certificates to retrieve a document. We have limited access to the server, so I'm not sure if we can adjust the server to get the certificats added to the CF keystore. (http://www.coldfusionmuse.com/index.cfm/2005/01/29/keystore) The responseBody returns a ByteArrayOutputStream which hol...

soap webservices in iphone app , how ?

Hello , I am currently working on an iphone app which requires me to use soap webservices , so that i can load data like customer info in my iphone app . If anyone knows how to so so then please tell me or anyone knows where are the tutorials or examples then redirect me . ...

Modifying returned MIME type of C# WebMethod

I have a web service implemented in VS2005/C#. The ASMX page has a few web methods that are pure SOAP, and I want to add an additional method that has a RESTful interface. I want one of the methods to simply return a JPG image (image/jpeg), and not an XML response. Now, I know that ASP.Net automatically creates a REST interface for web ...

SOAP WSE .Net issue with Action header

We have a SOAP Web Service we wrote that accepts work fine testing without a WSE policy set on the class using the Policy Attribute on the class that implements the WS "<Policy("ServicePolicy")> _" once we put the policy in place and the WS is posted to, the service returns back a SoapFault saying (without ever getting into our code, ...

Is it necessary to create a "SOAP server" instance?

I am using the nusoap lib with a cakephp app for legacy / compatibility reasons, I was just wondering if it was totally necessary to create an instance of nusoap_server, I can't figure out any obvious reason for doing this when i can just output any data formatted as xml nilly willy without creating a server instance - is it perhaps just...

Adding a custom SOAP header using c#/ASP.NET

I am trying to use a traffic web service. An example of the SOAP request is given below. I have created a proxy class in c# using Wsdl.exe from the WSDL structure. What I think I need to do now in somehow insert the 'authenticate' SOAP header into the SOAP structure for the method call. I'm unsure how to add the header to the service ...

Webmethod parameter stay null

Hello, I am developing an iPhone application which sends SOAP messages to a .NET Webservice to call several WebMethods. These methods getting data out of a database and return this in a SOAP message back to the iPhone. When i sent a SOAP message that calls the WebMethod without any parameters it works just fine. But when I pass a para...

Axis + SOAP message + How to expose services

I need to expose web services. I got a SOAP request XML structure and a SOAP response XML. By seeing the SOAP XMLs structure, i am not able to identify, which kind of web service (rpc/encodec or doc/literal or wrapped/literal) i have to expose. Which tools, i need to use to expose the services. SOAP Request XML ...

Error Consuming a RPC/Encoded SOAP web service in .NET

I am receiving the following error when calling a web service method. Cannot assign object of type System.Xml.XmlNode[] to an object of type System.String. The web service is a PHP service. I created my proxy class using wsdl.exe from the wsdl document defined here - http://webservice.intelecast.com.au/traffic/PublicSoap/server.php?wsd...

Submit a SOAP Web service request with RAW SOAP XML

I've got a simple WCF Web service that uses basicHttpBinding to make it SOAP 1.1 compliant. When called with a WSDL-derived proxy (by setting a service or Web reference), the service works great. A business partner wants to call the service directly with the SOAP XML. I know how to provide that XML, but I'm not sure how to process the ...

WSRP - Server was unable to process request. Security Validation failed at Sharepoint Server

I'm trying to implement a WSRP (web services for remote portlets) solution. I want to consume webparts with a portal. Enviroment SERVER 1: CentOS 5, Liferay 5.2.3/Tomcat 6, portlet WSRP consumer. SERVER 2: Windows Server 2008, Sharepoint 2007, WSE 2 SP 3, SharePoint Producer Web Service version 1.0 (WSRP producer). Both servers in ...

How can you handle cross-cutting conerns in JAX-WS without Spring or AOP? Handlers?

I do have something more specific in mind, however: Each web service method needs to be wrapped with some boiler place code (cross cutting concern, yes, spring AOP would work great here but it either doesn't work or unapproved by gov't architecture group). A simple service call is as follows: @WebMethod... public Foo performFoo(...) { ...

How to extract data from a SOAP response in Java?

Hello, I have a client set up to send a request to the National Weather Service SOAP server. I am receiving the response that I expect, but I am unsure as to the best way to extract the data from it that I need. For example, there is a lot of extra data in the XML (in the SOAPBody), but I only want to grab the data for the parameters t...

empty response from a WCF call even though Soap has values

hi, when im invoking a service from my code and from WCFTestClient, im getting a null response, but when im using another Tool (SoapUI), im getting a valid response back. Anyone has any idea why this is happening? thanks a lot ...

How to replace Soap context with FTP

I have a webservice application .That application did attach a file from remote machine and detach file from local machine. Its code is as follows private void attachFile(string file, SoapContext context) { System.IO.FileStream fs = System.IO.File.OpenRead(file); DimeAttachment da = new DimeAttachment("image/jpe...

How can I parse this response from nusoap to a php variable/array

So having managed to crack getting nusoap to poll the chemspider server for information however I get a response that will display using print_r but when using print will simply display Array. My question is this really, how do I take the given response and turn it into a php array The code for the nusoap client <?php require_once('....

SOAP character encoding

Hi, I've built a webservice in php/soap, but I'm running into trouble when sending special characters through soap. Is there any way to specify what encoding to use with soap? Do you have to do it in the wsdl file or the client and server scripts? ...