PLEASE HELP!!! - I'm stuck

I have a webservice that uses 2 beanS.  One bean contains a reference to the
other.

When i try to deploy the webservice without bean mappings it works and i get
my wsdl defined
like below. But when i add beanMapping tags to serialize my beans the deploy
fails without an error

This is the wsdl from the successfull mapping without beanMapping tags

<?xml version="1.0" encoding="UTF-8" ?>
- <wsdl:definitions
targetNamespace="http://localhost:8080/axis/services/ChatService";
xmlns:apachesoap="http://xml.apache.org/xml-soap";
xmlns:impl="http://localhost:8080/axis/services/ChatService";
xmlns:intf="http://localhost:8080/axis/services/ChatService";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:tns1="http://www.w3.org/1999/XMLSchema";
xmlns:tns2="http://www.w3.org/2003/05/soap-encoding";
xmlns:tns3="http://iface.server.simplechat.eagleinfosystems.org";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
- <!--
WSDL created by Apache Axis version: 1.2alpha
Built on Dec 01, 2003 (04:33:24 EST)

  -->
- <wsdl:types>
- <schema
targetNamespace="http://iface.server.simplechat.eagleinfosystems.org";
xmlns="http://www.w3.org/2001/XMLSchema";>
  <import namespace="http://schemas.xmlsoap.org/soap/encoding/"; />
- <complexType name="ChatPerson">
- <sequence>
  <element name="nickname" nillable="true" type="tns2:string" />
  </sequence>
  </complexType>
- <complexType name="ChatMessage">
- <sequence>
  <element name="author" nillable="true" type="tns3:ChatPerson" />
  <element name="id" type="xsd:long" />
  <element name="text" nillable="true" type="tns2:string" />
  <element name="timestamp" nillable="true" type="xsd:dateTime" />
  </sequence>
  </complexType>
  </schema>
- <schema targetNamespace="http://localhost:8080/axis/services/ChatService";
xmlns="http://www.w3.org/2001/XMLSchema";>
  <import namespace="http://schemas.xmlsoap.org/soap/encoding/"; />
- <complexType name="ArrayOf_tns3_ChatMessage">
- <complexContent>
- <restriction base="soapenc:Array">
  <attribute ref="soapenc:arrayType" wsdl:arrayType="tns3:ChatMessage[]" />
  </restriction>
  </complexContent>
  </complexType>
  </schema>
  </wsdl:types>
- <wsdl:message name="getMessagesAfterRequest">
  <wsdl:part name="timestamp" type="xsd:long" />
  </wsdl:message>
  <wsdl:message name="getAllMessagesRequest" />
- <wsdl:message name="postMessageRequest">
  <wsdl:part name="message" type="tns2:string" />
  <wsdl:part name="nickname" type="tns2:string" />
  </wsdl:message>
  <wsdl:message name="getLastMessageIdRequest" />
- <wsdl:message name="getMessagesAfterResponse">
  <wsdl:part name="getMessagesAfterReturn"
type="impl:ArrayOf_tns3_ChatMessage" />
  </wsdl:message>
- <wsdl:message name="getAllMessagesResponse">
  <wsdl:part name="getAllMessagesReturn"
type="impl:ArrayOf_tns3_ChatMessage" />
  </wsdl:message>
  <wsdl:message name="postMessageResponse" />
- <wsdl:message name="getLastMessageIdResponse">
  <wsdl:part name="getLastMessageIdReturn" type="xsd:long" />
  </wsdl:message>
- <wsdl:portType name="ChatService">
- <wsdl:operation name="postMessage" parameterOrder="message nickname">
  <wsdl:input message="impl:postMessageRequest" name="postMessageRequest" />
  <wsdl:output message="impl:postMessageResponse" name="postMessageResponse"
/>
  </wsdl:operation>
- <wsdl:operation name="getAllMessages">
  <wsdl:input message="impl:getAllMessagesRequest"
name="getAllMessagesRequest" />
  <wsdl:output message="impl:getAllMessagesResponse"
name="getAllMessagesResponse" />
  </wsdl:operation>
- <wsdl:operation name="getMessagesAfter" parameterOrder="timestamp">
  <wsdl:input message="impl:getMessagesAfterRequest"
name="getMessagesAfterRequest" />
  <wsdl:output message="impl:getMessagesAfterResponse"
name="getMessagesAfterResponse" />
  </wsdl:operation>
- <wsdl:operation name="getLastMessageId">
  <wsdl:input message="impl:getLastMessageIdRequest"
name="getLastMessageIdRequest" />
  <wsdl:output message="impl:getLastMessageIdResponse"
name="getLastMessageIdResponse" />
  </wsdl:operation>
  </wsdl:portType>
- <wsdl:binding name="ChatServiceSoapBinding" type="impl:ChatService">
  <wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"; />
- <wsdl:operation name="postMessage">
  <wsdlsoap:operation soapAction="" />
- <wsdl:input name="postMessageRequest">
  <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://impl.server.simplechat.eagleinfosystems.org"; use="encoded"
/>
  </wsdl:input>
- <wsdl:output name="postMessageResponse">
  <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://localhost:8080/axis/services/ChatService"; use="encoded" />
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="getAllMessages">
  <wsdlsoap:operation soapAction="" />
- <wsdl:input name="getAllMessagesRequest">
  <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://impl.server.simplechat.eagleinfosystems.org"; use="encoded"
/>
  </wsdl:input>
- <wsdl:output name="getAllMessagesResponse">
  <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://localhost:8080/axis/services/ChatService"; use="encoded" />
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="getMessagesAfter">
  <wsdlsoap:operation soapAction="" />
- <wsdl:input name="getMessagesAfterRequest">
  <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://impl.server.simplechat.eagleinfosystems.org"; use="encoded"
/>
  </wsdl:input>
- <wsdl:output name="getMessagesAfterResponse">
  <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://localhost:8080/axis/services/ChatService"; use="encoded" />
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="getLastMessageId">
  <wsdlsoap:operation soapAction="" />
- <wsdl:input name="getLastMessageIdRequest">
  <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://impl.server.simplechat.eagleinfosystems.org"; use="encoded"
/>
  </wsdl:input>
- <wsdl:output name="getLastMessageIdResponse">
  <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://localhost:8080/axis/services/ChatService"; use="encoded" />
  </wsdl:output>
  </wsdl:operation>
  </wsdl:binding>
- <wsdl:service name="ChatServiceService">
- <wsdl:port binding="impl:ChatServiceSoapBinding" name="ChatService">
  <wsdlsoap:address
location="http://192.168.1.105:8080/axis/services/ChatService"; />
  </wsdl:port>
  </wsdl:service>
  </wsdl:definitions>


THE PROBLEM IS WHEN I ADD THESE BEAN MAPPINGS THE SERVICE WILL NOT DEPLOY

<beanMapping
  qname="ns:ChatMessage"
  xmlns:ns="urn:ChatService"
  languageSpecificType="java:org.eagleinfosystems.simplechat.server.impl.Cha
tMessage" />

<beanMapping
 qname="ns:ChatPerson"
 xmlns:ns="urn:ChatService"
 languageSpecificType="java:org.eagleinfosystems.simplechat.server.impl.Chat
Person" />


THERE IS NO ERROR IN THE CONSOLE - THE SERVICE JUST WILL NOT DEPLOY..

PLEASE HELP!!!!!!


Reply via email to