axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Titus Jakob" <titus.ja...@fh-aargau.ch>
Subject RE: Serializing/Deserializing complex objects
Date Tue, 03 Aug 2004 12:01:49 GMT
hi Samisa
coming closer: when deplying tomcat shows the error below..
Titus

183413 [http8080-Processor4] ERROR
org.apache.axis.deployment.wsdd.WSDDDeployabl
eItem  - Unable to deploy typemapping: {urn:Currency3}Point3
java.lang.ClassNotFoundException: No type QName for mapping!

-----Original Message-----
From: axis-c-user-return-760-titus.jakob=fh-aargau.ch@ws.apache.org
[mailto:axis-c-user-return-760-titus.jakob=fh-aargau.ch@ws.apache.org]
On Behalf Of Samisa Abeysinghe
Sent: Dienstag, 3. August 2004 13:01
To: Apache AXIS C User List
Subject: RE: Serializing/Deserializing complex objects


Hi Titus,
    I am behind a proxy, so I am not sure if I would be able to use your
service.

    I am more of a C++ guy and have little idea on Beans.
    However, if you could send the SOAP messages (got using tcpmon) then
it would help locate the problems. Thanks,
Samisa...    

--- Titus Jakob <titus.jakob@fh-aargau.ch> wrote:

> Hi Samisa
> 
> I can also sucseefully compile the client side but then I run in an 
> access violation.
> 
> 1) shall I start my service and send you the URL?
> 
> 2) I used tcpmon and had the impression that the service is called, 
> but there where errors in the answer. Maybe I have a problem deploying

> the service, specially the class "Point3" with the BeanSerializer. Do 
> you have experience with that?
> 
> Thanks anyway
> Titus
> 
> -----Original Message-----
> From: axis-c-user-return-757-titus.jakob=fh-aargau.ch@ws.apache.org
> [mailto:axis-c-user-return-757-titus.jakob=fh-aargau.ch@ws.apache.org]
> On Behalf Of Samisa Abeysinghe
> Sent: Dienstag, 3. August 2004 12:18
> To: Apache AXIS C User List
> Subject: RE: Serializing/Deserializing complex objects
> 
> 
> Hi Titus,
>     I generated the code from your WSDL file and compiled the source 
> generated, and got no problems.
> 
>     Have you tried using tcpmon (that comes with Axis Java) to monitor

> the messages sent and received by the client?
>     As I do not have a server to test againt, I cannot test this 
> further. However, please, if possible send the SOAP messages sent and 
> received by the client wehn calling 'registerPoint'
> 
> Thanks,
> Samisa...
> 
> --- Titus Jakob <titus.jakob@fh-aargau.ch> wrote:
> 
> > Hi Samisa
> > thanks for your help, here you get:
> >  1) the relevant java-code snippet and
> >  2) the WSDL
> > thanks
> > Titus
> > 
> > 1) Java-Server: as soon as I have Point3 in the argument-list of
> > registerPoint() I run into troubles.
> > 
> > public class Currency3 {
> > 
> > public void registerPoint( Point3 p )		
> > {
> > 	System.out.println("start,");
> > }
> > }
> > 
> > 
> > 2)WSDL:
> > 
> >   <?xml version="1.0" encoding="UTF-8" ?>
> > - <wsdl:definitions 
> > targetNamespace="http://localhost:8080/axis/Currency3.jws"
> > xmlns="http://schemas.xmlsoap.org/wsdl/"
> > xmlns:apachesoap="http://xml.apache.org/xml-soap"
> > xmlns:impl="http://localhost:8080/axis/Currency3.jws"
> > xmlns:intf="http://localhost:8080/axis/Currency3.jws"
> > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> > xmlns:tns1="http://DefaultNamespace"
> > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> > xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> > - <wsdl:types>
> > - <schema targetNamespace="http://DefaultNamespace"
> > xmlns="http://www.w3.org/2001/XMLSchema">
> >   <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
> > - <complexType name="Point3">
> > - <sequence>
> >   <element name="x" type="xsd:int" /> 
> >   <element name="y" type="xsd:int" /> 
> >   </sequence>
> >   </complexType>
> >   </schema>
> >   </wsdl:types>
> > - <wsdl:message name="getDoubleResponse">
> >   <wsdl:part name="getDoubleReturn" type="xsd:double" /> 
> >   </wsdl:message>
> > - <wsdl:message name="multiplyRequest">
> >   <wsdl:part name="i" type="xsd:int" /> 
> >   </wsdl:message>
> > - <wsdl:message name="registerPointRequest">
> >   <wsdl:part name="p" type="tns1:Point3" /> 
> >   </wsdl:message>
> > - <wsdl:message name="multiplyResponse">
> >   <wsdl:part name="multiplyReturn" type="xsd:int" /> 
> >   </wsdl:message>
> >   <wsdl:message name="funRequest" /> 
> >   <wsdl:message name="getCharRequest" /> 
> >   <wsdl:message name="funResponse" /> 
> >   <wsdl:message name="getDoubleRequest" /> 
> > - <wsdl:message name="getCharResponse">
> >   <wsdl:part name="getCharReturn" type="xsd:string" /> 
> >   </wsdl:message>
> >   <wsdl:message name="registerPointResponse" /> 
> > - <wsdl:portType name="Currency3">
> > - <wsdl:operation name="multiply" parameterOrder="i">
> >   <wsdl:input message="impl:multiplyRequest" name="multiplyRequest"
/>
> 
> >   <wsdl:output message="impl:multiplyResponse" 
> > name="multiplyResponse" />
> >   </wsdl:operation>
> > - <wsdl:operation name="getChar">
> >   <wsdl:input message="impl:getCharRequest" name="getCharRequest" />

> >   <wsdl:output message="impl:getCharResponse" name="getCharResponse"
> />
> >   </wsdl:operation>
> > - <wsdl:operation name="getDouble">
> >   <wsdl:input message="impl:getDoubleRequest" 
> > name="getDoubleRequest"
> />
> > 
> >   <wsdl:output message="impl:getDoubleResponse"
> > name="getDoubleResponse" />
> >   </wsdl:operation>
> > - <wsdl:operation name="fun">
> >   <wsdl:input message="impl:funRequest" name="funRequest" /> 
> >   <wsdl:output message="impl:funResponse" name="funResponse" /> 
> >   </wsdl:operation>
> > - <wsdl:operation name="registerPoint" parameterOrder="p">
> >   <wsdl:input message="impl:registerPointRequest"
> > name="registerPointRequest" /> 
> >   <wsdl:output message="impl:registerPointResponse"
> > name="registerPointResponse" /> 
> >   </wsdl:operation>
> >   </wsdl:portType>
> > - <wsdl:binding name="Currency3SoapBinding" type="impl:Currency3">
> >   <wsdlsoap:binding style="rpc" 
> > transport="http://schemas.xmlsoap.org/soap/http" />
> > - <wsdl:operation name="multiply">
> >   <wsdlsoap:operation soapAction="" />
> > - <wsdl:input name="multiplyRequest">
> >   <wsdlsoap:body
> > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> > namespace="http://DefaultNamespace" use="encoded" /> 
> >   </wsdl:input>
> > - <wsdl:output name="multiplyResponse">
> >   <wsdlsoap:body
> > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> > namespace="http://localhost:8080/axis/Currency3.jws" use="encoded"
/> 
> >   </wsdl:output>
> >   </wsdl:operation>
> > - <wsdl:operation name="getChar">
> >   <wsdlsoap:operation soapAction="" /> 
> > - <wsdl:input name="getCharRequest">
> >   <wsdlsoap:body
> > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> > namespace="http://DefaultNamespace" use="encoded" /> 
> >   </wsdl:input>
> > - <wsdl:output name="getCharResponse">
> >   <wsdlsoap:body
> > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> > namespace="http://localhost:8080/axis/Currency3.jws" use="encoded"
/> 
> >   </wsdl:output>
> >   </wsdl:operation>
> > - <wsdl:operation name="getDouble">
> >   <wsdlsoap:operation soapAction="" /> 
> > - <wsdl:input name="getDoubleRequest">
> >   <wsdlsoap:body
> > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> > namespace="http://DefaultNamespace" use="encoded" /> 
> >   </wsdl:input>
> > - <wsdl:output name="getDoubleResponse">
> >   <wsdlsoap:body
> > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> > namespace="http://localhost:8080/axis/Currency3.jws" use="encoded"
/> 
> >   </wsdl:output>
> >   </wsdl:operation>
> > - <wsdl:operation name="fun">
> >   <wsdlsoap:operation soapAction="" /> 
> > - <wsdl:input name="funRequest">
> >   <wsdlsoap:body
> > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> > namespace="http://DefaultNamespace" use="encoded" /> 
> >   </wsdl:input>
> > - <wsdl:output name="funResponse">
> >   <wsdlsoap:body
> > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> > namespace="http://localhost:8080/axis/Currency3.jws" use="encoded"
/> 
> >   </wsdl:output>
> >   </wsdl:operation>
> > - <wsdl:operation name="registerPoint">
> >   <wsdlsoap:operation soapAction="" /> 
> > - <wsdl:input name="registerPointRequest">
> >   <wsdlsoap:body
> > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> > namespace="http://DefaultNamespace" use="encoded" /> 
> >   </wsdl:input>
> > - <wsdl:output name="registerPointResponse">
> >   <wsdlsoap:body
> > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> > namespace="http://localhost:8080/axis/Currency3.jws" use="encoded"
/> 
> >   </wsdl:output>
> 
=== message truncated ===



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail


Mime
View raw message