Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 67649 invoked from network); 17 Jan 2006 05:26:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Jan 2006 05:26:28 -0000 Received: (qmail 78221 invoked by uid 500); 17 Jan 2006 05:26:26 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 77689 invoked by uid 500); 17 Jan 2006 05:26:23 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 77677 invoked by uid 99); 17 Jan 2006 05:26:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jan 2006 21:26:23 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jinshanl@gmail.com designates 64.233.162.203 as permitted sender) Received: from [64.233.162.203] (HELO zproxy.gmail.com) (64.233.162.203) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jan 2006 21:24:30 -0800 Received: by zproxy.gmail.com with SMTP id i11so1278198nzi for ; Mon, 16 Jan 2006 21:24:09 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=V2cAQ/UL2HBLIhjMY3GnfIPrZLD7rszXJ4jw0JBg8Umk5s/TXO3dFJudKIMiSJI4Czut9IuUdjXHLPrfS3SllNDRRblqJKkeP8nSIRYCoMol/uIJBjrOT25P//bMBGXTsu5PxOZfPwzMRl6WlL+68k4NP3rk/bYoCcRrPyxeOGo= Received: by 10.65.241.13 with SMTP id t13mr3661566qbr; Mon, 16 Jan 2006 21:24:09 -0800 (PST) Received: by 10.65.135.11 with HTTP; Mon, 16 Jan 2006 21:24:09 -0800 (PST) Message-ID: Date: Tue, 17 Jan 2006 13:24:09 +0800 From: Jinshan Li To: Apache AXIS C User List Subject: Re: WSDL2Ws and Attachment In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_31952_3323605.1137475449424" References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_31952_3323605.1137475449424 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, My Axis c++ version is 1.5 And I want to know that : There is ISoapAttachment in Axis C++1.6, is there MutilPart class? Where do I can find a opensource MultiPart C++ class for Axis? The following text is My WSDL: 2006/1/16, Adrian Dick : > > Hi, > > The code you describe below is not valid, suggesting there is a problem > within WSDL2Ws. > > To aid finding the problem can you confirm which version of Axis c++ > you're > using? > Also, it would be useful if you could attach your WSDL, so we can attempt > to reproduce the problem. > > Adrian > _______________________________________ > Adrian Dick (adrian.dick@uk.ibm.com) > > > Jinshan Li wrote on 14/01/2006 07:00:19: > > > I use WSDL2Ws to generate a c++ stub, the following function is > > generated. Is it OK, there is not parameter name and type? > > > > void MessagePort::service(, AXIS_OUT_PARAM usrType** OutValue0, > > AXIS_OUT_PARAM optType** OutValue1) > > > > -- > > http://www.goldensoft.net > > -- http://www.goldensoft.net ------=_Part_31952_3323605.1137475449424 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi,
My Axis c++ version is 1.5 And I want to know that :
There is ISoapAttac= hment in Axis C++1.6, is there MutilPart class? Where do I can find a opens= ource MultiPart C++ class for Axis?
The following text is  My WSDL:
<?xml version=3D"1.0" encoding=3D"UTF-8"?><wsdl:definitions name=3D"Message_Service"
targetNamespac= e=3D"http://golde= nsoft.net/mms/MessageService "
xmlns:cms=3D"http://goldensoft.net/mms/MessageService"
xmlns:cms= type=3D"http:= //goldensoft.net/mms/MessageService.xsd "

xmlns=3D"http://schemas.xmlsoap.org/wsdl/"
xmlns:soap=3D"http://schemas.xmlsoap.org/wsdl= /soap/ "
xmlns:mime=3D"http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:wsdl=3D&q= uot;http://schemas.xmlsoap.org= /wsdl/ "
xmlns:xs=3D"http://www.w3.org/2001/XMLSchema"
xmlns:wsi=3D"http://ws-i.org/schemas/conf= ormanceClaim/ ">
    <wsdl:types>
  &nbs= p;     <xs:schema targetNamespace=3D"http://goldensoft.net/mms/Message= Service.xsd" >
       &nb= sp;            <x= s:complexType name=3D"usrType">
              &n= bsp;         <xs:attribute name=3D"id= " type=3D"xs:string" use=3D"required"/>
&nbs= p;               &nb= sp;       <xs:attribute name=3D"type"= type=3D"xs:short" use=3D"required"/>
            = ;        </xs:complexType>
&nbs= p;             <xs:com= plexType name=3D"optType">
      &= nbsp;               =   <xs:attribute name=3D"p1" type=3D"xs:short" u= se=3D"required"/>
              &n= bsp;         <xs:attribute name=3D"p2= " type=3D"xs:short" use=3D"required"/>
 = ;             </xs:com= plexType>
           &nb= sp;  <xs:complexType name=3D"reqType">
              <xs:= sequence>
            &n= bsp;   <xs:element name=3D"usr"  nillable=3D&qu= ot;true" type=3D"cmstype:usrType"/>
   =             <xs:element na= me=3D"opt"  nillable=3D"true" type=3D"cmstype= :optType"/>
              </xs= :sequence>
            &= nbsp; <xs:attribute name=3D"sn" type=3D"xs:short" us= e=3D"required"/>
        &nbs= p;     <xs:attribute name=3D"ver" type=3D"= xs:decimal" use=3D"required"/>
              &l= t;/xs:complexType>
          =     <xs:complexType name=3D"rspType">
&nb= sp;             <xs:sequenc= e>
             &nb= sp;     <xs:element name=3D"usr" nillable= =3D"true" type=3D"cmstype:usrType"/>
              &n= bsp; <xs:element name=3D"opt"  nillable=3D"true"= ; type=3D"cmstype:optType"/>
      = ;        </xs:sequence>
   = ;           <xs:attribute name=3D&quo= t;sn" type=3D"xs:short" use=3D"required"/>
              <xs:= attribute name=3D"ver" type=3D"xs:decimal" use=3D"= required"/>
          &n= bsp;  </xs:complexType>
       =     
</xs:schema>
    <= /wsdl:types>
    <wsdl:message name=3D"MessageServiceRequest"= ;>
        <wsdl:documentation>&l= t;/wsdl:documentation>
        <wsdl= :part name=3D"req" type=3D"cmstype:reqType"/>
&nb= sp;       <wsdl:part name=3D"requestConten= t" type=3D"xs:base64Binary"/>
    </wsdl:message>
    <wsdl= :message name=3D"MessageServiceResponse">
   = ;     <wsdl:documentation></wsdl:documentation><= br>        <wsdl:part name=3D"rsp&quo= t; type=3D"cmstype:rspType"/>
        <wsdl:part name=3D"respon= seContent" type=3D"xs:base64Binary"/>
  &nbs= p; </wsdl:message>
    <wsdl:portType name=3D&qu= ot;MessagePort">
        <wsdl:= operation name=3D"service">
            <wsdl:input= message=3D"cms:MessageServiceRequest" name=3D"serviceReques= t"/>
            &l= t;wsdl:output message=3D"cms:MessageServiceResponse" name=3D"= ;serviceResponse" />
        </wsdl:operation>
 =    </wsdl:portType>
    <wsdl:binding = name=3D"MessageBinding" type=3D"cms:MessagePort">        <wsdl:documentation>
 =            <wsi:Claim conformsTo= =3D" http://ws-i.org/profi= les/basic1.0/"/>
        </= wsdl:documentation>
        <soap:bi= nding transport=3D" http://schemas.xmlsoap.org/soap/http" style=3D"document"= />
        <wsdl:operation name=3D&q= uot;service">
          =   <soap:operation soapAction=3D"service"  style=3D&q= uot;document"/>
            <wsdl:input= name=3D"serviceRequest">       =    
         &n= bsp;        <mime:multipartRelated>
 = ;            &n= bsp;            = ;  <mime:part>
       &nbs= p;            &= nbsp;      <soap:body use=3D"literal"= parts=3D"req"  />=20
            = ;            &n= bsp;   </mime:part>
      =             &nb= sp;         <mime:part>
&n= bsp;            = ;            &n= bsp;      <mime:content part=3D"requestCon= tent" type=3D"multipart/mixed"/>
            = ;            &n= bsp;   </mime:part>
      =             &nb= sp;     </mime:multipartRelated>   = ;            
  =           </wsdl:input>
 &= nbsp;          <wsdl:output name=3D&q= uot;serviceResponse" >         &= nbsp; =20
             &nb= sp;    <mime:multipartRelated>
    &= nbsp;           &nbs= p;           <mime:par= t>
           =             &nb= sp;   <soap:body use=3D"literal" parts=3D"rsp&q= uot;/>    
      &= nbsp;           &nbs= p;         </mime:part>
            = ;            &n= bsp;   <mime:part>
      &= nbsp;           &nbs= p;             = <mime:content part=3D"responseContent" type=3D"multipart/= mixed"/>
         &= nbsp;           &nbs= p;      </mime:part>
            = ;            </mi= me:multipartRelated>
         &nbs= p;  </wsdl:output>
        &nbs= p;   <!--wsdl:fault name=3D"MessageServiceFailedFault&quo= t;>
             &n= bsp;  <soap:fault name=3D"MessageServiceFailedFault" use= =3D"literal"/>
            </wsdl:faul= t-->
        </wsdl:operation>    </wsdl:binding>
     =    <service name=3D"MessageService">
 &nb= sp;        <port name=3D"Message= " binding=3D"cms:MessageBinding">
            <= soap:address location=3D"http://localhost:8081/axis/services/Message"/>= ;
          </port>        </service>
</wsdl:definitions>




2006/1/16, Adrian Dick <adrian.dick@uk.ibm.com>:
Hi,

The code you describe below is not valid, suggesting there is a = problem
within WSDL2Ws.

To aid finding the problem can you confir= m which version of Axis c++ you're
using?
Also, it would be useful if= you could attach your WSDL, so we can attempt
to reproduce the problem.

Adrian
____________________________= ___________
Adrian Dick (adria= n.dick@uk.ibm.com)


Jinshan Li < jinshanl@gmail.com> wrote on 14/01/2006 07:00:19:

> I use = WSDL2Ws  to generate a c++ stub, the following function is
>= ; generated. Is it OK, there is not parameter name and type?
>
>= ; void MessagePort::service(, AXIS_OUT_PARAM  usrType** OutValue0= ,
> AXIS_OUT_PARAM  optType** OutValue1)
>
> --<= br>> http://www.goldensoft.net=




--
http://www.goldensoft.net ------=_Part_31952_3323605.1137475449424--