soap

Java Web Service Client to WCF Web Service Server. Interoperability Solution

。_饼干妹妹 提交于 2019-12-23 05:49:12
问题 Has anyone found a way for a WCF Service to be queried by a Java Client? What .NET library did you use and what Java library did you use. Please be specific with specific platforms and library versions. Also, I've found that if the libraries don't use compatible SOAP version specifications that the libraries aren't compatible either. If you know which SOAP version specification, please provide that as well. -Thanks 回答1: What problems you for-see if you go ahead with calling your WCF service

C# SAP Soap error: The value 07:41:39.4780076+03:00 is not a valid time. It does not correspond to the XML format for ABAP

天大地大妈咪最大 提交于 2019-12-23 05:41:26
问题 There is an error when I am trying to add current time to Time field in SAP using method DateTime.UtcNow.ToUniversalTime(); Then I get the error message: The value 07:41:39.4780076+03:00 is not a valid time. It does not correspond to the XML format for ABAP. This works with Datetime fields but not in Time fields DateTime.UtcNow; I have tried to search but there are no good examples. EDIT: This is same as my problem WSDL time format is ignored from Visual Studio These questions are quite close

C# SAP Soap error: The value 07:41:39.4780076+03:00 is not a valid time. It does not correspond to the XML format for ABAP

痴心易碎 提交于 2019-12-23 05:41:12
问题 There is an error when I am trying to add current time to Time field in SAP using method DateTime.UtcNow.ToUniversalTime(); Then I get the error message: The value 07:41:39.4780076+03:00 is not a valid time. It does not correspond to the XML format for ABAP. This works with Datetime fields but not in Time fields DateTime.UtcNow; I have tried to search but there are no good examples. EDIT: This is same as my problem WSDL time format is ignored from Visual Studio These questions are quite close

Define which Endpoint to use when consuming a Web Service

我是研究僧i 提交于 2019-12-23 05:23:57
问题 I'm new to .NET and have been following this tutorial (http://johnwsaunders3.wordpress.com/2009/05/17/how-to-consume-a-web-service/) to consume a simple weather web service. My small console application essentially asks the user for a ZIP code, fires that to the web service then returns to response in the console. At least, that's the way it should work. The web service I am using is: http://wsf.cdyne.com/WeatherWS/Weather.asmx The problem with this is there are multiple endpoints for

Suds write request missing datatype?

霸气de小男生 提交于 2019-12-23 05:09:24
问题 I am trying to communicate to a webservice using Suds, reading from the service works fine, however writing throws an error. suds.WebFault: Server raised fault: 'The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:tagValues. The InnerException message was 'Element Value from namespace http://schemas.datacontract.org/2004/07/NOV.Api.Messages cannot have child contents to be deserialized as an

JAX-WS Metro, how to intercept correct encrypted/signed message with invalid characters / signature mismatch

十年热恋 提交于 2019-12-23 05:09:14
问题 My question is quite related to this one I have spend weeks of headaches to try and fight it, but there doesn't seem to exist a solution worthy of mention, apart from the solution to the above question, which is a terrible workaround, but there really seem to exist nothing else around. We are trying to communicate with a legacy system that has an established and running web service, with certain WS-Security constraints declared in its WSDL. We cannot change anything on the server, we just

Delphi - Authorization TIdHttp fails over HTTP proxy

旧街凉风 提交于 2019-12-23 04:58:14
问题 I'm using Delphi XE 6 and TIdHttp component(Indy 10.6.0.5122) and trying to consume a SOAP service - http://www.webservicex.net/globalweather.asmx over a http proxy (CCProxy - http://www.youngzsoft.net/ccproxy/). The issue is that at the first attempt to connect to the webservice I receive an "Unauthorized" respone: <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><h1>Unauthorized ...</h1> <h2>IP Address: xxx.xxx.xxx.:61295<br> MAC Address: <br>

What web service to use for complicate query?

北城以北 提交于 2019-12-23 04:54:32
问题 A naive question about web service. I need to implement a complicate query. The client need to pass in many parameters to the server, and the server will send back response will many data fields. What type of web service is suitable for this? I know that RESTful POST method is meant to "create" an object, but can I use POST for implementing this? Or SOAP is better for this? 回答1: Here it is. //for the Controller public JsonResult GetData(string param1, string param2) { List<YourModecClass>

Java library to form and parse soap messages

怎甘沉沦 提交于 2019-12-23 04:48:19
问题 I've tried Axis 2. It dies when trying to parse my WSDL from Seibel. I don't want anything that requires a container (Metro). All I want to do is parse and form SOAP messages. I don't want them sending the messages on my behalf. I'm already using HttpClient for that and am happy with it. 回答1: Recommend using StAX (Streaming API for XML) reference: http://www.vogella.de/articles/JavaXML/article.html Sample XML <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http:/

Why would Basic Auth not work with my WCF client to Java SOAP Web Service?

妖精的绣舞 提交于 2019-12-23 04:34:16
问题 I have a Java based web service that requires basic authentication to communicate with it. If I type the WSDL url into my browser I'm prompted for Basic Auth. Which I can get by entering the correct credentials. However using my WCF client doesn't work. I construct my WCF client like this: var binding = new BasicHttpBinding { MaxReceivedMessageSize = 2048 * 10240, Security = { Mode = BasicHttpSecurityMode.TransportCredentialOnly, Transport = { ClientCredentialType = HttpClientCredentialType