I believe serviceName and endpointName are qnames.   Thus, they would need to 
be defined as:

<jaxws:client id="calculatorServiceDotNet"
   xmlns:ns="http://target.namespace.of.wsdl/........";
  serviceName="ns:CalculatorService"
  endpointName="ns:CalculatorServiceEndpoint"
  address="http://acme.com/CalculatorService/CalculatorService.svc";
  serviceClass="com.acme.dotnet.ICalculatorService">
</jaxws:client>


Dan


On Wed January 13 2010 12:46:51 am Coder One wrote:
> Real basic, stuff, but I could not get it to work...arghh... I think the
>  problem may be due to the "soap12" deal.  How can I fix this?  
>  
> CXF 2.2.5, Spring 2.5.6
>  
> My Spring setup
>  
> <jaxws:client id="calculatorServiceDotNet"
> serviceName="CalculatorService"
> endpointName="CalculatorServiceEndpoint"
> address="http://acme.com/CalculatorService/CalculatorService.svc";
> serviceClass="com.acme.dotnet.ICalculatorService">
> </jaxws:client>
>  
> Here it the WSDL snippet:  
> <
> - <wsdl:port
>  name="WSHttpBinding_ICalculatorService"binding="tns:WSHttpBinding_ICalcula
> torService"> < - <wsa10:EndpointReference> <
> -
>  <Identityxmlns="http://schemas.xmlsoap.org/ws/2006/02/addressingidentity";>
>  <</</</</ wsdl:service> wsdl:port> wsa10:EndpointReference> Identity>
>  Dns>localhost</Dns>
>  wsa10:Address>http://acme.com/CalculatorService/CalculatorService.svc</wsa
> 10:Address> soap12:address
>  location=http://acme.com/CalculatorService/CalculatorService.svc/>
>  wsdl:service name="CalculatorService">
> 

-- 
Daniel Kulp
[email protected]
http://www.dankulp.com/blog

Reply via email to