You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Tim Almdal <Ti...@accessbc.com> on 2001/02/06 23:38:52 UTC

Bad Target Object URI

I'm running IIS 5.0 with the Tomcat 3.2.1 installed as an NT Service. I've
installed SOAP and using the SOAP admin screens deployed a service with the
following attributes.  I've put the Xerces and SOAP classpaths ahead of the
Tomcat entries in the wrapper.properties.
ID:  urn:xml-soap-reverse
Scope: Application
Provider Type: Java
Static Class: false
Methods: reverse

I have defined an IIS virtual directory "Reverse" which contains the
"Reverse.class" file


When I invoke the service from a client, I get the following message.

SOAP-ENV:Server.BadTargetObjectURI / Unable to resolve target object:
Reverse

This message seems to change to what ever value I've entered into the
classname on the deployment screen.  I seem to be getting to the rpcrouter
and finding my deployment definition, I just can't find the class to run.

What other configuration do I need to do in order for the SOAP rpcrouter to
find my class. I'm pretty sure it's breaking down between tomcat and IIS.

Any help will be appreciated!

Thanks
Tim

Re: Bad Target Object URI

Posted by George I Matkovits <ma...@uswest.net>.
Please try to deploy from the command  line one of the samples: like
AddressBook. Your 'Soap life' will be  much easier this way. Please use its
DeploymentDescriptor and from it you will be able to learn about
DeploymentDescriptors. IMHO typing this kind of 'XML Junk' into a JSP form is
far too error prone.
Regards - George

Tim Almdal wrote:

> I'm running IIS 5.0 with the Tomcat 3.2.1 installed as an NT Service. I've
> installed SOAP and using the SOAP admin screens deployed a service with the
> following attributes.  I've put the Xerces and SOAP classpaths ahead of the
> Tomcat entries in the wrapper.properties.
> ID:  urn:xml-soap-reverse
> Scope: Application
> Provider Type: Java
> Static Class: false
> Methods: reverse
>
> I have defined an IIS virtual directory "Reverse" which contains the
> "Reverse.class" file
>
> When I invoke the service from a client, I get the following message.
>
> SOAP-ENV:Server.BadTargetObjectURI / Unable to resolve target object:
> Reverse
>
> This message seems to change to what ever value I've entered into the
> classname on the deployment screen.  I seem to be getting to the rpcrouter
> and finding my deployment definition, I just can't find the class to run.
>
> What other configuration do I need to do in order for the SOAP rpcrouter to
> find my class. I'm pretty sure it's breaking down between tomcat and IIS.
>
> Any help will be appreciated!
>
> Thanks
> Tim


Re: Bad Target Object URI

Posted by George I Matkovits <ma...@uswest.net>.
Please try to deploy from the command  line one of the samples: like
AddressBook. Your 'Soap life' will be  much easier this way. Please use its
DeploymentDescriptor and from it you will be able to learn about
DeploymentDescriptors. IMHO typing this kind of 'XML Junk' into a JSP form is
far too error prone.
Regards - George

Tim Almdal wrote:

> I'm running IIS 5.0 with the Tomcat 3.2.1 installed as an NT Service. I've
> installed SOAP and using the SOAP admin screens deployed a service with the
> following attributes.  I've put the Xerces and SOAP classpaths ahead of the
> Tomcat entries in the wrapper.properties.
> ID:  urn:xml-soap-reverse
> Scope: Application
> Provider Type: Java
> Static Class: false
> Methods: reverse
>
> I have defined an IIS virtual directory "Reverse" which contains the
> "Reverse.class" file
>
> When I invoke the service from a client, I get the following message.
>
> SOAP-ENV:Server.BadTargetObjectURI / Unable to resolve target object:
> Reverse
>
> This message seems to change to what ever value I've entered into the
> classname on the deployment screen.  I seem to be getting to the rpcrouter
> and finding my deployment definition, I just can't find the class to run.
>
> What other configuration do I need to do in order for the SOAP rpcrouter to
> find my class. I'm pretty sure it's breaking down between tomcat and IIS.
>
> Any help will be appreciated!
>
> Thanks
> Tim