axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kon Kam King, France" <fk...@cincom.com>
Subject RE: Help with using axis C++
Date Mon, 14 Mar 2005 15:09:48 GMT
I need to pass a complex-type parameter from a C++ client  to a soap server, for example
<person>
   <user>user1</user>
    <password>pass</pass>
     <parameter>parameters</parameters>
</person>
 
How is this done in Axis-c?
I tried to use WSDL2Ws to try generating the client stubs, with a WSDL with complex-type,
and soap/literal binding, but got an exception:
ATTENTION: Unable to find required classes (javax.activation.DataHandler and jav
ax.mail.internet.MimeMultipart). Attachment support is disabled.
java.lang.NoSuchMethodError: org.apache.axis.wsdl.symbolTable.SchemaUtils.getUni
onNode(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
        at org.apache.axis.wsdl.symbolTable.SymbolTable.addTypes(SymbolTable.jav
a:953)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.addTypes(SymbolTable.jav
a:1092)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.addTypes(SymbolTable.jav
a:1092)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.addTypes(SymbolTable.jav
a:1092)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.addTypes(SymbolTable.jav
a:1092)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populateTypes(SymbolTabl
e.java:895)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
a:693)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:531
)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
a:506)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
a:483)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:356)
        at java.lang.Thread.run(Thread.java:536)
org.apache.axis.wsdl.wsdl2ws.WrapperFault: the service does not exists
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceEntry(WSDL2Ws.java:523
)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.perprocess(WSDL2Ws.java:121)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.genarateWrappers(WSDL2Ws.java:46
8)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(WSDL2Ws.java:805)
 
Code generation failed. Please see errors above.
I look at the doc/lit examples in the samples but there are no WSDL.
How was the wrappers in these examples generated?
 
Thanks,
France
 

________________________________

De : Samisa Abeysinghe [mailto:SAbeysinghe@virtusa.com] 
Envoyé : mercredi 9 mars 2005 11:25
À : Apache AXIS C User List
Objet : RE: Help with using axis C++


We do not have this kind of invoke support in Axis C++.
 
Thanks,
Samisa...
 
-----Original Message-----
From: Kon Kam King, France [mailto:fking@cincom.com] 
Sent: Wednesday, March 09, 2005 4:17 PM
To: axis-c-user@ws.apache.org
Subject: RE: Help with using axis C++
 
Hi,
In Java the invoke method has the possibility of passing a document object :
e.g 
elems = (Vector) call.invoke(doc)               where doc is an XML document.
In Axis-c my program gets a compile error complaining that invoke has no parameter.
Is there the same type of invoke in C/C++?
Thanks,
France
________________________________

De : Kon Kam King, France 
Envoyé : mardi 8 mars 2005 12:44
À : 'axis-c-user@ws.apache.org'
Objet : Help with using axis C++
 
Hi, 
I am a newbie to using Axis-c, and want to know how to create a soap message to send to a
Soap server and to get the response.
I have this running in Java but the interface seems to be different in C++. 
Does anybody have example code of building the soap message ,the invoke with the call and
getting the request. 
Thanks. 

Mime
View raw message