From axisccunningham@example.org Mon Aug 02 08:09:30 2004 Return-Path: <axisccunningham@example.org> Delivered-To: ccunningham@example.org Received: (qmail 7351 invoked from network); 2 Aug 2004 08:09:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 2 Aug 2004 08:09:30 -0000 Received: (qmail 36043 invoked by uid 500); 2 Aug 2004 08:09:28 -0000 Delivered-To: ccunningham@example.org Received: (qmail 35956 invoked by uid 500); 2 Aug 2004 08:09:26 -0000 Mailing-List: contact ccunningham@example.org; run by ezmlm Precedence: bulk list-help: <mailto:ccunningham@example.org> list-unsubscribe: <mailto:ccunningham@example.org> list-post: <mailto:ccunningham@example.org> List-Id: "Apache AXIS C User List" <axis-c-user.ws.apache.org> Reply-To: "Apache AXIS C User List" <ccunningham@example.org> Delivered-To: mailing list ccunningham@example.org Received: (qmail 35814 invoked by uid 99); 2 Aug 2004 08:09:24 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO web40613.mail.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.27.1) with SMTP; Mon, 02 Aug 2004 01:09:20 -0700 Message-ID: <ccunningham@example.org> Received: from [83.161.120.155] by web40613.mail.yahoo.com via HTTP; Mon, 02 Aug 2004 01:09:15 PDT Date: Mon, 2 Aug 2004 01:09:15 -0700 (PDT) From: Samisa Abeysinghe <ccunningham@example.org> Subject: RE: Serializing/Deserializing complex objects To: Apache AXIS C User List <ccunningham@example.org> In-Reply-To: <ccunningham@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Titus, I am experiancing some problems with WSDL tool with latest CVS I will get back to you once I get over this. Thanks, Samisa... --- Titus Jakob <ccunningham@example.org> 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: ccunningham@example.org > [mailto:ccunningham@example.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 <ccunningham@example.org> 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: ccunningham@example.org > > [mailto:ccunningham@example.org] > > 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!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail From axisccunningham@example.org Mon Aug 02 08:46:41 2004 Return-Path: <axisccunningham@example.org> Delivered-To: ccunningham@example.org Received: (qmail 25441 invoked from network); 2 Aug 2004 08:46:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 2 Aug 2004 08:46:41 -0000 Received: (qmail 74795 invoked by uid 500); 2 Aug 2004 08:46:38 -0000 Delivered-To: ccunningham@example.org Received: (qmail 74760 invoked by uid 500); 2 Aug 2004 08:46:37 -0000 Mailing-List: contact ccunningham@example.org; run by ezmlm Precedence: bulk list-help: <mailto:ccunningham@example.org> list-unsubscribe: <mailto:ccunningham@example.org> list-post: <mailto:ccunningham@example.org> List-Id: "Apache AXIS C User List" <axis-c-user.ws.apache.org> Reply-To: "Apache AXIS C User List" <ccunningham@example.org> Delivered-To: mailing list ccunningham@example.org Received: (qmail 74747 invoked by uid 99); 2 Aug 2004 08:46:37 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO magellan.fh-aargau.ch) (83.161.120.155) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 02 Aug 2004 01:46:34 -0700 Received: from mcjakob (mc-jakob.cs.fh-aargau.ch [83.161.120.155]) by magellan.fh-aargau.ch (Postfix) with ESMTP id 8ECB85ACD for <ccunningham@example.org>; Mon, 2 Aug 2004 10:46:25 +0200 (MET DST) From: "Titus Jakob" <ccunningham@example.org> To: "'Apache AXIS C User List'" <ccunningham@example.org> Subject: RE: Serializing/Deserializing complex objects Date: Mon, 2 Aug 2004 10:46:24 +0200 Message-ID: <ccunningham@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 In-Reply-To: <ccunningham@example.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Samisa woul appreciate your help very much Titus -----Original Message----- From: ccunningham@example.org [mailto:ccunningham@example.org] On Behalf Of Samisa Abeysinghe Sent: Montag, 2. August 2004 10:09 To: Apache AXIS C User List Subject: RE: Serializing/Deserializing complex objects Hi Titus, I am experiancing some problems with WSDL tool with latest CVS I will get back to you once I get over this. Thanks, Samisa... --- Titus Jakob <ccunningham@example.org> 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: ccunningham@example.org > [mailto:ccunningham@example.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 <ccunningham@example.org> 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: ccunningham@example.org > > [mailto:ccunningham@example.org > > 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!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail From axisccunningham@example.org Tue Aug 03 10:18:21 2004 Return-Path: <axisccunningham@example.org> Delivered-To: ccunningham@example.org Received: (qmail 26625 invoked from network); 3 Aug 2004 10:18:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 3 Aug 2004 10:18:19 -0000 Received: (qmail 5636 invoked by uid 500); 3 Aug 2004 10:18:18 -0000 Delivered-To: ccunningham@example.org Received: (qmail 5581 invoked by uid 500); 3 Aug 2004 10:18:18 -0000 Mailing-List: contact ccunningham@example.org; run by ezmlm Precedence: bulk list-help: <mailto:ccunningham@example.org> list-unsubscribe: <mailto:ccunningham@example.org> list-post: <mailto:ccunningham@example.org> List-Id: "Apache AXIS C User List" <axis-c-user.ws.apache.org> Reply-To: "Apache AXIS C User List" <ccunningham@example.org> Delivered-To: mailing list ccunningham@example.org Received: (qmail 5567 invoked by uid 99); 3 Aug 2004 10:18:18 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO web40611.mail.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.27.1) with SMTP; Tue, 03 Aug 2004 03:18:14 -0700 Message-ID: <ccunningham@example.org> Received: from [83.161.120.155] by web40611.mail.yahoo.com via HTTP; Tue, 03 Aug 2004 03:18:13 PDT Date: Tue, 3 Aug 2004 03:18:13 -0700 (PDT) From: Samisa Abeysinghe <ccunningham@example.org> Subject: RE: Serializing/Deserializing complex objects To: Apache AXIS C User List <ccunningham@example.org> In-Reply-To: <ccunningham@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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 <ccunningham@example.org> 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: ccunningham@example.org > [mailto:ccunningham@example.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 <ccunningham@example.org> 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: ccunningham@example.org > > [mailto:ccunningham@example.org] > > 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 From axisccunningham@example.org Tue Aug 03 10:41:05 2004 Return-Path: <axisccunningham@example.org> Delivered-To: ccunningham@example.org Received: (qmail 37370 invoked from network); 3 Aug 2004 10:41:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 3 Aug 2004 10:41:05 -0000 Received: (qmail 38571 invoked by uid 500); 3 Aug 2004 10:41:03 -0000 Delivered-To: ccunningham@example.org Received: (qmail 38559 invoked by uid 500); 3 Aug 2004 10:41:03 -0000 Mailing-List: contact ccunningham@example.org; run by ezmlm Precedence: bulk list-help: <mailto:ccunningham@example.org> list-unsubscribe: <mailto:ccunningham@example.org> list-post: <mailto:ccunningham@example.org> List-Id: "Apache AXIS C User List" <axis-c-user.ws.apache.org> Reply-To: "Apache AXIS C User List" <ccunningham@example.org> Delivered-To: mailing list ccunningham@example.org Received: (qmail 38532 invoked by uid 99); 3 Aug 2004 10:41:03 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO magellan.fh-aargau.ch) (83.161.120.155) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 03 Aug 2004 03:41:00 -0700 Received: from mcjakob (mc-jakob.cs.fh-aargau.ch [83.161.120.155]) by magellan.fh-aargau.ch (Postfix) with ESMTP id 2E4EE5BB8 for <ccunningham@example.org>; Tue, 3 Aug 2004 12:40:51 +0200 (MET DST) From: "Titus Jakob" <ccunningham@example.org> To: "'Apache AXIS C User List'" <ccunningham@example.org> Subject: RE: Serializing/Deserializing complex objects Date: Tue, 3 Aug 2004 12:40:48 +0200 Message-ID: <ccunningham@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 In-Reply-To: <ccunningham@example.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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: ccunningham@example.org [mailto:ccunningham@example.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 <ccunningham@example.org> 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: ccunningham@example.org > [mailto:ccunningham@example.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 <ccunningham@example.org> 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: ccunningham@example.org > > [mailto:ccunningham@example.org > > 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 From axisccunningham@example.org Tue Aug 03 11:00:27 2004 Return-Path: <axisccunningham@example.org> Delivered-To: ccunningham@example.org Received: (qmail 50917 invoked from network); 3 Aug 2004 11:00:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 3 Aug 2004 11:00:27 -0000 Received: (qmail 66033 invoked by uid 500); 3 Aug 2004 11:00:26 -0000 Delivered-To: ccunningham@example.org Received: (qmail 66017 invoked by uid 500); 3 Aug 2004 11:00:25 -0000 Mailing-List: contact ccunningham@example.org; run by ezmlm Precedence: bulk list-help: <mailto:ccunningham@example.org> list-unsubscribe: <mailto:ccunningham@example.org> list-post: <mailto:ccunningham@example.org> List-Id: "Apache AXIS C User List" <axis-c-user.ws.apache.org> Reply-To: "Apache AXIS C User List" <ccunningham@example.org> Delivered-To: mailing list ccunningham@example.org Received: (qmail 66004 invoked by uid 99); 3 Aug 2004 11:00:25 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO magellan.fh-aargau.ch) (83.161.120.155) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 03 Aug 2004 04:00:22 -0700 Received: from mcjakob (mc-jakob.cs.fh-aargau.ch [83.161.120.155]) by magellan.fh-aargau.ch (Postfix) with ESMTP id B88275A15 for <ccunningham@example.org>; Tue, 3 Aug 2004 13:00:19 +0200 (MET DST) From: "Titus Jakob" <ccunningham@example.org> To: "'Apache AXIS C User List'" <ccunningham@example.org> Subject: RE: Serializing/Deserializing complex objects Date: Tue, 3 Aug 2004 13:00:17 +0200 Message-ID: <ccunningham@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 In-Reply-To: <ccunningham@example.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Samisa Addition: Deployment > I think the client always uses the "JWS-Files" and NOT the deployment with the AdminClient??? Titus -----Original Message----- From: ccunningham@example.org [mailto:ccunningham@example.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 <ccunningham@example.org> 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: ccunningham@example.org > [mailto:ccunningham@example.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 <ccunningham@example.org> 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: ccunningham@example.org > > [mailto:ccunningham@example.org > > 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 From axisccunningham@example.org Tue Aug 03 11:00:45 2004 Return-Path: <axisccunningham@example.org> Delivered-To: ccunningham@example.org Received: (qmail 51140 invoked from network); 3 Aug 2004 11:00:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 3 Aug 2004 11:00:45 -0000 Received: (qmail 66344 invoked by uid 500); 3 Aug 2004 11:00:44 -0000 Delivered-To: ccunningham@example.org Received: (qmail 66332 invoked by uid 500); 3 Aug 2004 11:00:43 -0000 Mailing-List: contact ccunningham@example.org; run by ezmlm Precedence: bulk list-help: <mailto:ccunningham@example.org> list-unsubscribe: <mailto:ccunningham@example.org> list-post: <mailto:ccunningham@example.org> List-Id: "Apache AXIS C User List" <axis-c-user.ws.apache.org> Reply-To: "Apache AXIS C User List" <ccunningham@example.org> Delivered-To: mailing list ccunningham@example.org Received: (qmail 66319 invoked by uid 99); 3 Aug 2004 11:00:43 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO web40611.mail.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.27.1) with SMTP; Tue, 03 Aug 2004 04:00:43 -0700 Message-ID: <ccunningham@example.org> Received: from [83.161.120.155] by web40611.mail.yahoo.com via HTTP; Tue, 03 Aug 2004 04:00:42 PDT Date: Tue, 3 Aug 2004 04:00:42 -0700 (PDT) From: Samisa Abeysinghe <ccunningham@example.org> Subject: RE: Serializing/Deserializing complex objects To: Apache AXIS C User List <ccunningham@example.org> In-Reply-To: <ccunningham@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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 <ccunningham@example.org> 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: ccunningham@example.org > [mailto:ccunningham@example.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 <ccunningham@example.org> 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 From axisccunningham@example.org Tue Aug 03 11:19:29 2004 Return-Path: <axisccunningham@example.org> Delivered-To: ccunningham@example.org Received: (qmail 64490 invoked from network); 3 Aug 2004 11:19:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 3 Aug 2004 11:19:29 -0000 Received: (qmail 84552 invoked by uid 500); 3 Aug 2004 11:19:28 -0000 Delivered-To: ccunningham@example.org Received: (qmail 84531 invoked by uid 500); 3 Aug 2004 11:19:27 -0000 Mailing-List: contact ccunningham@example.org; run by ezmlm Precedence: bulk list-help: <mailto:ccunningham@example.org> list-unsubscribe: <mailto:ccunningham@example.org> list-post: <mailto:ccunningham@example.org> List-Id: "Apache AXIS C User List" <axis-c-user.ws.apache.org> Reply-To: "Apache AXIS C User List" <ccunningham@example.org> Delivered-To: mailing list ccunningham@example.org Received: (qmail 84516 invoked by uid 99); 3 Aug 2004 11:19:27 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO magellan.fh-aargau.ch) (83.161.120.155) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 03 Aug 2004 04:19:24 -0700 Received: from mcjakob (mc-jakob.cs.fh-aargau.ch [83.161.120.155]) by magellan.fh-aargau.ch (Postfix) with ESMTP id 010C15A7B for <ccunningham@example.org>; Tue, 3 Aug 2004 13:19:21 +0200 (MET DST) From: "Titus Jakob" <ccunningham@example.org> To: "'Apache AXIS C User List'" <ccunningham@example.org> Subject: RE: Serializing/Deserializing complex objects Date: Tue, 3 Aug 2004 13:19:19 +0200 Message-ID: <ccunningham@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 In-Reply-To: <ccunningham@example.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Samisa here what I see in tcpmon 1) SendMessage 2) Answer Titus 1)SendMessage POST /axis/Currency3.jws HTTP/1.1 Host: 83.161.120.155 Content-Type: text/xml; charset=UTF-8 SOAPAction: "" Content-Length: 492 <?xml version='1.0' encoding='utf-8' ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Body><ns 1:registerPoint xmlns:ns1="http://localhost:8080/axis/Currency3.jws"><Point3 xsi:type="ns2:Point3" xmlns:ns2="http://DefaultNamespace"><x xsi:type="xsd:int">100</x><y xsi:type="xsd:int">200</y></Point3></ns1:registerPoint></SOAP-ENV:Body>< /SOAP-ENV:Envelope> 2) Answer from Service HTTP/1.1 500 Internal Server Error Set-Cookie: JSESSIONID=2B6C1FC43F111E6DF33B7663A832D5D5; Path=/axis Content-Type: text/xml;charset=utf-8 Transfer-Encoding: chunked Date: Tue, 03 Aug 2004 11:15:29 GMT Server: Apache-Coyote/1.1 Connection: close 21e <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Server.userException</faultcode> <faultstring>org.xml.sax.SAXException: Deserializing parameter &apos;Point3&apos;: could not find deserializer for type {http://DefaultNamespace}Point3</faultstring> <detail/> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope> 0 -----Original Message----- From: ccunningham@example.org [mailto:ccunningham@example.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 <ccunningham@example.org> 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: ccunningham@example.org > [mailto:ccunningham@example.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 <ccunningham@example.org> 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 From axisccunningham@example.org Tue Aug 03 11:25:46 2004 Return-Path: <axisccunningham@example.org> Delivered-To: ccunningham@example.org Received: (qmail 67887 invoked from network); 3 Aug 2004 11:25:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 3 Aug 2004 11:25:45 -0000 Received: (qmail 91443 invoked by uid 500); 3 Aug 2004 11:25:45 -0000 Delivered-To: ccunningham@example.org Received: (qmail 91266 invoked by uid 500); 3 Aug 2004 11:25:44 -0000 Mailing-List: contact ccunningham@example.org; run by ezmlm Precedence: bulk list-help: <mailto:ccunningham@example.org> list-unsubscribe: <mailto:ccunningham@example.org> list-post: <mailto:ccunningham@example.org> List-Id: "Apache AXIS C User List" <axis-c-user.ws.apache.org> Reply-To: "Apache AXIS C User List" <ccunningham@example.org> Delivered-To: mailing list ccunningham@example.org Received: (qmail 91252 invoked by uid 99); 3 Aug 2004 11:25:44 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO magellan.fh-aargau.ch) (83.161.120.155) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 03 Aug 2004 04:25:43 -0700 Received: from mcjakob (mc-jakob.cs.fh-aargau.ch [83.161.120.155]) by magellan.fh-aargau.ch (Postfix) with ESMTP id EE2E8591E for <ccunningham@example.org>; Tue, 3 Aug 2004 13:25:40 +0200 (MET DST) From: "Titus Jakob" <ccunningham@example.org> To: "'Apache AXIS C User List'" <ccunningham@example.org> Subject: RE: Serializing/Deserializing complex objects Date: Tue, 3 Aug 2004 13:25:38 +0200 Message-ID: <ccunningham@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 In-Reply-To: <ccunningham@example.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Samisa here is the wsdd-file which I deploy, please not the bean-mapping Titus 1) deploy-command java org.apache.axis.client.AdminClient deploy.wsdd 2) Wsdd-file <?xml version="1.0" encoding="UTF-8"?> <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:CPP="http://xml.apache.org/axis/wsdd/providers/CPP"> <service name="Currency3Service" provider="CPP:RPC" description="Axis C++ web service"> <parameter name="className" value="/user/local/apache/axis/Currency3Service.so"/> <parameter name="allowedMethods" value="multiply getChar getDouble fun registerPoint "/> <beanMapping qname="myNS:Point3" xmlns:myNS="urn:Currency3" languageSpecificType="java:Point3"/> </service> </deployment> -----Original Message----- From: ccunningham@example.org [mailto:ccunningham@example.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 <ccunningham@example.org> 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: ccunningham@example.org > [mailto:ccunningham@example.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 <ccunningham@example.org> 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/" >
{'source': 'Apache Software Foundation Public Mail Archives'}