Web Service Automation using Java - java

I'm trying to automate a web service application using java. What i'm looking here is to send a SOAP message by reading it from a file and checking the values in the response returned from the web service.
Thanks
Mike

Sounds like you want to automate testing a web service.
Have a look at SOAP UI.

Related

consuming a java soap wep service using php web application

I'm building a soap web service using Java for bank payment methods, and I'd like to know how can I use or consume this web service in another web application create with php as a e-commerce web site to use these methods for payment.
There are three method to consuming web service (Soap) using php client, please refer to the below link:
Consuming web service (Soap) using php client

How to fetch request and response details of a Soap Web service using an external application?

I created a Soap web service. Now I want to fetch all the details of the request and response in that web service using another application. It's not like hacking. We can say that its like monitoring. But how can we write a separate application to fetch the details from a soap web service without the knowledge of both the client and the server?
Can anybody please send me the code for the above mentioned problem or send me a link where I can find a solution for the same?
Use TCPMon from Apache Axis SOAP API. It's specifically developed for use cases like yours.
This link has all the details.

Redirect to another web service from web service

I have inherited a .php based web service. I don't know anything abut php. I need to make changes to this web service. What I want to know is, is it possible to make a call to another web service from a php web service. In this case, I can develop the update as a java web service, and the php web service will call my new java web service if needed.
So this would look like the following.
client ---> PHPWS ---> JavaWS
the response will be returned to the PHPWS, and that will be returned to the client.
This way I make a very small change to PHPWS.
Thanks.

How to call a Windows Service WCF Web Service Method through Browser

I have a WCF Web Service that is hosted in a Windows Service. The WCF Web Service is to be used by a Java based frontend, which will make http calls and will receive a JSON response. The problem I am getting is whilst I can get the web service to run, if I type "mydomain.com/myservice/mymethod", I get bad request back.
The web service initially had mex set for service end points, and I tried the same again, but still no luck. I took mex off, but still no luck. All this was being set on the start of the windows service. The web service is only using BasicHttpBinding.
So, my question is this - "How do I can a web service method using basichttpbinding hosted in a window service through the browser in order for this to be used by a non .net client?"
Thanks
WCF uses SOAP as its primary native protocol for communication. If your client does not want to communicate using SOAP you can make your WCF service RESTFUL with ease. Have a look at the following:
WCF REST Services
Brand new services ideally should be implemented in WebAPI rather than RESTFUL WCF. Also have a look at
REST WCF vs. WebAPI

Submit xml,saml,... to server in Web service Security

I am developing a web service: Book store and I am going to develop using XML or SAML security.
I prepare a form (using JSP, PHP, ASP, ASP.NET ) with some information like: book, bankaccount, amount,... And submit this form to server. How can I do?
Please tell me step by step.
I think you need to learn a little more about how web services work. Nobody will be submitting a form to the service. They will instead have a piece of code call the web service.
Will you be developing your service in WCF in .NET 3.5 SP1? Please update your question with that detail, or say what other platform you will be using. We will then be able to tell you about the resources you will need to understand the creation of web services on that platform.

Categories

Resources