| MHenke on Sep 6, 2006 at 2:34:18 AM (# 1) Your keywords: Type Mapping, Serialization, Deserialization.
If you're using a decent SOAP framework like AXIS, you can use the build in JavaBean Serializer to map your Java classes to the WSDL Schema types.
Look it up, I havn't the time by now... clintonkollman on Feb 6, 2012 at 10:24:03 PM (# 2) This message has been edited.Create a new Windows Application project in Microsoft Visual Basic .Net.We gave it the name Sample 1WebService.Create a new form and add three text boxes with labels and two buttons to the form so that it looks something similar to Figure 1. The Web host text box is given a default value of localhost. This is done assuming that WSDK is installed on the same machine as Visual Basic .Net. Including this text box as a variable allows the user the chance to easily run the client application in an installation where the machine hosting the web service is running on a different machine by supplying the network name of the machine.We have included some code that validates the text in the Enter your name.. text box, so that the web service cannot be invoked if this is blank. This code is included in the code which handles the click event for the Invoke Service button and its purpose is to avoid a null pointer exception when the web service is invoked with an empty string. The text box validation is shown in Listing 1. Now we have the basic client GUI for invoking the Sample1WebService. We now need to include the code to invoke the web service and handle the returned result.
______ Ares Download
|