Apologies up front - I'm still new to Axis...

I've been folowing the Axis / Castor write up over on IBM's web site.  I've 
done everything in the writeup and understand (I think) up thru the deploy 
step.

My environment:

Linux
Tomcat 5.0.25
Axis 1.2 beta 3

I've put together a WSDL for a User Registration web service (attached below) 
that I'm playing with.  The web service is supposed to accept an XML document 
as input.  I haven't yet gotten to the output side so I've left output out of 
the wsdl (for the moment.)

I've gone thru the Axis and Castor source steps.  I have a deploy.wsdd file 
now that needs to be deployed (please note that the wsdd file attached needs 
to be fixed to point to the proper de/serializer - that's not my problem 
here...  I have fixed the de/serializer in the wsdd file that I'm attempting 
to deploy.)

2 things are bothering me about the deploy.wsdd file that is generated:

1) I followed the instructions for creating the Axis / Castor source.  But my 
source doesn't appear to be serializing a String (i.e. not using the wrapped 
style)  I didn't include -W when I ran WSDL2Java, so I'm confused about 
what's happening here.

2) If the generated code is not using the wrapped style, is it because I 
messed up the WSDL?  Or is there possible a bug I've run across?


Thanks much for your time!

Bob
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- edited with XMLSPY v2004 rel. 3 U (http://www.xmlspy.com) by Robert Bateman (Sequoia Group LLC) -->
<definitions name="RegisterUser" 
		    targetNamespace="http://www.sequoiallc.net/test_xml/WSDL/v1_0"; 
		    xmlns="http://schemas.xmlsoap.org/wsdl/"; 
		    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
		    xmlns:xsd="http://www.w3.org/2001/XMLSchema";
		    xmlns:tns="http://www.sequoiallc.net/test_xml/WSDL/v1_0"; 
		    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; 
		    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
		    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; 
		    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
		    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; 
		    xmlns:types="http://www.sequoiallc.net/test_xml/Schemas/v1_0";>

	<!-- Type Definitions -->
	<types>
		<xsd:schema elementFormDefault="qualified" 
				     targetNamespace="http://www.sequoiallc.net/test_xml/WSDL/v1_0/importTypes";>
			<xsd:import namespace="http://www.sequoiallc.net/test_xml/Schemas/v1_0"; 
					     schemaLocation="http://www.sequoiallc.net/test_xml/Schemas/v1_0/SGRegister.xsd"/>
		</xsd:schema>
	</types>

	<!-- Message Definitions -->
	<!-- Request message -->
	<message name="RegisterUserRequest">
		<part name="parameters" element="types:NewUser"/>
	</message>

	<!-- Port Type definitions -->
	<portType name="RegisterUserPortType">
		<operation name="registerWebUser">
			<input message="tns:RegisterUserRequest"/>
		</operation>
	</portType>

	<!-- Binding definitions -->
	<binding name="RegisterUserSOAPBinding"
		       type="tns:RegisterUserPortType">
		<soap:binding style="document"
					transport="http://schemas.xmlsoap.org/soap/http"/>
		<operation name="registerWebUser">
			<soap:operation style="document" soapAction="registerWebUser"/>
			<input>
				<soap:body use="literal"/>
			</input>
		</operation>
	</binding>

	<!-- Service definitions -->
	<service name="RegisterUserService">
		<port name="RegisterUserSOAPPort" binding="tns:RegisterUserSOAPBinding">
			<soap:address location="http://www.sequoiallc.com:8080/home/services/registerWebUser"/>
		</port>
	</service>

</definitions>

Reply via email to