The
client is easy :) You simply use AXIS to generate the client stubs, and then
just call the methods on the generated classes. I use the following command in
one of my projects (im using a windows system here as you can see, and you also
have to change the paths for the different jar files to match your
system):
java
-cp
D:\products\apache\axis-1_1\lib\axis.jar;D:\products\apache\axis-1_1\lib\commons-logging.jar;D:\products\apache\axis-1_1\lib\commons-discovery.jar;D:\products\apache\axis-1_1\lib\wsdl4j.jar;D:\products\apache\axis-1_1\lib\jaxrpc.jar;D:\products\apache\axis-1_1\lib\saaj.jar
org.apache.axis.wsdl.WSDL2Java -o D:\product\wsdl\stubs\
D:\product\wsdl\Product.wsdl
So
basicly you just use AXIS's org.apache.axis.wsdl.WSDL2Java to generated Java
stubs from a WSDL file.
Hope
this helps, if not try googling for org.apache.axis.wsdl.WSDL2Java
examples/tutorials.
Best
regards
S�ren
-----Original Message-----
From: Kamrul Islam [mailto:[EMAIL PROTECTED]
Sent: 2. marts 2004 23:24
To: [EMAIL PROTECTED]
Subject: Re: AXIS as standalone SOAP parser?Probably I also have the same type of question.Last time I used gsoap for standalone C++ Client without any application server. Now I would like to rewrite that application in Java. Again I need only the soap client part, Soap Server is mantained in different system.In short, is there any good place where I can get more information/help regarding this?
Thnaks in advance.---Kamrul
Kees van Dieren <[EMAIL PROTECTED]> wrote:I think this is what you need:
Visit
http://ws.apache.org/axis/java/apiDocs/org/apache/axis/transport/http/SimpleAxisServer.html
this class is included in the axis.jar archive
S�ren Neigaard wrote:
>Trying the question again :)
>
>Is it possible to use AXIS simply as a SOAP parser? I mean without any applicationserver, but where I give AXIS the SOAP XML as a string or a stream?
>
>And how is this done? Do I need to generate some classes from the WSDL via some commandline tool?
>
>Med venlig hilsen/Best regards
>S�ren Neigaard
>System Architect
>................................
>Mobilethink A/S
>Arosgaarden
>�boulevarden 23, 4.sal
>DK - 8000 �rhus C
>Telefon: +45 86207800
>Direct: +45 86207810
>Fax: +45 86207801
>Email: [EMAIL PROTECTED]
>Web: www.mobilethink.dk
>................................
>
>
>
>
>
--
Kees van Dieren
MP Objects
Stationsplein 45
3013 AK Rotterdam
Postbus 29126
3001 GC Rotterdam
tel: +31 (0)10-2900304
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster.
