axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roshan Weerasuriya <ros...@opensource.lk>
Subject RE: client problem with C++-Client
Date Tue, 06 Jul 2004 13:37:39 GMT
hi Titus,

Actualy what I requested was not the generated files.What I requestd was
the WSDL fiel. Can you attach the WSDL file which you are using to
generate your Stubs/Skelitons?

Roshan

On Tue, 2004-07-06 at 14:19, Titus Jakob wrote:
> Hi Roshan
> Since I can not send a *.zip I send you all the *.h and *.cpp files of
> my vc-project.
> I can not link the whole stuff.
> Tiuts
> 
> -----Original Message-----
> From: axis-c-user-return-623-titus.jakob=fh-aargau.ch@ws.apache.org
> [mailto:axis-c-user-return-623-titus.jakob=fh-aargau.ch@ws.apache.org]
> On Behalf Of Roshan Weerasuriya
> Sent: Dienstag, 6. Juli 2004 09:31
> To: Apache AXIS C User List
> Subject: RE: client problem with C++-Client
> 
> 
> hi Titus,
> 
> Can you send the wsdl which you are using?
> 
> Roshan
> 
> On Mon, 2004-07-05 at 12:09, Titus Jakob wrote:
> > Hi Susantha
> > - Problem solved! The XML-Parser-dll should be renamed to 
> > AxisXMLParser.dll  (with 'r' )  and not AxisXMLParse.dll  as stated in
> 
> > the manual.
> >  
> > - other question: Have you expierience handling complex data types ( 
> > not only int, double, char etc)?
> >     - I tried method :  void RegisterPoint( Point p ) , where Point 
> > constist of two protected data-members of type int.
> >     - When I try to creat the stubs with WSDL2Ws I run in troubles.
> >     - Do you I have to serialize the whole stuff?...
> >  
> > Thanks
> > Titus
> >  
> > Transport Library and Parser Library
> > AxisTransport.dll (Which can be found at AXIS_EXTRACT/bin) should be 
> > placed in the path, and be specified as the value to the key 
> > "Transport_http" in axiscpp.conf (AXIS_FOLDER/axiscpp.conf) Or in the 
> > same place as the client.exe.
> > 
> > AxisXMLParser.dll ( Either one of AxisXMLParser_Expat.dll or 
> > AxisXMLParser_Xerces.dll should be renamed to AxisXMLParse.dll 
> > depending .....
> > 
> > 
> >          
> >          
> >          
> >          
> >          
> >         
> >         Could you send me the SOAP message if possible ?. Then I can
> >         see what is going wrong.
> >         
> >          
> >         
> >         Susantha
> >         
> >         ---
> >         
> >         -----Original Message-----
> >         From: Titus Jakob [mailto:titus.jakob@fh-aargau.ch] 
> >         Sent: Thursday, July 01, 2004 6:42 PM
> >         To: axis-c-user@ws.apache.org
> >         Subject: client problem with C++-Client
> >         
> >          
> >         
> >         Hi 
> >         May be you can help me. 
> >         1)  I have a running web-service, handeled by Java-Axis.
> >         2)  If the client is a java-client everything works well.
> >         3)  I downloaded axis-c-1-2-alpha-win32,  and created the
> >         client stubs ( see below, AAAA)
> >         4)  the client programm (BBBB) compiles well.
> >         5)  during run time, it successfully starts the server-side
> >         but fails with the return value  at CCCC with an "access
> >         violation"...(?)
> >         
> >         precise error message: "unhandeled exception in CClient.exe(
> >         AXISCLIENT.DLL ): 0X0000005: Access Violation
> >         
> >          
> >         
> >         Do you have me a hint, what to do?
> >         Thanks in advance
> >         Titus
> >         
> >         CCCC (Currency2.cpp)
> >         if(AXIS_SUCCESS == m_pCall->checkMessage("multiplyResponse",
> >         "http://localhost:8080/axis/Currency2.jws"))
> >         
> >          
> >         
> >         BBBB
> >         #include "Currency2.h"
> >         int main()
> >         {
> >                 Currency2 c;
> >                         int result = -22;
> >                         result = c.multiply(46);
> >                 printf("result = %d", result);
> >                 return 0;
> >         }
> >         
> >          
> >         
> >         AAAA
> >         java -classpath %classpath%;.\wsdl2ws.jar
> >         org.apache.axis.wsdl.wsdl2ws.WSDL2Ws
> >         http://localhost:8080/axis/Currency2.jws?WSDL
> >         -o./CurrencyCClient -lc++ -sclient
> >         
> >         
> >         
> >         
> >         
> >         
> 


Mime
View raw message