cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Mazza <glen.ma...@verizon.net>
Subject Re: [jira] Commented: (CXF-1356) Problem with unmarschalling parameters
Date Sun, 06 Jan 2008 22:29:02 GMT
Am Sonntag, den 06.01.2008, 17:01 -0500 schrieb Benson Margulies:
> > Hmmm....I believe with Document-Literal, the arguments (arg0 and arg1) are *not*
supposed to have namespace declarations, they take the namespace of the parent object (ns1:addNumbers).
 That may be the problem here.
> > 
> 
> The WSDL will tell us. What does it say?
> 
> 

According to Anne Thomas Manes[1] at least, namespaces declarations for
the soap:body elements in the WSDL are a no-no for document style.

[1] http://marc.info/?l=axis-user&m=117394780408840&w=2

Glen

> > 
> > > Problem with unmarschalling parameters
> > > --------------------------------------
> > >
> > >                 Key: CXF-1356
> > >                 URL: https://issues.apache.org/jira/browse/CXF-1356
> > >             Project: CXF
> > >          Issue Type: Bug
> > >          Components: JAXB Databinding
> > >    Affects Versions: 2.0.3
> > >         Environment: Tomcat 5.5.23, Spring 2.1-m2, CXF 2.0.3, jaxb-impl 2.0.5
> > >            Reporter: Martin Varecha
> > >         Attachments: AddNumbers.wsdl
> > >
> > >
> > > I tried to run sample application "fromwsdl" from jwsdp-2.0 using CXF. Classes
are generated using wsdl2java tool. 
> > > Service is running correctly, but something is wrong with unmarschalling parameters
from request message.
> > > Both parameters of method "addNumbers" are always 0.
> > > Message looks like this:
> > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> > >   <soap:Body>
> > >    <ns1:addNumbers xmlns:ns1="http://duke.org/">
> > >      <arg0 xmlns="http://duke.org/">1</arg0>
> > >      <arg1 xmlns="http://duke.org/">2</arg1>
> > >    </ns1:addNumbers>
> > >   </soap:Body>
> > > </soap:Envelope>
> > 
> 


Mime
View raw message