void return type not implemented?

2003-09-30 Thread Steve Maring
service on top of a method like: public void addPerson( Person person ) I'd rather not return boolean or something. I don't want my web service layer to drive my business logic. Many Thanks. Steve Maring __ Do you Yahoo!? The New Yahoo! Shopping - with improved

accepting a return type of Void

2003-09-29 Thread Steve Maring
. Steve Maring ?xml version=1.0 encoding=UTF-8? wsdl:definitions targetNamespace=http://ws.addressbook.maring.org; xmlns:impl=http://ws.addressbook.maring.org; xmlns:intf=http://ws.addressbook.maring.org; xmlns:apachesoap=http://xml.apache.org/xml-soap; xmlns:wsdlsoap

Re: schema imports

2003-08-21 Thread Steve Maring
, they complain that the namespaces are not imported. Then you import them with the wsdl:import and it still complains. Gotta love management mandates! I feel your pain man. Cheers. Steve Maring --- Cory Wilkerson [EMAIL PROTECTED] wrote: Given the following WSDL document (obviously paraphrased

RE: schema imports

2003-08-21 Thread Steve Maring
=CreatePersonRequest sequence element ref=dto:personDetail/ /sequence /complexType /element ... /schema /wsdl:type Cheers Steve Maring --- Mike Perham [EMAIL PROTECTED] wrote: I don't know if this is useful to you but you can just import a file

Re: Unable to create JavaBean of type AbstractClass. Missing default constructor? Error was: java.lang.InstantiationException

2003-08-20 Thread Steve Maring
You are outside of the scope and capabilities of the default type mapping as defined in Chapter 4 5 of the JAX-RPC spec. You will need to plug in your own (de)serializer. Someone recently asked the same question. Check the archives. Cheers. Steve Maring --- [EMAIL PROTECTED] wrote: I

Re: Help needed serializing a bean.

2003-08-19 Thread Steve Maring
it into the TypeMappingRegistry with your WSDD so that your XML and JavaBeans are consistent across your web services and J2EE enterprise.   Cheers. Steve Maring Christoph Gaffga [EMAIL PROTECTED] wrote:Hi, I have a very simple test Bean, I want to serialize to System.out. Is thos possible? I

Re: castor axis marshalling

2003-08-15 Thread Steve Maring
eserializerFactory" encodingStyle="" / typeMapping xmlns:ns="http://ws.maring.org" qname="ns:In0" type="java:org.maring.ws.In0" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" deserializer="org.apache.axis.encoding.ser.B

Re: Using CastorSerializer for return value causing error

2003-08-15 Thread Steve Maring
The CastorSerializer in the Axis source tree is flawed. Remove the first line of the serialize method that makes reference to serializationContext.startElement(). This will fix your problem. I'd highly recommend writing your own so that you can use your own mapping anyway. Cheers. Steve Maring

Re: targetService is null

2003-08-08 Thread Steve Maring
. Steve Maring "Jeyakumaran.C" [EMAIL PROTECTED] wrote: hi,If i correctly pick ur prblem,then have u copied yr class file in to the web-inf/claases folder.Or else ur service may not be properly deployed.Just follow the axis samples deploy files and make sure yr deployment.regards,Jey

combining BeanSerializer with custom serializer gives redundant elements

2003-08-07 Thread Steve Maring
t;. If tried saying this in my WSDL: element name="myMethodRequest" type="A"/ but then WSDL2Java does not generate a MyMethodRequest class for some reason. Thoughts? Cheers. Steve Maring Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software