Tutorial - One-Many application using JSF, EJB3 and JPA

25 views
Skip to first unread message

Ashish Kulkarni

unread,
Jul 6, 2008, 6:48:18 PM7/6/08
to Pune-Java
Dear all,

Creating an application for entities with one-many relationship is one
of the trickier parts of any application.

This particular tutorial talks about how to do this. For this, we
consider the following two entities - user and addresses.

Following tutorial explains how to do this - http://www.ebizss.com/wiki/index.php/HelloJSFOneMany

This makes use of MyEclipse IDE which is based upon Eclipse and JBoss
4.2.2 Application Server.

Please feel free to mail me any suggestions or queries.

Best Regards,

Ashish.

yogesh deshpande

unread,
Jul 15, 2008, 9:04:17 AM7/15/08
to pune...@googlegroups.com
Hi All,
 
Is there any way to create sample/empty soap request given a wsdl and operation. I saw couple of tools which does this but didnt found any libraries. Anybody aware of such libraries please let me know. Your help will be highly appreciated.
 
Thanks
Yogesh


Making the world a better place one message at a time. Check out the i'm Talkathon.

Ashish Kulkarni

unread,
Jul 15, 2008, 3:21:40 PM7/15/08
to Pune-Java
Hi Yogesh,

The easiest way to create a Java Client from a WSDL file is using the
wsdl2java utility which is part of Apache AXIS.

It can generate skeleton classes for you.

There is another library called XFire that can do this too. But Axis
is more popular.

Let me know how you get on and if you need any further help.

Best Regards,

Ashish.


On Jul 15, 2:04 pm, yogesh deshpande <deshpande_yog...@hotmail.com>
wrote:

yogesh deshpande

unread,
Jul 16, 2008, 12:02:40 AM7/16/08
to pune...@googlegroups.com
Hi Ashish,
 
Thanks for reply. Though we can invoke web service by generating stubs or dynamic invocation. I want to generate soap request payload(XML format) without generating stubs. SOAPUI is one of the tool which generates sample request from WSDL and then user can replace placeholders by actual values. I am looking for libraries which can generate sample request like SOAPUI.
 
Thanks
Yogesh
 
 

> Date: Tue, 15 Jul 2008 12:21:40 -0700
> Subject: [Pune-Java] Web Services Client : Help
> From: ashishk...@hotmail.com
> To: Pune...@googlegroups.com

Ashish Kulkarni

unread,
Jul 16, 2008, 5:07:36 AM7/16/08
to Pune-Java
Hi Yogesh,

Any particular reason why you don't want to use SOAPUI? This is so
that I can keep those factors in mind when responding.

There are tools like XMLSpy and StylusStudio that can allow you to do
what you are looking to do.

Best Regards,

Ashish.

On Jul 16, 5:02 am, yogesh deshpande <deshpande_yog...@hotmail.com>
wrote:
> Hi Ashish,
>
> Thanks for reply. Though we can invoke web service by generating stubs or dynamic invocation. I want to generate soap request payload(XML format) without generating stubs. SOAPUI is one of the tool which generates sample request from WSDL and then user can replace placeholders by actual values. I am looking for libraries which can generate sample request like SOAPUI.
>
> Thanks
> Yogesh
>
>  > Date: Tue, 15 Jul 2008 12:21:40 -0700> Subject: [Pune-Java] Web Services Client : Help> From: ashishkulka...@hotmail.com> To: Pune...@googlegroups.com> > > Hi Yogesh,> > The easiest way to create a Java Client from a WSDL file is using the> wsdl2java utility which is part of Apache AXIS.> > It can generate skeleton classes for you.> > There is another library called XFire that can do this too. But Axis> is more popular.> > Let me know how you get on and if you need any further help.> > Best Regards,> > Ashish.> > > On Jul 15, 2:04 pm, yogesh deshpande <deshpande_yog...@hotmail.com>> wrote:> > Hi All,> >> > Is there any way to create sample/empty soap request given a wsdl and operation. I saw couple of tools which does this but didnt found any libraries. Anybody aware of such libraries please let me know. Your help will be highly appreciated.> >> > Thanks> > Yogesh> > _________________________________________________________________
> The i’m Talkaton. Can 30-days of conversation change the world?http://www.imtalkathon.com/?source=EML_WLH_Talkathon_ChangeWorld

yogesh deshpande

unread,
Jul 16, 2008, 6:15:39 AM7/16/08
to pune...@googlegroups.com
Ashish,
SOAPUI is standalone application. I checked for its API but those seems to be tightly coupled with standlone UI.
So simply putting I want the exact same behaviour of SOAPUI but cant use its API because of reason mentioned above.
So Looking for some library which does the same thing.
 
Thanks
Yogesh

> Date: Wed, 16 Jul 2008 02:07:36 -0700
> Subject: [Pune-Java] Re: Web Services Client : Help
> From: ashishk...@hotmail.com
> To: Pune...@googlegroups.com

Ashish Kulkarni

unread,
Jul 16, 2008, 4:21:00 PM7/16/08
to Pune-Java
Hi Yogesh,

There is something called as TCPMon from Apache. You will need to play
around with it to get what you are looking for though. I am not sure
if it will be 100% what you are looking for. However, I have used it
in the past.

You can find its documentation at http://ws.apache.org/commons/tcpmon/tcpmontutorial.html

What I have done is used TCPMon to listen to my requests and the
responses. TCPMon has shown these nicely in formatted XML format which
I have then saved, modified and pasted back into TCPMon and got TCPMon
to resend the SOAP request. However, for the first time, I did have to
create a java client to send the first request.

Hope this helps.

Best Regards,

Ashish.

On Jul 16, 11:15 am, yogesh deshpande <deshpande_yog...@hotmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages