users@jax-rpc.java.net

Re: Is Apache Axis required to deploy JAX-RPC application?.

From: shaba dil <shaba_dil_at_yahoo.com>
Date: Wed, 30 Jun 2004 02:34:37 -0700 (PDT)

Hi Ramesh Babu,

Thanks for ur precise information.It's really
helpfull.But even though i get the same error.

> I extracted the attached target.war and find out
> that you don't have endpointmapping for endpoint
> with name "SunRegService".

I have changed the endpointmapping to SunRegService.

>http://java.sun.com/webservices/containers/tomcat_for_JWSDP_1_4.html

i have installed this tomcat.But this tomcat exits
while i try to start up.But i installed Tomcat 5.0.19
as another installation after that(downloaded from
apache site).and put my target.war file to the webapps
directory.But the same error is displaying.

Now i have given URL

http://localhost:8080/target/sunreg/SunRegService

And i have tried URL as you said also,That is,

http://localhost:8080/target/ws/SunRegService

But both returns the error message as follows

------------
type Status report

message /target/sunreg/SunRegService

description The requested resource
(/target/sunreg/SunRegService) is not available.
-------------------

Kindly have a look on it.I am attaching modified
sunreg.war file with this.

thanks,
Shaba


--- Ramesh Babu Mandava <Ramesh.Mandava_at_Sun.COM>
wrote:
> Hi Shaba:
>
> > Hi all,
> >
> > I have created a .war file by using wsdeploy
> > tool(attached file).
> >
> > Now i wanna deploy it in a webserver.The target
> server
> > is Tomcat4.1 or 5.0.
> >
> > I have placed my .war file in webapps directory of
> > Tomcat.and ran Tomcat.But i could'nt able to get
> the
> > service from it.Tomcat says that the requested
> file is
> > NOT AVAILEABLE.
> >
> > my time is precious.I have even made buisiness and
> > data tier of my application,when i successfully
> test
> > the JAX-RPC model,i can use JAX-RPC and i wanna
> use
> > it.so anyone knowing plz help.
> >
> > I think it's a silly questien.A simple example.I
> am
> > attaching the sunreg.war file with it.Plz check it
> > out.
>
> JAX-RPC Standard Implementation is enough to
> develop, deploy and invoke a JAX-RPC application.
>
> I extracted the attached target.war and find out
> that you don't have endpointmapping for endpoint
> with name "SunRegService". Even though you defined
> one endpointMapping element as part of
> "jaxrpc-ri.xml" ( which is stored as
> jaxrpc-ri-before.xml in the cooked war file), the
> "endpointName" attribute value is set to
> "SunRegEndPoint" which is not same as value "name"
> attribute of "endpoint" element.
>
> While using endpoint mapping you have to mention
> "endpointName" value to be equal to the value of
> "name" attribute of "endpoint" element.
>
> Anyway because there is no endpoint mapping defined
> for endpoint ( with name as SunRegService ) , JAXRPC
> SI used
> value of "name" attribute of "endpoint" element as
> the "urlPattern". So the final URL of the webservice
> would become
>
>
>
http://<serverName>:<serverPort>/target/ws/SunRegService
>
> When I deployed your target.war in my Tomcat 5.0.19
> version which is supported by JWSDP 1.4 ( available
> to download at [1] ), the webservice is exposed at
> URL
>
> http://localhost:8080/target/ws/SunRegService
>
> Please look at the white papers [2] & [3] to
> understand more about JAXRPC SI environment
>
> [1]
>
http://java.sun.com/webservices/containers/tomcat_for_JWSDP_1_4.html
>
> [2]
>
https://jax-rpc.dev.java.net/whitepaper/1.1/index-part1.html
> [3]
>
https://jax-rpc.dev.java.net/whitepaper/1.1/index-part2.html
>
>
>
> Regards
> -Ramesh
>
> >
> > Thanks
> > Shaba
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail - Helps protect you from nasty
> viruses.
> > http://promotions.yahoo.com/new_mail
> >
> >
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe_at_jax-rpc.dev.java.net
> For additional commands, e-mail:
> users-help_at_jax-rpc.dev.java.net
>
> >
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe_at_jax-rpc.dev.java.net
> For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net


        
                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net