soap

WCF Digital Signing, Message Inspectors

Hi dear stackoverflow visitors:) I have another question about wcf. Here is my scenario: I am using wsHttpBinding, security mode TransportWithMessageCredential On my wcf service, I intercept the outgoing message with dispatch message inspector, before the SOAP message is sent to my client. Using 3rd party APIs I digitally sign the SOA...

Posting a SOAP XML to an SSL

When I try to post the XML to an SSL link by the following code public void send(String url, String xmldoc) { StringBuffer sb = new StringBuffer(); try { ByteArrayInputStream bais = new ByteArrayInputStream(xmldoc .getBytes()); InputSource is = new InputSource(bais); DocumentBuilderFactory factory = DocumentBuil...

WCF: "IsRequired" property for DataMember with "IsReference" property for DataContract

Why does WCF does not allow to set the "IsRequired" property for DataMembers when I set the "IsReference" property for the DataMember's DataContract? And is there a way to solve this problem? [DataContract(IsReference = true)] public class MyClass { private DateTime date; [DataMember (IsRequired = true)] ...

Testing a WSDL in Eclipse Web Services Explorer

Hello, I have a WSDL file for a web service which i want to test. Im using the Web Services Explorer in Eclipse to test the webservice. The webservice defines a login operation,containing a loginRequest message. The definitions are as shown below. Login Operation <wsdl:operation name="login" parameterOrder="in0"> <wsdl:input...

Error parsing WSDL message

Hello, I have the following wsdl : http://pastie.org/804441 . I get the following errors with the wsdl. Im using it in a tool called XAware, which is a data integration tool. This question is not about XAware. Just looking at the errors below and the wsdl file,does it indicate some problem with the WSDL im using or is my WSDL fine ? P...

Secure connection between iPhone application and web server?

Hi, I am about to start to developing an iPhone application that should login and communicate information securely between the app and a web server. I haven't done much development in this area before, so I have done some research and would be very thankful for any input on how to handle this in the best/easiest way. Currently, the peo...

Zend Framework: catch custom soap exceptions

how do I catch my custom soap fault ProductoInexistente when requesting a soap web service operation? my code is the following, but it's not working: $_WSDL_URI = 'http://joaquinlrobles.redirectme.net:8080/Pelopincho/PelopinchoService?WSDL'; $ws = new Zend_Soap_Client($_WSDL_URI, array('soap_version' => SOAP_1_1)); try { $resultado = $...

Call UPS Parcel Tracking Web Service with Delphi?

Delphi 2009 imported the UPS WSDL without any errors, and I managed to invoke the web service with my account information and an example parcel ID. The response from the server is: <detail> <err:Errors xmlns:err="http://www.ups.com/XMLSchema/XOLTWS/Error/v1.1"&gt; <err:ErrorDetail> <err:Severity>Hard</err:Severity> <er...

SOAP , getting progress of the uploaded Request while its uploading c#

Im trying to upload a file through a SOAP request , and it worked perfectly , but I couldnt get a progress for the uploaded amount of the request . ...

PHP how to assign class property variables conditionally

Hi, I'm new to php classes, arrays, etc, so pls excuse me if I don't use the correct terminology. What I'm looking for is how to assign easily values to properties from a class without having to depend on "if" statements. For example: Suppose I have an instance of a class test, and "test" has a property "employee" (hope this is the co...

Visual Studio/SOAP - 'Add Service Reference' vs 'Add Web Service Reference'

I've found that I can import a SOAP/WSDL service that I plan on using into my solution either as a "Web Service Reference" (System.Web.Services) or as a "Service Reference" (System.ServiceModel / WCF). I was wondering if what the differences were. I understand that 'Add Service Reference'/WCF is newer, are there any disadvantages to us...

Good book for writing (java) CLIENTS for sundry web services?

It seems that most of the questions I have to ask on Stack Overflow are about setting up clients for web services. Typically in this case, you have to "deal" with what the service provider has -- you are not at liberty to demand "better" technology be used by the server. The problem of the day is very closely related to this: http://...

soap client for ruby 1.9 and rails

Untill now I used soap4r as my SOAP-client with Ruby 1.8.x, but now I am moving on to Ruby 1.9.x. Unfortunately soap4r doesn't work with Ruby 1.9.x I just get the "invalid multibyte escape" which seems not solvable, mostly because the soap4r gem wasn't updated since 2007, so I assume the project is dead. I had a look at handsoap but the...

Post soap request and display response in vb2008.net?

I'm new to object oriented programming so I just need help on the basics here. I have an xml string that I've tested in a separate program and is able to communicate with my soap server correctly. I'm trying to add a request in Visual Basic 2008 to essentially take the soap string, send it as an http POST, and display the xml that is r...

Writing a Soap webservice method that takes an xml payload

I have written a webservice with a method which takes a String as parameter as follows. @WebService(targetNamespace = "http://bla.com", name = "MyWebService") @SOAPBinding(style = SOAPBinding.Style.DOCUMENT) public interface MyWebService { boolean submitAssessmentResult(@WebParam(name = "resultXml") String resultXml); The para...

Web Service and System.InvalidOperationException while serializing

Hello, I have the following class which throws an InvalidOperationException when the class is serialized public class CustomFieldList : CustomField, IList { public CustomFieldList() { this.ControlType = Rflex.Framework.MetaData.ControlType.DDL; } public Type ReferentielType { get; set; } ...

Does SOAP support canceling a call?

When using the SOAP protocol, is it possible to cancel a pending remote function call using SOAP? I see three different situations: A) Making a request to a service that takes a long time to complete. For example, when copying directory containing a lot of files, can the file copy loop be canceled? B) Making a request that returns a l...

How can I add SOAP Headers to a WSDL generated Borland C++ Builder 6 application.

Using a WSDL that requires a SOAP HEADER for Authentication (fragment below) code that gets generated when creating a web service client via the "WSDL Importer" has no concept of the Authentication Headers and there are no examples in BCB6 C++ Examples/WebServices directories that show how, and nothing on Web that I can find. Anyone wit...

How to refer to Object attribute without knowing exact name?

I'm actually working with SOAP at the moment, and annoyingly the response name varies depending on the method I call. For example, one method will respond with.. $response->SendOrderResult whilst another responds with $response->GetOrdersStateResult Is there a way of referring to the value without knowing the name? ie something li...

Consuming SOAP with service with name space

I´m consuming a SOAP web service, that it has namespace, some similar to: <?xml version="1.0" encoding="UTF-8" ?> <wsdl:definitions targetNamespace="http://www.company.com/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:company="http://www.company.com/" xmlns:apachesoap="http://xml.apache.org/xml-soap...