web-services

How do I access a WebService through an SSH tunnel?

Hi all! Got a question. I'm sitting on a closed network, and I need access to a WebService out in the DMZ. The WebService is made available through a non-80 TCP port (let's call it 1234), which is blocked by the firewall of the closed network. I do, however, have SSH access to a server in the DMZ (let's call that one 'dmzhost'), so I t...

Implementing a 'Send Feedback' feature in a Java desktop application

I would like to implement a 'Send Feedback' option in a Java desktop application. One which will pop up a box for the user to enter a comment, then send it to us along with a screenshot of the application window. How would be the best way to communicate the data to us? Two obvious solutions spring to mind: Email - I'm thinking that ...

Debug an Error in a Custom SharePoint Web Service

Hi, I have created a custom SharePoint web service that was deployed to, and successfully tested on, a test environment. Unfortunately, the web service has since stopped working, and I am trying to determine what the error is. The web service now returns the following error in the SOAP response: SOAP:server Server was unable to proce...

HTTP POST complex requests with .NET

I have a Web Service method developed using .NET 3.5 (VS2008) which expects a few strings (username, password, subject, file type) and a binary document coded in Base64. I enabled both SOAP and HTTP POST. While SOAP works perfectly, it is not possible to send HTTP POST requests. The server responses with "Server was unable to process re...

.NET Conditional Web Services

My C# application has three testing stages: alpha, staging and production. Each stage for my application has a sibling web service. The APIs for all three web services are the same. How could my application use the appropriate sibling web service based solely on alterations to the web.config file? The goal being to have very little dup...

Storing last 10 web service calls

I have a SOAP web service and I'm trying to figure how to save/log the last 10 requests for each user. Each user is required to send their user/pass in each request, so it's easy to know who the request originated from. With these last 10 requests saved, my goal is to develop some sort of page that will allow them to log-in with their ...

Glassfish limited to two simultaneous threads with JPA/EJB/web service

I'm exposing the following EJB3 stateless session bean through a web service. @Stateless public class UserRoleFacade implements UserRoleFacadeLocal { @PersistenceContext(unitName = "SimpleEA-ejbPU") private EntityManager em; public int count() { System.out.println("thisClass=" + this.getClass().getSimpleName() + "@"...

Setting socket options in Java SOAP Web Service (Axis 1.4)

Is there a way to access the Socket object using Axis? Specifically, I need to call the method setTcpNoDelay, in order to disable the Nagle algorithm. This is a requirement in the Service Level Agreement from the Web Service provider. I cannot find a way to do it in the Axis docs, wiki or otherwise. I am using Axis 1.4, but can switch t...

How to get foreign exchage data in csv or excel

Hi What are the best resources free download(websites/webservice) to get/read foreign exchange(currency convertion) information directly to my application. data can be excel,.axf,csv,xml. I would like to know the possibility of reading from direct website/webservice to ssis components as well Thanks, ...

Sending sensitive data from server to server via client

I have situation where I need to authenticate a client across multiple web services. Basically each service needs to identify the client and know a few other small pieces of information about the client. The way I have it working now is that the needed identifying information is stored in a session table in a database by the authentica...

How do I define an array of custom types in WSDL?

I'm very new to WSDL, but what I'm trying to do is very simple. I have gotten a web service working with python's ZSI library, but am stuck defining a service which returns an array of a custom type. In my WSDL I have the following: <xsd:element name="ArtPiece"> <xsd:complexType> <xsd:sequence> <xsd:element name="tit...

webservice axis2-web/Error/error404.jsp : need help with this error

i have created simple webservice in java using eclipse IDE, it contains a directory called error pages and it says 404 -> /axis2-web/Error/error404.jsp 505 -> /axis2-web/Error/error505.jsp could someone tell me why i am getting these errors, i have no idea what makes these problems. Thing is that , webservice runs with this errors, ...

Best ways to manage generated artifacts for web service/xml bindings in a java webapp/client?

I'm working on a couple of web services that use JAXB bindings for the messages (in JAX-WS or spring-ws). When using these bindings there's always some code that is automatically generated from the WSDL to bind the message objects. I'm struggling to figure out the best way I can make this work so that it's easy to work with, hard to brea...

PHP + PayPal - how to integrate/merge both?

hi all, i have an idea about how pay-pal works but not an expert. I'm asked to implement online banking (using PHP) through PAY-PAL in my page. I've no idea where to begin. No introductory sites where found by 'googling'. Is web-service needed for this implementation? Any site for beginners will do. Thanx all. ...

What is the difference between Metro 1.5 and 2.0?

In a web service client project I am working on, I noticed that the Metro stack has been released in a 2.0 version, where we use 1.4. The documentation is not very approachable for people not intimately familiar with the project. What is the reason for the version bump, and is it worth it upgrading to the latest version? ...

ColdFusion fails to generate WSDL

I am having trouble getting web services to work in ColdFusion. This works just fine on my development server, but when I gave it to QA they are getting this error on their server. Both are running ColdFusion 8.0.1.195765. Is there some system setting I'm missing that would cause this behavior? My very simple CFC file: <cfcomponent out...

Consuming web services in VB.NET

I am testing web services in .NET for the first time. I am almost there, but I can't seem to consume the web service. I know this post is similar to about 5-6 other posts on this site, but I have reviewed them, and still can't get the syntax correct. So far, I have: -Create a simple web service that creates a directory -Worked in develo...

WSDL2Java Throws Could not find main class: org.apache.axis.wsdl.WSDL2Java

I am trying to create the java files from a remote webservice. I downloaded axis 1.4, copied the lib folder to c:\data\axis\lib which contains of these files: axis.jar axis-ant.jar commons-discovery-0.2.jar commons-logging-1.0.4.jar jaxrpc.jar log4j.properties log4j-1.2.8.jar saaj.jar wsdl4j-1.5.1.jar I added the c:\data\axis\lib fol...

How do I build something when I know I'll get it wrong?

Background I have a personal project that I've been trying to build for around 5 years. In essence it's an online game - a web application. It's not a "money maker", just something that I really want to build, so finding the funding to hire a skilled team is very unlikely. I've built two fully-functional prototypes over the years, both...

Using a web service for cross site scripting

I want to pull down a feed (like twitter) and place in on a page using javascript (jquery). Ultimately, the "service" just needs to hand off JSON. I created a web service that allows me to do that, sort of. I don't know if using a stream reader is all that efficient and I was a little bothered by having to use what amounts to 2 evals on ...