targetService is null

2003-08-14 Thread steve . s . maring
The AxisServlet tells me that my service is available, and my test case uses the ServiceLocator that was generated, which appears to have the correct URL, but my client test case keeps getting a SOAP fault of: AxisFault faultCode: {http://xml.apache.org/axis/}Server.NoService faultSubcode: faul

complexType not found by WSDL2Java in imported schema

2003-08-01 Thread steve . s . maring
I may be doing something wrong here. I have an existing set of schemas from which I use Castor to generate JavaBeans. I then specify a typeMapping in the WSDD to use Castor serializers. I need these schemas available to the WSDL for message definition, however, I do not want WSDL2Java to try and

Re: encoding.ser.castor

2003-07-31 Thread steve . s . maring
Well, if you are plugging in your own serializers, then you certainly won't be interested in the data types generated by the WSDL2Java process. Those are designed to work with the BeanSerializer.

Re: encoding.ser.castor

2003-07-31 Thread steve . s . maring
David, I'm about to do this myself, with the exception of using my own set of CastorSerializer classes so that it will look for my custom mapping. So I'm very interested in this topic. I wonder if the encodingStyle should be somthing else? Have you confirmed that the (un)marshalling process is

Re: Starting document\wrapped services

2003-07-28 Thread steve . s . maring
Hmm. Well, I'd recommend starting with the following: SOAP specs WSDL specs JAX-RPC spec These documents will answer about 90% of the questions about web services that you will ever have. The other 10% will come from the Apache Axis documentation and this list. Good luck.

RE: WSDL2Java with JAXB ??

2003-07-25 Thread steve . s . maring
Good question. I know that the JAX-RPC spec defines how the WSDL <-> Java mapping should take place. However, I can't really tell if the WSDL2Java process in Axis uses the serialization framework and could be configured to use a different set of factories. My guess would be no. Source code gene

RE: WSDL2Java with JAXB ??

2003-07-24 Thread steve . s . maring
In JAXB, you can specify that your bindings are either written in your XSD, in another namespace, or placed in an external binding file. I would certainly opt for the later. However, the current JAXB requires that you specify your global bindings in your XSD if you want to use the extensions that

Re: WSDL2Java with JAXB ??

2003-07-24 Thread steve . s . maring
Yes, you could write a JAXBSerializer, JAXBDeserializer, JAXBSerializerFactory, and JAXBDeserializerFactory. Then, map your QNAME to your Java class, specifying these factories, in the typemapping section of your WSDD. However, you might want to consider using Castor or JiBX instead, and write se

Re: serializer question

2003-07-23 Thread steve . s . maring
Axis is an implementation of JAX-RPC, so the JAX-RPC specification is where you will learn about how this type mapping is to take place. I seem to recall that the underscore prefix had something to do with not explicitly defining a name for a complexType, but I could be wrong. Steve Maring

RE: serializer.serialize() and org.xml.sax.Attributes

2003-07-22 Thread steve . s . maring
Writing a Castor mapping.xml is not the problem. Doing that externally is fairly trivial. The problem seems to be that the current CastorSerializer and CastorDeserializer do not look for any kind of mapping file in the classpath to allow for custom mappings. The process of registering factories

RE: serializer.serialize() and org.xml.sax.Attributes

2003-07-22 Thread steve . s . maring
Thanks for the envite Dims. If I can figure out how to write a JiBXSerializer, JiBXSerializerFactory, JiBXDeserializer, and JiBXDeserializerFactory, then I will certainly do that. The Castor ones look to be pretty straight forward and don't seem to ask for any SOAP message context data. However,

Re: how do i diable default logging mechanism in axis which is using tomcat

2003-07-22 Thread steve . s . maring
1) unjar the Axis.jar 2) remove the log4j.properties in the root 3) jar up Axis.jar again 4) put YOUR log4j.properties in the classpath Cheers Steve Maring

RE: serializer.serialize() and org.xml.sax.Attributes

2003-07-22 Thread steve . s . maring
More specifically, my JavaBean uses the BeanSerializer. It is dying on line 143 of BeanSerializer with a NullPointerException: 143>String encodingStyle = context.getMessageContext().getEncodingStyle (); Which would certainly imply that the serialization framework cannot be used outside of th

serializer.serialize() and org.xml.sax.Attributes

2003-07-22 Thread steve . s . maring
I'm trying to manually serialize a JavaBean with the serialize method in org.apache.axis.encoding.Serializer. The does anyone know anything about the attributes parameter? It does not like me passing it null. serialize(QName name, org.xml.sax.Attributes attributes, java.lang.Object value, Serial

more WSDL2Java Serializer/Deserializer stress

2003-07-21 Thread steve . s . maring
I've already let out a few primal screams over this one! I cannot find ANY good references for how to use the Axis type mapping features in the form of Serializers and Deserializers external to what automatically happens when calling a web service. Before I began implementing my service as a web

Java2WSDL not generating Service

2003-07-18 Thread steve . s . maring
Any thoughts on why the WSDL generated from this target is lacking a Service element entry? I get a PortType and a Binding, but no Service. Cheers Steve Maring http://localhost:8080/axis/services/FirmDirectoryService"/>