Re: Failed in creating DLL

2008-03-26 Thread Sunil Pandit
Manjula

Thanks for your quick response. The dll has been tested on one of our
server . We deployed this dll in customer environment and we are getting
this error . So I am not sure if it is compiler settings. Yes the service
name is correct.

Regards
Sunil Pandit
RD , CSC FSG Austin
(512)2755792

Computer Sciences Corporation
Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA
Registered in USA No: C-489-59



This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.





   
 Manjula Peiris
 [EMAIL PROTECTED] 
   To 
   Apache AXIS C User List 
 03/26/2008 01:43  axis-c-user@ws.apache.org 
 AM cc 
   
   Subject 
 Please respond to Re: Failed in creating DLL  
  Apache AXIS C   
User List 
 [EMAIL PROTECTED] 
pache.org 
   
   




Hi Sunil,

How did you create the service ? What are the compiler and linker
commands? And is the service dll name in the services.xml is correct?

Thanks,
-Manjula


On Tue, 2008-03-25 at 21:08 -0500, Sunil Pandit wrote:
 Hello Axis experts ,

 I have developed a web service which has been working fine in our test
 environment .  We have tested this service in both axis web server
 environment as well as in HTTP server environment.

 However when we deployed same service in our  customer's environment ,
we
 are facing Failed in creating DLL  error .

 The service can be seen among the available services . I would appreciate
 if someone shed some light on this problem. Here is the log.

 [Tue Mar 25 15:26:26 2008] [info]  Starting HTTP server thread
 [Tue Mar 25 15:26:34 2008] [debug]
 ..\..\src\core\transport\http\common\http_worker.c(153) Client HTTP
version
 HTTP/1.0
 [Tue Mar 25 15:26:34 2008] [debug]
..\..\axiom\src\soap\soap_builder.c(843)
 Identified soap version is soap11
 [Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\engine.c(648)
 Start:axis2_engine_invoke_phases
 [Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\engine.c(660)
 Invoking phase Transport
 [Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\phase.c(204)
 Invoke the handler request_uri_based_dispatcher within the phase
Transport
 [Tue Mar 25 15:26:34 2008] [debug]
 ..\..\src\core\engine\req_uri_disp.c(101) Checking for service using
target
 endpoint address : http://161.250.36.4:9090/axis2/services/VPMSService
 [Tue Mar 25 15:26:34 2008] [debug]
 ..\..\src\core\engine\req_uri_disp.c(122) Service found using target
 endpoint address
 [Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\phase.c(204)
 Invoke the handler AddressingInHandler within the phase Transport
 [Tue Mar 25 15:26:34 2008] [info]  Starting addressing in handler
.
 [Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\phase.c(204)
 Invoke the handler addressing_based_dispatcher within the phase Transport
 [Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\engine.c(660)
 Invoking phase PreDispatch
 [Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\engine.c(660)
 Invoking phase Dispatch
 [Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\phase.c(204)
 Invoke the handler soap_message_body_based_dispatcher within the phase
 Dispatch
 [Tue Mar 25 15:26:34 2008] [debug]
 ..\..\src\core\engine\soap_body_disp.c(228) Checking for operation using
 SOAP message body's first child's local name : execute
 [Tue

Re: Failed in creating DLL

2008-03-26 Thread Sunil Pandit
Nandika ,

The server where it is running is

OS Name Microsoft(R) Windows(R) Server 2003, Standard Edition
Version 5.2.3790 Service Pack 1 Build 3790

And the machine where it is failing is

OS Name Microsoft Windows XP Professional
Version 5.1.2600 Service Pack 2 Build 2600

Could you please elaborate which libraries I should be looking for .? The
dependency of axis are same .

Thanks
Sunil Pandit
RD , CSC FSG Austin
(512)2755792

Computer Sciences Corporation
Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA
Registered in USA No: C-489-59



This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.





   
 Nandika  
 Jayawardana  
 [EMAIL PROTECTED]  To 
 om   Apache AXIS C User List   
   axis-c-user@ws.apache.org 
 03/26/2008 10:12   cc 
 AM
   Subject 
   Re: Failed in creating DLL  
 Please respond to 
  Apache AXIS C   
User List 
 [EMAIL PROTECTED] 
pache.org 
   
   




Hi,
This may be due to a difference in C runtime environments in the
machine you tested and the machine you have deployed the service. Also
check whether there is a difference in dependency library versions.

Regards
Nandika

On Wed, Mar 26, 2008 at 7:56 PM, Sunil Pandit [EMAIL PROTECTED] wrote:
 Manjula

 Thanks for your quick response. The dll has been tested on one of our
 server . We deployed this dll in customer environment and we are getting
 this error . So I am not sure if it is compiler settings. Yes the service
 name is correct.

 Regards
 Sunil Pandit
 RD , CSC FSG Austin
 (512)2755792

 Computer Sciences Corporation
 Registered Office: 2100 East Grand Avenue, El Segundo California 90245,
USA
 Registered in USA No: C-489-59





 This is a PRIVATE message. If you are not the intended recipient, please
 delete without copying and kindly advise us by e-mail of the mistake in
 delivery.
 NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
 any order or other contract unless pursuant to explicit written agreement
 or government initiative expressly permitting the use of e-mail for such
 purpose.








 Manjula Peiris
 [EMAIL PROTECTED]
   To
   Apache AXIS C User List
 03/26/2008 01:43  axis-c-user@ws.apache.org
 AM cc

   Subject
 Please respond to Re: Failed in creating DLL
  Apache AXIS C
User List
 [EMAIL PROTECTED]
pache.org







 Hi Sunil,

 How did you create the service ? What are the compiler and linker
 commands? And is the service dll name in the services.xml is correct

Re: Failed in creating DLL

2008-03-26 Thread Sunil Pandit
Nandika ,

The service in both the environments using the same DLL's and also the same
runtime DLL . The only difference is Windows server vs . Windows XP.

Regards
Sunil Pandit
RD , CSC FSG Austin
(512)2755792

Computer Sciences Corporation
Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA
Registered in USA No: C-489-59



This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.





   
 Nandika  
 Jayawardana  
 [EMAIL PROTECTED]  To 
 om   Apache AXIS C User List   
   axis-c-user@ws.apache.org 
 03/26/2008 11:19   cc 
 AM
   Subject 
   Re: Failed in creating DLL  
 Please respond to 
  Apache AXIS C   
User List 
 [EMAIL PROTECTED] 
pache.org 
   
   




Hi,
What I meant was C runtime library MSVCRT.DLL. Try using the
depends.exe ( Dependency walker tool ) to find out the dependencies of
your service. This may help you figure out the problem.

Regards
Nandika


On Wed, Mar 26, 2008 at 9:23 PM, Sunil Pandit [EMAIL PROTECTED] wrote:
 Nandika ,

 The server where it is running is

 OS Name Microsoft(R) Windows(R) Server 2003, Standard Edition
 Version 5.2.3790 Service Pack 1 Build 3790

 And the machine where it is failing is

 OS Name Microsoft Windows XP Professional
 Version 5.1.2600 Service Pack 2 Build 2600

 Could you please elaborate which libraries I should be looking for .? The
 dependency of axis are same .

 Thanks
 Sunil Pandit
 RD , CSC FSG Austin
 (512)2755792

 Computer Sciences Corporation
 Registered Office: 2100 East Grand Avenue, El Segundo California 90245,
USA
 Registered in USA No: C-489-59





 This is a PRIVATE message. If you are not the intended recipient, please
 delete without copying and kindly advise us by e-mail of the mistake in
 delivery.
 NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
 any order or other contract unless pursuant to explicit written agreement
 or government initiative expressly permitting the use of e-mail for such
 purpose.








 Nandika
 Jayawardana
 [EMAIL PROTECTED]  To
 om   Apache AXIS C User List
   axis-c-user@ws.apache.org
 03/26/2008 10:12   cc
 AM
   Subject
   Re: Failed in creating DLL
 Please respond to

  Apache AXIS C
User List
 [EMAIL PROTECTED]
pache.org






 Hi,
 This may be due to a difference in C runtime environments in the
 machine you tested and the machine you have deployed the service. Also
 check whether there is a difference in dependency library versions

Re: Failed in creating DLL

2008-03-26 Thread Sunil Pandit
Hello again,

I ran depends walker on my service dll. All the direct dependencies (Axis
related) are same on both the environment . The run time msvcrt.dll is also
same.

The only difference is windows xp vs. windows server.

Any  clue in resolving this issue ?

Any help is greatly appreciated.

Thanks
Sunil Pandit
RD , CSC FSG Austin
(512)2755792

Computer Sciences Corporation
Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA
Registered in USA No: C-489-59



This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.





   
 Nandika  
 Jayawardana  
 [EMAIL PROTECTED]  To 
 om   Apache AXIS C User List   
   axis-c-user@ws.apache.org 
 03/26/2008 11:19   cc 
 AM
   Subject 
   Re: Failed in creating DLL  
 Please respond to 
  Apache AXIS C   
User List 
 [EMAIL PROTECTED] 
pache.org 
   
   




Hi,
What I meant was C runtime library MSVCRT.DLL. Try using the
depends.exe ( Dependency walker tool ) to find out the dependencies of
your service. This may help you figure out the problem.

Regards
Nandika


On Wed, Mar 26, 2008 at 9:23 PM, Sunil Pandit [EMAIL PROTECTED] wrote:
 Nandika ,

 The server where it is running is

 OS Name Microsoft(R) Windows(R) Server 2003, Standard Edition
 Version 5.2.3790 Service Pack 1 Build 3790

 And the machine where it is failing is

 OS Name Microsoft Windows XP Professional
 Version 5.1.2600 Service Pack 2 Build 2600

 Could you please elaborate which libraries I should be looking for .? The
 dependency of axis are same .

 Thanks
 Sunil Pandit
 RD , CSC FSG Austin
 (512)2755792

 Computer Sciences Corporation
 Registered Office: 2100 East Grand Avenue, El Segundo California 90245,
USA
 Registered in USA No: C-489-59





 This is a PRIVATE message. If you are not the intended recipient, please
 delete without copying and kindly advise us by e-mail of the mistake in
 delivery.
 NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
 any order or other contract unless pursuant to explicit written agreement
 or government initiative expressly permitting the use of e-mail for such
 purpose.








 Nandika
 Jayawardana
 [EMAIL PROTECTED]  To
 om   Apache AXIS C User List
   axis-c-user@ws.apache.org
 03/26/2008 10:12   cc
 AM
   Subject
   Re: Failed in creating DLL
 Please respond to

  Apache AXIS C
User List
 [EMAIL PROTECTED]
pache.org






 Hi,
 This may be due to a difference in C runtime environments

Re: Failed in creating DLL

2008-03-26 Thread Sunil Pandit
The service is C implementation . It does uses one dll other than the axis
and runtime DLL. That DLL is in path.

Thanks
Sunil Pandit
RD , CSC FSG Austin
(512)2755792

Computer Sciences Corporation
Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA
Registered in USA No: C-489-59



This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.





   
 Senaka Fernando 
 [EMAIL PROTECTED] 
To 
 03/26/2008 05:30  Apache AXIS C User List   
 PMaxis-c-user@ws.apache.org 
cc 
   
 Please respond to Subject 
  Apache AXIS C   Re: Failed in creating DLL  
User List 
 [EMAIL PROTECTED] 
pache.org 
   
   
   




Hi Sunil,

Few clarifications,

1. Is your service using any C++ code?
2. Is your service dependant on any other library other than the runtime?

Regards,
Senaka

 Nandika ,

 The service in both the environments using the same DLL's and also the
 same
 runtime DLL . The only difference is Windows server vs . Windows XP.

 Regards
 Sunil Pandit
 RD , CSC FSG Austin
 (512)2755792

 Computer Sciences Corporation
 Registered Office: 2100 East Grand Avenue, El Segundo California 90245,
 USA
 Registered in USA No: C-489-59





 This is a PRIVATE message. If you are not the intended recipient, please
 delete without copying and kindly advise us by e-mail of the mistake in
 delivery.
 NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
 any order or other contract unless pursuant to explicit written agreement
 or government initiative expressly permitting the use of e-mail for such
 purpose.








  Nandika
  Jayawardana
  [EMAIL PROTECTED]
To
  om   Apache AXIS C User List
axis-c-user@ws.apache.org
  03/26/2008 11:19
cc
  AM

Subject
Re: Failed in creating DLL
  Please respond to
   Apache AXIS C
 User List
  [EMAIL PROTECTED]
 pache.org






 Hi,
 What I meant was C runtime library MSVCRT.DLL. Try using the
 depends.exe ( Dependency walker tool ) to find out the dependencies of
 your service. This may help you figure out the problem.

 Regards
 Nandika


 On Wed, Mar 26, 2008 at 9:23 PM, Sunil Pandit [EMAIL PROTECTED] wrote:
 Nandika ,

 The server where it is running is

 OS Name Microsoft(R) Windows(R) Server 2003, Standard Edition
 Version 5.2.3790 Service Pack 1 Build 3790

 And the machine where it is failing is

 OS Name Microsoft Windows XP Professional
 Version 5.1.2600 Service Pack 2 Build 2600

 Could you please elaborate which libraries I should be looking for .?
 The
 dependency of axis are same .

 Thanks
 Sunil Pandit
 RD , CSC FSG Austin
 (512)2755792

 Computer Sciences Corporation
 Registered Office: 2100 East Grand Avenue, El

Failed in creating DLL

2008-03-25 Thread Sunil Pandit

Hello Axis experts ,

I have developed a web service which has been working fine in our test
environment .  We have tested this service in both axis web server
environment as well as in HTTP server environment.

However when we deployed same service in our  customer's environment ,  we
are facing Failed in creating DLL  error .

The service can be seen among the available services . I would appreciate
if someone shed some light on this problem. Here is the log.

[Tue Mar 25 15:26:26 2008] [info]  Starting HTTP server thread
[Tue Mar 25 15:26:34 2008] [debug]
..\..\src\core\transport\http\common\http_worker.c(153) Client HTTP version
HTTP/1.0
[Tue Mar 25 15:26:34 2008] [debug] ..\..\axiom\src\soap\soap_builder.c(843)
Identified soap version is soap11
[Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\engine.c(648)
Start:axis2_engine_invoke_phases
[Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\engine.c(660)
Invoking phase Transport
[Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\phase.c(204)
Invoke the handler request_uri_based_dispatcher within the phase Transport
[Tue Mar 25 15:26:34 2008] [debug]
..\..\src\core\engine\req_uri_disp.c(101) Checking for service using target
endpoint address : http://161.250.36.4:9090/axis2/services/VPMSService
[Tue Mar 25 15:26:34 2008] [debug]
..\..\src\core\engine\req_uri_disp.c(122) Service found using target
endpoint address
[Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\phase.c(204)
Invoke the handler AddressingInHandler within the phase Transport
[Tue Mar 25 15:26:34 2008] [info]  Starting addressing in handler .
[Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\phase.c(204)
Invoke the handler addressing_based_dispatcher within the phase Transport
[Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\engine.c(660)
Invoking phase PreDispatch
[Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\engine.c(660)
Invoking phase Dispatch
[Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\phase.c(204)
Invoke the handler soap_message_body_based_dispatcher within the phase
Dispatch
[Tue Mar 25 15:26:34 2008] [debug]
..\..\src\core\engine\soap_body_disp.c(228) Checking for operation using
SOAP message body's first child's local name : execute
[Tue Mar 25 15:26:34 2008] [debug]
..\..\src\core\engine\soap_body_disp.c(236) Operation found using SOAP
message body's first child's local name
[Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\phase.c(204)
Invoke the handler soap_action_based_dispatcher within the phase Dispatch
[Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\engine.c(660)
Invoking phase PostDispatch
[Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\phase.c(204)
Invoke the handler dispatch_post_conditions_evaluator within the phase
PostDispatch
[Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\phase.c(204)
Invoke the handler context_handler within the phase PostDispatch
[Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\engine.c(670)
End:axis2_engine_invoke_phases
[Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\engine.c(648)
Start:axis2_engine_invoke_phases
[Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\engine.c(670)
End:axis2_engine_invoke_phases
[Tue Mar 25 15:26:34 2008] [error]
..\..\src\core\receivers\raw_xml_in_out_msg_recv.c(115) Impl object for
service 'VPMSService' not set in message receiver. 100 :: Failed in
creating DLL
[Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\engine.c(302)
Axis2 engine receive completed!
[Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\engine.c(648)
Start:axis2_engine_invoke_phases
[Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\engine.c(660)
Invoking phase MessageOut
[Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\phase.c(204)
Invoke the handler AddressingOutHandler within the phase MessageOut
[Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\engine.c(670)
End:axis2_engine_invoke_phases
[Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\engine.c(648)
Start:axis2_engine_invoke_phases
[Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\engine.c(660)
Invoking phase MessageOut
[Tue Mar 25 15:26:34 2008] [debug] ..\..\src\core\engine\engine.c(670)
End:axis2_engine_invoke_phases

Sunil Pandit
RD , CSC FSG Austin
(512)2755792

Computer Sciences Corporation
Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA
Registered in USA No: C-489-59



This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement

mod_axis2 could not be loaded

2007-11-30 Thread Sunil Pandit
Hi ,

I am trying to deploy AXIS2/C under Apche web server . I am using version
2.0.61 . I have followed all the steps described in document however I am
getting following error .

Cannot load C:/Apache206/Apache2/modules/mod_axis2.dll into server: The
specified procedure could not be found.

However axis2_http_server is working fin and I can excute the samples. So
that ensures the AXIS2c setup .

Do I need to build mod_axis2.dll for Apache 2.0.59 version  ?

Any inputs / suggestions are sincerely appreciated.

Regards
Sunil Pandit
RD , CSC FSG Austin
(512)2755792

Computer Sciences Corporation
Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA
Registered in USA No: C-489-59



This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Reading attribute on a complex element

2007-11-27 Thread Sunil Pandit
Dimuthu

Thanks for your response. I modified your code to test with my xml .
However the axiom_document_get_root_element
call returns the root element without any children's .

Attached is a log  and xml file (See attached file: test.c).

Any idea ?

(See attached file: alltest.log)(See attached file: VPMSRequest.xml)
Thanks
Sunil Pandit
RD , CSC FSG Austin
(512)2755792

Computer Sciences Corporation
Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA
Registered in USA No: C-489-59



This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.





   
 Dimuthu Gamage  
 [EMAIL PROTECTED] 
 omTo 
   Apache AXIS C User List   
 11/27/2007 01:21  axis-c-user@ws.apache.org 
 AM cc 
   
   Subject 
 Please respond to Re: Reading attribute on a complex  
  Apache AXIS C   element 
User List 
 [EMAIL PROTECTED] 
pache.org 
   
   
   




Hi,
I checked your code and the xml. And it worked. Check the attachments.

I think your problem is the firstNode is not the one you think (Command).

If you have spaces in the xml, the axiom think they are text_node, And
currently the code gen is not handling that situation, I have to check
whether it s a bug or not.

If it is the case, just add following lines to get rid of the text_nodes,

while(axiom_node_get_node_type(first_node, env) != AXIOM_ELEMENT)
{
first_node = axiom_node_get_next_sibling(first_node, env);
}

And if you found the generated code is not working, please let the axis2-c
list know that issue, And hope you are updated with the tool from
http://people.apache.org/dist/axis2/nightly/

Thanks
Dimuthu

On Nov 27, 2007 11:33 AM, Sunil Pandit [EMAIL PROTECTED] wrote:
  Can someone guide me on how to read the attribute value on an element ?

  I have a web service that takes a complex element with an attribute.  The
  deserialization code generated by WSDL2C is not able to read this
  attribute.
  So I modified the code and none of the method including
  axiom_element_get_all_attributes returns the attributes.
  The axiom_element_get_all_attributes returns NULL.

  When I log the string form of the node passed to deserialize method , I
  can
  see all the sub elements and the attribute . Here is the code

  Any help is sincerely appreciated.

   parent_element = axiom_node_get_data_element(first_node, env);
   qname = axutil_qname_create_from_string(env,Sequence);
   if(qname != NULL)
   {
 parent_attri = axiom_element_get_attribute(parent_element,
  env,
  qname);
   }

   if(parent_attri == NULL)
   {
 attributes =
  axiom_element_get_all_attributes(parent_element,env);
   }

  Here is the string form of node passed to the deserialize method

  Mon Nov 26 23:32:54 2007] [info]  CommandType : String form of Element is
   Command Sequence=1
   Typeloadsession/Type
   ParameterC:\VPMS\workspace\Federated
  
Perf\Federated\Models\DADVDOCS_Master\DADVDOCS\DULDOCS_test_cases.VPM/Parameter

   /Command




  Regards
  Sunil Pandit
  RD , CSC FSG Austin
  (512)2755792

  Computer Sciences Corporation
  Registered Office: 2100 East Grand Avenue, El Segundo California 90245,
  USA
  Registered in USA No: C-489-59

Unresolved External symbol

2007-11-26 Thread Sunil Pandit
Hi !

I am trying to use  some of the functions (
axiom_util_get_next_siblng_element_with_localname) defined in axiomutil.h .
I am getting linking error saying
unresolved external symbol
_axiom_util_get_next_siblng_element_with_localname referenced in function
[EMAIL PROTECTED]

I have included all the .lib from axis2c/lib folder. I am not sure which
library I am missing.

Any help is greatly appreciated.

Thanks
Sunil Pandit
RD , CSC FSG Austin
(512)2755792

Computer Sciences Corporation
Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA
Registered in USA No: C-489-59



This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reading attribute on a complex element

2007-11-26 Thread Sunil Pandit
Can someone guide me on how to read the attribute value on an element ?

I have a web service that takes a complex element with an attribute.  The
deserialization code generated by WSDL2C is not able to read this
attribute.
So I modified the code and none of the method including
axiom_element_get_all_attributes returns the attributes.
The axiom_element_get_all_attributes returns NULL.

When I log the string form of the node passed to deserialize method , I can
see all the sub elements and the attribute . Here is the code

Any help is sincerely appreciated.

  parent_element = axiom_node_get_data_element(first_node, env);
  qname = axutil_qname_create_from_string(env,Sequence);
  if(qname != NULL)
  {
parent_attri = axiom_element_get_attribute(parent_element, env,
qname);
  }

  if(parent_attri == NULL)
  {
attributes =
axiom_element_get_all_attributes(parent_element,env);
  }

Here is the string form of node passed to the deserialize method

Mon Nov 26 23:32:54 2007] [info]  CommandType : String form of Element is
  Command Sequence=1
  Typeloadsession/Type
  ParameterC:\VPMS\workspace\Federated
Perf\Federated\Models\DADVDOCS_Master\DADVDOCS\DULDOCS_test_cases.VPM/Parameter
  /Command




Regards
Sunil Pandit
RD , CSC FSG Austin
(512)2755792

Computer Sciences Corporation
Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA
Registered in USA No: C-489-59



This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Axis CPP 1.6 and Complex element

2007-11-20 Thread Sunil Pandit
Nadir

Thanks for your response.

This is a server side problem. However I believe it is a very common use of
web service and wondering if I am missing something .

Your comments makes me think if I should switch to Axis2c. We are
evaluating these products . Does Axis2/C have a good support for complex
elements ?

Regards
Sunil Pandit
RD , CSC FSG Austin
(512)2755792

Computer Sciences Corporation
Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA
Registered in USA No: C-489-59



This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.





   
 Nadir Amra
 [EMAIL PROTECTED] 
To 
 11/20/2007 09:10  Apache AXIS C User List   
 AMaxis-c-user@ws.apache.org 
cc 
   
 Please respond to Subject 
  Apache AXIS C   Re: Axis CPP 1.6 and Complex
User List element 
 [EMAIL PROTECTED] 
pache.org 
   
   
   
   




Sunil,

If you are having server-side problems, then you will probably be out of
luck for getting a timely fix, if you get one, since that side of things
has been dormant for quite a while.  However, on the client side of
things, I still will perform debug and try to fix bugs assuming that I can
recreate the problem, which requires WSDL and SOAP response.

Nadir K. Amra


Sunil Pandit [EMAIL PROTECTED] wrote on 11/19/2007 10:12:36 PM:


 Hello Axis experts ,

 I am having some problems using axis cpp 1.6 . I have already posted my
 question but I have not got any feedback . I hope I get some feedback
this
 time.
 I am using latest axis cpp  build out of source code from svn . My web
 service is consuming a complex element which has two sub elements of
type
 string .
 The code is genereted fine. However the webservice fails while
 deserializing the complex element . I am attaching the Axis log  .
 I also tried invoking getElementAsString , passing the name of element .
 This function returns null value .  I can see a valid soap request
message
 in CPMonitor.
 I would appreciate any help in resolving this issue.

 (See attached file: AxisLog)
 Regards
 Sunil Pandit
 RD , CSC FSG Austin
 (512)2755792


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AXIS CPP 1.6b and Complex object

2007-11-16 Thread Sunil Pandit

Hi !

I am new to AXIS CPP and I am having trouble executing the web services
deployed in the server. Here is the situation .

I am using AXIS CPP 1.6b and everything is setup as described and is
working as expected.

I have developed a webservice which consumes a complex object and returns
similar object . In other word the request and response type are same. My
client is a java application and I am using AXIS Java call object to invoke
the web service.

I can see in the SOAPMonitor that the message is getting across to the
server . The problem is

1. I am not getting the values from the request in my web service method.
2. To diagnose tis problem I have added some trace messages in the
deserialize method of the type class generated by the wsdl2ws tool . I
never see this trace message . So that makes me suspicious if the
deserialize method is executed on the server side.
3. Similarly I have trace messages in the web service method and the
serialize methods. Both these trace messages are logged .

My question is do I need to do any special coding for complex objects ? . I
am attaching the wsdl , schema and the sample message.


(See attached file: TestMessage.xsd)(See attached file: TestMessage.xml)
(See attached file: TestService.wsdl)

Appreciate any help in resolving this problem.

Thanks
Sunil Pandit
RD , CSC FSG Austin
(512)2755792

Computer Sciences Corporation
Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA
Registered in USA No: C-489-59



This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.



TestMessage.xsd
Description: Binary data


TestMessage.xml
Description: Binary data


TestService.wsdl
Description: Binary data
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]