Re: Webserivce call through Axis fails..

2008-04-13 Thread Dimuthu Gamage
Hi Rahil,

I missed the part you are using generated code for client. For client
you don't need services.xml. I just tried your WSDL to generate both
client and server side and it worked for me when i did the above
changes to the services.xml, that s why I propose the change. I will
try to answer on your problem later part of the mail. first will start
answering your other questions.

The directory structure of the test case is
res - resources like wsdl file, client logic, server logic (files
other than generated code)
stub - client side generated code + demo.c
skel - server side generated code + axis2_skel_*.c
resources - generated services.xml

I generated both the server and client logic using this script
http://people.apache.org/~dimuthu/leisure/23_oct/generate_demos.rb.
First you have to generate the code for the wsdl. Then you need to
just run this script in the same directory. This is used just to
generate test cases.

The request message you mentioned is not one generated from the WSDL2C
generated code. I think you manually write it in the tcpmon. For me
the request was like this,

soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
   soapenv:Header xmlns:wsa=http://www.w3.org/2005/08/addressing;
  
wsa:Tohttp://localhost:9090/axis2/services/GSCP_service_serviceagent/wsa:To
  
wsa:Action/ProcessDefinitions/Testing/TestServer/GSCP/intfAuthenticateCustomer-service.serviceagent/intfwsAuthenticateCustomerEndpoint0/SendSMSOp/wsa:Action
  wsa:MessageIDf09e1804-0930-1dd1-3a6e-00197e732d4d/wsa:MessageID
   /soapenv:Header
   soapenv:Body
  n:SendSMSRequest
xmlns:n=http://xmlns.dohabank.com/namespace/dbframework/UtilityServicesSchema.xsd;
xmlns:n0=http://xmlns.dohabank.com/namespace/dbframework/HeaderSchema.xsd;
 n0:Header
n0:ChannelIDdemo string id: 90/n0:ChannelID
n0:Userdemo string id: 91/n0:User
n0:AuthFlagdemo string id: 92/n0:AuthFlag
 /n0:Header
 n:Messagedemo string id: 93/n:Message
 n:Titledemo string id: 94/n:Title
 n:MobileNodemo string id: 95/n:MobileNo
  /n:SendSMSRequest
   /soapenv:Body/soapenv:Envelope

But in your message there is additional 'group' element wrap the
elements inside the body content, which is wrong. So try sending the
above message (with your values) and check what the response is. In
the same time tcpmon can be used as a tool for capture message sent by
external client and service. Just go through
http://ws.apache.org/commons/tcpmon/tcpmontutorial.html to learn how
to do that. So that you will be able to observe the real messages sent
and receive by your client.

And when I check the schema and the message, I didn't noticed any
problem in the generated code for your WSDL. So the problem should be
something else. The adb_ prefix doesn't effect to the message sent
by the client, it just used in the function signature.

If the axis2_svc_client_send_receive_with_op_qname returns NULL, it
means the server doesn't at least send a fault. So my guess the
problem is in the network connection. So please recheck endpoint and
proxy settings and try.

Thanks
Dimuthu


On Sun, Apr 13, 2008 at 11:29 AM, Rahil Ali [EMAIL PROTECTED] wrote:
 Hello Dimuthu,

 I tried the nighlty build of axis-snapshot, it complied properly. But when I
 tried to call the service it gave the same error again when calling
 axis2_svc_client_send_receive_with_op_qname (RETURN NULL). I think it is
 because of adb_ prefix?? Pls tell me whats the fix for this problem.

 Thanks  Regards,
 Rahil


 Rahil Ali [EMAIL PROTECTED] wrote:



 Hi Dimuthu,

 Thanks for the replies and help. Couple of questions again ... What is the
 use of service.xml when I am just a client. Secondly I saw the file you
 attached, pls explain how did u generated such organised code, also pls
 explain the directory structure... I am trying on the nightly build you
 mentioned earlier and will respond the results.

 Thanks  Regards,
 Rahil Ali

 Dimuthu Gamage [EMAIL PROTECTED] wrote:
 My early email was reported rejected by the recipient. This should be
 due to the large attachment. I will keep the test case uploaded at
 http://people.apache.org/~dimuthu/leisure/1_dec/case37_servicexml.zip

 Thanks
 Dimuthu

 On Sat, Apr 12, 2008 at 12:25 PM, Dimuthu Gamage wrote:
  Hi Rahil,
 
  This should be due to the service.xml has '-', and '.' characters for
  the service name and the service class name. In the latest svn this
  issue is corrected. And I was able to fix the issue in missing 'adb_'
  prefix too, so you can use the original WSDL without doing any changes
  with.
 
  You may wait until the today's axis2/java nightly build, or just use
  the attached files.
 
  Thanks
  Dimuthu
 
 
 
  On Thu, Apr 10, 2008 at 4:26 PM, Samisa Abeysinghe wrote:
   Rahil Ali wrote:
  
Yes, I am using code generated by WSDL2C using this command :
WSDL2C.sh -uri GSCP-service.serviceagent.wsdl -u -d adb
I am trying to call this 

Re: Webserivce call through Axis fails..

2008-04-13 Thread Rahil Ali
Hello Dimuthu,
  
When I call the Webservice using TCPMON it invokes the webservice but when i 
try it using my code it fails on the spot ; I beleive it is due to proxy 
server.. I tried following codes in stub-file - in function 
axis2_stub_op_GSCP_service_serviceagent_SendSMSOp just before 
axis2_stub_get_options: 
   
  1 - axis2_svc_client_set_proxy(svc_client,
   env,
   10.10.230.51,
   8080);
   
  2 - axis2_svc_client_set_proxy_with_auth(svc_client,
env,
10.10.230.51,
8080,
usr1,
abc);

  Pls advice me how to set the proxy settings in client code. I have a 
confusion as well, tcpmon didnt asked for USER and PASS before calling 
webservice ( I just clicked the radio button proxy and didnt even provide the 
proxy), is it necessary to provide one in the client code. Thanks
   
  Warm Regards,
  Rahil Ali
  

Dimuthu Gamage [EMAIL PROTECTED] wrote:
  Hi Rahil,

I missed the part you are using generated code for client. For client
you don't need services.xml. I just tried your WSDL to generate both
client and server side and it worked for me when i did the above
changes to the services.xml, that s why I propose the change. I will
try to answer on your problem later part of the mail. first will start
answering your other questions.

The directory structure of the test case is
res - resources like wsdl file, client logic, server logic (files
other than generated code)
stub - client side generated code + demo.c
skel - server side generated code + axis2_skel_*.c
resources - generated services.xml

I generated both the server and client logic using this script
http://people.apache.org/~dimuthu/leisure/23_oct/generate_demos.rb.
First you have to generate the code for the wsdl. Then you need to
just run this script in the same directory. This is used just to
generate test cases.

The request message you mentioned is not one generated from the WSDL2C
generated code. I think you manually write it in the tcpmon. For me
the request was like this,



http://localhost:9090/axis2/services/GSCP_service_serviceagent
/ProcessDefinitions/Testing/TestServer/GSCP/intfAuthenticateCustomer-service.serviceagent/intfwsAuthenticateCustomerEndpoint0/SendSMSOp
f09e1804-0930-1dd1-3a6e-00197e732d4d


xmlns:n=http://xmlns.dohabank.com/namespace/dbframework/UtilityServicesSchema.xsd;
xmlns:n0=http://xmlns.dohabank.com/namespace/dbframework/HeaderSchema.xsd;

demo string id: 90
demo string id: 91
demo string id: 92

demo string id: 93
demo string id: 94
demo string id: 95



But in your message there is additional 'group' element wrap the
elements inside the body content, which is wrong. So try sending the
above message (with your values) and check what the response is. In
the same time tcpmon can be used as a tool for capture message sent by
external client and service. Just go through
http://ws.apache.org/commons/tcpmon/tcpmontutorial.html to learn how
to do that. So that you will be able to observe the real messages sent
and receive by your client.

And when I check the schema and the message, I didn't noticed any
problem in the generated code for your WSDL. So the problem should be
something else. The adb_ prefix doesn't effect to the message sent
by the client, it just used in the function signature.

If the axis2_svc_client_send_receive_with_op_qname returns NULL, it
means the server doesn't at least send a fault. So my guess the
problem is in the network connection. So please recheck endpoint and
proxy settings and try.

Thanks
Dimuthu


On Sun, Apr 13, 2008 at 11:29 AM, Rahil Ali wrote:
 Hello Dimuthu,

 I tried the nighlty build of axis-snapshot, it complied properly. But when I
 tried to call the service it gave the same error again when calling
 axis2_svc_client_send_receive_with_op_qname (RETURN NULL). I think it is
 because of adb_ prefix?? Pls tell me whats the fix for this problem.

 Thanks  Regards,
 Rahil


 Rahil Ali wrote:



 Hi Dimuthu,

 Thanks for the replies and help. Couple of questions again ... What is the
 use of service.xml when I am just a client. Secondly I saw the file you
 attached, pls explain how did u generated such organised code, also pls
 explain the directory structure... I am trying on the nightly build you
 mentioned earlier and will respond the results.

 Thanks  Regards,
 Rahil Ali

 Dimuthu Gamage wrote:
 My early email was reported rejected by the recipient. This should be
 due to the large attachment. I will keep the test case uploaded at
 http://people.apache.org/~dimuthu/leisure/1_dec/case37_servicexml.zip

 Thanks
 Dimuthu

 On Sat, Apr 12, 2008 at 12:25 PM, Dimuthu Gamage wrote:
  Hi Rahil,
 
  This should be due to the service.xml has '-', 

Re: Webserivce call through Axis fails..

2008-04-13 Thread Dimuthu Gamage
Hi Rahil,

This is strange to me too. If the tcpmon works without setting any
proxy, axis2/c should also be able to call without proxy settings. It
can be some firewall rejecting axis2/c request and letting tcpmon
(i.e. java) calls continue. But I don't have experience in such a
thing. May be some transport guy do have some tips.

Thanks
Dimuthu

On Sun, Apr 13, 2008 at 2:51 PM, Rahil Ali [EMAIL PROTECTED] wrote:
 Hello Dimuthu,

 When I call the Webservice using TCPMON it invokes the webservice but when i
 try it using my code it fails on the spot ; I beleive it is due to proxy
 server.. I tried following codes in stub-file - in function
 axis2_stub_op_GSCP_service_serviceagent_SendSMSOp just before
 axis2_stub_get_options:

 1 - axis2_svc_client_set_proxy(svc_client,
env,
10.10.230.51,
8080);

 2 - axis2_svc_client_set_proxy_with_auth(svc_client,
 env,

 10.10.230.51,
 8080,
 usr1,
 abc);

 Pls advice me how to set the proxy settings in client code. I have a
 confusion as well, tcpmon didnt asked for USER and PASS before calling
 webservice ( I just clicked the radio button proxy and didnt even provide
 the proxy), is it necessary to provide one in the client code. Thanks

 Warm Regards,

 Rahil Ali


 Dimuthu Gamage [EMAIL PROTECTED] wrote:
 Hi Rahil,

 I missed the part you are using generated code for client. For client
 you don't need services.xml. I just tried your WSDL to generate both
 client and server side and it worked for me when i did the above
 changes to the services.xml, that s why I propose the change. I will
 try to answer on your problem later part of the mail. first will start
 answering your other questions.

 The directory structure of the test case is
 res - resources like wsdl file, client logic, server logic (files
 other than generated code)
 stub - client side generated code + demo.c
 skel - server side generated code + axis2_skel_*.c
 resources - generated services.xml

 I generated both the server and client logic using this script
 http://people.apache.org/~dimuthu/leisure/23_oct/generate_demos.rb.
 First you have to generate the code for the wsdl. Then you need to
 just run this script in the same directory. This is used just to
 generate test cases.

 The request message you mentioned is not one generated from the WSDL2C
 generated code. I think you manually write it in the tcpmon. For me
 the request was like this,



 http://localhost:9090/axis2/services/GSCP_service_serviceagent
 /ProcessDefinitions/Testing/TestServer/GSCP/intfAuthenticateCustomer-service.serviceagent/intfwsAuthenticateCustomerEndpoint0/SendSMSOp
 f09e1804-0930-1dd1-3a6e-00197e732d4d


 xmlns:n=http://xmlns.dohabank.com/namespace/dbframework/UtilityServicesSchema.xsd;
 xmlns:n0=http://xmlns.dohabank.com/namespace/dbframework/HeaderSchema.xsd;

 demo string id: 90
 demo string id: 91
 demo string id: 92

 demo string id: 93
 demo string id: 94
 demo string id: 95




 But in your message there is additional 'group' element wrap the
 elements inside the body content, which is wrong. So try sending the
 above message (with your values) and check what the response is. In
 the same time tcpmon can be used as a tool for capture message sent by
 external client and service. Just go through
 http://ws.apache.org/commons/tcpmon/tcpmontutorial.html to learn how
 to do that. So that you will be able to observe the real messages sent
 and receive by your client.

 And when I check the schema and the message, I didn't noticed any
 problem in the generated code for your WSDL. So the problem should be
 something else. The adb_ prefix doesn't effect to the message sent
 by the client, it just used in the function signature.

 If the axis2_svc_client_send_receive_with_op_qname returns NULL, it
 means the server doesn't at least send a fault. So my guess the
 problem is in the network connection. So please recheck endpoint and
 proxy settings and try.

 Thanks
 Dimuthu


 On Sun, Apr 13, 2008 at 11:29 AM, Rahil Ali wrote:
  Hello Dimuthu,
 
  I tried the nighlty build of axis-snapshot, it complied properly. But when
 I
  tried to call the service it gave the same error again when calling
  axis2_svc_client_send_receive_with_op_qname (RETURN NULL). I think it is
  because of adb_ prefix?? Pls tell me whats the fix for this problem.
 
  Thanks  Regards,
  Rahil
 
 
  Rahil Ali wrote:
 
 
 
  Hi Dimuthu,
 
  Thanks for the replies and help. Couple of questions again ... What is the
  use of service.xml when I am just a client. Secondly I saw the file you
  attached, pls explain how did u generated such organised code, also pls
  explain the directory structure... I am 

Re: Webserivce call through Axis fails..

2008-04-12 Thread Rahil Ali
Hi Dimuthu,
   
  Thanks for the replies and help. Couple of questions again ... What is the 
use of service.xml when I am just a client. Secondly I saw the file you 
attached, pls explain how did u generated such organised code, also pls explain 
the directory structure... I am trying on the nightly build you mentioned 
earlier and will respond the results. 

Thanks  Regards,
  Rahil Ali

Dimuthu Gamage [EMAIL PROTECTED] wrote:
  My early email was reported rejected by the recipient. This should be
due to the large attachment. I will keep the test case uploaded at
http://people.apache.org/~dimuthu/leisure/1_dec/case37_servicexml.zip

Thanks
Dimuthu

On Sat, Apr 12, 2008 at 12:25 PM, Dimuthu Gamage wrote:
 Hi Rahil,

 This should be due to the service.xml has '-', and '.' characters for
 the service name and the service class name. In the latest svn this
 issue is corrected. And I was able to fix the issue in missing 'adb_'
 prefix too, so you can use the original WSDL without doing any changes
 with.

 You may wait until the today's axis2/java nightly build, or just use
 the attached files.

 Thanks
 Dimuthu



 On Thu, Apr 10, 2008 at 4:26 PM, Samisa Abeysinghe wrote:
  Rahil Ali wrote:
 
   Yes, I am using code generated by WSDL2C using this command :
   WSDL2C.sh -uri GSCP-service.serviceagent.wsdl -u -d adb
   I am trying to call this operation: SendSMSOp
   Can you check whether my wsdl is ok or not. I have removed operations and
  other non-related items from the original WSDL.
  
 
  The WSDL seems to be valid. If it was invalid, usually the codegen tools
  trows an exception.
 
  Looking at the WSDL and the request sent by the client, the message sent is
  not correct as far as I can tell. I am not sure if this is a bug in the
  generated code or the user code.
  We need a codegen expert to help us here :)
 
  Samisa...
 
 
 
 
  -
  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]






Re: Webserivce call through Axis fails..

2008-04-12 Thread Rahil Ali
Hello Dimuthu,
   
  I tried the nighlty build of axis-snapshot, it complied properly. But when I 
tried to call the service it gave the same error again when calling 
axis2_svc_client_send_receive_with_op_qname (RETURN NULL). I think it is 
because of adb_ prefix?? Pls tell me whats the fix for this problem.
   
  Thanks  Regards,
  Rahil

Rahil Ali [EMAIL PROTECTED] wrote:
Hi Dimuthu,
   
  Thanks for the replies and help. Couple of questions again ... What is the 
use of service.xml when I am just a client. Secondly I saw the file you 
attached, pls explain how did u generated such organised code, also pls explain 
the directory structure... I am trying on the nightly build you mentioned 
earlier and will respond the results. 

Thanks  Regards,
  Rahil Ali

Dimuthu Gamage [EMAIL PROTECTED] wrote:
  My early email was reported rejected by the recipient. This should be
due to the large attachment. I will keep the test case uploaded at
http://people.apache.org/~dimuthu/leisure/1_dec/case37_servicexml.zip

Thanks
Dimuthu

On Sat, Apr 12, 2008 at 12:25 PM, Dimuthu Gamage wrote:
 Hi Rahil,

 This should be due to the service.xml has '-', and '.' characters for
 the service name and the service class name. In the latest svn this
 issue is corrected. And I was able to fix the issue in missing 'adb_'
 prefix too, so you can use the original WSDL without doing any changes
 with.

 You may wait until the today's axis2/java nightly build, or just use
 the attached files.

 Thanks
 Dimuthu



 On Thu, Apr 10, 2008 at 4:26 PM, Samisa Abeysinghe wrote:
  Rahil Ali wrote:
 
   Yes, I am using code generated by WSDL2C using this command :
   WSDL2C.sh -uri GSCP-service.serviceagent.wsdl -u -d adb
   I am trying to call this operation: SendSMSOp
   Can you check whether my wsdl is ok or not. I have removed operations and
  other non-related items from the original WSDL.
  
 
  The WSDL seems to be valid. If it was invalid, usually the codegen tools
  trows an exception.
 
  Looking at the WSDL and the request sent by the client, the message sent is
  not correct as far as I can tell. I am not sure if this is a bug in the
  generated code or the user code.
  We need a codegen expert to help us here :)
 
  Samisa...
 
 
 
 
  -
  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]









Re: Webserivce call through Axis fails..

2008-04-10 Thread Rahil Ali
?xml version = 1.0 encoding = UTF-8?
group
ChannelIDDBGWIBK/ChannelID
Useruser1/User
/Header
MessageMESSAGE GOES HERE/Message
TitleTITLE IS HERE/Title
MobileNo00213123123/MobileNo
/SendSMSRequest
/group

  Sorry for that noob reply earlier :S. This is what I am requesting.  Please 
advice.
   
  Thanks  Regards,
   
  
Samisa Abeysinghe [EMAIL PROTECTED] wrote:
  Looking at the SOAP fault returned by service, it looks as if there is a 
problem in the message sent by the client. The service could not 
deserialize the message sent by client. Can you send the message sent by 
client?

Samisa...

Rahil Ali wrote:
 Hello Samisa,
 
 I am getting this output from tcpMon:
 
 
  xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
 
 
 SOAP-ENV:Server.InternalServerError
 Exception thrown while trying to 
 deserialize the SOAP message
 
 
 
 
 I have attached my wsdl file as well... .I entered 
 http://10.10.217.134:5568/ProcessDefinitions/Testing/TestServer/GSCP/intfAuthenticateCustomer-service.serviceagent/intfwsAuthenticateCustomerEndpoint0
  
 in endpoint and 
 /ProcessDefinitions/Testing/TestServer/GSCP/intfAuthenticateCustomer-service.serviceagent/intfwsAuthenticateCustomerEndpoint0/SendSMSOp
  
 in soap-action.
 Please advice. I think that I might have left some problem in wsdl 
 file ( I removed non-required elements from wsdl ).
 
 Thanks  Regards,
 Rahil Ali
 

 */Samisa Abeysinghe /* wrote:

 Rahil Ali wrote:
  Hello Samisa,
 
  I added proxy to my code and tried again but it still failed. I
 added
  following code before function call axis2_options_get_action:
  axis2_svc_client_set_proxy_with_auth(svc_client,
  env,
  http://10.10.230.51;,
  8080,
  abcd,
  1234)
  but still its generating the same error: and fails the function
 call
  axis2_svc_client_send_receive_with_op_qname. Can this function
 fail
  due to some proxy problem...

 In oder to verify this, we should capture the message and first
 see if
 the client is sending the message correctly.

 You can either use logging module or a tool like TCPMon
 http://ws.apache.org/commons/tcpmon/download.cgi to capture the
 messages.

 Samisa...


 
  Thnaks  Regards,
  Rahil Ali
 
 
  */Rahil Ali /* wrote:
 
  Hello Samisa,
 
  Thanks once again for replying, Here is the log
  =
  [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
  AddressingOutHandler to phase MessageOut
  [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
  AddressingOutHandler to phase MessageOut
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(117) Service
  name is : __ANONYMOUS_SERVICE__
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(325) This
  handler is trying to added to system pre defined phases , but
  those handlers are already added to global chain which run
  irrespective of the service
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
  AddressingOutHandler to phase MessageOut
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
  AddressingOutHandler to phase MessageOut
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(325) This
  handler is trying to added to system pre defined phases , but
  those handlers are already added to global chain which run
  irrespective of the service
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
  AddressingOutHandler to phase MessageOut
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
  AddressingOutHandler to phase MessageOut
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(325) This
  handler is trying to added to system pre defined phases , but
  those handlers are already added to global chain which run
  irrespective of the service
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
  AddressingOutHandler to phase MessageOut
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
  

Re: Webserivce call through Axis fails..

2008-04-10 Thread Samisa Abeysinghe

Rahil Ali wrote:

?xml version = 1.0 encoding = UTF-8?
group
ChannelIDDBGWIBK/ChannelID
Useruser1/User
/Header
MessageMESSAGE GOES HERE/Message
TitleTITLE IS HERE/Title
MobileNo00213123123/MobileNo
/SendSMSRequest
/group
Sorry for that noob reply earlier :S. This is what I am requesting.  
Please advice.


The SOAP envelope is missing. Are you making a REST call?

Samisa...

 
Thanks  Regards,
 


*/Samisa Abeysinghe [EMAIL PROTECTED]/* wrote:

Looking at the SOAP fault returned by service, it looks as if
there is a
problem in the message sent by the client. The service could not
deserialize the message sent by client. Can you send the message
sent by
client?

Samisa...

Rahil Ali wrote:
 Hello Samisa,

 I am getting this output from tcpMon:



 xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;


 SOAP-ENV:Server.InternalServerError
 Exception thrown while trying to
 deserialize the SOAP message




 I have attached my wsdl file as well... .I entered


http://10.10.217.134:5568/ProcessDefinitions/Testing/TestServer/GSCP/intfAuthenticateCustomer-service.serviceagent/intfwsAuthenticateCustomerEndpoint0

 in endpoint and


/ProcessDefinitions/Testing/TestServer/GSCP/intfAuthenticateCustomer-service.serviceagent/intfwsAuthenticateCustomerEndpoint0/SendSMSOp

 in soap-action.
 Please advice. I think that I might have left some problem in wsdl
 file ( I removed non-required elements from wsdl ).

 Thanks  Regards,
 Rahil Ali


 */Samisa Abeysinghe /* wrote:

 Rahil Ali wrote:
  Hello Samisa,
 
  I added proxy to my code and tried again but it still failed. I
 added
  following code before function call axis2_options_get_action:
  axis2_svc_client_set_proxy_with_auth(svc_client,
  env,
  http://10.10.230.51;,
  8080,
  abcd,
  1234)
  but still its generating the same error: and fails the function
 call
  axis2_svc_client_send_receive_with_op_qname. Can this function
 fail
  due to some proxy problem...

 In oder to verify this, we should capture the message and first
 see if
 the client is sending the message correctly.

 You can either use logging module or a tool like TCPMon
 http://ws.apache.org/commons/tcpmon/download.cgi to capture the
 messages.

 Samisa...


 
  Thnaks  Regards,
  Rahil Ali
 
 
  */Rahil Ali /* wrote:
 
  Hello Samisa,
 
  Thanks once again for replying, Here is the log
  =
  [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
  AddressingOutHandler to phase MessageOut
  [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
  AddressingOutHandler to phase MessageOut
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(117) Service
  name is : __ANONYMOUS_SERVICE__
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(325) This
  handler is trying to added to system pre defined phases , but
  those handlers are already added to global chain which run
  irrespective of the service
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
  AddressingOutHandler to phase MessageOut
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
  AddressingOutHandler to phase MessageOut
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(325) This
  handler is trying to added to system pre defined phases , but
  those handlers are already added to global chain which run
  irrespective of the service
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
  AddressingOutHandler to phase MessageOut
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
  AddressingOutHandler to phase MessageOut
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(325) This
  handler is trying to added to system pre defined phases , 

Re: Webserivce call through Axis fails..

2008-04-10 Thread Rahil Ali
I tried with new Request here is the REQ/RESP
   
  REQUEST:
  SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
SOAP-ENV:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;
  SOAP-ENV:Body
   group
SendSMSRequest 
xmlns=http://xmlns.dohabank.com/namespace/dbframework/UtilityServicesSchema.xsd;
Header 
xmlns:ns=http://xmlns.dohabank.com/namespace/dbframework/HeaderSchema.xsd;
  ChannelID xsi:type=xsd:stringCHL1/ChannelID
  User xsi:type=xsd:stringUID1/User
/Header
  Message xsi:type=xsd:stringMSG MSG SMSG/Message
  Title xsi:type=xsd:stringTITLE/Title
  MobileNo xsi:type=xsd:string1324/MobileNo
/SendSMSRequest
/group
  /SOAP-ENV:Body
/SOAP-ENV:Envelope
   
  RESPONSE:
  ?xml version=1.0 encoding=UTF-8?
SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
  SOAP-ENV:Body
SOAP-ENV:Fault
  faultcode xmlns=SOAP-ENV:Server/faultcode
  faultstring xmlns=Internal Error/faultstring
  detail xmlns=
Data xmlns=
  ns0:SendSMSRequest xmlns:ns0= 
http://xmlns.dohabank.com/namespace/dbframework/GSCP/1174744476015/1175527748734;
parameters xmlns=
  group xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns=SendSMSRequest 
xmlns=http://xmlns.dohabank.com/namespace/dbframework/UtilityServicesSchema.xsd;
Header 
xmlns:ns=http://xmlns.dohabank.com/namespace/dbframework/HeaderSchema.xsd;
  ChannelID xsi:type=xsd:stringCHL1/ChannelID  User 
xsi:type=xsd:stringUID1/User/Header  Message 
xsi:type=xsd:stringMSG MSG SMSG/Message  Title 
xsi:type=xsd:stringTITLE/Title  MobileNo 
xsi:type=xsd:string1324/MobileNo/SendSMSRequest/group
/parameters
  /ns0:SendSMSRequest
/Data
  /detail
/SOAP-ENV:Fault
  /SOAP-ENV:Body
/SOAP-ENV:Envelope
   
   
  Please advice where am I going wrong...
   
  Thanks  Regards,
  Rahil

Samisa Abeysinghe [EMAIL PROTECTED] wrote:
  Rahil Ali wrote:
 
 
 DBGWIBK
 user1
 
 MESSAGE GOES HERE
 
 00213123123
 
 
 Sorry for that noob reply earlier :S. This is what I am requesting. 
 Please advice.

The SOAP envelope is missing. Are you making a REST call?

Samisa...

 
 Thanks  Regards,
 

 */Samisa Abeysinghe /* wrote:

 Looking at the SOAP fault returned by service, it looks as if
 there is a
 problem in the message sent by the client. The service could not
 deserialize the message sent by client. Can you send the message
 sent by
 client?

 Samisa...

 Rahil Ali wrote:
  Hello Samisa,
 
  I am getting this output from tcpMon:
 
 
 
  xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
 
 
  SOAP-ENV:Server.InternalServerError
  Exception thrown while trying to
  deserialize the SOAP message
 
 
 
 
  I have attached my wsdl file as well... .I entered
 
 http://10.10.217.134:5568/ProcessDefinitions/Testing/TestServer/GSCP/intfAuthenticateCustomer-service.serviceagent/intfwsAuthenticateCustomerEndpoint0

  in endpoint and
 
 /ProcessDefinitions/Testing/TestServer/GSCP/intfAuthenticateCustomer-service.serviceagent/intfwsAuthenticateCustomerEndpoint0/SendSMSOp

  in soap-action.
  Please advice. I think that I might have left some problem in wsdl
  file ( I removed non-required elements from wsdl ).
 
  Thanks  Regards,
  Rahil Ali
 
 
  */Samisa Abeysinghe /* wrote:
 
  Rahil Ali wrote:
   Hello Samisa,
  
   I added proxy to my code and tried again but it still failed. I
  added
   following code before function call axis2_options_get_action:
   axis2_svc_client_set_proxy_with_auth(svc_client,
   env,
   http://10.10.230.51;,
   8080,
   abcd,
   1234)
   but still its generating the same error: and fails the function
  call
   axis2_svc_client_send_receive_with_op_qname. Can this function
  fail
   due to some proxy problem...
 
  In oder to verify this, we should capture the message and first
  see if
  the client is sending the message correctly.
 
  You can either use logging module or a tool like TCPMon
  http://ws.apache.org/commons/tcpmon/download.cgi to capture the
  messages.
 
  Samisa...
 
 
  
   Thnaks  Regards,
   Rahil Ali
  
  
   */Rahil Ali /* wrote:
  
   Hello Samisa,
  
   Thanks once again for replying, Here is the log
   =
   [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
   AddressingOutHandler to phase MessageOut
   [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
   AddressingOutHandler to phase MessageOut
   [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(117) Service
   name is : __ANONYMOUS_SERVICE__
   [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
   name is:addressing
   [Tue Apr 8 03:51:12 

Re: Webserivce call through Axis fails..

2008-04-09 Thread Rahil Ali
Hello Samisa,
   
  I added proxy to my code and tried again but it still failed. I added 
following code before function call axis2_options_get_action:
  axis2_svc_client_set_proxy_with_auth(svc_client,
env,
http://10.10.230.51;,
8080,
abcd,
1234)
but still its generating the same error: and fails the function call 
axis2_svc_client_send_receive_with_op_qname. Can this function fail due to 
some proxy problem... 
   
  Thnaks  Regards,
  Rahil Ali
   
  
Rahil Ali [EMAIL PROTECTED] wrote:
Hello Samisa,
  
Thanks once again for replying, Here is the log
  =
  [Tue Apr  8 03:51:12 2008] [debug] phase_holder.c(139) Add handler 
AddressingOutHandler to phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] phase_holder.c(139) Add handler 
AddressingOutHandler to phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(117) Service name is : 
__ANONYMOUS_SERVICE__
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module name 
is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(325) This handler is trying 
to added to system pre defined phases , but those handlers are already added to 
global chain which run irrespective of the service
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module name 
is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_holder.c(139) Add handler 
AddressingOutHandler to phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module name 
is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module name 
is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_holder.c(139) Add handler 
AddressingOutHandler to phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module name 
is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(325) This handler is trying 
to added to system pre defined phases , but those handlers are already added to 
global chain which run irrespective of the service
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module name 
is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_holder.c(139) Add handler 
AddressingOutHandler to phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module name 
is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module name 
is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_holder.c(139) Add handler 
AddressingOutHandler to phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module name 
is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(325) This handler is trying 
to added to system pre defined phases , but those handlers are already added to 
global chain which run irrespective of the service
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module name 
is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_holder.c(139) Add handler 
AddressingOutHandler to phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module name 
is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module name 
is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_holder.c(139) Add handler 
AddressingOutHandler to phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] op_client.c(881) 
Start:axis2_op_client_infer_transport
[Tue Apr  8 03:51:12 2008] [debug] op_client.c(936) 
End:axis2_op_client_infer_transport
[Tue Apr  8 03:51:12 2008] [debug] engine.c(648) 
Start:axis2_engine_invoke_phases
[Tue Apr  8 03:51:12 2008] [debug] engine.c(660) Invoking phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] phase.c(200) Invoke the handler 
AddressingOutHandler within the phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] engine.c(670) End:axis2_engine_invoke_phases
[Tue Apr  8 03:51:12 2008] [debug] http_transport_sender.c(248) 
ctx_epr:http://10.10.217.134:5568/ProcessDefinitions/Testing/TestServer/GSCP/intfAuthenticateCustomer-service.serviceagent/intfwsAuthenticateCustomerEndpoint0
[Tue Apr  8 03:51:12 2008] [debug] http_sender.c(393) 
msg_ctx_id:1f500f44-04f5-1dd1-23e3-000c29e99385
[Tue Apr  8 03:51:13 2008] [error] axis2_skel_FundTransferRequest.c(343) Error: 
response NULL
[Tue Apr  8 03:51:13 2008] [error] axis2_skel_FundTransferRequest.c(130) Unable 
to snd SMS
[Tue Apr  8 03:51:13 2008] [debug] engine.c(648) 
Start:axis2_engine_invoke_phases
[Tue Apr  8 03:51:13 2008] [debug] engine.c(660) Invoking phase MessageOut
[Tue Apr  8 03:51:13 2008] [debug] phase.c(200) Invoke the handler 
AddressingOutHandler within the phase MessageOut
[Tue Apr  8 03:51:13 2008] [debug] engine.c(670) End:axis2_engine_invoke_phases
[Tue Apr  8 03:51:13 2008] [debug] engine.c(302) Axis2 engine receive completed!
  ===
   
  Thanks  Regards,
  Rahil Ali

Samisa 

Re: Webserivce call through Axis fails..

2008-04-09 Thread Samisa Abeysinghe

Rahil Ali wrote:

Hello Samisa,
 
I added proxy to my code and tried again but it still failed. I added 
following code before function call axis2_options_get_action:

axis2_svc_client_set_proxy_with_auth(svc_client,
env,
http://10.10.230.51;,
8080,
abcd,
1234)
but still its generating the same error: and fails the function call 
axis2_svc_client_send_receive_with_op_qname. Can this function fail 
due to some proxy problem...


In oder to verify this, we should capture the message and first see if 
the client is sending the message correctly.


You can either use logging module or a tool like TCPMon 
http://ws.apache.org/commons/tcpmon/download.cgi to capture the messages.


Samisa...


 
Thnaks  Regards,

Rahil Ali
 


*/Rahil Ali [EMAIL PROTECTED]/* wrote:

Hello Samisa,

Thanks once again for replying, Here is the log
=
[Tue Apr  8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(117) Service
name is : __ANONYMOUS_SERVICE__
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module
name is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(325) This
handler is trying to added to system pre defined phases , but
those handlers are already added to global chain which run
irrespective of the service
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module
name is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module
name is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module
name is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module
name is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(325) This
handler is trying to added to system pre defined phases , but
those handlers are already added to global chain which run
irrespective of the service
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module
name is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module
name is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module
name is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module
name is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(325) This
handler is trying to added to system pre defined phases , but
those handlers are already added to global chain which run
irrespective of the service
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module
name is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module
name is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_resolver.c(230) module
name is:addressing
[Tue Apr  8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
AddressingOutHandler to phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] op_client.c(881)
Start:axis2_op_client_infer_transport
[Tue Apr  8 03:51:12 2008] [debug] op_client.c(936)
End:axis2_op_client_infer_transport
[Tue Apr  8 03:51:12 2008] [debug] engine.c(648)
Start:axis2_engine_invoke_phases
[Tue Apr  8 03:51:12 2008] [debug] engine.c(660) Invoking phase
MessageOut
[Tue Apr  8 03:51:12 2008] [debug] phase.c(200) Invoke the handler
AddressingOutHandler within the phase MessageOut
[Tue Apr  8 03:51:12 2008] [debug] engine.c(670)
End:axis2_engine_invoke_phases
[Tue Apr  8 03:51:12 2008] [debug] http_transport_sender.c(248)

ctx_epr:http://10.10.217.134:5568/ProcessDefinitions/Testing/TestServer/GSCP/intfAuthenticateCustomer-service.serviceagent/intfwsAuthenticateCustomerEndpoint0
[Tue Apr  8 03:51:12 2008] [debug] http_sender.c(393)
msg_ctx_id:1f500f44-04f5-1dd1-23e3-000c29e99385
[Tue Apr  8 03:51:13 2008] [error]
axis2_skel_FundTransferRequest.c(343) Error: response NULL
[Tue Apr  8 03:51:13 2008] [error]

Re: Webserivce call through Axis fails..

2008-04-09 Thread Samisa Abeysinghe
Looking at the SOAP fault returned by service, it looks as if there is a 
problem in the message sent by the client. The service could not 
deserialize the message sent by client. Can you send the message sent by 
client?


Samisa...

Rahil Ali wrote:

Hello Samisa,
 
I am getting this output from tcpMon:
 
?xml version=1.0 encoding=UTF-8?
SOAP-ENV:Envelope 
xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;

  SOAP-ENV:Body
SOAP-ENV:Fault
  faultcode xmlns=SOAP-ENV:Server.InternalServerError/faultcode
  faultstring xmlns=Exception thrown while trying to 
deserialize the SOAP message/faultstring

/SOAP-ENV:Fault
  /SOAP-ENV:Body
/SOAP-ENV:Envelope
 
I have attached my wsdl file as well... .I entered 
http://10.10.217.134:5568/ProcessDefinitions/Testing/TestServer/GSCP/intfAuthenticateCustomer-service.serviceagent/intfwsAuthenticateCustomerEndpoint0 
in endpoint and 
/ProcessDefinitions/Testing/TestServer/GSCP/intfAuthenticateCustomer-service.serviceagent/intfwsAuthenticateCustomerEndpoint0/SendSMSOp 
in soap-action.
Please advice. I think that I might have left some problem in wsdl 
file ( I removed non-required elements from wsdl ).
 
Thanks  Regards,

Rahil Ali
 


*/Samisa Abeysinghe [EMAIL PROTECTED]/* wrote:

Rahil Ali wrote:
 Hello Samisa,

 I added proxy to my code and tried again but it still failed. I
added
 following code before function call axis2_options_get_action:
 axis2_svc_client_set_proxy_with_auth(svc_client,
 env,
 http://10.10.230.51;,
 8080,
 abcd,
 1234)
 but still its generating the same error: and fails the function
call
 axis2_svc_client_send_receive_with_op_qname. Can this function
fail
 due to some proxy problem...

In oder to verify this, we should capture the message and first
see if
the client is sending the message correctly.

You can either use logging module or a tool like TCPMon
http://ws.apache.org/commons/tcpmon/download.cgi to capture the
messages.

Samisa...



 Thnaks  Regards,
 Rahil Ali


 */Rahil Ali /* wrote:

 Hello Samisa,

 Thanks once again for replying, Here is the log
 =
 [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
 AddressingOutHandler to phase MessageOut
 [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
 AddressingOutHandler to phase MessageOut
 [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(117) Service
 name is : __ANONYMOUS_SERVICE__
 [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
 name is:addressing
 [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(325) This
 handler is trying to added to system pre defined phases , but
 those handlers are already added to global chain which run
 irrespective of the service
 [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
 name is:addressing
 [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
 AddressingOutHandler to phase MessageOut
 [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
 name is:addressing
 [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
 name is:addressing
 [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
 AddressingOutHandler to phase MessageOut
 [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
 name is:addressing
 [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(325) This
 handler is trying to added to system pre defined phases , but
 those handlers are already added to global chain which run
 irrespective of the service
 [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
 name is:addressing
 [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
 AddressingOutHandler to phase MessageOut
 [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
 name is:addressing
 [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
 name is:addressing
 [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
 AddressingOutHandler to phase MessageOut
 [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
 name is:addressing
 [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(325) This
 handler is trying to added to system pre defined phases , but
 those handlers are already added to global chain which run
 irrespective of the service
 [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
 name is:addressing
 [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
 AddressingOutHandler to phase MessageOut
 [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
 name is:addressing
 [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
 name is:addressing
 [Tue Apr 8 03:51:12 2008] [debug] 

Re: Webserivce call through Axis fails..

2008-04-09 Thread Rahil Ali
I dont get what message you are talking about, can we read it from the axis 
logs. Secondly the XML that i sent is from the tcpMON... 
   
  Pls advice 
  Thanks

Samisa Abeysinghe [EMAIL PROTECTED] wrote:
  Looking at the SOAP fault returned by service, it looks as if there is a 
problem in the message sent by the client. The service could not 
deserialize the message sent by client. Can you send the message sent by 
client?

Samisa...

Rahil Ali wrote:
 Hello Samisa,
 
 I am getting this output from tcpMon:
 
 
  xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
 
 
 SOAP-ENV:Server.InternalServerError
 Exception thrown while trying to 
 deserialize the SOAP message
 
 
 
 
 I have attached my wsdl file as well... .I entered 
 http://10.10.217.134:5568/ProcessDefinitions/Testing/TestServer/GSCP/intfAuthenticateCustomer-service.serviceagent/intfwsAuthenticateCustomerEndpoint0
  
 in endpoint and 
 /ProcessDefinitions/Testing/TestServer/GSCP/intfAuthenticateCustomer-service.serviceagent/intfwsAuthenticateCustomerEndpoint0/SendSMSOp
  
 in soap-action.
 Please advice. I think that I might have left some problem in wsdl 
 file ( I removed non-required elements from wsdl ).
 
 Thanks  Regards,
 Rahil Ali
 

 */Samisa Abeysinghe /* wrote:

 Rahil Ali wrote:
  Hello Samisa,
 
  I added proxy to my code and tried again but it still failed. I
 added
  following code before function call axis2_options_get_action:
  axis2_svc_client_set_proxy_with_auth(svc_client,
  env,
  http://10.10.230.51;,
  8080,
  abcd,
  1234)
  but still its generating the same error: and fails the function
 call
  axis2_svc_client_send_receive_with_op_qname. Can this function
 fail
  due to some proxy problem...

 In oder to verify this, we should capture the message and first
 see if
 the client is sending the message correctly.

 You can either use logging module or a tool like TCPMon
 http://ws.apache.org/commons/tcpmon/download.cgi to capture the
 messages.

 Samisa...


 
  Thnaks  Regards,
  Rahil Ali
 
 
  */Rahil Ali /* wrote:
 
  Hello Samisa,
 
  Thanks once again for replying, Here is the log
  =
  [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
  AddressingOutHandler to phase MessageOut
  [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
  AddressingOutHandler to phase MessageOut
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(117) Service
  name is : __ANONYMOUS_SERVICE__
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(325) This
  handler is trying to added to system pre defined phases , but
  those handlers are already added to global chain which run
  irrespective of the service
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
  AddressingOutHandler to phase MessageOut
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
  AddressingOutHandler to phase MessageOut
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(325) This
  handler is trying to added to system pre defined phases , but
  those handlers are already added to global chain which run
  irrespective of the service
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
  AddressingOutHandler to phase MessageOut
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
  AddressingOutHandler to phase MessageOut
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(325) This
  handler is trying to added to system pre defined phases , but
  those handlers are already added to global chain which run
  irrespective of the service
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
  AddressingOutHandler to phase MessageOut
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_resolver.c(230) module
  name is:addressing
  [Tue Apr 8 03:51:12 2008] [debug] phase_holder.c(139) Add handler
  AddressingOutHandler to phase MessageOut
  [Tue Apr 8 03:51:12 2008] [debug] op_client.c(881)
  Start:axis2_op_client_infer_transport
  [Tue Apr 8 03:51:12 2008] [debug] op_client.c(936)
  End:axis2_op_client_infer_transport
  [Tue 

Webserivce call through Axis fails..

2008-04-08 Thread Rahil Ali
Hello All, 
   
  I am trying to call a web-service from axis2c (WSDL2C). The code is generated 
and compiled properly. When I try to call the Webservice the function in the 
stub file fails ( axis2_svc_client_send_receive_with_op_qname ). It returns 
NULL and web-service cannot be called. 
   
  Please help me with this problem, 
   
  Thanks  warm Regards,
  Rahil Ali


Re: Webserivce call through Axis fails..

2008-04-08 Thread Samisa Abeysinghe

Rahil Ali wrote:

Hello All,
 
I am trying to call a web-service from axis2c (WSDL2C). The code is 
generated and compiled properly. When I try to call the Webservice the 
function in the stub file fails ( 
axis2_svc_client_send_receive_with_op_qname ). It returns NULL and 
web-service cannot be called.
 
Please help me with this problem,


What does the log say?

Samisa...

 
Thanks  warm Regards,

Rahil Ali


No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.519 / Virus Database: 269.22.9/1364 - Release Date: 4/7/2008 6:38 PM
  



--
Samisa Abeysinghe 
Software Architect; WSO2 Inc.


http://www.wso2.com/ - Oxygenating the Web Service Platform.


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