web-services

Oracle's jDeveloper seems to ignore declarations in a WSDL when calling an external web service?

五迷三道 提交于 2019-12-25 16:37:38
问题 Oracle's jDeveloper seems to ignore ignore declarations in a WSDL when calling an external web service and I'm not sure why...? We are trying to consume a third party web service found using this WSDL: http://tbe.taleo.net/wsdl/WebAPI.wsdl If you pop that into SoapUI and open the searchCandidate operation you'll find the request structure to be the following. Note that in1 contains an <item> node within it, which is defined in the WSDL. <urn:searchCandidate> <in0>?</in0> <in1> <!--Zero or

The remote server returned an error: (413) Request Entity Too Large

本秂侑毒 提交于 2019-12-25 16:35:50
问题 Please do NOT delete this message as a duplicate!! I am writing a WCF service that allows for XML files to be uploaded so that they can be imported into the database. However I am receiving the above error when I upload a file above the 64k default. I have read through all the questions already posted on here about this problem and implemented them but still am facing the same issue. I have increased all the binding values in my config file (for both the client and server) to accept the

Getting SOAP Errors with ASMX Web Service e.g Unsupported Media Tyype

两盒软妹~` 提交于 2019-12-25 16:08:35
问题 I have been given an old webservice .asmx to work with and although the code works fine in debug mode (VS play debug on local host) when I try and write a consumer app to pass the relevant SOAP request to get a response I cannot get it to work. In .NET I get Status 415 Unsupported Media Type (never heard of that before) - tech asked me what media I was sending I said text as XML. Here is all the code plus debug. I tried even writing an ASP classic version but get different errors depending on

Connection to webservice times out first time

时光总嘲笑我的痴心妄想 提交于 2019-12-25 14:48:48
问题 My application needs to connect to a web service. The WSDL file given by the client was converted to java using the wsdl2java utility in axis 2-1.5.2. The problem occurs during the first connection to the webservice. It gives me java.net.SocketTimeoutException: Read timed out at jrockit.net.SocketNativeIO.readBytesPinned(Native Method) at jrockit.net.SocketNativeIO.socketRead(SocketNativeIO.java:46) at java.net.SocketInputStream.socketRead0(SocketInputStream.java) at java.net

Connection to webservice times out first time

笑着哭i 提交于 2019-12-25 14:48:17
问题 My application needs to connect to a web service. The WSDL file given by the client was converted to java using the wsdl2java utility in axis 2-1.5.2. The problem occurs during the first connection to the webservice. It gives me java.net.SocketTimeoutException: Read timed out at jrockit.net.SocketNativeIO.readBytesPinned(Native Method) at jrockit.net.SocketNativeIO.socketRead(SocketNativeIO.java:46) at java.net.SocketInputStream.socketRead0(SocketInputStream.java) at java.net

Web service consuming from iPhone approach

五迷三道 提交于 2019-12-25 14:23:08
问题 How can I improve this code? This question is related to What is the last function in iPhone application lifecycle -(void)LogoutUser { int userId = [[GlobalData sharedMySingleton] getUserId]; NSString *soapMsg = [NSString stringWithFormat: @"<?xml version=\"1.0\" encoding=\"utf-8\"?>...", userId ]; NSURL *url = [NSURL URLWithString: @"http://....asmx"]; NSMutableURLRequest *req = [NSMutableURLRequest requestWithURL:url]; NSString *msgLength = [NSString stringWithFormat:@"%d", [soapMsg length]

Web service consuming from iPhone approach

时光怂恿深爱的人放手 提交于 2019-12-25 14:21:39
问题 How can I improve this code? This question is related to What is the last function in iPhone application lifecycle -(void)LogoutUser { int userId = [[GlobalData sharedMySingleton] getUserId]; NSString *soapMsg = [NSString stringWithFormat: @"<?xml version=\"1.0\" encoding=\"utf-8\"?>...", userId ]; NSURL *url = [NSURL URLWithString: @"http://....asmx"]; NSMutableURLRequest *req = [NSMutableURLRequest requestWithURL:url]; NSString *msgLength = [NSString stringWithFormat:@"%d", [soapMsg length]

XCode iDevice app - How to listen for message/request from server?

大憨熊 提交于 2019-12-25 14:10:42
问题 I have a project where I need to be able to send messages from a server running a web service to a specific iDevice. I have no idea how to do this, so any help is very appreciated. The scenario: I have a web service which receives some message from an iDevice (could also be a Mac or PC, even an Android device). Depending on the content of this message I need to be able to send a message from the web service to another iDevice (I know the IP-address of the specific iDevice). I know how to use

XCode iDevice app - How to listen for message/request from server?

蓝咒 提交于 2019-12-25 14:10:28
问题 I have a project where I need to be able to send messages from a server running a web service to a specific iDevice. I have no idea how to do this, so any help is very appreciated. The scenario: I have a web service which receives some message from an iDevice (could also be a Mac or PC, even an Android device). Depending on the content of this message I need to be able to send a message from the web service to another iDevice (I know the IP-address of the specific iDevice). I know how to use

Can Cherokee serve a fallback/default page when a reverse proxy is unavailable?

感情迁移 提交于 2019-12-25 14:05:53
问题 I have a Cherokee installation that I'm using to serve a few web applications - one blog/calendar/etc. and two CPU-intensive web applications (1 stable version and 1 development version). All of them are Django or Pylons webservices served with CherryPy. I'm using the reverse-proxy handler in Cherokee to handle the mappings. Occasionally I have to take the development version down to make changes. Is there a way to set up Cherokee so that it will automatically serve (or redirect to) another