Richard,

Its working.

The problem is with my package structure.

There is no line about package in my server class.

Thanks

Chiran


                                                                                       
                                         
                    "Chiranjeevi                                                       
                                         
                    Paruchur"            To:     [EMAIL PROTECTED]              
                                         
                    <CParuchur@or        cc:                                           
                                         
                    ga.com>              Subject:     Re: Soap exception               
                                         
                                                                                       
                                         
                    06.08.01                                                           
                                         
                    16:23                                                              
                                         
                    Please                                                             
                                         
                    respond to                                                         
                                         
                    soap-user                                                          
                                         
                                                                                       
                                         
                                                                                       
                                         





Richard,

U are right. I am accessing my client which is kept at samples/chiran directory on my 
server.

I created the Call object using

call.setTargetObjectURI("urn:HelloChiran") and i deployed my service with the same 
name.

But when I run my client I get the following error.

Generated fault:
fault Code =SOAP-ENV:Server.Exception:
  Fault String =samples/chiran/HelloChiran (wrong name: HelloChiran)




                    Richard
                    Boehme               To:     <[EMAIL PROTECTED]>
                    <[EMAIL PROTECTED]        cc:
                    hu.edu>              Subject:     Re: Soap exception

                    06.08.01
                    16:21
                    Please
                    respond to
                    soap-user






Are you trying to connect the client by pointing it at
samples.chiran.HelloChiran? One it's deployed, it is accessed in the
client by whatever name you created for it in the deployment descriptor
(IE urn:HelloChiran). like this

<ids service xmlns:isd "http://xml.apache.org/xml-soap/deployment";
id=urn:HelloChiran">
.
.
.

--Richard

On Mon, 6 Aug 2001, Chiranjeevi Paruchur wrote:

>
> Hi!
>
> My SOAP service name is HelloChiran and when I run my client it throws me an error
>
> Generated fault:
> fault Code =SOAP-ENV:Server.Exception:
>  Fault String =samples/chiran/HelloChiran (wrong name: HelloChiran)
>
>
> can any one suggest me what would have gone wrong .
>
> Chiran
>

--
-- Rich

[EMAIL PROTECTED]
Dorm Phone: (410) 516-5974

http://hops.cs.jhu.edu/~boehme/









Reply via email to