Typo in wiki

2011-07-15 Thread akuhtz
Hi,

There is a typo in the code snippet on the 
http://cxf.apache.org/docs/transformationfeature.html Transformation feature 
site.

The classname StaxTransf*ro*mFeature must be StaxTransf*or*mFeature.

Cheers Andi



--
View this message in context: 
http://cxf.547215.n5.nabble.com/Typo-in-wiki-tp4589705p4589705.html
Sent from the cxf-dev mailing list archive at Nabble.com.


Re: Typo in wiki

2011-07-15 Thread Freeman Fang

Hi,

Thanks for letting us know this issue.
Just correct the wiki, should be sync up in a few hours.

Freeman
On 2011-7-15, at 下午3:27, akuhtz wrote:


Hi,

There is a typo in the code snippet on the
http://cxf.apache.org/docs/transformationfeature.html Transformation  
feature

site.

The classname StaxTransf*ro*mFeature must be StaxTransf*or*mFeature.

Cheers Andi



--
View this message in context: 
http://cxf.547215.n5.nabble.com/Typo-in-wiki-tp4589705p4589705.html
Sent from the cxf-dev mailing list archive at Nabble.com.


-
Freeman Fang

FuseSource
Email:ff...@fusesource.com
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com











CXF Java first service, using XMLBean generated objects as the input and output parameters

2011-07-15 Thread cwhistler
So I have XML schemas from a client, and I have compiled them with XMLBeans
2.2.0 into java objects.  now I want to use those objects as input and
response parameters for some CXF generated web services.  I have tried CXF
versions 2.2.7 and 2.4.0.

I am deploying this in Weblogic 10.3.3 using Spring configuration.

So in my Java class I have tried using the generated document interface, the
implemenation class and the type class but none of these make any
difference.  My interface is setup as:

@WebService(name = "NasuProcessor", targetNamespace = "http://www.test.com";)
@SOAPBinding(style=Style.DOCUMENT, use=Use.LITERAL,
parameterStyle=ParameterStyle.WRAPPED)
public interface NasuProcessor {
@WebMethod
public MmmfResponseImpl wsProcess(@WebParam(name = "nasu") 
MmmfAccountImpl
nasuInput);

}


Most of the details that I can find simply state that I have to add the
XmlBeansDataBinding to my service configuration:









so I've tried this but I continue to receive the following exceptions.  it
just seems that the dataBinding is not being used.


Jul 15, 2011 12:03:20 PM
org.apache.cxf.service.factory.ReflectionServiceFactoryBean
buildServiceFromClass
INFO: Creating Service {http://www.test.com}NasuProcessorImplService from
class com.test.processors.nasu.NasuProcessor
Jul 15, 2011 12:03:20 PM org.apache.cxf.endpoint.ServerImpl initDestination
INFO: Setting the server's publish address to be /NasuProcessorBasicAuth

Caused By: java.security.PrivilegedActionException:
com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 7 counts of
IllegalAnnotationExceptions
noNamespace.impl.MmmfAccountDocumentImpl$MmmfAccountImpl does not have a
no-arg default constructor.
this problem is related to the following location:
at noNamespace.impl.MmmfAccountDocumentImpl$MmmfAccountImpl
at public 
noNamespace.impl.MmmfAccountDocumentImpl$MmmfAccountImpl
com.test.processors.maint.jaxws.WsProcess.maint
at com.test.processors.maint.jaxws.WsProcess
noNamespace.MmmfAccountDocument$MmmfAccount$AddressInfo is an interface, and
JAXB can't handle interfaces.
this problem is related to the following location:
at noNamespace.MmmfAccountDocument$MmmfAccount$AddressInfo
at public 
noNamespace.MmmfAccountDocument$MmmfAccount$AddressInfo[]
noNamespace.impl.MmmfAccountDocumentImpl$MmmfAccountImpl.getAddressInfoArray()
at noNamespace.impl.MmmfAccountDocumentImpl$MmmfAccountImpl
at public 
noNamespace.impl.MmmfAccountDocumentImpl$MmmfAccountImpl
com.test.processors.maint.jaxws.WsProcess.maint
at com.test.processors.maint.jaxws.WsProcess
noNamespace.MmmfAccountDocument$MmmfAccount$AddressInfo does not have a
no-arg default constructor.
this problem is related to the following location:
at noNamespace.MmmfAccountDocument$MmmfAccount$AddressInfo
at public 
noNamespace.MmmfAccountDocument$MmmfAccount$AddressInfo[]
noNamespace.impl.MmmfAccountDocumentImpl$MmmfAccountImpl.getAddressInfoArray()
at noNamespace.impl.MmmfAccountDocumentImpl$MmmfAccountImpl
at public 
noNamespace.impl.MmmfAccountDocumentImpl$MmmfAccountImpl
com.test.processors.maint.jaxws.WsProcess.maint
at com.test.processors.maint.jaxws.WsProcess
org.apache.xmlbeans.impl.values.XmlComplexContentImpl does not have a no-arg
default constructor.
this problem is related to the following location:
at org.apache.xmlbeans.impl.values.XmlComplexContentImpl
at noNamespace.impl.MmmfAccountDocumentImpl$MmmfAccountImpl
at public 
noNamespace.impl.MmmfAccountDocumentImpl$MmmfAccountImpl
com.test.processors.maint.jaxws.WsProcess.maint
at com.test.processors.maint.jaxws.WsProcess
org.apache.xmlbeans.StringEnumAbstractBase does not have a no-arg default
constructor.
this problem is related to the following location:
at org.apache.xmlbeans.StringEnumAbstractBase
at public org.apache.xmlbeans.StringEnumAbstractBase
org.apache.xmlbeans.impl.values.XmlObjectBase.getEnumValue()
at org.apache.xmlbeans.impl.values.XmlObjectBase
at org.apache.xmlbeans.impl.values.XmlComplexContentImpl
at noNamespace.impl.MmmfAccountDocumentImpl$MmmfAccountImpl
at public 
noNamespace.impl.MmmfAccountDocumentImpl$MmmfAccountImpl
com.test.processors.maint.jaxws.WsProcess.maint
at com.test.processors.maint.jaxws.WsProcess
org.apache.xmlbeans.GDate does not have a no-arg default constructor.
this problem is related to the following location:
at org.apache.xmlbeans.GDate
at public org.apache.xmlbeans.GDate
org.apache.xmlbeans.impl.values.XmlObjectBase.getGDateValue()
at o

Trailing Slash added in POST

2011-07-15 Thread KramKroc
Hi folks,

I'm using the JAXRSClientFactoryBean in a client to submit a POST to a
remote server. I've noticed that enough though the URI I supply does not
have a trailing slash and I don't supply any path parameters, the URI that
is invoked has a trailing slash inserted and the remote server is rejecting
the request as a result of this.

Is there anyway to stop the trailign slash from being inserted when no path
parameters are supplied?

/KramKroc

--
View this message in context: 
http://cxf.547215.n5.nabble.com/Trailing-Slash-added-in-POST-tp4586794p4586794.html
Sent from the cxf-dev mailing list archive at Nabble.com.