soap

change the soap:address location in generated wsdl

浪子不回头ぞ 提交于 2020-01-01 10:57:07
问题 I am using JAX-WS annotation to create soap services running on JBOss 5.1.0 G.A, the generates WSDL has got the following bit at the end - <service name="DataServiceService"> <port binding="tns:DataServiceBinding" name="DataServicePort"> <soap:address location="http://mymachine:8080/myapp/webservice" /> </port> </service> I have made the service https enabled on port 8443, I am able to connect to the service using the right protocol and port number but is there is a way to change the soap

failed to load external entity error on SOAP

风格不统一 提交于 2020-01-01 10:12:41
问题 i am call a web service which is locate on https protocol. and i get "failed to load external entity" error while calling it. as i search on google it is because in PHP5, SOAP class will not parse WSDL file located on a secure HTTPS connection. what is the solution? i don't want to use http instead of https. 回答1: To be able to read from secure protocol (https), you need to have openssl extension turned on from php.ini in the extensions section. 来源: https://stackoverflow.com/questions/2897495

failed to load external entity error on SOAP

梦想的初衷 提交于 2020-01-01 10:12:26
问题 i am call a web service which is locate on https protocol. and i get "failed to load external entity" error while calling it. as i search on google it is because in PHP5, SOAP class will not parse WSDL file located on a secure HTTPS connection. what is the solution? i don't want to use http instead of https. 回答1: To be able to read from secure protocol (https), you need to have openssl extension turned on from php.ini in the extensions section. 来源: https://stackoverflow.com/questions/2897495

Delphi soap https authentication failure pops up a dialog box

╄→尐↘猪︶ㄣ 提交于 2020-01-01 09:33:24
问题 We have a delphi XE application that uses SOAP (THTTPRIO etc) communications which (in delphi) works over WinInet.dll, by default. We fixed the authentication code so that it works, using https authentication, and when the user name and password for https are correct, everything is fine. The problem is that when authentication details are incorrect, you get a message box from Windows, that is probably being popped up by WinInet.dll itself. I want to make that dialog box go away. I can't

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from

喜欢而已 提交于 2020-01-01 08:36:29
问题 I'm doing some SOAP exercises But, I cannot get that to work on WAMP. Error which I'm getting is: Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://www.creditsafe.fr/getdata/service/CSFRServices.asmx?WSDL:8080' : failed to load external entity "https://www.creditsafe.fr/getdata/service/CSFRServices.asmx?WSDL:8080" in C:\wamp\www\GESTION\add_debiteur.php:128 Stack trace: #0 C:\wamp\www\GESTION\add_debiteur.php(128): SoapClient->SoapClient(

Serious, intermittent errors with CF Web Service

倖福魔咒の 提交于 2020-01-01 08:19:30
问题 We've got an incredibly frustrating situation with a CF Web Services-based API that we wrote and maintain. We had an API in place for years that was stable and working happily with Ruby, PHP, and ColdFusion clients. Then this year a .NET client came along, and we found that our web service was not interoperable with statically-typed languages due to our extensive use of structs. We eventually realized we had to re-write the API without structs, and we've done so. It now uses scaler values,

Best way for Flex to communicate with C# backend?

半世苍凉 提交于 2020-01-01 07:12:14
问题 What is the best way for flex frontend to communicate with backend writted in C#? The only communication channel in HTTP, so no custom sockets. I used SOAP in the past, but am concerned about performance since the large overhead of xml, and this application I'm currently working on will be pretty data intensive. Anything that supports easy setup and transparent marshaling/unmarshaling is OK. Is there something as BlazeDS for .net? 回答1: I found a few options by googling AMF .NET and AMF C#

iPhone - calling SOAP services

扶醉桌前 提交于 2020-01-01 07:01:13
问题 I'm learning how to consume web services for a student project using the iPhone. The top answer from 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/ndfdXML.wsdl for the WSDL, but it crashes the application. Any thoughts? I'm not sure if the problem is with the WSDL or with the application. 回答1: My experience with wsdl2objc is that it is immature at best

iPhone - calling SOAP services

旧街凉风 提交于 2020-01-01 07:01:10
问题 I'm learning how to consume web services for a student project using the iPhone. The top answer from 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/ndfdXML.wsdl for the WSDL, but it crashes the application. Any thoughts? I'm not sure if the problem is with the WSDL or with the application. 回答1: My experience with wsdl2objc is that it is immature at best

Catching the SOAP Fault error in custom interceptor (Soap12FaultOutInterceptor)

风格不统一 提交于 2020-01-01 05:49:09
问题 I wrote a custom CXF interceptor to log all the SOAP request and responses into the database and it seems to be working fine with positive test cases and server errors. But when a SOAP Fault occurs it just neglects my interceptor and nothing is logged. Custom CXF interceptors. public class DbLogOutInterceptor extends AbstractSoapInterceptor { public void handleMessage(SoapMessage message) { logger.info("Handling outbound request"); String transaction = MDC.get(mdcKey); logger.info("OutBound