i posted the stacktraces above. which one do you mean?
try your personService example by saving a new Person from a
webserviceClient like this one:
public static void main(String args[]){
PersonService p = new PersonService();
PersonServicePortType x =
p.getPersonServiceHttpPort();
ArrayOfPerson y =
(ArrayOfPerson)x.findByLastName("Raible");
System.out.println(y.getPerson().get(0).getFirstName().getValue());
Person person = new Person();
JAXBElement<String> name = new JAXBElement<String>(new
QName("first_name"),String.class,"some");
person.setFirstName(name);
JAXBElement<String> name1 = new
JAXBElement<String>(new
QName("last_name"),String.class,"some1");
person.setLastName(name1);
x.save(person);
}
it gives you the errors above from axis ... maybe cxf is the answer??
mraible wrote:
>
> Can you please post your stacktrace and model object?
>
> Thanks,
>
> Matt
>
> On Dec 20, 2008, at 1:28 PM, agathon <[email protected]> wrote:
>
>>
>> using the save method of the GenericDaoHibernate class is somehow
>> not working
>> with webservices !!!
>> maybe something with the parameter type "Object"?
>> you have to create a save method in your PersonManger,
>> PersonMangerImpl,
>> PersonDaoHibernate, PersonDaoHibernateImpl.
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/axis-stackoverflow-tp21091534s2369p21108679.html
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
--
View this message in context:
http://www.nabble.com/axis-stackoverflow-tp21091534s2369p21111449.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]