Env: Axis 1.4, Struts 1.2.9, Hibernate 3.2
Any help with the following error would be greatly appreciated
..wsdd and .wsdl included below

AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: Tried to invoke method public void com.hfy.webservice.property.PropertyService.delete(com.hfy.domain.Property) with arguments com.hfy.domain.Property. The arguments do not match the signature.; nested exception is: java.lang.IllegalArgumentException: object is not an instance of declaring class
faultActor:
faultNode:
faultDetail:
        {http://xml.apache.org/axis/}hostname:owner-87818a405
Tried to invoke method public void com.hfy.webservice.property.PropertyService.delete(com.hfy.domain.Property) with arguments com.hfy.domain.Property. The arguments do not match the signature.; nested exception is: java.lang.IllegalArgumentException: object is not an instance of declaring class at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
        at org.apache.axis.client.Call.invoke(Call.java:2767)
        at org.apache.axis.client.Call.invoke(Call.java:2443)
        at org.apache.axis.client.Call.invoke(Call.java:2366)
        at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.hfy.webservice.client.PropertyServiceSoapBindingStub.delete(PropertyServiceSoapBindingStub.java:252) at com.hfy.action.DeletePropertyAction.execute(DeletePropertyAction.java:51)

===========================================================
..wsdd
============================================
<deployment xmlns="http://xml.apache.org/axis/wsdd/";
           xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>

<service name="PropertyService" provider="java:RPC">

 <requestFlow>
  <handler type="soapmonitor"/>
 </requestFlow>
 <responseFlow>
  <handler type="soapmonitor"/>
 </responseFlow>

<parameter name="className" value="com.hfy.webservice.property.PropertyService"/>
 <parameter name="allowedMethods" value="*"/>
 <parameter name="scope" value="session"/>

 <beanMapping qname="myNS:Property" xmlns:myNS="urn:BeanService"
              languageSpecificType="java:com.hfy.domain.Property"/>
 <beanMapping qname="myNS:Address" xmlns:myNS="urn:BeanService"
              languageSpecificType="java:com.hfy.domain.Address"/>
 <beanMapping qname="myNS:Office" xmlns:myNS="urn:BeanService"
              languageSpecificType="java:com.hfy.domain.Office"/>
 <beanMapping qname="myNS:Type" xmlns:myNS="urn:BeanService"
              languageSpecificType="java:com.hfy.domain.Type"/>

</service>

</deployment>
==================================================================
..wsdl
=================================================================
<wsdl:definitions targetNamespace="http://localhost:8080/axis/services/PropertyService";>
&#8722;
        <!--
WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)
-->
&#8722;
        <wsdl:types>
&#8722;
        <schema targetNamespace="urn:BeanService">
<import namespace="http://xml.apache.org/xml-soap"/>
<import namespace="http://localhost:8080/axis/services/PropertyService"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
&#8722;
        <complexType name="Type">
&#8722;
        <sequence>
<element name="id" nillable="true" type="xsd:int"/>
<element name="key" nillable="true" type="xsd:string"/>
<element name="value" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
&#8722;
        <complexType name="Address">
&#8722;
        <sequence>
<element name="city" nillable="true" type="xsd:string"/>
<element name="country" nillable="true" type="xsd:string"/>
<element name="id" nillable="true" type="xsd:int"/>
<element name="state" nillable="true" type="xsd:string"/>
<element name="street" nillable="true" type="xsd:string"/>
<element name="type" nillable="true" type="tns1:Type"/>
<element name="zip" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
&#8722;
        <complexType name="Office">
&#8722;
        <sequence>
<element name="id" nillable="true" type="xsd:int"/>
<element name="name" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
&#8722;
        <complexType name="Property">
&#8722;
        <sequence>
<element name="address" nillable="true" type="tns1:Address"/>
<element name="appearOnPublic" nillable="true" type="xsd:boolean"/>
<element name="id" nillable="true" type="xsd:int"/>
<element name="office" nillable="true" type="tns1:Office"/>
<element name="price" nillable="true" type="xsd:int"/>
<element name="rooms" nillable="true" type="impl:ArrayOf_xsd_anyType"/>
<element name="style" nillable="true" type="tns1:Type"/>
</sequence>
</complexType>
</schema>
&#8722;
<schema targetNamespace="http://localhost:8080/axis/services/PropertyService";>
<import namespace="http://xml.apache.org/xml-soap"/>
<import namespace="urn:BeanService"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
&#8722;
        <complexType name="ArrayOf_xsd_anyType">
&#8722;
        <complexContent>
&#8722;
        <restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:anyType[]"/>
</restriction>
</complexContent>
</complexType>
</schema>
&#8722;
        <schema targetNamespace="http://xml.apache.org/xml-soap";>
<import namespace="urn:BeanService"/>
<import namespace="http://localhost:8080/axis/services/PropertyService"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
&#8722;
        <complexType name="Vector">
&#8722;
        <sequence>
<element maxOccurs="unbounded" minOccurs="0" name="item" type="xsd:anyType"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
&#8722;
        <wsdl:message name="getPropertyDetailResponse">
<wsdl:part name="getPropertyDetailReturn" type="tns1:Property"/>
</wsdl:message>
<wsdl:message name="deleteResponse">

  </wsdl:message>
&#8722;
        <wsdl:message name="deleteRequest">
<wsdl:part name="p" type="tns1:Property"/>
</wsdl:message>
<wsdl:message name="getPropertyListRequest">

  </wsdl:message>
<wsdl:message name="mainResponse">

  </wsdl:message>
<wsdl:message name="createResponse">

  </wsdl:message>
<wsdl:message name="getPropertyDetailRequest">

  </wsdl:message>
&#8722;
        <wsdl:message name="createRequest">
<wsdl:part name="p" type="tns1:Property"/>
</wsdl:message>
<wsdl:message name="updateResponse">

  </wsdl:message>
&#8722;
        <wsdl:message name="updateRequest">
<wsdl:part name="p" type="tns1:Property"/>
</wsdl:message>
&#8722;
        <wsdl:message name="mainRequest">
<wsdl:part name="args" type="xsd:string"/>
</wsdl:message>
&#8722;
        <wsdl:message name="getPropertyListResponse">
<wsdl:part name="getPropertyListReturn" type="apachesoap:Vector"/>
</wsdl:message>
&#8722;
        <wsdl:portType name="PropertyService">
&#8722;
        <wsdl:operation name="main" parameterOrder="args">
<wsdl:input message="impl:mainRequest" name="mainRequest"/>
<wsdl:output message="impl:mainResponse" name="mainResponse"/>
</wsdl:operation>
&#8722;
        <wsdl:operation name="delete" parameterOrder="p">
<wsdl:input message="impl:deleteRequest" name="deleteRequest"/>
<wsdl:output message="impl:deleteResponse" name="deleteResponse"/>
</wsdl:operation>
&#8722;
        <wsdl:operation name="create" parameterOrder="p">
<wsdl:input message="impl:createRequest" name="createRequest"/>
<wsdl:output message="impl:createResponse" name="createResponse"/>
</wsdl:operation>
&#8722;
        <wsdl:operation name="update" parameterOrder="p">
<wsdl:input message="impl:updateRequest" name="updateRequest"/>
<wsdl:output message="impl:updateResponse" name="updateResponse"/>
</wsdl:operation>
&#8722;
        <wsdl:operation name="getPropertyList">
<wsdl:input message="impl:getPropertyListRequest" name="getPropertyListRequest"/> <wsdl:output message="impl:getPropertyListResponse" name="getPropertyListResponse"/>
</wsdl:operation>
&#8722;
        <wsdl:operation name="getPropertyDetail">
<wsdl:input message="impl:getPropertyDetailRequest" name="getPropertyDetailRequest"/> <wsdl:output message="impl:getPropertyDetailResponse" name="getPropertyDetailResponse"/>
</wsdl:operation>
</wsdl:portType>
&#8722;
<wsdl:binding name="PropertyServiceSoapBinding" type="impl:PropertyService"> <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
&#8722;
        <wsdl:operation name="main">
<wsdlsoap:operation soapAction=""/>
&#8722;
        <wsdl:input name="mainRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://property.webservice.hfy.com"; use="encoded"/>
</wsdl:input>
&#8722;
        <wsdl:output name="mainResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://localhost:8080/axis/services/PropertyService"; use="encoded"/>
</wsdl:output>
</wsdl:operation>
&#8722;
        <wsdl:operation name="delete">
<wsdlsoap:operation soapAction=""/>
&#8722;
        <wsdl:input name="deleteRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://property.webservice.hfy.com"; use="encoded"/>
</wsdl:input>
&#8722;
        <wsdl:output name="deleteResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://localhost:8080/axis/services/PropertyService"; use="encoded"/>
</wsdl:output>
</wsdl:operation>
&#8722;
        <wsdl:operation name="create">
<wsdlsoap:operation soapAction=""/>
&#8722;
        <wsdl:input name="createRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://property.webservice.hfy.com"; use="encoded"/>
</wsdl:input>
&#8722;
        <wsdl:output name="createResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://localhost:8080/axis/services/PropertyService"; use="encoded"/>
</wsdl:output>
</wsdl:operation>
&#8722;
        <wsdl:operation name="update">
<wsdlsoap:operation soapAction=""/>
&#8722;
        <wsdl:input name="updateRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://property.webservice.hfy.com"; use="encoded"/>
</wsdl:input>
&#8722;
        <wsdl:output name="updateResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://localhost:8080/axis/services/PropertyService"; use="encoded"/>
</wsdl:output>
</wsdl:operation>
&#8722;
        <wsdl:operation name="getPropertyList">
<wsdlsoap:operation soapAction=""/>
&#8722;
        <wsdl:input name="getPropertyListRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://property.webservice.hfy.com"; use="encoded"/>
</wsdl:input>
&#8722;
        <wsdl:output name="getPropertyListResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://localhost:8080/axis/services/PropertyService"; use="encoded"/>
</wsdl:output>
</wsdl:operation>
&#8722;
        <wsdl:operation name="getPropertyDetail">
<wsdlsoap:operation soapAction=""/>
&#8722;
        <wsdl:input name="getPropertyDetailRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://property.webservice.hfy.com"; use="encoded"/>
</wsdl:input>
&#8722;
        <wsdl:output name="getPropertyDetailResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://localhost:8080/axis/services/PropertyService"; use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
&#8722;
        <wsdl:service name="PropertyServiceService">
&#8722;
<wsdl:port binding="impl:PropertyServiceSoapBinding" name="PropertyService"> <wsdlsoap:address location="http://localhost:8080/axis/services/PropertyService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

_________________________________________________________________
Ready for the world's first international mobile film festival celebrating the creative potential of today's youth? Check out Mobile Jam Fest for your a chance to WIN $10,000! www.mobilejamfest.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to