axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa_abeysin...@yahoo.com>
Subject Re: [jira] Commented: (AXISCPP-111) Axis C++ doesn't support href/multiRef
Date Mon, 20 Sep 2004 02:43:38 GMT
Hi Alec,

Thank you for the information.

Samisa...

--- Aleksander Slominski <aslom@cs.indiana.edu> wrote:

> Samisa Abeysinghe wrote:
> 
> > There are no ongoing work to fix this problem.
> >  
> > As I mentioned in an earlier comment in Jira on this issue, the 
> > challenge is to get this working with the pull model currently being 
> > used by Axis C++ in deserializing. Supporting href would mean the 
> > deserializer may have to back-track (or forward leap) in the XML 
> > stream, which totally contradicts the existing model, and is not 
> > possible with current code - we would have to rewrite the parser 
> > algorithm which is parser specific (the next() method ). This means 
> > that this task would take some considerable time to implement - a 
> > candidate requirement for 1.4 - may be.
> 
> Samisa,
> 
> it requires more work but it is possible to implement and quite easy 
> *with* full streaming model.
> 
> in nutshell: you record location of unresolved hrefs (pointers) and when 
> parsing is finished you go back and patch every unresolved pointer. 
> similar techniques are used in compilers so this is not like a new 
> approach ... if you want an example take look on XSOAP 1.2 and mailing 
> list archives of different SOAP implementatons where this topic was 
> discussed in pas (Apache SOAP, AXIS SOAP/Java, gSOAP, XSOAP, ...)
> 
> thanks,
> 
> alek
> 
> >  
> >
> > */Andrew Perry2 <PERRYAN@uk.ibm.com>/* wrote:
> >
> >
> >
> >
> >
> >     Complex Arrays returned from a Java web service on websphere
> >     package the
> >     RCP encoded response using multiref so the C++ client cannot read the
> >     response. I feel that this seriously limits the viability of the
> >     Axis C++
> >     client.
> >
> >     Is anything being done to rectify this problem?
> >
> >     Regards,
> >
> >     Andrew Perry
> >     Clients for Web Service Stack
> >     perryan@uk.ibm.com
> >     Mail Point 127
> >     IBM UK Laboratories. Hursley Park, Winchester, Hants. SO21 2JN
> >     Tel. Internal 249828 External + 44 (0)1962 819828
> >     Fax. + 44(0)1962 818080
> >
> >
> >
> >     axis-c-dev@ws.apa
> >     che.org
> >     To
> >     13/09/2004 05:43 axis-c-dev@ws.apache.org
> >     cc
> >
> >     Please respond to Subject
> >     "Apache AXIS C [jira] Commented: (AXISCPP-111)
> >     Developers List" Axis C++ doesn't support
> >     href/multiRef
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >     The following comment has been! added to this issue:
> >
> >     Author: Samisa Abeysinghe
> >     Created: Sun, 12 Sep 2004 9:42 PM
> >     Body:
> >     'href' support is challenging in Axis C++ because the parser
> >     interface uses
> >     a pull model. Not that it is impossible, but it is difficult; The
> >     question
> >     is: "is it worth the effort?"
> >     ---------------------------------------------------------------------
> >     View this comment:
> >
> >     http://issues.apache.org/jira/browse/AXISCPP-111?page=comments#action_53064
> >
> >     ---------------------------------------------------------------------
> >     View the issue:
> >     http://issues.apache.org/jira/browse/AXISCPP-111
> >
> >     Here is an overview of the issue:
> >     ---------------------------------------------------------------------
> >     Key: AXISCPP-111
> >     Summary: Axis C++ doesn't support href/multiRef
> >     Type: Bug
> >
> >     Status: Unassigned
> >     Priority: Major
> >
> >     Project: Axis-C++
> >     Components:
> >     Serialization/Deserialization
> >     Versions:
> >     1.2 Final
> >
> >     Assignee:
> >     Reporter: Alexei Dets
> >
> >     Created: Tue, 20 Jul 2004 2:12 PM
> >     Updated: Sun, 12 Sep 2004 9:42 PM
> >     Environment: RedHat Linux 9
> >
> >     Description:
> >     Axis C++ doesn't understand SOAP requests (and replies) that use
> >     . This automatically makes it incompatible, for example, with
> >     Axis Java because it uses multiRef by default.
> >
> >     If it is not possible to fix this issue quickly then this issue
> >     should be
> >     very well documentated and probably it should contain instructions
> >     how to
> >     switch off multiRefs usage in Axis Java (it _is_ possible). I'm
> >     sure that
> >     this is a very common source of problems.
> >
> >     For example, if I have an Axis C++ server & an Axis Java client
> >     than it is
> >     necessary to add to the client something like:
> >    
> ((org.apache.axis.client.Stub)port)._setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
> >     Boolean.FALSE);
> >
> >
> >
> >     ---------------------------------------------------------------------
> >     JIRA INFORMATION:
> >     This message is auto! matically generated by JIRA.
> >
> >     If you think it was sent incorrectly contact one of the
> >     administrators:
> >     http://issues.apache.org/jira/secure/Administrators.jspa
> >
> >     If you want more information on JIRA, or have a bug to report see:
> >     http://www.atlassian.com/software/jira
> >
> >
> >
> > ------------------------------------------------------------------------
> > Do you Yahoo!?
> > vote.yahoo.com <http://vote.yahoo.com> - Register online to vote today! 
> 
> 
> 
> -- 
> The best way to predict the future is to invent it - Alan Kay
> 
> 



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

Mime
View raw message