Now you have complete lost me. Can you be really specific as to what CXF API
calls you are making?

On Wed, Sep 24, 2008 at 2:16 PM, Kugaprakash Visagamani <
[EMAIL PROTECTED]> wrote:

> Hi,
> Appreciate your response, here is what I am trying to do:
>
> We have a layer in the middle CXF which actually interprets the server
> calls: ie., Server sends us a SOAP call, via WSDL definition.
> At the client side, using the WSDL definition, we converted to java data
> objects. Below was the sample code generated code. As you mentioned,
> looks like one way (Unmarshall) is taken care of. But the other
> direction (Marshalling) converting the java objects to WSDL soap call,
> is not specified. How do I do that, can you please let me know?
> Thanks
> Kuga
>
>
>
> -----Original Message-----
> From: Benson Margulies [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 24, 2008 11:11 AM
> To: [email protected]
> Subject: Re: WSDL CXF Issue!
>
> Off hand, I'd imagine that you don't have the same configuration in both
> directions.
>
> Can you tell us more precisely what you are doing? Is this a client
> program
> and a server program, both CXF? Could you have different data bindings?
>
> On Wed, Sep 24, 2008 at 2:00 PM, Kugaprakash Visagamani <
> [EMAIL PROTECTED]> wrote:
>
> > Hi,
> > Can anyone please help me with this issue?
> > Kind of stuck in here.
> > Thanks
> > Kuga
> >
> > -----Original Message-----
> > From: Kugaprakash Visagamani [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, September 23, 2008 10:56 PM
> > To: [email protected]
> > Cc: Suresh Adluru
> > Subject: WSDL CXF Issue!
> >
> > Hi,
> > Can anyone help me with following issue:
> > In the XSD I have a schema defined as follows:
> >
> > <complexType name="TestObject">
> >        <complexContent>
> >        <sequence>
> >          <element name="xyz_properties" minOccurs="0"
> > type="ib:bootp_props"/>
> >          <element name="client_name" minOccurs="0" type="string"/>
> >          </sequence>
> >        </complexContent>
> > </complexType>
> >
> > Using WsdlToJava the following is the generated class:
> >
> > @XmlAccessorType(XmlAccessType.FIELD)
> > @XmlType(name = "TestObject", propOrder = {
> >    "xyzProperties",
> >    "clientName"}
> > public class TestObject
> > {
> >    @XmlElement(name = "xyz_properties")
> >    protected BootpProps bootpProperties;
> >    @XmlElement(name = "client_name")
> >    protected String clientName;
> >
> > When doing on object read (SOAP) everything gets Unmarshalled
> correctly
> > and this TestObject is filled correctly.
> >
> > BUT: When try do a Object Write (SOAP) the xml response instead of
> send
> > the properties as "xyz_properties" or "client_name". It is sending as
> > xyzProperties & clientName.
> >
> > Is there any setting we need to do to be able send it as "_" ?
> > Thanks
> > Kuga
> >
>

Reply via email to