Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 4350 invoked from network); 14 Mar 2005 18:52:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Mar 2005 18:52:42 -0000 Received: (qmail 35966 invoked by uid 500); 14 Mar 2005 18:52:42 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 35782 invoked by uid 500); 14 Mar 2005 18:52:41 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 35767 invoked by uid 99); 14 Mar 2005 18:52:41 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=HTML_50_60,HTML_MESSAGE,HTML_TAG_EXIST_TBODY X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from imail.cincom.com (HELO em02.cincom.com) (198.8.67.11) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 14 Mar 2005 10:52:40 -0800 Received: from em01.cincom.com ([10.1.1.23]) by em02.cincom.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 14 Mar 2005 13:52:38 -0500 Received: from im01.cincom.com ([10.1.1.86]) by em01.cincom.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 14 Mar 2005 13:52:38 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C528C6.FE14CCA3" Subject: RE: Help with using axis C++ Date: Mon, 14 Mar 2005 13:52:37 -0500 Message-ID: <6418CC03D0FB1943A464E1FEFB3ED46B01783A9B@im01.cincom.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Help with using axis C++ Thread-Index: AcUoxj+MbKhb0ERuToqhl1DNMMuGYgAADyGA From: "Kon Kam King, France" To: "Apache AXIS C User List" X-OriginalArrivalTime: 14 Mar 2005 18:52:38.0350 (UTC) FILETIME=[FE35C6E0:01C528C6] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C528C6.FE14CCA3 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Here is my classpath: =20 C:\j2sdk1.4.1_01\jre\lib;C:\axis-1_2RC2\axis-1_2RC2\lib\axis.jar;C:\axis-= 1_2RC2\ axis-1_2RC2\lib\commons-discovery.jar;C:\axis-1_2RC2\axis-1_2RC2\lib\comm= ons-log ging.jar;C:\axis-1_2RC2\axis-1_2RC2\lib\jaxrpc.jar;C:\axis-1_2RC2\axis-1_= 2RC2\li b\saaj.jar;C:\axis-1_2RC2\axis-1_2RC2\lib\wsdl4j.jar;C:\axis-1_2RC2\axis-= 1_2RC2\ lib\xml-apis.jar =20 I am running Axis-C 1.3. ________________________________ De : John Hawkins [mailto:hawkinsj@uk.ibm.com]=20 Envoy=E9 : lundi 14 mars 2005 19:47 =C0 : Apache AXIS C User List Objet : RE: Help with using axis C++ This seems to work fine for me - I get the attached files produced .=20 My cmd line is ->=20 set WSDL2WsJar=3D%builddir%\obj\classes\wsdl2ws.jar=20 set axisJar=3D%PreReqsDir%\java\axis.jar=20 set commonsdiscoveryJar=3D%PreReqsDir%\java\commons-discovery.jar=20 set commonsloggingjar=3D%PreReqsDir%\java\commons-logging.jar=20 set jaxrpcjar=3D%PreReqsDir%\java\jaxrpc.jar=20 set saajjar=3D%PreReqsDir%\java\saaj.jar=20 set wsdl4jjar=3D%PreReqsDir%\java\wsdl4j.jar=20 rem set WSDLFile=3D%baseWSDLPath%\%1=20 set WSDLFile=3D%1=20 set = foo=3D%wsdl2wsjar%;%axisJar%;%commonsdiscoveryjar%;%commonsloggingjar%;%j= axrpcjar%;%saajjar%;%wsdl4jjar%=20 java -classpath %foo% org.apache.axis.wsdl.wsdl2ws.WSDL2Ws -sclient = -oWSDLOutput %WSDLFile%=20 you sure you got the right level of pre-reqs? Where did you get them = from?=20 "Kon Kam King, France" =20 14/03/2005 18:13=20 Please respond to "Apache AXIS C User List" To "Apache AXIS C User List" =20 cc Subject RE: Help with using axis C++ =09 Here it is:=20 =20 ________________________________ De : John Hawkins [mailto:hawkinsj@uk.ibm.com]=20 Envoy=E9 : lundi 14 mars 2005 19:09 =C0 : Apache AXIS C User List Objet : RE: Help with using axis C++ I think this should work but can you send us the WSDL to try?=20 "Kon Kam King, France" =20 14/03/2005 18:00=20 Please respond to "Apache AXIS C User List" To "Apache AXIS C User List" =20 cc Subject RE: Help with using axis C++ =09 When I remove the type schema declaration from my WSDL, WSDL2Ws runs to = completion.=20 Is complex type allowed wih WSDL2Ws?=20 I do see an example of a WSDL in the samples library with doclitfault.=20 Can somebody help me?=20 =20 ________________________________ De : Kon Kam King, France=20 Envoy=E9 : lundi 14 mars 2005 16:10 =C0 : 'Apache AXIS C User List' Objet : RE: Help with using axis C++ I need to pass a complex-type parameter from a C++ client to a soap = server, for example=20 =20 user1=20 pass=20 parameters=20 =20 =20 How is this done in Axis-c?=20 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:=20 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)=20 =20 Code generation failed. Please see errors above.=20 I look at the doc/lit examples in the samples but there are no WSDL.=20 How was the wrappers in these examples generated?=20 =20 Thanks,=20 France=20 =20 ________________________________ De : Samisa Abeysinghe [mailto:SAbeysinghe@virtusa.com]=20 Envoy=E9 : mercredi 9 mars 2005 11:25 =C0 : Apache AXIS C User List Objet : RE: Help with using axis C++ We do not have this kind of invoke support in Axis C++.=20 =20 Thanks,=20 Samisa...=20 =20 -----Original Message----- From: Kon Kam King, France [mailto:fking@cincom.com]=20 Sent: Wednesday, March 09, 2005 4:17 PM To: axis-c-user@ws.apache.org Subject: RE: Help with using axis C++=20 =20 Hi,=20 In Java the invoke method has the possibility of passing a document = object :=20 e.g=20 elems =3D (Vector) call.invoke(doc) where doc is an XML = document.=20 In Axis-c my program gets a compile error complaining that invoke has no = parameter.=20 Is there the same type of invoke in C/C++?=20 Thanks,=20 France=20 ________________________________ De : Kon Kam King, France=20 Envoy=E9 : mardi 8 mars 2005 12:44 =C0 : 'axis-c-user@ws.apache.org' Objet : Help with using axis C++=20 =20 Hi,=20 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.=20 I have this running in Java but the interface seems to be different in = C++.=20 Does anybody have example code of building the soap message ,the invoke = with the call and getting the request.=20 Thanks.=20 ------_=_NextPart_001_01C528C6.FE14CCA3 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Here=20 is my classpath:
 
C:\j2sdk1.4.1_01\jre\lib;C:\axis-1_2RC2\axis-1_2RC2\lib\axis.jar= ;C:\axis-1_2RC2\
axis-1_2RC2\lib\commons-discovery.jar;C:\axis-1_2RC2\= axis-1_2RC2\lib\commons-log
ging.jar;C:\axis-1_2RC2\axis-1_2RC2\lib\ja= xrpc.jar;C:\axis-1_2RC2\axis-1_2RC2\li
b\saaj.jar;C:\axis-1_2RC2\axis-= 1_2RC2\lib\wsdl4j.jar;C:\axis-1_2RC2\axis-1_2RC2\
lib\xml-apis.jar
 
I am=20 running Axis-C 1.3.


De : John Hawkins=20 [mailto:hawkinsj@uk.ibm.com]
Envoy=E9 : lundi 14 mars = 2005=20 19:47
=C0 : Apache AXIS C User = List
Objet : RE: Help=20 with using axis C++


This seems to work fine = for me - I=20 get the attached files produced .

My=20 cmd line is ->
set=20 WSDL2WsJar=3D%builddir%\obj\classes\wsdl2ws.jar
set axisJar=3D%PreReqsDir%\java\axis.jar
set = commonsdiscoveryJar=3D%PreReqsDir%\java\commons-discovery.jar=20
set=20 commonsloggingjar=3D%PreReqsDir%\java\commons-logging.jar =
set = jaxrpcjar=3D%PreReqsDir%\java\jaxrpc.jar
=20
set = saajjar=3D%PreReqsDir%\java\saaj.jar=20
set=20 wsdl4jjar=3D%PreReqsDir%\java\wsdl4j.jar

rem set WSDLFile=3D%baseWSDLPath%\%1
set WSDLFile=3D%1
set=20 foo=3D%wsdl2wsjar%;%axisJar%;%commonsdiscoveryjar%;%commonsloggingjar%;%j= axrpcjar%;%saajjar%;%wsdl4jjar%=20

java -classpath %foo%=20 org.apache.axis.wsdl.wsdl2ws.WSDL2Ws -sclient  -oWSDLOutput=20 %WSDLFile%

you sure you = got the=20 right level of pre-reqs? Where did you get them from?=20






"Kon Kam King, = France"=20 <fking@cincom.com>

14/03/2005 18:13=20
Please = respond=20 to
"Apache AXIS C User = List"

To
"Apache AXIS = C User=20 List" <axis-c-user@ws.apache.org>=20
cc
Subject
RE: Help = with using axis=20 C++

=




Here it is:
 


De : John Hawkins = [mailto:hawkinsj@uk.ibm.com]=20
Envoy=E9 :
lundi 14 mars 2005 19:09
=C0 :
Apache = AXIS C User=20 List
Objet :
RE: Help with using axis C++



I think = this should work=20 but can you send us the WSDL to try?
=



"Kon Kam King, = France"=20 <fking@cincom.com>

14/03/2005 18:00=20
Please = respond=20 to
"Apache AXIS C User = List"


To
"Apache AXIS=20 C User List" <axis-c-user@ws.apache.org>=20
cc
Subject
RE: Help = with using axis=20 C++







When I remove the=20 type schema declaration from my WSDL, WSDL2Ws runs to = completion.

Is complex = type allowed=20 wih WSDL2Ws?

I=20 do see an example of a WSDL in the samples library with = doclitfault.

Can = somebody help=20 me?

 


De : Kon Kam King, France =
Envoy=E9 :
=20 lundi 14 mars 2005 16:10
=C0 :
'Apache AXIS C User = List'
Objet=20 :
RE: Help with using axis C++


I need to pass a complex-type = parameter from a=20 C++ client  to a soap server, for example
=
<person>
 =20 <user>user1</user>
  =  <password>pass</pass>

  =  =20 <parameter>parameters</parameters>
=
</person>=20
 

How is = this done in=20 Axis-c?

I=20 tried to use WSDL2Ws to try generating the client stubs, with a WSDL = with=20 complex-type, and soap/literal binding, but got an = exception:

ATTENTION: = Unable to find=20 required classes (javax.activation.DataHandler and=20 jav
ax.mail.internet.MimeMultipart). Attachment support is=20 disabled.
java.lang.NoSuchMethodError:=20 org.apache.axis.wsdl.symbolTable.SchemaUtils.getUni
onNode(Lorg/w3c/do= m/Node;)Lorg/w3c/dom/Node;
 =20     at=20 org.apache.axis.wsdl.symbolTable.SymbolTable.addTypes(SymbolTable.jav
= a:953)
 =20     at=20 org.apache.axis.wsdl.symbolTable.SymbolTable.addTypes(SymbolTable.jav
= a:1092)
 =20     at=20 org.apache.axis.wsdl.symbolTable.SymbolTable.addTypes(SymbolTable.jav
= a:1092)
 =20     at=20 org.apache.axis.wsdl.symbolTable.SymbolTable.addTypes(SymbolTable.jav
= a:1092)
 =20     at=20 org.apache.axis.wsdl.symbolTable.SymbolTable.addTypes(SymbolTable.jav
= a:1092)
 =20     at=20 org.apache.axis.wsdl.symbolTable.SymbolTable.populateTypes(SymbolTabl
= e.java:895)
 =20     at=20 org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
= a:693)
 =20     at=20 org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:531
= )
 =20     at=20 org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
= a:506)
 =20     at=20 org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
= a:483)
 =20     at=20 org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:356)
&nbs= p;=20     at=20 java.lang.Thread.run(Thread.java:536)
org.apache.axis.wsdl.wsdl2ws.Wra= pperFault:=20 the service does not exists
      at=20 org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceEntry(WSDL2Ws.java:523
= )
 =20     at=20 org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.perprocess(WSDL2Ws.java:121)
&nbs= p;=20     at=20 org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.genarateWrappers(WSDL2Ws.java:46
= 8)
 =20     at=20 org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(WSDL2Ws.java:805)
=20
 

Code = generation failed.=20 Please see errors above.

I look at the doc/lit examples in the samples but there are = no=20 WSDL.

How was=20 the wrappers in these examples generated?
=20
 

Thanks,

France
=20
 


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


We do not have this kind of invoke support in Axis = C++.

 
Thanks,

Samisa=85

 
-----Original Message-----
From:
Kon Kam King, = France=20 [mailto:fking@cincom.com]
Sent:
Wednesday, March 09, 2005 = 4:17=20 PM
To:
axis-c-user@ws.apache.org
Subject:
RE: Help = with=20 using axis C++

 
Hi,

In Java the invoke method has the possibility of passing a = document=20 object :

e.g=20
elems =3D (Vector) call.invoke(doc)         =    =20   where doc is an XML document.

In Axis-c my program gets a compile error = complaining that=20 invoke has no parameter.

Is there the same type of invoke in C/C++?
=20
Thanks,
=20
France





De :
Kon Kam King, = France=20
Envoy=E9 :
mardi 8 mars 2005 12:44
=C0 :
=20 'axis-c-user@ws.apache.org'
Objet :
Help with using axis=20 C++

 =20

Hi,=20
I am a newbie to using Axis-c, = and want to=20 know how to create a soap message to send to a Soap server and to get = the=20 response.

I have this running in Java but the = interface seems=20 to be different in C++. =
Does anybody have example code of building the = soap=20 message ,the invoke with the call and getting the request.
Thanks.
=

------_=_NextPart_001_01C528C6.FE14CCA3--