Hi all, 

I have a service defined by 

<service name="ContentManagerService">
  <port name="ContentManagerServicePortType"
binding="cm1:ContentManagerServiceBinding">
    <soap:address
location="http://localhost:9090/axis/services/ContentManagerServicePortType";
/>
  </port>
</service>

... and a method:
  
<binding name="ContentManagerServiceBinding"
type="cm1:ContentManagerServicePortType">
  <soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
  <operation name="add">
    <soap:operation soapAction="http://developer.cognos.com/schemas/wsdl"/>
    <input>
      <soap:body use="encoded"
namespace="http://developer.cognos.com/schemas/wsdl/add";
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </input>
    <output>
      <soap:body use="encoded"
namespace="http://developer.cognos.com/schemas/wsdl/add";
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </output>
  </operation>
     
  [...]

Whn I invoke the add method, I get the following exception:

Exception in thread "main" 
The AXIS engine could not find a target service to invoke!  
targetService is http://developer.cognos.com/schemas/wsdl/add

Anyone know what does that mean? 


FYI: My definitions goes like:

<definitions 
        name="ContentManagerService" 
        targetNamespace="http://developer.cognos.com/schemas/wsdl/"; 
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
        xmlns:types="http://developer.cognos.com/schemas/cm/1/"; 
        xmlns:bibus="http://developer.cognos.com/schemas/bibus/2/"; 
        xmlns="http://schemas.xmlsoap.org/wsdl/"; 
        xmlns:cam="http://developer.cognos.com/schemas/CAM/AAA/1/"; 
        xmlns:cm1="http://developer.cognos.com/schemas/wsdl/";>



--
Sylvain 

This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

Reply via email to