axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nadir Amra <a...@us.ibm.com>
Subject Re: xsd__string definition and geneated files.
Date Wed, 04 Jun 2008 23:41:23 GMT
Mike,

I assume your are using AXIS C++.  If so, ensure you have built the 
binaries from the latest codbase in SVN by using ant to build the product. 
 Then see what is generated.  If you have a problem would need to see wsdl 
and how you are generating the stubs. 

Nadir Amra
Integrated Web services for i5/OS
IBM Rochester, MN,  (Tel. 507-253-0645, t/l 553-0645)
Internet: amra@us.ibm.com

Mike Marchywka <marchywka@hotmail.com> wrote on 06/04/2008 01:30:34 PM:

> 
> Hi,
> It looks like I was able to generate the needed files from my wsdl file
> but ran into a problem with the string related code. I thought I 
> could figure this
> out as some problem with typedefs but it isn't immediately obvious 
> how to fix this.
> 
> The generated code seems to expect pointers to things, 
> 
> xsd__int* p_afImpressionReviewPeriod = 
> (pIWSDZ->getElementAsInt("afImpressionReviewPeriod",0));
> param->afImpressionReviewPeriod = *p_afImpressionReviewPeriod;
> delete p_afImpressionReviewPeriod;
> xsd__string* p_bannerCustomFields = 
> (pIWSDZ->getElementAsString("bannerCustomFields",0));
> param->bannerCustomFields = *p_bannerCustomFields;
> 
> but the related method is returning a thing, not a ptr, 
> 
>  virtual xsd__string AXISCALL getElementAsString(const AxisChar* pName, 
>         const AxisChar* pNamespace)=0;
> 
> 
> Is there a simple reason for this? I can't find obvious conditionals
> in the axis code or the  WSDL2Ws
> program to make this match.
> 
> Thanks.
> 
> Mike Marchywka
> 586 Saint James Walk
> Marietta GA 30067-7165
> 404-788-1216 (C)<- leave message
> 989-348-4796 (P)<- emergency only
> marchywka@hotmail.com
> Note: If I am asking for free stuff, I normally use for hobby/non-profit
> information but may use in investment forums, public and private.
> Please indicate any concerns if applicable.
> Note: Hotmail is possibly blocking my mom's entire
> ISP - try  me on marchywka@yahoo.com if no reply
> here. Thanks.
> 
> _________________________________________________________________
> Search that pays you back! Introducing Live Search cashback.
> http://search.live.com/cashback/?
> &pkw=form=MIJAAF/publ=HMTGL/crea=srchpaysyouback
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Mime
View raw message