Shashikant,

If you are looking for the JSP to call the service and get a value back (AJAX 
type call) I suggest you use the AJAX frameworks provided by libraries like 
Prototype to call a servlet that, as others have suggested, wrap the WSDL2Java 
generated client code with business logic.

Either you're going to have to tell us more about your intent or your output.  
There just seems to be not enough information


From: Shashikant Sarade [mailto:shashikantsar...@gmail.com]
Sent: Sunday, April 08, 2012 1:27 PM
To: java-user@axis.apache.org
Subject: Re: Web Services Client

I had Created Web Service Java Client Using AXIS 2 (Using Eclipse IDE).
But when i use client bean into JSP page for my Web App. I get errors...
On Sun, Apr 8, 2012 at 10:33 PM, John Patrick 
<nhoj.patr...@gmail.com<mailto:nhoj.patr...@gmail.com>> wrote:
More context in your questions might be useful for the list.

JSP is essentially just Java so yes, you can have a Web Service Client
in JSP. Although I'm not sure why you would want to, bit hard to test
the client and functionality, does advocate reuse of code.

Personally I'ld get Axis2/Java to create the WebService java client,
create a wrapper around then with your business logic and then have
the jsp call than wrapper, or use a web framework like struts2 or play
to handle the mvc logic.

On 8 April 2012 15:42, Shashikant Sarade 
<shashikantsar...@gmail.com<mailto:shashikantsar...@gmail.com>> wrote:
> Can I use JSP ??
>
> On Sun, Apr 8, 2012 at 8:09 PM, John Patrick 
> <nhoj.patr...@gmail.com<mailto:nhoj.patr...@gmail.com>> wrote:
>>
>> If I understand your question correctly then, your client is not
>> limited to any language. That is the advantage of web services, as
>> long as the server and client are using the same wsdl then it works.
>>
>> But if your wanting to automatically generate a client using Axis 2,
>> your then limited to Java and C.
>>
>> http://axis.apache.org/axis2/c/core/
>> http://axis.apache.org/axis2/java/core/
>>
>>
>>
>> On 8 April 2012 15:05, Shashikant Sarade 
>> <shashikantsar...@gmail.com<mailto:shashikantsar...@gmail.com>>
>> wrote:
>> > Tell me which are languages in which I can deploy client for my Web
>> > application??
>> >
>> > I have AXIS 2 Services...
>> > Client -???
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: 
>> java-user-unsubscr...@axis.apache.org<mailto:java-user-unsubscr...@axis.apache.org>
>> For additional commands, e-mail: 
>> java-user-h...@axis.apache.org<mailto:java-user-h...@axis.apache.org>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: 
java-user-unsubscr...@axis.apache.org<mailto:java-user-unsubscr...@axis.apache.org>
For additional commands, e-mail: 
java-user-h...@axis.apache.org<mailto:java-user-h...@axis.apache.org>

Reply via email to