I got this problem 415 which is unsupported media type, so I think it has to do 
with SOAP12, but not sure...

Caused by: java.io.IOException: Server returned HTTP response code: 415 for URL



----- Original Message ----
From: Coder One <[email protected]>
To: [email protected]
Sent: Tue, January 12, 2010 9:46:51 PM
Subject: Consuming .NET Web Service - SOAP12

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_ICalculatorService">
 <
- <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</wsa10:Address>
 soap12:address 
location=http://acme.com/CalculatorService/CalculatorService.svc/> wsdl:service 
name="CalculatorService"> 



Reply via email to