web-services

What gets classified as a RESTful Web Service

瘦欲@ 提交于 2020-01-14 07:22:29
问题 So I currently have an application that calls a web service to retrieve data, where I do a basic HTTP GET on a url like so www.example.com/service.asmx?param1=1&param2=2 This returns some xml which I parse. My question is, does this classify it as a RESTful Web Service? I am thinking no, but I'd like to know what makes it a REST web-service? I know there are REST and SOAP web services, but what would the above case be classified as, simple HTTP GET Web service? or something? Thanks, I am

Debugging Web Services in Visual Studio

北城余情 提交于 2020-01-14 06:50:33
问题 I am trying to use sample FedEx Web Service code written in VB.NET to retrieve shipping rates. The call returned rate information, but it returned rates that are way too high and do not match those shown on their web site for the same shipping parameters. Their support team is willing to investigate the discrepancy if I can provide them the XML data, SOAP transaction I presume, but I do not know how to get at this. Can someone help? 回答1: I have used Fiddler in the past for monitoring http

“*Certificate not found* (from client)” when calling Web Service that requires signing

送分小仙女□ 提交于 2020-01-14 06:08:23
问题 I have a peculiar problem when calling a web service that expects the message to be signed using WS-Security. If I call using my client application (using Apache CXF) I get a HTTP 500 error message: *Certificate not found* (from client) while if I call the same service using SoapUI, configured for signing with the same key and key-store, it works as expected. I noticed that the <KeyInfo> part of the call differs between CXF and SoapUI. With CXF (as below) the KeyInfo is a lot more detailed

Recommended way of protecting web service (WCF) with IP?

元气小坏坏 提交于 2020-01-14 05:37:07
问题 I need to protect my WCF web services and was thinking what is the best way of doing this. Its not really a ROLE / User situation - more of a "WHO CAN CALL THE WEB SERVICE". I was thinking that i could use an IP? Is this the recommended way? Anybody have any experience with this, I was thinking of have a table (sql) with all IPs that can access the web service but i didn't want to reinvent the wheel if something exists already. I presume there is an event or similar when somebody access the

Failed to create service exception javax.xml.ws.WebServiceException:

佐手、 提交于 2020-01-14 05:28:06
问题 I need desperate help to figure out why my application is not creating a webservice. Here's my webservice Java class: @WebService @Component public class LoginWs extends AbstractWs { private static final Logger logger=MiscUtils.getLogger(); @Autowired private PersonDao personDao = null; /** * Returns PersonTransfer on valid login * @throws NotAuthorisedException if password is incorrect */ public PersonTransfer login(String userNameOrEmailAddress, String password) throws

Concurrent use of JaxWsPortProxyFactoryBean

跟風遠走 提交于 2020-01-14 04:27:10
问题 I'm using JaxWsPortProxyFactoryBean (Spring 3.1.2) to access a remote web service. In the documentation I can't find anything on concurrent usage of the JaxWsPortProxyFactoryBean . Is it allowed to use it concurrently with from threads? And if so, is it possible to dynamically change the enpoint address so that different threads can use a different endpoint for the same JaxWsPortProxyFactoryBean ? 回答1: About concurrently using you can see: JaxWsPortProxyFactoryBean.setExecutor(java.util

Install Restler problems

笑着哭i 提交于 2020-01-14 04:10:20
问题 Hi everyone i just have tried to understand how to install Restler to create a PHP web service but i can't did it. I don't understand the manual(https://github.com/Luracast/Restler), i just have install the composer and now i don't know what i having to do. I think i have to run in command some thing but i don't know and where i have to put the files that i have downloaded? In project folder or xampp folder? If anyone can help me i will appreciate. Best regards. 回答1: Install Composer Globally

Can a server page (jsp, aspx) be used as Web Service

爱⌒轻易说出口 提交于 2020-01-14 04:07:50
问题 What is the difference between using a "Web Service" and calling a server page such as JSP/ASPX? To me it looks like a Web Service is just a framework around the server pages. For e.g. I can have a JSP page that takes: mypage.jsp?method=getupdate&param1=23&param=44 (I can also send these variables through POST) In my JSP page I can call the appropriate method based on the value of "method" and return a value back to the caller client app. Is this the raw form how a Web Service actually works?

Java Eclipse WebService Deployment WebSphere 7.0

断了今生、忘了曾经 提交于 2020-01-14 04:05:54
问题 I am developing a simple test Bottom Up WebService using Eclipse Juno following Here. As a server I am using Webshere 7.0 on a remote computer. When I try to generate the WSDL for the Server (Right Click on RequestHandler.java-> Web Services->Create Web Serevice-> Configuration: Server Runtime: WebSphere Application Server v7.0 Web Service Runtime: IBM WebSphere JAX-WS I am getting the following error: Errors occurred during wsgen. java.lang.NoClassDefFoundError: com/sun/tools/internal/ws

Java Eclipse WebService Deployment WebSphere 7.0

不想你离开。 提交于 2020-01-14 04:05:10
问题 I am developing a simple test Bottom Up WebService using Eclipse Juno following Here. As a server I am using Webshere 7.0 on a remote computer. When I try to generate the WSDL for the Server (Right Click on RequestHandler.java-> Web Services->Create Web Serevice-> Configuration: Server Runtime: WebSphere Application Server v7.0 Web Service Runtime: IBM WebSphere JAX-WS I am getting the following error: Errors occurred during wsgen. java.lang.NoClassDefFoundError: com/sun/tools/internal/ws