Netbeans Web Service GUI

Hi everyone,

I'd really appreciate any help on this matter. I'm trying to build a GUI for a web service. I want the GUI to accept input from the user which is converted to a soap request which is then sent to a server to be processed, and a response is sent back. I want to format the response so that it is readable by the end user. So basically, the server does all the processing; all I have to do is produce the soap request, send it by soap over http and then parse the response from the server.

I've made a project in Netbeans with WDSL, BPEL mapper etc. I don't really know how to contact the server to send the soap request.

Could someone please give me some guidelines on how to do this? I'm completely new to Java but I have a basic understanding of WSDL, XML schema etc.

Again, any help much appreciated,

Ruth

[864 byte] By [sabatiera] at [2007-11-27 10:04:21]
# 1

hey sabatier,

I haven't done webservices with netbeans, but I have done it with Eclipse (using xfire), and here is what I can tell you.

Let's say you create a webservice that takes an string input. On the client side, after the user puts in whatever string this is, you build the call to the webservice by using the webservice stubs. It will then wrap the user input to the soap message and send it. It should be as simply as that. With all the tech out today, you shouldn't have to write your own soap messages.

Whatever your webservice returns, if it is a string result, again, it should be returned to you only as a string. All the work of extracting the return from the soap message should happen under the hood.

kdajania at 2007-7-13 0:39:21 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...