[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-c-user
Subject:    Re: Invoking non-C wsdl
From:       "Andre Coelho" <andre.durst () gmail ! com>
Date:       2008-03-27 14:18:20
Message-ID: b84efbef0803270718i215db13dy579e641f916d257b () mail ! gmail ! com
[Download RAW message or body]

I currently have a c++ program that i want to comunicate with a java
webservice.
I was trying to figure out by teh examples but i have one doubt.

I already have a comunication on my AS application and I only do something
like:

            server.loadWSDL(webserviceURL + "calculator?wsdl");
            var token:AsyncToken = server.add.send(1,2);
            token.addResponder(new Responder(addResult, onFault));

and it works like a charm

I saw on the examples this:

           Calculator ws (endpoint);
           ws.add(1,2);


So, my question is: do I really have to instantiate a Calculator class?
cant i have like a generic ws that i can call methods that aren't defined in
C?
I'm using Axis C++, as u can notice.

I hope i made my self clear

[Attachment #3 (text/html)]

I currently have a c++ program that i want to comunicate with a java webservice.<br>I \
was trying to figure out by teh examples but i have one doubt.<br><br>I already have \
a comunication on my AS application and I only do something like:<br>

<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
server.loadWSDL(webserviceURL + &quot;calculator?wsdl&quot;);<br>&nbsp;&nbsp;&nbsp; \
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; var token:AsyncToken = \
server.add.send(1,2);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \
token.addResponder(new Responder(addResult, onFault));<br><br>and it works like a \
charm<br>

<br>I saw on the examples \
this:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Calculator \
ws (endpoint);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
ws.add(1,2);<br><br><br>So, my question is: do I really have to instantiate a \
Calculator class?<br>cant i have like a generic ws that i can call methods that \
aren&#39;t defined in C?<br>

I&#39;m using Axis C++, as u can notice.<br><br>I hope i made my self clear



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic