I have encountered problem in this project
Design and construct a java program (consisting of a java class or classes) which is able to discover the available web services from a web service registry server and execute the service required and then shows the result in your GUI.
I do not know how to create the GUI and also SOAP. Someone pls help me...
Thanks and Regards!
Mind giving some more information into this? You can build a GUI with NetBeans or one of those bloated IDE's... Just take your pick..
I am assuming you guys are using Apache Axis for your SOAP?
In your Java file you need to include the stubs that Axis creates...
Here is an example..
To find out what services that are currently provided look at the .jws with the query 'wsdl' so it will look like..Code://This is just a example, I write a chat client that used a SOAP protocol... I had PHP interface with the Java server side. import polaris.cs.wcu.ChatServer_jws.ChatServerServiceLocator; import polaris.cs.wcu.ChatServer_jws.ChatServerService; import polaris.cs.wcu.ChatServer_jws.ChatServer; import org.apache.axis.client.*; ... // Locating the service.... ChatServerService service = new ChatServerServiceLocator(); // Our WebService to contact String endpoint = "http://polaris.cs.wcu.edu:8180/axis/"+ "jtalerico/ChatServer.jws"; ...
Maybe post some code you have already written so we can get a good idea where you need help.somefile.jws?wsdl
Hi jtaleric, as i am new to programming. I'm still unsure. as requested i can't use PHP to code. Do you mind reading my code first?
The code i posted was not php. It was java
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks