axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@opensource.lk
Subject RE: Client issues
Date Wed, 04 Aug 2004 07:49:42 GMT
I have already replied to this under "Re: Implementation of SOAPTransport
interface using LibWWW for client" and the documentation is also available
in reame file.

Lahiru Wimalasiri



> I'd still appreciate a response to this.
>
> Many thanks.
>
> 	-----Original Message-----
> 	From: Samisa Abeysinghe [mailto:samisa_abeysinghe@yahoo.com]
> 	Sent: Thu 29/07/2004 11:23
> 	To: Apache AXIS C User List
> 	Cc:
> 	Subject: RE: Client issues
>
>
>
> 	Lahiru created a windows VC project for this.
> 	It works for windows.
>
> 	Lahiru! please detail how to get it working on windows.
>
> 	Samisa...
>
> 	--- adrian.p.smith@bt.com wrote:
>
> 	> When will there be a Windows build available for this?
> 	>
> 	> Thanks.
> 	>
> 	> -----Original Message-----
> 	> From: damitha kumarage [mailto:damitha@opensource.lk]
> 	> Sent: 29 July 2004 10:42
> 	> To: Apache AXIS C User List
> 	> Subject: Re: Client issues
> 	>
> 	>
> 	> Hi,
> 	> Existing Axis C++ transport library of Axis C++ client is not so good
> 	> for real use. Samisa has introduced libwww transport to use with
> client.
> 	> I think we should start using libwww as the default axis c++ client
> 	> transport library.
> 	>
> 	> thanks
> 	> damitha
> 	> On Mon, 2004-07-19 at 14:30, adrian.p.smith@bt.com wrote:
> 	> > I've a couple of issues with using the C++ client against an existing
> Java (non-Axis) service.
> 	> >
> 	> > 1. If I don't initialise an input string the client sends some
> spurious hex:
> 	> >
> 	> > a0 04 2f
> 	> >
> 	> > as the XML content.
> 	> >
> 	> > This causes the server side process to return a Fault.
> 	> >
> 	> > 2. Whatever the server returns, I get:
> 	> >
> 	> > Exception : AxisTransportException:Transport buffer is empty
> 	> >
> 	> > even though many other clients, including Java Axis are OK.
> 	> >
> 	> > My WSDL is:
> 	> >
> 	> > <?xml version="1.0" encoding="UTF-8"?>
> 	> > <!-- Generated using the Web Services Interoperability TestBench @
> Mon May 17 15:22:19 2004
> 	> (GMT) -->
> 	> >
> 	> > <definitions name="CH020X"
> targetNamespace="http://www.bt.com/css/mmbi/CH020X/"
> 	> xmlns:wsdlns="http://www.bt.com/css/mmbi/CH020X/"
> 	> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> 	> xmlns="http://schemas.xmlsoap.org/wsdl/"
> xmlns:tns="http://www.bt.com/css/mmbi/2002/06/types">
> 	> >   <types>
> 	> >     <xsd:schema
> targetNamespace="http://www.bt.com/css/mmbi/2002/06/types"
> 	> xmlns="http://www.w3.org/2001/XMLSchema"
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> 	> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> elementFormDefault="unqualified"
> 	> attributeFormDefault="unqualified">
> 	> >       <xsd:import
> namespace="http://schemas.xmlsoap.org/soap/encoding/" />
> 	> >       <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
> 	> >       <xsd:complexType name="ArrayOfString">
> 	> >         <xsd:complexContent>
> 	> >           <xsd:restriction base="soapenc:Array">
> 	> >             <xsd:attribute ref="soapenc:arrayType"
> wsdl:arrayType="xsd:string[]" />
> 	> >           </xsd:restriction>
> 	> >         </xsd:complexContent>
> 	> >       </xsd:complexType>
> 	> >       <xsd:complexType name="ArrayOfbill">
> 	> >         <xsd:complexContent>
> 	> >           <xsd:restriction base="soapenc:Array">
> 	> >             <xsd:attribute ref="soapenc:arrayType"
> wsdl:arrayType="tns:bill[]" />
> 	> >           </xsd:restriction>
> 	> >         </xsd:complexContent>
> 	> >       </xsd:complexType>
> 	> >       <xsd:complexType name="ArrayOfproduct">
> 	> >         <xsd:complexContent>
> 	> >           <xsd:restriction base="soapenc:Array">
> 	> >             <xsd:attribute ref="soapenc:arrayType"
> wsdl:arrayType="tns:product[]" />
> 	> >           </xsd:restriction>
> 	> >         </xsd:complexContent>
> 	> >       </xsd:complexType>
> 	> >       <xsd:complexType name="E2E">
> 	> >         <xsd:all>
> 	> >           <xsd:element name="pck" type="xsd:string" minOccurs="0"
> maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="callerId" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >         </xsd:all>
> 	> >       </xsd:complexType>
> 	> >       <xsd:complexType name="appnCompletion">
> 	> >         <xsd:all>
> 	> >           <xsd:element name="APPNCOMPCODE" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="APPNCOMPTEXT" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >         </xsd:all>
> 	> >       </xsd:complexType>
> 	> >       <xsd:complexType name="bill">
> 	> >         <xsd:all>
> 	> >           <xsd:element name="billTyp" type="xsd:string" minOccurs="0"
> maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="billSerNr" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="billDate" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="billAmt" type="xsd:string" minOccurs="0"
> maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="itmsdUnits" type="xsd:int" minOccurs="0"
> maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="mtrdUnits" type="xsd:int" minOccurs="0"
> maxOccurs="1"
> 	> nillable="false" />
> 	> >         </xsd:all>
> 	> >       </xsd:complexType>
> 	> >       <xsd:complexType name="getCustomerProfileResponse">
> 	> >         <xsd:all>
> 	> >           <xsd:element name="E2E" type="tns:E2E" minOccurs="0"
> maxOccurs="1" nillable="false"
> 	> />
> 	> >           <xsd:element name="mmbi" type="tns:mmbiOutput"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="instId" type="xsd:string" minOccurs="0"
> maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="telNr" type="xsd:string" minOccurs="0"
> maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="custAcctNr" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="verNr" type="xsd:string" minOccurs="0"
> maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="exchNm" type="xsd:string" minOccurs="0"
> maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="exchType" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="currFault" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="rcntOrder" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="follwUpRtng" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="custCnsntA" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="custCnsntB" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="outstCplntInd" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="callItmsnInd" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="notes" type="xsd:string" minOccurs="0"
> maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="names" type="tns:ArrayOfString"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="addrs" type="tns:ArrayOfString"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="xdirInd" type="xsd:string" minOccurs="0"
> maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="noOfBillRecords" type="xsd:int"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="noOfProductRecords" type="xsd:int"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="custBillNms" type="tns:ArrayOfString"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="custBillAddrs" type="tns:ArrayOfString"
> minOccurs="0"
> 	> maxOccurs="1" nillable="false" />
> 	> >           <xsd:element name="acctEntrys" type="tns:ArrayOfString"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="bdgtAcctPymts" type="tns:ArrayOfString"
> minOccurs="0"
> 	> maxOccurs="1" nillable="false" />
> 	> >           <xsd:element name="tar" type="xsd:string" minOccurs="0"
> maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="notesInd" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="billMthd" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="csdpInd" type="xsd:string" minOccurs="0"
> maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="lowUserInd" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="follwUpId" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="dtyRef" type="xsd:string" minOccurs="0"
> maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="custType" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="inv" type="xsd:string" minOccurs="0"
> maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="instClass" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="existGrpCde" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="acctPayMthd" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="currInvcDate" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="nextInvDue" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="trnSvce" type="xsd:string" minOccurs="0"
> maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="currInvcId" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="charRaisd" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="debtMgtCase" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="totOfInvc" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="instStrt" type="xsd:string"
> minOccurs="0" maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="lnSts" type="xsd:string" minOccurs="0"
> maxOccurs="1"
> 	> nillable="false" />
> 	> >           <xsd:element name="rprPrty" type="xsd:string" minOccurs="0"
> maxOccurs="1"
> 	> nillable="false"
> 	=== message truncated ===
>
>
>
>
>
> 	__________________________________
> 	Do you Yahoo!?
> 	New and Improved Yahoo! Mail - 100MB free storage!
> 	http://promotions.yahoo.com/new_mail
>
>


Mime
View raw message