Thanks for the help folks.
John.
"Lew" <> wrote in message
news:. ..
> John Straumann wrote:
>>> Thanks for the reply. I used the tool and it generated a bunch of Java
>>> code files and classes. Is there a tutorial somewhere that shows how to
>>> use the generated files? It has been a while since I have worked with
>>> Java and I am not sure. I don't see how the generated Java maps to the
>>> .NET web service call that I usually work with.
>
> Arne Vajhøj wrote:
>> I usually find it rather self explaining when browsing the
>> generated code.
>>
>> Example:
>>
>> ..NET web service
>>
>> public class SimpleTest : WebService
>> {
>> [WebMethod]
>> public int AddOne(int v)
>>
>> called from Java with Axis generated stub:
>>
>> SimpleTestLocator stl = new SimpleTestLocator();
>> SimpleTestSoap sts = stl.getSimpleTestSoap();
>> System.out.println(sts.addOne(2));
>
> Or even,
>
> SimpleTest sts = stl.getSimpleTestSoap();
>
> etc.
>
> The exact flavor of the calls depends on the web-service framework you
> choose. Generally the Java code declares an interface type with the same
> name as the web service, and an implementing type such as Arne's
> 'SimpleTestSoap' class. If you crack open the implementing class's source,
> you find all the messy details of setting up a proxy object, mapping Java
> types to XML namespaces and tags, and so forth.
>
> --
> Lew
|