You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by "Jiang, Ning (Willem)" <Ni...@iona.com> on 2007/12/18 14:04:30 UTC

答复: "http://schemas.xmlsoap.org/wsdl/" is not a valid SOAP version

Can you show us the detail stack trace and the on wire message?
So we can investigate it.
You can find the tips of debug CXF application in CXF user wiki[1]

[1]http://cwiki.apache.org/CXF20DOC/debugging.html

Willem

-----Original Message-----
From: bjarnek [mailto:bjarne.kvamme@asp-as.no]
Sent: 12/18/2007 (星期二) 20:49
To: cxf-user@incubator.apache.org
Subject: Re: "http://schemas.xmlsoap.org/wsdl/" is not a valid SOAP version
 

Hi,

I use CXF 2.0.3

I have not configured any bus, as far as I know.
How do I do that?

I get this message while running:
    Could not find the configuration file cxf.xml on the classpath

Maybe this is where the bus configuration goes?

bjarne


Benson Margulies-4 wrote:
> 
> What version of CXF? How did you configure the bus?
> 
> 
> 
> On Tue, 2007-12-18 at 01:34 -0800, bjarnek wrote:
>> Hi
>> 
>> I get this exception:
>> org.apache.cxf.binding.soap.SoapFault: "http://schemas.xmlsoap.org/wsdl/"
>> is
>> not a valid SOAP version.
>> (I have marked in code where the exception occurs (last line under))
>> 
>> using this server def:
>>     <simple:server id="lokcerService"
>> serviceClass="no.asp.as.masterlocker.client.ILockerClient"
>> address="/locker">
>>         <simple:dataBinding>
>>                 <bean
>> class="org.apache.cxf.aegis.databinding.AegisDatabinding" />
>>         </simple:dataBinding>
>>         <simple:serviceBean>
>>             <bean class="no.asp.as.masterlocker.LockerUtilityImpl" />
>>         </simple:serviceBean>
>>     </simple:server>
>> 
>> and this client code:
>> 
>> ....
>>         ClientProxyFactoryBean factory = new ClientProxyFactoryBean();
>>         factory.setServiceClass(ILockerClient.class);
>> 
>>         factory.setAddress(adresse);
>>         factory.getServiceFactory().setDataBinding(new
>> AegisDatabinding());
>>         client = (ILockerClient) factory.create();
>> 
>>         LockResult lockResult = client.addLock(firmaNr, tableName,
>> tableId,
>> userID);  // <-- this cause the exception
>> ....
>> 
>> This worked fine when "addLock" returned just a String.
>> But when I change return value to a class, "LockResult", I got the SOAP
>> exception.
>> 
>> Can anyone help me?
>> 
>> 
>> 
>> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/%22http%3A--schemas.xmlsoap.org-wsdl-%22-is-not-a-valid-SOAP-version-tp14387884p14396217.html
Sent from the cxf-user mailing list archive at Nabble.com.