You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by "Ridgway, Jamie Mr CONT USAAC" <JA...@USAAC.ARMY.MIL> on 2007/06/19 06:02:57 UTC

[U] RE: RE: Deployment exceptoin

UNCLASSIFIED////


I just re-read your email and see where it is bundled in the jar. I will
retry using the new namespace.

Thanks,
Jamie 

-----Original Message-----
From: Willem Jiang [mailto:ning.jiang@iona.com]
Sent: Monday, June 18, 2007 11:14 PM
To: cxf-user@incubator.apache.org
Subject: Re: [U] RE: Deployment exceptoin

Hi Jamie

I almost got your error.
 
Here is a workable example of the cxf-servlet configuration:

<beans xmlns="http://www.springframework.org/schema/beans"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:jaxws="http://cxf.apache.org/jaxws"
      xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
 
  <jaxws:endpoint
    id="greeter1"
    address="/greeter"
      implementor="org.apache.hello_world_soap_http.GreeterImpl"
      
wsdlLocation="/org/apache/cxf/systest/servlet/hello_world.wsdl"      />


NOTE  the xsd location of jaxws has been changed to

http://cxf.apache.org/schemas/jaxws.xsd

And this scheme will be found in the
cxf-rt-frontend-jaxws-2.0-incubator-SNAPSHOT.jar that CXF shipped.

Cheers,
Willem.

Ridgway, Jamie Mr CONT USAAC wrote:
> UNCLASSIFIED////
>
>
> I am using maven2 and have configured the apache repository according 
> to the howto. I am using 2.0-incubator-SNAPSHOT as the version. I 
> always run my builds with -U when using snapshots so I am assuming I 
> am on the latest though I will confirm this.
>
> I was guessing the validation was trying to resolve 
> http://cxf.apache.org/schema/jaxws.xsd and can't. Is this a valid 
> address? I get unknown host.
>
> Thanks,
> Jamie
>
> -----Original Message-----
> From: Willem Jiang [mailto:ning.jiang@iona.com]
> Sent: Monday, June 18, 2007 9:09 PM
> To: cxf-user@incubator.apache.org
> Subject: Re: [U] Deployment exceptoin
>
> Hi Jamie,
>
> Which version of CXF are you using?
> There were some spring scheme validation changes happened last week.
> Could you try to use the latest snapshot or the trunk version :)
>
> Cheers,
>
> Willem.
>
> Ridgway, Jamie Mr CONT USAAC wrote:
>   
>> UNCLASSIFIED////
>>
>>
>> I am trying to deploy to Weblogic 9.2 running Sun JDK 5 on Linux (in 
>> case it matters) and I get the following errors:
>>
>> This first exception I believe to be the result of the second 
>> exception which appears to be a XML validation error coming from 
>> Spring. I checked and I can't resolve any of the schemaLocations in 
>> the beans.xml file I based off of the samples.
>>
>> What am I doing wrong?
>>
>> Thanks,
>> Jamie
>>
>> Here are the errors:
>>
>> weblogic.application.ModuleException:
>>         at
>> weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.jav
>> a
>> :8
>> 94)
>>         at
>> weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)
>>         at
>> weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleSta
>> t
>> eD
>> river.java:204)
>>         at
>> weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
>> r
>> iv
>> er.java:26)
>>         at
>> weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStat
>> e
>> Dr
>> iver.java:60)
>> 	.....
>>
>> Followed by this :
>>
>> org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching 
>> wildcard is strict, but no declaration can be found for element 
>> 'jaxws:endpoint'.
>>         at
>> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAX
>> P
>> ar
>> seException(ErrorHandlerWrapper.java:236)
>>         at
>> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Err
>> o
>> rH
>> andlerWrapper.java:172)
>>         at
>> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(
>> X
>> ML
>> ErrorReporter.java:382)
>>         at
>> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(
>> X
>> ML
>> ErrorReporter.java:316)
>>         at
>> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErro
>> r
>> Re
>> porter.reportError(XMLSchemaValidator.java:429)
>>         at
>> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportS
>> c
>> he
>> maError(XMLSchemaValidator.java:3185)
>>         at
>> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleS
>> t
>> ar
>> tElement(XMLSchemaValidator.java:1955)
>>         at
>> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyEl
>> e
>> me
>> nt(XMLSchemaValidator.java:725)
>>         at
>> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scan
>> S
>> ta
>> rtElement(XMLNSDocumentScannerImpl.java:322)
>>         at
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
>> l
>> $F
>>
ragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:
>> 16
>> 93)
>>         at
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
>> l
>> .s
>> canDocument(XMLDocumentFragmentScannerImpl.java:368)
>>         at
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
>> M
>> L1
>> 1Configuration.java:834)
>>         at
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
>> M
>> L1
>> 1Configuration.java:764)
>>         at
>> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
>> j
>> av
>> a:148)
>>         at
>> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.
>> j
>> av
>> a:250)
>>         at
>> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Doc
>> u
>> me
>> ntBuilderImpl.java:292)
>>         at
>>
>>     
>
weblogic.xml.jaxp.RegistryDocumentBuilder.parse(RegistryDocumentBuilder.
>   
>> java:150)
>>         at
>> org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocum
>> e
>> nt
>> (DefaultDocumentLoader.java:76)
>>
>> UNCLASSIFIED////
>>
>>
>>   
>>     
>
> UNCLASSIFIED////
>
>
>   

UNCLASSIFIED////