cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ostermueller, Erik" <Erik.Ostermuel...@fnis.com>
Subject RE: names matter?
Date Mon, 29 Sep 2008 20:19:26 GMT
Would it help if you could replace the <arg0> with a name of your
choosing?

If you're doing java-first, try something like this:

@WebService
public interface MyInterface {
	void myMethod( 
			@WebParam(name="MyXmlTagName") int myNum);
}
-----Original Message-----
From: Benson Margulies [mailto:bimargulies@gmail.com] 
Sent: Monday, September 29, 2008 3:11 PM
To: users@cxf.apache.org
Subject: Re: names matter?

I don't think so. It would take a very interesting interceptor. However,
I may be missing something.

On Mon, Sep 29, 2008 at 4:07 PM, John Hite <jhite@appsecinc.com> wrote:

> Hi,
>
>
>
> Is there a way to tell CXF to ignore the names of method parameters? 
> I'm trying to get it to work with another soap library that is 
> agnostic to parameter names. This causes trouble when the parameter 
> name changes and I am not aware that it was changed.
>
>
>
> As an example, I want this SOAP message
>
>
>
> <ns1:getVersion xmlns:ns1="http://soap.example.com/">
>
> <in0>100018</in0>
>
> </ns1:getVersion>
>
>
>
> and this SOAP message
>
>
>
> <ns1:getVersion xmlns:ns1="http://soap.example.com/">
>
> <arg0>100018</arg0>
>
> </ns1:getVersion>
>
>
>
> to be both recognized and handled properly. Is this possible?
>
>
>
> Thanks,
>
> John
>
>
>
>

_____________

The information contained in this message is proprietary and/or confidential. If you are not
the 
intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, 
distribute or use the message in any manner; and (iii) notify the sender immediately. In addition,

please be aware that any message addressed to our domain is subject to archiving and review
by 
persons other than the intended recipient. Thank you.
_____________

Mime
View raw message