Re: Example of JAXB and HashMap serialization?

2007-12-13 Thread Kaleb Walton
be able to get the above scenario working even if you did not have the source to the M class. - Chris Kaleb Walton wrote: Glen, Thanks for the response. It is a JAXB specific question and yes I did google for both of those but they turn up pages related to an XmlAdapter which doesn't seem

Re: Example of JAXB and HashMap serialization?

2007-11-29 Thread Kaleb Walton
? Glen Am Mittwoch, den 28.11.2007, 10:13 -0500 schrieb Kaleb Walton: I'm writing documentation for how to write services and got to a point where I have to say Do not use HashMap's in any of your services as CXF + JAXB does not support serializing HashMaps. I'd rather not have to say

RE: Missing namespace prefix on arg0 ?

2007-11-28 Thread Kaleb Walton
? | --| Look at the schema for elementFormDefault and/or specific form= modifiers. Code first? RPC or Doc? -Original Message- From: Kaleb Walton [mailto:[EMAIL PROTECTED] Sent: Monday, November 26, 2007 2:11 PM To: cxf-user@incubator.apache.org Subject

Example of JAXB and HashMap serialization?

2007-11-28 Thread Kaleb Walton
I'm writing documentation for how to write services and got to a point where I have to say Do not use HashMap's in any of your services as CXF + JAXB does not support serializing HashMaps. I'd rather not have to say that - are there any examples out there of how to get HashMaps to serialize

RE: Example of JAXB and HashMap serialization?

2007-11-28 Thread Kaleb Walton
- From: Kaleb Walton [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 28, 2007 10:14 AM To: cxf-user@incubator.apache.org Subject: Example of JAXB and HashMap serialization? I'm writing documentation for how to write services and got to a point where I have to say Do not use HashMap's

Specifying namespaceUri / default namespace for simple server

2007-11-20 Thread Kaleb Walton
Is there a way to specify the namespace that shows up in the WSDL root node using the simple:server? I see the default namespace is overridden in the JAXBDataBinding by a call to service.getName().getNamespaceURI() but I'm not sure where to fork this namespaceURI in my Spring config. Regards,

Re: Aegis databinding and Java 5 Generic List creating extra anyType field

2007-11-07 Thread Kaleb Walton
Cc: Kaleb Walton/Southfield/[EMAIL PROTECTED] Date: 11/07/2007 01:25 PM

RE: Specifying minOccurs for primitive properties with Simple Server

2007-11-07 Thread Kaleb Walton
with this? The problem here is that the thing you want to control is a property of the data binding, not the front end. From: Kaleb Walton [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 07, 2007 1:00 PM To: cxf-user@incubator.apache.org Cc: cxf-user@incubator.apache.org Subject

RE: Aegis databinding and Java 5 Generic List creating extra anyType field

2007-11-07 Thread Kaleb Walton
an extra level of type/element or not. Apparently, it isn't this one. While the code to parse the attribute exists, the code to actually pay attention to it does not. From: Kaleb Walton [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 06, 2007 11:27 AM To: cxf

RE: Specifying minOccurs for primitive properties with Simple Server

2007-11-07 Thread Kaleb Walton
can set a RuntimeInlineAnnotationReader? Something that can be set through one of the simple: Spring tags such as simple:properties? Regards, Kaleb From: Kaleb Walton/Southfield/[EMAIL PROTECTED

RE: Specifying minOccurs for primitive properties with Simple Server

2007-11-07 Thread Kaleb Walton
and it will be implemented soon! https://issues.apache.org/jira/browse/CXF-1184 Regards, Kaleb | | From: | | --| |Kaleb Walton

Aegis databinding and Java 5 Generic List creating extra anyType field

2007-11-06 Thread Kaleb Walton
Thanks to Aegis databinding I can specify the minOccurs on my primitive fields so the WSDL contract doesn't force them to be required. However, Aegis has introduced something else that I'm not familiar with. It may be proper but I'm not familiar with it and it seems to add one more level of a

RE: Aegis databinding and Java 5 Generic List creating extra anyType field

2007-11-06 Thread Kaleb Walton
be that this is the never-implemented 'flat' feature of Aegis. -Original Message- From: Kaleb Walton [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 06, 2007 8:55 AM To: cxf-user@incubator.apache.org Subject: Aegis databinding and Java 5 Generic List creating extra anyType field Thanks to Aegis

Specifying minOccurs for primitive properties with Simple Server

2007-11-05 Thread Kaleb Walton
Pardon me if this has been answered already - couldn't find it anywhere in Nabble. Is there a way to specify minOccurs for primitive properties with the Simple Server? Since many of our consumers use dynamic languages that do not have default values for primitives I am forced to use complex

Re: Specifying minOccurs for primitive properties with Simple Server

2007-11-05 Thread Kaleb Walton
| --| | | Cc:| | --| |Kaleb Walton/Southfield/[EMAIL PROTECTED

RE: Specifying minOccurs for primitive properties with Simple Server

2007-11-05 Thread Kaleb Walton
: Kaleb Walton [mailto:[EMAIL PROTECTED] Sent: Monday, November 05, 2007 4:13 PM To: cxf-user@incubator.apache.org Cc: Daniel Kulp Subject: Re: Specifying minOccurs for primitive properties with Simple Server Thanks for the suggestion. Right now since we use the Simple Server we have ZERO

Custom Exceptions using Simple Server

2007-11-02 Thread Kaleb Walton
I've been digging around trying to find a way to enable custom exceptions to be thrown using the Simple Server and am pretty stumped. I'm trying to enable ServiceExceptions to be thrown from one of my service interfaces but when I call it I get an exception such as: Caused by:

Re: Custom Exceptions using Simple Server

2007-11-02 Thread Kaleb Walton
custom exceptions in the service interfaces? Regards, Kaleb | | From: | | --| |Kaleb Walton/Southfield/[EMAIL PROTECTED

Re: Custom Exceptions using Simple Server

2007-11-02 Thread Kaleb Walton
:| | --| |Kaleb Walton/Southfield/[EMAIL PROTECTED

RE: CXF + ACEGI security - full example

2007-10-15 Thread Kaleb Walton
Thank you for the example! | | From: | | --| |Anne Racel [EMAIL PROTECTED]

Specifying a SOAP-ENC / encoding type using simple server

2007-10-03 Thread Kaleb Walton
A consumer of mine is asking me to specify something like this: SOAP-ENV:Envelope SOAP-ENV:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/; xmlns:xsi=http://www.w3.org/1999/XMLSchema-instance;

Re: Empty List's not being marshaled?

2007-10-03 Thread Kaleb Walton
:| | --| |Kaleb Walton/Southfield/[EMAIL PROTECTED

Responses don't get xml tag and encoding type

2007-10-03 Thread Kaleb Walton
To add on to my previous question regarding SOAP encoding types, I realized that what I'm really looking for is simply the ?xml version=1.0 encoding =UTF-8? or whatever encoding is used to be output along with the response XML. When I look at the response I do not see that line. I'm using the

Empty List's not being marshaled?

2007-10-02 Thread Kaleb Walton
I'm using the simple server configured via Spring. When an object contains an empty list (not null) my response does not return it as an empty list - it just excludes the property from the response. Is there any way to force it to include the property? Regards, Kaleb

Specifying an exception as a WebFault using Simple Server (simple:server)

2007-09-24 Thread Kaleb Walton
Can anyone speak to this issue? I have not yet found a solution. Regards, Kaleb | | From: | | --| |Kaleb Walton

Specifying an exception as a WebFault using Simple Server (simple:server)

2007-09-18 Thread Kaleb Walton
Exceptions that I throw are not rendered as Fault's to web service clients even after specifying WebFault annotations on the Exception class. I can see the ServiceException in the WSDL but the methods themselves are just ignoring the fact that I'm throwing exceptions. Can anyone point me in the

HashMap as parameter for web service call

2007-09-18 Thread Kaleb Walton
I cannot seem to get a HashMap to work as a parameter when making a web service call via PHP. Has anyone else experienced this? I want to encapsulate my parameters in a more complex object that extends HashMap. Regards, Kaleb

Multiple CXFServlet's?

2007-08-31 Thread Kaleb Walton
I'd like to have multiple CXFServlets in the same container with separate applicationContext.xml's. Is that possible? I'd like to be able to have: /services/* - public services /private-services/* - private, internally used services that require more authentication I don't want the public to

Re: Multiple CXFServlet's?

2007-08-31 Thread Kaleb Walton
? | --| Kaleb Walton wrote: I'd like to have multiple CXFServlets in the same container with separate applicationContext.xml's. Is that possible? I'd like to be able

Acegi Security with CXF

2007-08-27 Thread Kaleb Walton
Does anyone have an example of authenticating with Acegi Security using a Simple Server? I'd like to pass the authentication token as easily and securely as possible - http://www.vorburger.ch/blog1/2006/10/propagating-acegis-security-context-in.html suggests passing it in the SOAP headers.

Re: AW: Passing method parameters using PHP SoapClient failing

2007-08-24 Thread Kaleb Walton
( $serviceWsdl, $serviceParams ); // method call $res = $client-getCustomerById( array( 'auth' = passwd, 'customerId' = 2 ) ); var_dump( $res ); -Ursprüngliche Nachricht- Von: Kaleb Walton [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 23. August 2007 14:55 An: cxf-user@incubator.apache.org

Re: JSON output

2007-08-23 Thread Kaleb Walton
for JSON. Cheers, Jervis -Original Message- From: Kaleb Walton [mailto:[EMAIL PROTECTED] Sent: 2007?8?22? 22:42 To: cxf-user@incubator.apache.org Subject: JSON output Is there an easy way to use JSON

Re: Aegis Data Binding w/Spring

2007-08-22 Thread Kaleb Walton
=serviceClass value=org.apache.cxf.authservice.AuthService/ property name=address value=http://localhost:9002/service/ property name=dataBinding ref=aegisDatabinding/ /bean Best Regards Freeman Kaleb Walton wrote: Anyone have a sample Spring configuration that shows

Spring Scripted Bean as Implementor

2007-08-21 Thread Kaleb Walton
/ jaxws:endpoint id=hello implementor=#helloService address=/Hello / -- does not work HelloServiceImpl implements the HelloService interface. Any ideas? Regards, Kaleb Walton

Aegis Data Binding w/Spring

2007-08-21 Thread Kaleb Walton
Anyone have a sample Spring configuration that shows how to set up Aegis Data Binding for both server and client beans? I'm trying to get Scripted Beans to work as the Service Implementors and am concerned that the annotations are why they don't work with JAX. Thanks! Regards, Kaleb Walton