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 10:40:48 GMT
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>
>   </wsdl:operation>
>   </wsdl:binding>
> - <wsdl:service name="Currency3Service">
> - <wsdl:port binding="impl:Currency3SoapBinding" name="Currency3">
>   <wsdlsoap:address
location="http://localhost:8080/axis/Currency3.jws"
> /> 
>   </wsdl:port>
>   </wsdl:service>
>   </wsdl:definitions>
> 
> 
> 
> 
> 
> -----Original Message-----
> From: axis-c-user-return-744-titus.jakob=fh-aargau.ch@ws.apache.org
> [mailto:axis-c-user-return-744-titus.jakob=fh-aargau.ch@ws.apache.org]
> On Behalf Of Samisa Abeysinghe
> Sent: Mittwoch, 28. Juli 2004 12:23
> To: Apache AXIS C User List
> Subject: RE: Serializing/Deserializing complex objects
> 
> 
> If it is possible for you to send the WSDL file of your java service, 
> it would be easy to verify if it is possible for the C++ client to 
> understand those complex objacts.
> 
> Samisa...
> 
> --- Titus Jakob <titus.jakob@fh-aargau.ch> wrote:
> > Hi Cyril
> > I tried the same but until now without success. Did you solve your
> > problem. If yes can you give me a hint how to do that? Titus
> > 
> > 
> > -----Original Message-----
> > From: axis-c-user-return-670-titus.jakob=fh-aargau.ch@ws.apache.org
> > [mailto:axis-c-user-return-670-titus.jakob=fh-aargau.ch@ws.apache.or
> > g]
> > On Behalf Of Cyril Ledru
> > Sent: Dienstag, 13. Juli 2004 10:02
> > To: Apache AXIS C User List
> > Subject: Re: Serializing/Deserializing complex objects
> 
=== message truncated ===



		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 


Mime
View raw message