RE: problem with upload to REST-enabled service

2008-09-05 Thread Arnie Chien
Do you mean verify what the message is as it leaves the client?I don't
know how to capture it on the server if the service operation is not
receiving anything.  I'm new to axis so would appreciate if you could advise
me.  In case it helps, the log reads:

[Thu Sep 04 18:06:08 2008] [debug]
..\..\src\core\transport\http\common\http_worker.c(192) Client HTTP version
HTTP/1.1
[Thu Sep 04 18:06:08 2008] [debug]
..\..\src\core\transport\http\util\http_transport_utils.c(289) HTTP stream
chunked
[Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\rest_disp.c(113)
Checking for service using target endpoint address :
http://12.11.162.2:9090/axis2/services/KIPSvc/getVC
[Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\rest_disp.c(134)
Service found using target endpoint address
[Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\rest_disp.c(201)
Checking for operation using REST HTTP Location fragment : /getVC
[Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\rest_disp.c(209)
Operation found using target endpoint uri fragment
[Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\phase.c(210) Invoke
the handler request_uri_based_dispatcher within the phase Transport
[Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\phase.c(210) Invoke
the handler AddressingInHandler within the phase Transport
[Thu Sep 04 18:06:09 2008] [info]  Starting addressing in handler
[Thu Sep 04 18:06:09 2008] [info]
..\..\src\modules\mod_addr\addr_in_handler.c
[Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\phase.c(210) Invoke
the handler addressing_based_dispatcher within the phase Transport
[Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\phase.c(210) Invoke
the handler rest_dispatcher within the phase Dispatch
[Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\phase.c(210) Invoke
the handler soap_message_body_based_dispatcher within the phase Dispatch
[Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\phase.c(210) Invoke
the handler soap_action_based_dispatcher within the phase Dispatch
[Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\phase.c(210) Invoke
the handler dispatch_post_conditions_evaluator within the phase PostDispatch
[Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\phase.c(210) Invoke
the handler context_handler within the phase PostDispatch
[Thu Sep 04 18:06:09 2008] [warning] ..\..\src\core\description\op.c(1149)
Message id not found for message context while registering operation context
for operation getVC
[Thu Sep 04 18:06:10 2008] [info]  Request served successfully 


-Original Message-
From: Manjula Peiris [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 04, 2008 11:28 PM
To: Apache AXIS C User List
Subject: Re: problem with upload to REST-enabled service

Can you capture the message which is sent to the server ?

On Thu, 2008-09-04 at 17:19 -0400, Arnie Chien wrote:
 Hi,
 I'm trying to upload an image to an axis2c server.  The image is handled
by
 a service which is REST-enabled (modeled after the echo sample).  The
 services.xml is
 
 service name=KIPSvc
 parameter name=ServiceClass locked=xsd:falseKIPSvc/parameter
 description/
 operation name=getVC
 parameter name=RESTMethodPOST/parameter
 parameter name=RESTLocationgetVC/parameter
 /operation
 /service 
 
 The client is written in Java, but does not use the axis2 API; it just
 constructs a POST request using the java HttpConnection class.  (My
 understanding of REST is that this should be okay.)  It sets content-type
to
 text/xml, and sends the image data as a sequence of bytes.
 
 Processing gets into the service dll, such that the getVC operation
 
 axiom_node_t *
 axis2_KIPSvc_getVC(
 const axutil_env_t * env,
 axiom_node_t * node)
 
 is called.  But the node argument is null.  Could someone could tell me
 what the problem might be?  Many thanks in advance- 
 
 
 
 -
 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]





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



Re: problem with upload to REST-enabled service

2008-09-05 Thread Samisa Abeysinghe

Arnie Chien wrote:

Do you mean verify what the message is as it leaves the client?I don't
know how to capture it on the server if the service operation is not
receiving anything.  


Try using TCPMon.

Samisa...


I'm new to axis so would appreciate if you could advise
me.  In case it helps, the log reads:

[Thu Sep 04 18:06:08 2008] [debug]
..\..\src\core\transport\http\common\http_worker.c(192) Client HTTP version
HTTP/1.1
[Thu Sep 04 18:06:08 2008] [debug]
..\..\src\core\transport\http\util\http_transport_utils.c(289) HTTP stream
chunked
[Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\rest_disp.c(113)
Checking for service using target endpoint address :
http://12.11.162.2:9090/axis2/services/KIPSvc/getVC
[Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\rest_disp.c(134)
Service found using target endpoint address
[Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\rest_disp.c(201)
Checking for operation using REST HTTP Location fragment : /getVC
[Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\rest_disp.c(209)
Operation found using target endpoint uri fragment
[Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\phase.c(210) Invoke
the handler request_uri_based_dispatcher within the phase Transport
[Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\phase.c(210) Invoke
the handler AddressingInHandler within the phase Transport
[Thu Sep 04 18:06:09 2008] [info]  Starting addressing in handler
[Thu Sep 04 18:06:09 2008] [info]
..\..\src\modules\mod_addr\addr_in_handler.c
[Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\phase.c(210) Invoke
the handler addressing_based_dispatcher within the phase Transport
[Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\phase.c(210) Invoke
the handler rest_dispatcher within the phase Dispatch
[Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\phase.c(210) Invoke
the handler soap_message_body_based_dispatcher within the phase Dispatch
[Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\phase.c(210) Invoke
the handler soap_action_based_dispatcher within the phase Dispatch
[Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\phase.c(210) Invoke
the handler dispatch_post_conditions_evaluator within the phase PostDispatch
[Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\phase.c(210) Invoke
the handler context_handler within the phase PostDispatch
[Thu Sep 04 18:06:09 2008] [warning] ..\..\src\core\description\op.c(1149)
Message id not found for message context while registering operation context
for operation getVC
[Thu Sep 04 18:06:10 2008] [info]  Request served successfully 



-Original Message-
From: Manjula Peiris [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 04, 2008 11:28 PM

To: Apache AXIS C User List
Subject: Re: problem with upload to REST-enabled service

Can you capture the message which is sent to the server ?

On Thu, 2008-09-04 at 17:19 -0400, Arnie Chien wrote:
  

Hi,
I'm trying to upload an image to an axis2c server.  The image is handled


by
  

a service which is REST-enabled (modeled after the echo sample).  The
services.xml is

service name=KIPSvc
parameter name=ServiceClass locked=xsd:falseKIPSvc/parameter
description/
operation name=getVC
parameter name=RESTMethodPOST/parameter
parameter name=RESTLocationgetVC/parameter
/operation
/service 


The client is written in Java, but does not use the axis2 API; it just
constructs a POST request using the java HttpConnection class.  (My
understanding of REST is that this should be okay.)  It sets content-type


to
  

text/xml, and sends the image data as a sequence of bytes.

Processing gets into the service dll, such that the getVC operation

axiom_node_t *
axis2_KIPSvc_getVC(
const axutil_env_t * env,
axiom_node_t * node)

is called.  But the node argument is null.  Could someone could tell me
what the problem might be?  Many thanks in advance- 




-
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]





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




No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.169 / Virus Database: 270.6.16/1653 - Release Date: 9/5/2008 6:57 AM


  



--
Samisa Abeysinghe 
Director, Engineering; WSO2 Inc.


http://www.wso2.com/ - The Open Source SOA Company


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



RE: problem with upload to REST-enabled service

2008-09-05 Thread Arnie Chien
Ok thanks.  In the meantime, can you tell me whether I'm right that it
should be possible for this to work when the client is not written to the
axis2 api, and just sends standard http requests?

-Original Message-
From: Samisa Abeysinghe [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 05, 2008 11:23 AM
To: Apache AXIS C User List
Subject: Re: problem with upload to REST-enabled service

Arnie Chien wrote:
 Do you mean verify what the message is as it leaves the client?I don't
 know how to capture it on the server if the service operation is not
 receiving anything.  

Try using TCPMon.

Samisa...

 I'm new to axis so would appreciate if you could advise
 me.  In case it helps, the log reads:

 [Thu Sep 04 18:06:08 2008] [debug]
 ..\..\src\core\transport\http\common\http_worker.c(192) Client HTTP
version
 HTTP/1.1
 [Thu Sep 04 18:06:08 2008] [debug]
 ..\..\src\core\transport\http\util\http_transport_utils.c(289) HTTP stream
 chunked
 [Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\rest_disp.c(113)
 Checking for service using target endpoint address :
 http://12.11.162.2:9090/axis2/services/KIPSvc/getVC
 [Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\rest_disp.c(134)
 Service found using target endpoint address
 [Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\rest_disp.c(201)
 Checking for operation using REST HTTP Location fragment : /getVC
 [Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\rest_disp.c(209)
 Operation found using target endpoint uri fragment
 [Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\phase.c(210)
Invoke
 the handler request_uri_based_dispatcher within the phase Transport
 [Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\phase.c(210)
Invoke
 the handler AddressingInHandler within the phase Transport
 [Thu Sep 04 18:06:09 2008] [info]  Starting addressing in handler
 [Thu Sep 04 18:06:09 2008] [info]
 ..\..\src\modules\mod_addr\addr_in_handler.c
 [Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\phase.c(210)
Invoke
 the handler addressing_based_dispatcher within the phase Transport
 [Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\phase.c(210)
Invoke
 the handler rest_dispatcher within the phase Dispatch
 [Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\phase.c(210)
Invoke
 the handler soap_message_body_based_dispatcher within the phase Dispatch
 [Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\phase.c(210)
Invoke
 the handler soap_action_based_dispatcher within the phase Dispatch
 [Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\phase.c(210)
Invoke
 the handler dispatch_post_conditions_evaluator within the phase
PostDispatch
 [Thu Sep 04 18:06:09 2008] [debug] ..\..\src\core\engine\phase.c(210)
Invoke
 the handler context_handler within the phase PostDispatch
 [Thu Sep 04 18:06:09 2008] [warning] ..\..\src\core\description\op.c(1149)
 Message id not found for message context while registering operation
context
 for operation getVC
 [Thu Sep 04 18:06:10 2008] [info]  Request served successfully 


 -Original Message-
 From: Manjula Peiris [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, September 04, 2008 11:28 PM
 To: Apache AXIS C User List
 Subject: Re: problem with upload to REST-enabled service

 Can you capture the message which is sent to the server ?

 On Thu, 2008-09-04 at 17:19 -0400, Arnie Chien wrote:
   
 Hi,
 I'm trying to upload an image to an axis2c server.  The image is handled
 
 by
   
 a service which is REST-enabled (modeled after the echo sample).  The
 services.xml is

 service name=KIPSvc
 parameter name=ServiceClass locked=xsd:falseKIPSvc/parameter
 description/
 operation name=getVC
 parameter name=RESTMethodPOST/parameter
 parameter name=RESTLocationgetVC/parameter
 /operation
 /service 

 The client is written in Java, but does not use the axis2 API; it just
 constructs a POST request using the java HttpConnection class.  (My
 understanding of REST is that this should be okay.)  It sets content-type
 
 to
   
 text/xml, and sends the image data as a sequence of bytes.

 Processing gets into the service dll, such that the getVC operation

 axiom_node_t *
 axis2_KIPSvc_getVC(
 const axutil_env_t * env,
 axiom_node_t * node)

 is called.  But the node argument is null.  Could someone could tell me
 what the problem might be?  Many thanks in advance- 



 -
 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]





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

Re: Clean-up and Freeing (and nnexpected close-tags being created)

2008-09-05 Thread Dimuthu Gamage
Hi,
Looks like the axiom node created with axutil_string is having problem, I
too got the same problem with your code, and I tried replacing
axiom_element_create_str with axiom_element_create and it was working
correctly.

axiom_node_t *nodeA = axiom_node_create(env);
/*axutil_string_t* nodeAString = axutil_string_create
(env,getParameterValues);   */
const axis2_char_t *nodeAString = getParametervalues;
axiom_element_create(env, NULL, nodeAString, ns, nodeA);
.

I think axutil_string or use of axutil_string inside axiom is having a bug.
Can you please raise an issue on this at
https://issues.apache.org/jira/browse/AXIS2C

Thanks
Dimuthu



On Thu, Sep 4, 2008 at 7:13 PM, Andy Karseras [EMAIL PROTECTED] wrote:

 The following code illustrates the problem...

 void myClient::testMethod()
 {
 const axis2_char_t *prefix = cwmp;
 const axis2_char_t *uri = urn:dslforum-org:cwmp-1-0;

 axiom_namespace_t *ns = axiom_namespace_create(env, uri, prefix);
 axiom_namespace_t *empty_ns = axiom_namespace_create(env, uri,
 );

 axiom_node_t *nodeA = axiom_node_create(env);
 axutil_string_t* nodeAString = axutil_string_create
 (env,getParameterValues);
 axiom_element_create_str(env, NULL, nodeAString, ns, nodeA);

 axiom_node_t *nodeB = axiom_node_create(env);
 axutil_string_t* nodeBString = axutil_string_create
 (env,ParameterNames);
 axiom_element_create_str(env, nodeA, nodeBString, empty_ns,
 nodeB);

 axiom_node_t *nameNode = axiom_node_create(env);
 axutil_string_t* nameString = axutil_string_create (env, Name);
 axiom_element_create_str(env, nodeB, nameString, empty_ns,
 nameNode);

 axiom_element_t *ele = (axiom_element_t
 *)axiom_node_get_data_element( nameNode, env);
 axiom_element_set_text( ele, env, blah, nameNode);

 cout  axiom_node_to_string(nodeA,env)  endl;

 axiom_node_free_tree(nodeA, env);
 }

 The method is called multiple times with a sleep interval in between and
 creates the output below.
 Note the ParameterNames tag for the last two iterations.

 cwmp:getParameterValues
 xmlns:cwmp=urn:dslforum-org:cwmp-1-0ParameterNamesNameblah/Name/ParameterNames/cwmp:getParameterValues
 cwmp:getParameterValues
 xmlns:cwmp=urn:dslforum-org:cwmp-1-0ParameterNamesNameblah/Name/ParameterNames/cwmp:getParameterValues
 cwmp:getParameterValues
 xmlns:cwmp=urn:dslforum-org:cwmp-1-0ParameterNamesName/blah/Name/ParameterNames/cwmp:getParameterValues
 cwmp:getParameterValues xmlns:cwmp=urn:dslforum-org:cwmp-1-0*
 ParameterNames/*
 Name/blah/Name/ParameterNames/cwmp:getParameterValues
 cwmp:getParameterValues xmlns:cwmp=urn:dslforum-org:cwmp-1-0*
 ParameterNames/*
 Name/blah/Name/ParameterNames/cwmp:getParameterValues

 Is this expected due to my incorrect use of the APIs or is this a bug ?

 Many thanks.





 On Thu, Sep 4, 2008 at 7:52 AM, Andy Karseras [EMAIL PROTECTED] wrote:

 Thanks for your reply.

 It seems that the problem occurs even when I create a new service client
 and payload on each time I resend.  Would this be expected ?




 On Wed, Sep 3, 2008 at 9:05 PM, Samisa Abeysinghe [EMAIL PROTECTED]wrote:

 I think this occurs because you are violating the ownership rules with
 OM. Once the payload is passed in, the engine takes over the ownership of
 the node and you are not supposed to do anything with the payload
 afterwards.

 Thanks,
 Samisa...

 Andy Karseras wrote:

 Hi,

 I raised this problem in July and thought that it had been resolved (by
 doing proper clean-up), although it is now re-occurring.

 I am seeing a close tag being created when there shouldn't be.

 The incorrect message content is as follows...

 cwmp:getParameterValues xmlns:cwmp=urn:dslforum-org:cwmp-1-0
ParameterNames
*Name/**TempAgent./Name
/ParameterNames
 /cwmp:getParameterValues


 I am sending the same message multiple times to the server and the error
 occurs on the third iteration (3rd time the message is sent) so am assuming
 that I am not doing proper clean-up after each message is created and then
 sent.

 My questions as follows...
 a) Has anybody seen this before ?

 b) Will calling axiom_node_free_tree on nodeA also clean-up nodeB in the
 following example ?
axiom_node_t *nodeB= axiom_node_get_first_child(nodeA, env);

 c) Will a node created to be used in axis2_svc_client_add_header, be
 cleaned-up by axis2_svc_client_free ?

 d) Is there any other info I can provide to clarify or help explain the
 problem ?

 Many thanks.


 Andy
 


 No virus found in this incoming message.
 Checked by AVG - http://www.avg.com Version: 8.0.169 / Virus Database:
 270.6.15/1649 - Release Date: 9/3/2008 7:15 AM





 --
 Samisa Abeysinghe Director, Engineering; WSO2 Inc.

 http://www.wso2.com/ - The Open Source SOA Company


 

Webservice method returns object itself

2008-09-05 Thread SanjeevGour

Hello Experts,
I have a webservice implemented in Java and Axis. This webservice works just
fine. Now I have added another method as a part of this webservice. Made an
entry for this method in the WSDD. This method returns an object containing
for String arrays. This method runs correctly but returns the Object's
hashcode instead of the values of the four String arrays. As I am new to the
webservices, I don't really have any idea what to do in order to get the
right data as the response.

Any ideas???
Sanjeev.
-- 
View this message in context: 
http://www.nabble.com/Webservice-method-returns-object-itself-tp19327718p19327718.html
Sent from the Axis - User mailing list archive at Nabble.com.


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



Status of enableMTOM=optional and Axis Faults / JIRA AXIS2-3340

2008-09-05 Thread Menzner, Rainer
Hi,

about 10 month ago I filed a JIRA (AXIS2-3340) which describes a malfunctioning 
of Axis2-13. in error message creation when enableMTOM=optional and the input 
message is MTOM-formatted.

JIRA indicates that there was no activity on this. Is this fixed in Axis2-1.4? 
In my opinion this is a serious issue because it prevents proper interaction of 
WSE3 client with axis2 services. I know that the true cause is at Microsoft 
which makes invalid assumptions about the type of message expected, but 
Microsoft apparently is not going to fix this reported bug in WSE3.

Has anybody updates on this?

Thanks,
-Rainer


Number of Clients a Web Service can handle

2008-09-05 Thread Tirumala Damacharla
 

Hi all,

How can we know the number of clients a WebService can handle?

 

Thanks  Regards

_

Tirumala Damacharla

Capgemini Financial Services Strategic Business Unit

# 5, Software Units Layout, Madhapur, Hyderabad -  500 081, INDIA 
Office: +91 40 2312 5000 Extn: 28213
Mobile: +91 9848030699   / http://www.capgemini.com
http://www.capgemini.com/   
Fax:+91 40 2312 5002

 



Axis1 client talking to Axis2 server and MTOM

2008-09-05 Thread Ian Ashley
I have an axis1 client talking to either an axis1 or axis2 server and need
the servers to send compatible XML.

I can get this work for requests that don¹t have attachments. For the
requests that have attachments the axis1 server has no namespace defined for
the tag (the asset tag in the example below) whereas the axis2 server leaves
the namespace defined. This means that the code generated by WSDL2Java
cannot find the asset element in the axis1 client when sending an attachment
from the axis2 server or in the axis2 server when sending an attachment from
the axis1 client.

The axis1 client to the axis1 server works fine as both expect the tag to
have no namespace.

An example of the message sent from the axis1 client is

 soapenv:Body
GetAssetResponse xmlns=~/WebServices/
  checkedOut xsi:type=xsd:booleantrue/checkedOut
  asset href=cid:96D0FDF090417F92E5CC880A30C72560 xmlns=/
/GetAssetResponse
  /soapenv:Body

I have separate WSDLs for the axis1 and axis2 servers to get the attachments
to work. Is there a way to alter either of the WSDLs so that either the
axis1 client and server include a namespace in the asset tag or that the
axis2 doesn't clears the namespace of the asset tag?

Thanks,
Ian



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



Axis 2 security

2008-09-05 Thread losintikfos

Hi Experts,

I am trying to secure my Axis2 administration web console from been seen
from the internet. For example if i open the browser and type the internet
address of the server foward slash axis2, it displays the console where ever
i am in the world and therefore want to hide it from been displayed to WAN
users.


Can someone help me please!
-- 
View this message in context: 
http://www.nabble.com/Axis-2-security-tp19328939p19328939.html
Sent from the Axis - User mailing list archive at Nabble.com.


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



Question on SOAPMonitor

2008-09-05 Thread Martin Wunderlich
Hi there, 

I am trying to use the Axis2 SOAPMonitor to take a close look at the SOAP 
messages to and from my existing web service. I installed the the SOAPMonitor 
on Tomcat as per the instructions and it works fine when I go to 
http://localhost:8080/axis2/SOAPMonitor. However, if I want to use the monitor 
on my own web service (e.g. on http://localhost:8080/MyWebService/SOAPMonitor), 
the applet doesn't start. I have added the servlet configuration of my 
service's web.xml and also included the classes in the service's root 
directory. 

The request fails with the following msg: 

message Servlet SOAPMonitorService is not available
description The requested resource (Servlet SOAPMonitorService is not 
available) is not available.


Am I incorrectly assuming that I could use the Axis2 SoapMonitor to monitor any 
SOAP web service that I am running? 

Cheers, 

Martin
-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED]

-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED]

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



Where's the REST ERP in Standard-Installation?

2008-09-05 Thread Grimm, Markus
Hi,

I'm new in axis2 and I'm wondering why I can't see the REST ERP at the
Administration Page under Available Services for the Version-Service,
that comes as default?
If I deploy my own service. It's the same. I thought REST ERPs are
enabled by default ?!

It's a standard installation and the axis2.xml comes with
default-configuration on axis2-1.4 and Tomcat 6. 

Anny ideas ? 
Thanks, Markus




Re: Question on SOAPMonitor

2008-09-05 Thread robert lazarski
This most often happens due to port issues. IIRC its 5401. Make sure
nothing else is using the port. You can also try changing the port in
web.xml.

HTH,
Robert

On Fri, Sep 5, 2008 at 8:39 AM, Martin Wunderlich
[EMAIL PROTECTED] wrote:
 Hi there,

 I am trying to use the Axis2 SOAPMonitor to take a close look at the SOAP 
 messages to and from my existing web service. I installed the the SOAPMonitor 
 on Tomcat as per the instructions and it works fine when I go to 
 http://localhost:8080/axis2/SOAPMonitor. However, if I want to use the 
 monitor on my own web service (e.g. on 
 http://localhost:8080/MyWebService/SOAPMonitor), the applet doesn't start. I 
 have added the servlet configuration of my service's web.xml and also 
 included the classes in the service's root directory.

 The request fails with the following msg:

 message Servlet SOAPMonitorService is not available
 description The requested resource (Servlet SOAPMonitorService is not 
 available) is not available.


 Am I incorrectly assuming that I could use the Axis2 SoapMonitor to monitor 
 any SOAP web service that I am running?

 Cheers,

 Martin
 --
 GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
 Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED]

 --
 GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
 Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED]

 -
 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: Axis 2 manage session not working - Cookies and axis not working

2008-09-05 Thread Deborah Wus
HTTP/1.1 200 OK
 
Date: Fri, 05 Sep 2008 13:34:35 GMT
 
Server: Microsoft-IIS/6.0
 
X-Powered-By: ASP.NET
 
X-AspNet-Version: 2.0.50727
 
Set-Cookie: ASP.NET_SessionId=jmjmsh45enh2d5553vflpfbl; path=/; HttpOnly
 
Cache-Control: private, max-age=0
 
Content-Type: application/soap+xml; charset=utf-8
 
Content-Length: 328
 
Set-Cookie: NSC_fgn_ns_bqq=ac10005a0050;path=/
 
 
 
?xml version=1.0 encoding=utf-8?soap:Envelope
xmlns:soap=http://www.w3.org/2003/05/soap-envelope;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;soap:BodyLoginResponse
xmlns=http://www.perseus.com/Pdc.WS;LoginResult
//LoginResponse/soap:Body/soap:Envelope
 
 
Thank you so much for your help and guidance - I am completely new to
webservices.  Let me know if I sent the correct portion.



From: keith chapman [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 04, 2008 11:57 PM
To: axis-user@ws.apache.org
Subject: Re: Axis 2 manage session not working - Cookies and axis not
working


You can use TCPMotitor [1] to trace the SOAP messages
http://www.keith-chapman.org/2008/07/using-tcp-monitor-to-debug-web-ser
vice.html .

Thanks,
Keith.

[1]
http://www.keith-chapman.org/2008/07/using-tcp-monitor-to-debug-web-serv
ice.html


On Fri, Sep 5, 2008 at 6:28 AM, Deepal Jayasinghe [EMAIL PROTECTED]
wrote:


can you please paste the HTTP header of the messages I mean HTTP
header
of the response and the second request.


Deborah Wus wrote:
 That did not work either. I also tried setting the
customCookieId
 before maintiaining the sessions as I saw listed elsewhere.

 options.setProperty(customCookieID ,NSC_fgn_ns_bqq);
 But that also did not work.



 *From:* keith chapman [mailto:[EMAIL PROTECTED]
 *Sent:* Thursday, September 04, 2008 12:47 PM
 *To:* axis-user@ws.apache.org
 *Subject:* Re: Axis 2 manage session not working - Cookies and
axis
 not working

 Hi,

 Can you try using
 _stub._getServiceClient().getOptions.setManageSession(true);
instead.
 We use transport session a lot in our projects and it works.

 Thanks,
 Keith.

 On Thu, Sep 4, 2008 at 9:11 PM, Deborah Wus
[EMAIL PROTECTED]

 mailto:[EMAIL PROTECTED] wrote:

 I attempted to do this in Axis 2 to see if solved the
problem I
 was having, but I am still receiving an invalid access,
meaning
 that the session cookies are not being handled. Any calls
which
 require a login are failing although the login itself is
succeeding.
 Ping does not required a login. GetProfileList does
required a
 login. Ping receives an ACK, Login succeeds.
GetProfileList
 returns an Invalid Access error. Support from the third
party who
 created the service said if I am using .NET I should set
the
 CookieContainer. They have no input so far for Axis or
Axis 2.
 Any help would be appreciated.
 package com.p21.test.web;
 import java.rmi.RemoteException;
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.client.Options;
 import org.apache.axis2.client.ServiceClient;
 import junit.framework.TestCase;
 import com.perseus.www.pdc_ws.ProjectDataStub;
 public class WSTest extends TestCase {

 public void testLogin() {
 try {
 Options options = new Options();
 options.setManageSession(true);
 ProjectDataStub _stub = new

ProjectDataStub(http://efm.activant.com/ws/projectdata.asmx;);
 ServiceClient sender = _stub._getServiceClient();
 sender.setOverrideOptions(options);

 ProjectDataStub.Ping ping = new ProjectDataStub.Ping();
 ProjectDataStub.PingResponse res;
 ProjectDataStub.LoginResponse loginResponse;
 ProjectDataStub.Login login = new ProjectDataStub.Login();

 ProjectDataStub.GetProfileListResponse gres;
 ProjectDataStub.GetProfileList glist = new
 ProjectDataStub.GetProfileList();

 login.setUserName(username);
 login.setPassword(password);


 try {
 res = _stub.Ping(ping);
 System.out.println(res.getPingResult());

 loginResponse = _stub.Login(login);
 System.out.println(loginResponse.getLoginResult());

 gres = _stub.GetProfileList(glist);
 System.out.println(gres.getGetProfileListResult());


 } catch (RemoteException e1) {
 

Webservices show up on axis2 deployed services list, but the service ERP urls do not work

2008-09-05 Thread Doyle, Annette
I am trying to deploy using JAX-WS 2.0 and a services.xml file, and an
aar deployment archive. I've created the code using JDK 1.6 wsgen. The
aar archive does get deployed with no error, but the services defined in
the serviceGroup are not accessable using the ERP urls shown on the
services list. Both of my webservices are pojos, just using the
@Webservice annotation.  Below is my services.xml file:
serviceGroup
service name=NoteWrapperService
description The Data Portfolio Note
Service/description
messageReceiver
mep=http://www.w3.org/2004/08/wsdl/in-out;

class=org.apache.axis2.jaxws.server.JAXWSMessageReceiver /
parameter name=ServiceClass
locked=xsd:falsecom.dnb.components.ws.portfolio.note.NoteWrapper/par
ameter
operation name=deleteNote
messageReceiver
mep=http://www.w3.org/2004/08/wsdl/in-opt-out;

class=org.apache.axis2.jaxws.server.JAXWSMessageReceiver /
/operation
operation name=fetchAllNotesByUser
messageReceiver
mep=http://www.w3.org/2004/08/wsdl/in-out;

class=org.apache.axis2.jaxws.server.JAXWSMessageReceiver /
/operation
operation name=fetchById
messageReceiver
mep=http://www.w3.org/2004/08/wsdl/in-out;

class=org.apache.axis2.jaxws.server.JAXWSMessageReceiver /
/operation
operation name=fetchMostRecentNotes
messageReceiver
mep=http://www.w3.org/2004/08/wsdl/in-out;

class=org.apache.axis2.jaxws.server.JAXWSMessageReceiver /
/operation
operation name=fetchNotesByCompanyListAndUser
messageReceiver
mep=http://www.w3.org/2004/08/wsdl/in-out;

class=org.apache.axis2.jaxws.server.JAXWSMessageReceiver /
/operation
operation name=fetchNoteByCompanyAndUser
messageReceiver
mep=http://www.w3.org/2004/08/wsdl/in-out;

class=org.apache.axis2.jaxws.server.JAXWSMessageReceiver /
/operation
operation name=getNoteCountByUser
messageReceiver
mep=http://www.w3.org/2004/08/wsdl/in-out;

class=org.apache.axis2.jaxws.server.JAXWSMessageReceiver /
/operation
operation name=saveOrUpdateNote
messageReceiver
mep=http://www.w3.org/2004/08/wsdl/in-opt-out;

class=org.apache.axis2.jaxws.server.JAXWSMessageReceiver /
/operation
/service
service name=TagWrapperService
description The Data Portfolio Tag
Service/description
messageReceiver
mep=http://www.w3.org/2004/08/wsdl/in-out;

class=org.apache.axis2.jaxws.server.JAXWSMessageReceiver /
parameter name=ServiceClass
locked=xsd:falsecom.dnb.components.ws.portfolio.tag.TagWrapper/param
eter
operation name=fetchAllTagsByUser
messageReceiver
mep=http://www.w3.org/2004/08/wsdl/in-out;

class=org.apache.axis2.jaxws.server.JAXWSMessageReceiver /
/operation
operation name=fetchAllTagsExceptCompanyAssignedTag(
messageReceiver
mep=http://www.w3.org/2004/08/wsdl/in-out;

class=org.apache.axis2.jaxws.server.JAXWSMessageReceiver /
/operation
operation name=fetchById
messageReceiver
mep=http://www.w3.org/2004/08/wsdl/in-out;

class=org.apache.axis2.jaxws.server.JAXWSMessageReceiver /
/operation
operation name=fetchByTagName
messageReceiver
mep=http://www.w3.org/2004/08/wsdl/in-out;

class=org.apache.axis2.jaxws.server.JAXWSMessageReceiver /
/operation
operation
name=fetchMostRecentTagsAssociatedWithCompanies
messageReceiver
mep=http://www.w3.org/2004/08/wsdl/in-out;

class=org.apache.axis2.jaxws.server.JAXWSMessageReceiver /
/operation
operation name=fetchTagAssociatedWithCompany
messageReceiver
mep=http://www.w3.org/2004/08/wsdl/in-out;

class=org.apache.axis2.jaxws.server.JAXWSMessageReceiver /
/operation
operation name=fetchTagByCompanyAndUser
messageReceiver
mep=http://www.w3.org/2004/08/wsdl/in-out;

class=org.apache.axis2.jaxws.server.JAXWSMessageReceiver /
/operation
operation name=getTagCountByUser
messageReceiver
mep=http://www.w3.org/2004/08/wsdl/in-out;

class=org.apache.axis2.jaxws.server.JAXWSMessageReceiver /
/operation
operation name=removeTagsAction
messageReceiver

RE: Axis 2 manage session not working - Cookies and axis not working

2008-09-05 Thread Deborah Wus
Actually thank you very much I think I was identifying the wrong
variable.  When I changed the custom cookie to ASP.NET_Ses, it does
work!
 
Thank you all very much.



From: Deborah Wus [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 05, 2008 9:37 AM
To: axis-user@ws.apache.org
Subject: RE: Axis 2 manage session not working - Cookies and axis not
working


HTTP/1.1 200 OK
 
Date: Fri, 05 Sep 2008 13:34:35 GMT
 
Server: Microsoft-IIS/6.0
 
X-Powered-By: ASP.NET
 
X-AspNet-Version: 2.0.50727
 
Set-Cookie: ASP.NET_SessionId=jmjmsh45enh2d5553vflpfbl; path=/; HttpOnly
 
Cache-Control: private, max-age=0
 
Content-Type: application/soap+xml; charset=utf-8
 
Content-Length: 328
 
Set-Cookie: NSC_fgn_ns_bqq=ac10005a0050;path=/
 
 
 
?xml version=1.0 encoding=utf-8?soap:Envelope
xmlns:soap=http://www.w3.org/2003/05/soap-envelope;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;soap:BodyLoginResponse
xmlns=http://www.perseus.com/Pdc.WS;LoginResult
//LoginResponse/soap:Body/soap:Envelope
 
 
Thank you so much for your help and guidance - I am completely new to
webservices.  Let me know if I sent the correct portion.



From: keith chapman [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 04, 2008 11:57 PM
To: axis-user@ws.apache.org
Subject: Re: Axis 2 manage session not working - Cookies and axis not
working


You can use TCPMotitor [1] to trace the SOAP messages
http://www.keith-chapman.org/2008/07/using-tcp-monitor-to-debug-web-ser
vice.html .

Thanks,
Keith.

[1]
http://www.keith-chapman.org/2008/07/using-tcp-monitor-to-debug-web-serv
ice.html


On Fri, Sep 5, 2008 at 6:28 AM, Deepal Jayasinghe [EMAIL PROTECTED]
wrote:


can you please paste the HTTP header of the messages I mean HTTP
header
of the response and the second request.


Deborah Wus wrote:
 That did not work either. I also tried setting the
customCookieId
 before maintiaining the sessions as I saw listed elsewhere.

 options.setProperty(customCookieID ,NSC_fgn_ns_bqq);
 But that also did not work.



 *From:* keith chapman [mailto:[EMAIL PROTECTED]
 *Sent:* Thursday, September 04, 2008 12:47 PM
 *To:* axis-user@ws.apache.org
 *Subject:* Re: Axis 2 manage session not working - Cookies and
axis
 not working

 Hi,

 Can you try using
 _stub._getServiceClient().getOptions.setManageSession(true);
instead.
 We use transport session a lot in our projects and it works.

 Thanks,
 Keith.

 On Thu, Sep 4, 2008 at 9:11 PM, Deborah Wus
[EMAIL PROTECTED]

 mailto:[EMAIL PROTECTED] wrote:

 I attempted to do this in Axis 2 to see if solved the
problem I
 was having, but I am still receiving an invalid access,
meaning
 that the session cookies are not being handled. Any calls
which
 require a login are failing although the login itself is
succeeding.
 Ping does not required a login. GetProfileList does
required a
 login. Ping receives an ACK, Login succeeds.
GetProfileList
 returns an Invalid Access error. Support from the third
party who
 created the service said if I am using .NET I should set
the
 CookieContainer. They have no input so far for Axis or
Axis 2.
 Any help would be appreciated.
 package com.p21.test.web;
 import java.rmi.RemoteException;
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.client.Options;
 import org.apache.axis2.client.ServiceClient;
 import junit.framework.TestCase;
 import com.perseus.www.pdc_ws.ProjectDataStub;
 public class WSTest extends TestCase {

 public void testLogin() {
 try {
 Options options = new Options();
 options.setManageSession(true);
 ProjectDataStub _stub = new

ProjectDataStub(http://efm.activant.com/ws/projectdata.asmx;);
 ServiceClient sender = _stub._getServiceClient();
 sender.setOverrideOptions(options);

 ProjectDataStub.Ping ping = new ProjectDataStub.Ping();
 ProjectDataStub.PingResponse res;
 ProjectDataStub.LoginResponse loginResponse;
 ProjectDataStub.Login login = new ProjectDataStub.Login();

 ProjectDataStub.GetProfileListResponse gres;
 ProjectDataStub.GetProfileList glist = new
 ProjectDataStub.GetProfileList();

 login.setUserName(username);
 login.setPassword(password);


 try {
 res 

Uploading ppt to Sharepoint using java

2008-09-05 Thread dinshetty

Hi,

I need to upload power point documents to sharepoint using java. I created
java files using Imaging.asmx.
I tried to upload as below. 

 Upload anUpload = new Upload();

anUpload.setStrListName(%7B0868F928%2D0355%2D40B3%2DA13B%2DB5B008324B36%7D);

//anUpload.setStrFolder(strFolder)
File aFile = new File(Z:\\CEO Certification\\CEO from
shine\\TemplateNWBC_Clone.ppt);
byte[] fileBArray = new byte[(int)aFile.length()];
FileInputStream fis = new FileInputStream(aFile);
fis.read(fileBArray);

anUpload.setBytes(fileBArray);
anUpload.setFileName(tempClone.ppt);

ImagingSoap12Stub soap = (ImagingSoap12Stub)new
ImagingLocator().getImagingSoap12();
soap.setUsername(domain/username);
soap.setPassword(passwd);
//soap.setHeader(new SOAPHeaderElement().);

UploadResponse anUploadResponse = soap.upload(anUpload);


But I got the error on the console as below,

AxisFault
 faultCode: {http://www.w3.org/2003/05/soap-envelope}Server.userException
 faultSubcode: 
 faultString: org.xml.sax.SAXException: Processing instructions are not
allowed within SOAP messages
 faultActor: 
 faultNode: 
 faultDetail: 
{http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
Processing instructions are not allowed within SOAP messages
at
org.apache.axis.encoding.DeserializationContext.startDTD(DeserializationContext.java:1161)
at org.apache.xerces.parsers.AbstractSAXParser.doctypeDecl(Unknown 
Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.doctypeDecl(Unknown 
Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl.scanDoctypeDecl(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown 
Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)

Please advice to resovle this issue.
-- 
View this message in context: 
http://www.nabble.com/Uploading-ppt-to-Sharepoint-using-java-tp19331690p19331690.html
Sent from the Axis - User mailing list archive at Nabble.com.


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



Re: Where's the REST ERP in Standard-Installation?

2008-09-05 Thread Deepal Jayasinghe
The thing is EPR is same for both SOAP and REST, we differentiate REST 
and SOAP from some  other mean.

Thank you!
Deepal

Grimm, Markus wrote:

 Hi,

 I'm new in axis2 and I'm wondering why I can't see the REST ERP at the
 Administration Page under Available Services for the Version-Service,
 that comes as default?

 If I deploy my own service. It's the same. I thought REST ERPs are
 enabled by default ?!

 It's a standard installation and the axis2.xml comes with
 default-configuration on axis2-1.4 and Tomcat 6.

 Anny ideas ?
 Thanks, Markus



-- 
Thanks,
Deepal

http://blogs.deepal.org/


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



Re: Axis1 client talking to Axis2 server and MTOM

2008-09-05 Thread Deepal Jayasinghe
Have a look at the following article I think that might help you

http://wso2.org/library/3860

Ian Ashley wrote:
 I have an axis1 client talking to either an axis1 or axis2 server and need
 the servers to send compatible XML.

 I can get this work for requests that don¹t have attachments. For the
 requests that have attachments the axis1 server has no namespace defined for
 the tag (the asset tag in the example below) whereas the axis2 server leaves
 the namespace defined. This means that the code generated by WSDL2Java
 cannot find the asset element in the axis1 client when sending an attachment
 from the axis2 server or in the axis2 server when sending an attachment from
 the axis1 client.

 The axis1 client to the axis1 server works fine as both expect the tag to
 have no namespace.

 An example of the message sent from the axis1 client is

  soapenv:Body
 GetAssetResponse xmlns=~/WebServices/
   checkedOut xsi:type=xsd:booleantrue/checkedOut
   asset href=cid:96D0FDF090417F92E5CC880A30C72560 xmlns=/
 /GetAssetResponse
   /soapenv:Body

 I have separate WSDLs for the axis1 and axis2 servers to get the attachments
 to work. Is there a way to alter either of the WSDLs so that either the
 axis1 client and server include a namespace in the asset tag or that the
 axis2 doesn't clears the namespace of the asset tag?

 Thanks,
 Ian



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



   

-- 
Thanks,
Deepal

http://blogs.deepal.org/


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



Re: Number of Clients a Web Service can handle

2008-09-05 Thread Deepal Jayasinghe


  

 Hi all,

 How can we know the number of clients a WebService can handle?

DO you mean number of concurrent clients ? , if so it mostly depend on
the applications server's thread pool size.

  

 **Thanks  Regards**

 **_**

 **Tirumala Damacharla**

 Capgemini Financial Services Strategic Business Unit

 # 5, Software Units Layout, Madhapur, Hyderabad -  500 081, INDIA
 Office: +91 40 2312 5000 Extn: 28213
 Mobile: +91 9848030699   / http://www.capgemini.com
 http://www.capgemini.com/ 
 Fax:+91 40 2312 5002

  


-- 
Thanks,
Deepal

http://blogs.deepal.org/


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



Re: Webservice method returns object itself

2008-09-05 Thread Deepal Jayasinghe

 Hello Experts,
 I have a webservice implemented in Java and Axis. This webservice works just
 fine. Now I have added another method as a part of this webservice. Made an
 entry for this method in the WSDD. This method returns an object containing
 for String arrays. This method runs correctly but returns the Object's
 hashcode instead of the values of the four String arrays. As I am new to the
 webservices, I don't really have any idea what to do in order to get the
 right data as the response.
   
Is this about Axis1 or Axis2 ?
if it is not Axis2 and if you are new to Web services I recommend you to
switch to Axis2.

Thank you!
Deepal
 Any ideas???
 Sanjeev.
   

-- 
Thanks,
Deepal

http://blogs.deepal.org/


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



Re: Axis 2 manage session not working - Cookies and axis not working

2008-09-05 Thread Deepal Jayasinghe
hehe , no worries . If you get that working then thats what we want.

Thank you!
Deepal


Deborah Wus wrote:
 Actually thank you very much I think I was identifying the wrong
 variable. When I changed the custom cookie to ASP.NET_Ses, it does work!
 Thank you all very much.

 
 *From:* Deborah Wus [mailto:[EMAIL PROTECTED]
 *Sent:* Friday, September 05, 2008 9:37 AM
 *To:* axis-user@ws.apache.org
 *Subject:* RE: Axis 2 manage session not working - Cookies and axis
 not working

 HTTP/1.1 200 OK
 Date: Fri, 05 Sep 2008 13:34:35 GMT
 Server: Microsoft-IIS/6.0
 X-Powered-By: ASP.NET
 X-AspNet-Version: 2.0.50727
 Set-Cookie: ASP.NET_SessionId=jmjmsh45enh2d5553vflpfbl; path=/; HttpOnly
 Cache-Control: private, max-age=0
 Content-Type: application/soap+xml; charset=utf-8
 Content-Length: 328
 Set-Cookie: NSC_fgn_ns_bqq=ac10005a0050;path=/
 ?xml version=1.0 encoding=utf-8?soap:Envelope
 xmlns:soap=http://www.w3.org/2003/05/soap-envelope;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xmlns:xsd=http://www.w3.org/2001/XMLSchema;soap:BodyLoginResponse
 http://www.w3.org/2001/XMLSchema%22%3E%3Csoap:Body%3E%3CLoginResponse
 xmlns=http://www.perseus.com/Pdc.WS;LoginResult
 http://www.perseus.com/Pdc.WS%22%3E%3CLoginResult
 //LoginResponse/soap:Body/soap:Envelope
 Thank you so much for your help and guidance - I am completely new to
 webservices. Let me know if I sent the correct portion.

 
 *From:* keith chapman [mailto:[EMAIL PROTECTED]
 *Sent:* Thursday, September 04, 2008 11:57 PM
 *To:* axis-user@ws.apache.org
 *Subject:* Re: Axis 2 manage session not working - Cookies and axis
 not working

 You can use TCPMotitor [1] to trace the SOAP messages
 http://www.keith-chapman.org/2008/07/using-tcp-monitor-to-debug-web-service.html.

 Thanks,
 Keith.

 [1]
 http://www.keith-chapman.org/2008/07/using-tcp-monitor-to-debug-web-service.html

 On Fri, Sep 5, 2008 at 6:28 AM, Deepal Jayasinghe
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:

 can you please paste the HTTP header of the messages I mean HTTP
 header
 of the response and the second request.

 Deborah Wus wrote:
  That did not work either. I also tried setting the customCookieId
  before maintiaining the sessions as I saw listed elsewhere.
 
  options.setProperty(customCookieID ,NSC_fgn_ns_bqq);
  But that also did not work.
 
 
 
  *From:* keith chapman [mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]]
  *Sent:* Thursday, September 04, 2008 12:47 PM
  *To:* axis-user@ws.apache.org mailto:axis-user@ws.apache.org
  *Subject:* Re: Axis 2 manage session not working - Cookies and axis
  not working
 
  Hi,
 
  Can you try using
  _stub._getServiceClient().getOptions.setManageSession(true);
 instead.
  We use transport session a lot in our projects and it works.
 
  Thanks,
  Keith.
 
  On Thu, Sep 4, 2008 at 9:11 PM, Deborah Wus
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
  I attempted to do this in Axis 2 to see if solved the problem I
  was having, but I am still receiving an invalid access, meaning
  that the session cookies are not being handled. Any calls which
  require a login are failing although the login itself is succeeding.
  Ping does not required a login. GetProfileList does required a
  login. Ping receives an ACK, Login succeeds. GetProfileList
  returns an Invalid Access error. Support from the third party who
  created the service said if I am using .NET I should set the
  CookieContainer. They have no input so far for Axis or Axis 2.
  Any help would be appreciated.
  package com.p21.test.web;
  import java.rmi.RemoteException;
  import org.apache.axis2.AxisFault;
  import org.apache.axis2.client.Options;
  import org.apache.axis2.client.ServiceClient;
  import junit.framework.TestCase;
  import com.perseus.www.pdc_ws.ProjectDataStub;
  public class WSTest extends TestCase {
 
  public void testLogin() {
  try {
  Options options = new Options();
  options.setManageSession(true);
  ProjectDataStub _stub = new
  ProjectDataStub(http://efm.activant.com/ws/projectdata.asmx;);
  ServiceClient sender = _stub._getServiceClient();
  sender.setOverrideOptions(options);
 
  ProjectDataStub.Ping ping = new ProjectDataStub.Ping();
  ProjectDataStub.PingResponse res;
  ProjectDataStub.LoginResponse loginResponse;
  ProjectDataStub.Login login = new ProjectDataStub.Login();
 
  ProjectDataStub.GetProfileListResponse gres;
  ProjectDataStub.GetProfileList glist = new
  

Re: Axis1 client talking to Axis2 server and MTOM

2008-09-05 Thread Ian Ashley
Thanks for that but it doesn¹t answer the issue we are having to do with
namespaces. It says in the Apache Axis 2 documentation
(http://ws.apache.org/axis2/1_4_1/mtom-guide.html) that MTOM was tested as
being backwards compatible with Axis1. Does anyone know who did that testing
by any chance? 

Thanks,
Ian



From: Deepal Jayasinghe [EMAIL PROTECTED]
Reply-To: axis-user@ws.apache.org
Date: Fri, 05 Sep 2008 10:03:05 -0400
To: axis-user@ws.apache.org
Subject: Re: Axis1 client talking to Axis2 server and MTOM

Have a look at the following article I think that might help you

http://wso2.org/library/3860

Ian Ashley wrote:
 I have an axis1 client talking to either an axis1 or axis2 server and need
 the servers to send compatible XML.

 I can get this work for requests that don¹t have attachments. For the
 requests that have attachments the axis1 server has no namespace defined for
 the tag (the asset tag in the example below) whereas the axis2 server leaves
 the namespace defined. This means that the code generated by WSDL2Java
 cannot find the asset element in the axis1 client when sending an attachment
 from the axis2 server or in the axis2 server when sending an attachment from
 the axis1 client.

 The axis1 client to the axis1 server works fine as both expect the tag to
 have no namespace.

 An example of the message sent from the axis1 client is

  soapenv:Body
 GetAssetResponse xmlns=~/WebServices/
   checkedOut xsi:type=xsd:booleantrue/checkedOut
   asset href=cid:96D0FDF090417F92E5CC880A30C72560 xmlns=/
 /GetAssetResponse
   /soapenv:Body

 I have separate WSDLs for the axis1 and axis2 servers to get the attachments
 to work. Is there a way to alter either of the WSDLs so that either the
 axis1 client and server include a namespace in the asset tag or that the
 axis2 doesn't clears the namespace of the asset tag?

 Thanks,
 Ian



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



   

-- 
Thanks,
Deepal

http://blogs.deepal.org/


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


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__



wsdl2java - Use lists instead of arrays for unbounded types?

2008-09-05 Thread bgz

Is there a way for wsdl2java generated code to use Lists instead of Arrays
for unbounded types?
-- 
View this message in context: 
http://www.nabble.com/wsdl2java---Use-lists-instead-of-arrays-for-unbounded-types--tp19332300p19332300.html
Sent from the Axis - User mailing list archive at Nabble.com.


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



RE: Number of Clients a Web Service can handle

2008-09-05 Thread Tirumala Damacharla
Yes. Concurrent clients.
We are using glassfish server.
How can we know thread pool size? 

Thanks  Regards

_

Tirumala Damacharla

Capgemini Financial Services Strategic Business Unit

# 5, Software Units Layout, Madhapur, Hyderabad -  500 081, INDIA 
Office: +91 40 2312 5000 Extn: 28213
Mobile: +91 9848030699   / http://www.capgemini.com  
Fax:+91 40 2312 5002

-Original Message-
From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 05, 2008 7:34 PM
To: axis-user@ws.apache.org
Subject: Re: Number of Clients a Web Service can handle



  

 Hi all,

 How can we know the number of clients a WebService can handle?

DO you mean number of concurrent clients ? , if so it mostly depend on
the applications server's thread pool size.

  

 **Thanks  Regards**

 **_**

 **Tirumala Damacharla**

 Capgemini Financial Services Strategic Business Unit

 # 5, Software Units Layout, Madhapur, Hyderabad -  500 081, INDIA
 Office: +91 40 2312 5000 Extn: 28213
 Mobile: +91 9848030699   / http://www.capgemini.com
 http://www.capgemini.com/ 
 Fax:+91 40 2312 5002

  


-- 
Thanks,
Deepal

http://blogs.deepal.org/


-
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: Axis 2 manage session not working - Cookies and axis not working

2008-09-05 Thread Deborah Wus
Actually - now I am getting the error intermittently...  I can run it
ten times in a row (no hcnages in code or credentials)  And I only get
it successfully maybe once in 7-10 tries.

I tried adding a cleanup to the service but that has not changed.  Any
suggestions?

Thank you,
Deborah

public void testAxis2Login() {
ServiceClient sender;
try {

ProjectDataStub _stub = new
ProjectDataStub(http://efm.activant.com/ws/projectdata.asmx;);
sender = _stub._getServiceClient();
Options options = sender.getOptions();
options.setProperty(customCookieID ,ASP.NET_SessionId);
options.setManageSession(true);
sender.setOptions(options);

ProjectDataStub.Ping ping = new ProjectDataStub.Ping();
ProjectDataStub.PingResponse res;
ProjectDataStub.LoginResponse loginResponse;
ProjectDataStub.Login login = new ProjectDataStub.Login();

ProjectDataStub.GetSurveyListResponse gres;
ProjectDataStub.GetSurveyList glist = new
ProjectDataStub.GetSurveyList();

login.setUserName(username);
login.setPassword(password);


try {
res = _stub.Ping(ping);
System.out.println(res.getPingResult());

loginResponse = _stub.Login(login);
System.out.println(loginResponse.getLoginResult());

gres = _stub.GetSurveyList(glist);
ProjectDataStub.GetSurveyListResult_type0 type =
gres.getGetSurveyListResult();  
try {
OMElement omElement =
type.getOMElement(ProjectDataStub.GetSurveyList.MY_QNAME,
OMAbstractFactory.getOMFactory());
String omElementString;
try {
omElementString =
omElement.toStringWithConsume();
System.out.println(OMElement ==  +
omElementString);
XMLStreamReader xmlReader =
StAXUtils.createXMLStreamReader(new
ByteArrayInputStream(omElementString.getBytes()));
} catch (XMLStreamException e3) {
// TODO Auto-generated catch block
e3.printStackTrace();
}
} catch (ADBException e2) {
// TODO Auto-generated catch block
e2.printStackTrace();
}

} catch (RemoteException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
} finally {
sender.cleanup();
sender.cleanupTransport();
}

} catch (AxisFault e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
} 

-Original Message-
From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 05, 2008 10:09 AM
To: axis-user@ws.apache.org
Subject: Re: Axis 2 manage session not working - Cookies and axis not
working

hehe , no worries . If you get that working then thats what we want.

Thank you!
Deepal


Deborah Wus wrote:
 Actually thank you very much I think I was identifying the wrong
 variable. When I changed the custom cookie to ASP.NET_Ses, it does
work!
 Thank you all very much.



 *From:* Deborah Wus [mailto:[EMAIL PROTECTED]
 *Sent:* Friday, September 05, 2008 9:37 AM
 *To:* axis-user@ws.apache.org
 *Subject:* RE: Axis 2 manage session not working - Cookies and axis
 not working

 HTTP/1.1 200 OK
 Date: Fri, 05 Sep 2008 13:34:35 GMT
 Server: Microsoft-IIS/6.0
 X-Powered-By: ASP.NET
 X-AspNet-Version: 2.0.50727
 Set-Cookie: ASP.NET_SessionId=jmjmsh45enh2d5553vflpfbl; path=/;
HttpOnly
 Cache-Control: private, max-age=0
 Content-Type: application/soap+xml; charset=utf-8
 Content-Length: 328
 Set-Cookie: NSC_fgn_ns_bqq=ac10005a0050;path=/
 ?xml version=1.0 encoding=utf-8?soap:Envelope
 xmlns:soap=http://www.w3.org/2003/05/soap-envelope;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xmlns:xsd=http://www.w3.org/2001/XMLSchema;soap:BodyLoginResponse

http://www.w3.org/2001/XMLSchema%22%3E%3Csoap:Body%3E%3CLoginResponse
 xmlns=http://www.perseus.com/Pdc.WS;LoginResult
 http://www.perseus.com/Pdc.WS%22%3E%3CLoginResult
 //LoginResponse/soap:Body/soap:Envelope
 Thank you so much for your help and guidance - I am completely new to
 webservices. Let me know if I sent the correct portion.



 *From:* keith chapman [mailto:[EMAIL PROTECTED]
 *Sent:* Thursday, September 04, 2008 11:57 PM
 *To:* axis-user@ws.apache.org
 *Subject:* Re: Axis 2 manage session not working - Cookies and axis
 not working

 You can use TCPMotitor 

RE: Axis 2 manage session not working - Cookies and axis not working

2008-09-05 Thread Deborah Wus
The third party sent me this.  How would I accomplish this in Axis2?

By default, Axis sends the cookies in separate key-value pairs like
this:

Cookie: a=a1
Cookie: b=b2
Cookie: c=c3

While .Net OTOH expects the cookies in the format

Cookie: a=a1;b=b2;c=c3 

-Original Message-
From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 05, 2008 10:09 AM
To: axis-user@ws.apache.org
Subject: Re: Axis 2 manage session not working - Cookies and axis not
working

hehe , no worries . If you get that working then thats what we want.

Thank you!
Deepal


Deborah Wus wrote:
 Actually thank you very much I think I was identifying the wrong
 variable. When I changed the custom cookie to ASP.NET_Ses, it does
work!
 Thank you all very much.



 *From:* Deborah Wus [mailto:[EMAIL PROTECTED]
 *Sent:* Friday, September 05, 2008 9:37 AM
 *To:* axis-user@ws.apache.org
 *Subject:* RE: Axis 2 manage session not working - Cookies and axis
 not working

 HTTP/1.1 200 OK
 Date: Fri, 05 Sep 2008 13:34:35 GMT
 Server: Microsoft-IIS/6.0
 X-Powered-By: ASP.NET
 X-AspNet-Version: 2.0.50727
 Set-Cookie: ASP.NET_SessionId=jmjmsh45enh2d5553vflpfbl; path=/;
HttpOnly
 Cache-Control: private, max-age=0
 Content-Type: application/soap+xml; charset=utf-8
 Content-Length: 328
 Set-Cookie: NSC_fgn_ns_bqq=ac10005a0050;path=/
 ?xml version=1.0 encoding=utf-8?soap:Envelope
 xmlns:soap=http://www.w3.org/2003/05/soap-envelope;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xmlns:xsd=http://www.w3.org/2001/XMLSchema;soap:BodyLoginResponse

http://www.w3.org/2001/XMLSchema%22%3E%3Csoap:Body%3E%3CLoginResponse
 xmlns=http://www.perseus.com/Pdc.WS;LoginResult
 http://www.perseus.com/Pdc.WS%22%3E%3CLoginResult
 //LoginResponse/soap:Body/soap:Envelope
 Thank you so much for your help and guidance - I am completely new to
 webservices. Let me know if I sent the correct portion.



 *From:* keith chapman [mailto:[EMAIL PROTECTED]
 *Sent:* Thursday, September 04, 2008 11:57 PM
 *To:* axis-user@ws.apache.org
 *Subject:* Re: Axis 2 manage session not working - Cookies and axis
 not working

 You can use TCPMotitor [1] to trace the SOAP messages

http://www.keith-chapman.org/2008/07/using-tcp-monitor-to-debug-web-ser
vice.html.

 Thanks,
 Keith.

 [1]

http://www.keith-chapman.org/2008/07/using-tcp-monitor-to-debug-web-serv
ice.html

 On Fri, Sep 5, 2008 at 6:28 AM, Deepal Jayasinghe
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:

 can you please paste the HTTP header of the messages I mean HTTP
 header
 of the response and the second request.

 Deborah Wus wrote:
  That did not work either. I also tried setting the
customCookieId
  before maintiaining the sessions as I saw listed elsewhere.
 
  options.setProperty(customCookieID ,NSC_fgn_ns_bqq);
  But that also did not work.
 
 


  *From:* keith chapman [mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]]
  *Sent:* Thursday, September 04, 2008 12:47 PM
  *To:* axis-user@ws.apache.org mailto:axis-user@ws.apache.org
  *Subject:* Re: Axis 2 manage session not working - Cookies and
axis
  not working
 
  Hi,
 
  Can you try using
  _stub._getServiceClient().getOptions.setManageSession(true);
 instead.
  We use transport session a lot in our projects and it works.
 
  Thanks,
  Keith.
 
  On Thu, Sep 4, 2008 at 9:11 PM, Deborah Wus
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
  I attempted to do this in Axis 2 to see if solved the problem I
  was having, but I am still receiving an invalid access, meaning
  that the session cookies are not being handled. Any calls which
  require a login are failing although the login itself is
succeeding.
  Ping does not required a login. GetProfileList does required a
  login. Ping receives an ACK, Login succeeds. GetProfileList
  returns an Invalid Access error. Support from the third party
who
  created the service said if I am using .NET I should set the
  CookieContainer. They have no input so far for Axis or Axis 2.
  Any help would be appreciated.
  package com.p21.test.web;
  import java.rmi.RemoteException;
  import org.apache.axis2.AxisFault;
  import org.apache.axis2.client.Options;
  import org.apache.axis2.client.ServiceClient;
  import junit.framework.TestCase;
  import com.perseus.www.pdc_ws.ProjectDataStub;
  public class WSTest extends TestCase {
 
  public void testLogin() {
  try {
  Options options = new Options();
  options.setManageSession(true);
  ProjectDataStub _stub = new
  

Re: Status of enableMTOM=optional and Axis Faults / JIRA AXIS2-3340

2008-09-05 Thread Thilina Gunarathne
Hi Rainer,
As I replied to Mark, may be you can start a thread in the dev list
proposing to make Axis2 wrap the error messages with MIME when MTOM is
enabled. Let's see the reaction of the community..

Personally I'm not a big fan of been bug compatible. But let's see the
community reaction.. We have to think of interoperability with other web
service stacks too...

thanks,
Thilina

On Fri, Sep 5, 2008 at 6:03 AM, Menzner, Rainer [EMAIL PROTECTED] wrote:

  Hi,

 about 10 month ago I filed a JIRA (AXIS2-3340) which describes a
 malfunctioning of Axis2-13. in error message creation when
 enableMTOM=optional and the input message is MTOM-formatted.

 JIRA indicates that there was no activity on this. Is this fixed in
 Axis2-1.4? In my opinion this is a serious issue because it prevents proper
 interaction of WSE3 client with axis2 services. I know that the true cause
 is at Microsoft which makes invalid assumptions about the type of message
 expected, but Microsoft apparently is not going to fix this reported bug in
 WSE3.

 Has anybody updates on this?

 Thanks,
 -Rainer




-- 
Thilina Gunarathne - http://thilinag.blogspot.com


Re: Question on SOAPMonitor

2008-09-05 Thread Martin Wunderlich
Hi Robert, 

Thanks a lot for the quick reply. Any idea on how can I check on Mac OS which 
ports are active? 

Cheers, 

Martin

 Original-Nachricht 
 Datum: Fri, 5 Sep 2008 10:11:27 -0300
 Von: robert lazarski [EMAIL PROTECTED]
 An: axis-user@ws.apache.org
 Betreff: Re: Question on SOAPMonitor

 This most often happens due to port issues. IIRC its 5401. Make sure
 nothing else is using the port. You can also try changing the port in
 web.xml.
 
 HTH,
 Robert
 
 On Fri, Sep 5, 2008 at 8:39 AM, Martin Wunderlich
 [EMAIL PROTECTED] wrote:
  Hi there,
 
  I am trying to use the Axis2 SOAPMonitor to take a close look at the
 SOAP messages to and from my existing web service. I installed the the
 SOAPMonitor on Tomcat as per the instructions and it works fine when I go to
 http://localhost:8080/axis2/SOAPMonitor. However, if I want to use the monitor
 on my own web service (e.g. on
 http://localhost:8080/MyWebService/SOAPMonitor), the applet doesn't start. I 
 have added the servlet configuration of my
 service's web.xml and also included the classes in the service's root
 directory.
 
  The request fails with the following msg:
 
  message Servlet SOAPMonitorService is not available
  description The requested resource (Servlet SOAPMonitorService is not
 available) is not available.
 
 
  Am I incorrectly assuming that I could use the Axis2 SoapMonitor to
 monitor any SOAP web service that I am running?
 
  Cheers,
 
  Martin
  --
  GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
  Jetzt dabei sein:
 http://www.shortview.de/[EMAIL PROTECTED]
 
  --
  GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
  Jetzt dabei sein:
 http://www.shortview.de/[EMAIL PROTECTED]
 
  -
  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]

-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED]

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



Re: Question on SOAPMonitor

2008-09-05 Thread robert lazarski
I just looked at the docs and its port 5001. I'm a linux guy so I
suppose you'd open up a unix shell in a modern mac and type:

netstat -anp | grep 5001

HTH,
Robert

On Fri, Sep 5, 2008 at 12:34 PM, Martin Wunderlich
[EMAIL PROTECTED] wrote:
 Hi Robert,

 Thanks a lot for the quick reply. Any idea on how can I check on Mac OS which 
 ports are active?

 Cheers,

 Martin

  Original-Nachricht 
 Datum: Fri, 5 Sep 2008 10:11:27 -0300
 Von: robert lazarski [EMAIL PROTECTED]
 An: axis-user@ws.apache.org
 Betreff: Re: Question on SOAPMonitor

 This most often happens due to port issues. IIRC its 5401. Make sure
 nothing else is using the port. You can also try changing the port in
 web.xml.

 HTH,
 Robert

 On Fri, Sep 5, 2008 at 8:39 AM, Martin Wunderlich
 [EMAIL PROTECTED] wrote:
  Hi there,
 
  I am trying to use the Axis2 SOAPMonitor to take a close look at the
 SOAP messages to and from my existing web service. I installed the the
 SOAPMonitor on Tomcat as per the instructions and it works fine when I go to
 http://localhost:8080/axis2/SOAPMonitor. However, if I want to use the 
 monitor
 on my own web service (e.g. on
 http://localhost:8080/MyWebService/SOAPMonitor), the applet doesn't start. I 
 have added the servlet configuration of my
 service's web.xml and also included the classes in the service's root
 directory.
 
  The request fails with the following msg:
 
  message Servlet SOAPMonitorService is not available
  description The requested resource (Servlet SOAPMonitorService is not
 available) is not available.
 
 
  Am I incorrectly assuming that I could use the Axis2 SoapMonitor to
 monitor any SOAP web service that I am running?
 
  Cheers,
 
  Martin
  --
  GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
  Jetzt dabei sein:
 http://www.shortview.de/[EMAIL PROTECTED]
 
  --
  GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
  Jetzt dabei sein:
 http://www.shortview.de/[EMAIL PROTECTED]
 
  -
  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]

 --
 GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
 Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED]

 -
 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: wsdl2java - Use lists instead of arrays for unbounded types?

2008-09-05 Thread Nick Steel

With version 1.3 I'm pretty sure you can't but I dont know about the later
versions. I think you can do it with jibx2wsdl or whatever its called but
again I have not tried that myself yet.

bgz wrote:
 
 Is there a way for wsdl2java generated code to use Lists instead of Arrays
 for unbounded types?
 
-- 
View this message in context: 
http://www.nabble.com/wsdl2java---Use-lists-instead-of-arrays-for-unbounded-types--tp19332300p19334267.html
Sent from the Axis - User mailing list archive at Nabble.com.


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



Re: WSDL2Code from Archive

2008-09-05 Thread Nick Steel

I use the wsd2java Maven plugin and can then package my client stubs in a jar
file. Perhaps this could be a solution?

Nick

RiC1 wrote:
 
 Hi,
 I don't think this is possible but just wanted to see if anyone could
 confirm.
 Is it possible to use the gen tools to generate code from a WSDL in an
 archive like a zip or jar?
 Cheers,
 Ric
 

-- 
View this message in context: 
http://www.nabble.com/WSDL2Code-from-Archive-tp19287640p19334391.html
Sent from the Axis - User mailing list archive at Nabble.com.


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



RE: Axis 2 manage session not working - Cookies and axis not working

2008-09-05 Thread Deborah Wus
To clarify.  What I want to do in Axis 2 was accomplished in Axis 1 by
going the following:  I need to create a signle cookie string and I need
to create a configuration to use XMLStringProvider below.

Thanks in advance.

/*  change the cookie
passing mechanisam of axis from
Cookie: a=a1
 Cookie: b=b2
 Cookie: c=c3
 to
 Cookie: a=a1;b=b2;c=c3

 */


DefaultHttpParams.getDefaultParams().setBooleanParameter(
HttpMethodParams.SINGLE_COOKIE_HEADER,true);

//Create a custom engine configuration
for the custom cilent-wsdd file
EngineConfiguration e =
getEngineConfiguration();

// get the panel data service locator
locator = new ProjectDataLocator(e);

locator.setProjectDataSoapEndpointAddress(http://efm.activant.com/ws/pr
ojectdata.asmx);

// maintain the session
locator.setMaintainSession(true);

//create the service for the paneldata
pdService =
locator.getProjectDataSoap();

//set the session properties on service
level
((Stub)
pdService).setMaintainSession(true);
((Stub)
pdService)._setProperty(Call.SESSION_MAINTAIN_PROPERTY, new
Boolean(true));


// method to set the custom engine configuration for axis 
protected org.apache.axis.EngineConfiguration
getEngineConfiguration() 
{
java.lang.StringBuffer sb = new
java.lang.StringBuffer();
sb.append(?xml version=\1.0\
encoding=\UTF-8\?\r\n);
sb.append(deployment
name=\defaultClientConfig\\r\n);

sb.append(xmlns=\http://xml.apache.org/axis/wsdd/\\r\n;);

sb.append(xmlns:java=\http://xml.apache.org/axis/wsdd/providers/java\;
\r\n);
sb.append(transport name=\http\
pivot=\java:org.apache.axis.transport.http.CommonsHTTPSender\
/\r\n);
sb.append(transport name=\local\
pivot=\java:org.apache.axis.transport.local.LocalSender\ /\r\n);
sb.append(transport name=\java\
pivot=\java:org.apache.axis.transport.java.JavaSender\ /\r\n);
sb.append(/deployment\r\n);
org.apache.axis.configuration.XMLStringProvider
config = 
new
org.apache.axis.configuration.XMLStringProvider(sb.toString());
return config;
} 

-Original Message-
From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 05, 2008 10:09 AM
To: axis-user@ws.apache.org
Subject: Re: Axis 2 manage session not working - Cookies and axis not
working

hehe , no worries . If you get that working then thats what we want.

Thank you!
Deepal


Deborah Wus wrote:
 Actually thank you very much I think I was identifying the wrong
 variable. When I changed the custom cookie to ASP.NET_Ses, it does
work!
 Thank you all very much.



 *From:* Deborah Wus [mailto:[EMAIL PROTECTED]
 *Sent:* Friday, September 05, 2008 9:37 AM
 *To:* axis-user@ws.apache.org
 *Subject:* RE: Axis 2 manage session not working - Cookies and axis
 not working

 HTTP/1.1 200 OK
 Date: Fri, 05 Sep 2008 13:34:35 GMT
 Server: Microsoft-IIS/6.0
 X-Powered-By: ASP.NET
 X-AspNet-Version: 2.0.50727
 Set-Cookie: ASP.NET_SessionId=jmjmsh45enh2d5553vflpfbl; path=/;
HttpOnly
 Cache-Control: private, max-age=0
 Content-Type: application/soap+xml; charset=utf-8
 Content-Length: 328
 Set-Cookie: NSC_fgn_ns_bqq=ac10005a0050;path=/
 ?xml version=1.0 encoding=utf-8?soap:Envelope
 xmlns:soap=http://www.w3.org/2003/05/soap-envelope;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xmlns:xsd=http://www.w3.org/2001/XMLSchema;soap:BodyLoginResponse

http://www.w3.org/2001/XMLSchema%22%3E%3Csoap:Body%3E%3CLoginResponse
 xmlns=http://www.perseus.com/Pdc.WS;LoginResult
 http://www.perseus.com/Pdc.WS%22%3E%3CLoginResult
 //LoginResponse/soap:Body/soap:Envelope
 Thank you so much for your help and guidance - I am completely new to
 webservices. Let me know if I sent the correct portion.



 *From:* keith chapman [mailto:[EMAIL PROTECTED]
 *Sent:* Thursday, September 04, 2008 11:57 PM
 *To:* axis-user@ws.apache.org
 *Subject:* Re: Axis 2 manage 

Re: Axis2 REST client and server questions (Data bindings, Headers, Performance)

2008-09-05 Thread Nick Steel

Hi again,

I've had a little bit more of a look into my issue with the differing
parameter names between my two WSDLs and realised what's happening.  My
services.xml looks like the following:
service name=GigListingsService
descriptionNicks Gig Service./description
parameter
name=ServiceObjectSupplierorg.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier/parameter
parameter name=SpringBeanNamegigListingsService/parameter

messageReceivers
messageReceiver mep=http://www.w3.org/2004/08/wsdl/in-out;
class=org.apache.axis2.rpc.receivers.RPCMessageReceiver/
/messageReceivers  
/service 

And the Spring context defines the gigListingsService bean as my
GigListingsImpl concrete class.  So when generating the runtime WSDL at
http://service url?wsdl Axis uses the implementation class and is able to
extract the correct parameter names for the WSDL.  But when I generate the
WSDL using Maven's java2wsdl plugin I am specifying the interface class:
GigListings, and from what I have read elsewhere it is not possible to
extract parameter names from a Java interface (or abstract class for that
matter) - this is a Java issue/feature/thing.  

If I add the ServiceClass parameter to my services.xml and specify it as the
GigListings interface then the runtime WSDL also has the incorrect parameter
names.  It makes a lot more sense to generate a WSDL from the interface
rather than the implementation class, one reason being that there may be
additional public methods in GigListingsImpl that should not be visible to
web service users in the WSDL.  This is not made clear in the Axis2
Integration with the Spring Framework documentation.  

The real problem for me then comes when I try to use REST with GET since the
incorrect parameter names are used in the query string as the stub has no
idea of the real ones.  E.g. the request should be:
service url/getGigsIn?city=London
but it ends up being:
service url/getGigsIn?param0=London
which fails with the returned error: Exception occurred while trying to
invoke service method getGigsIn

When doing REST with POST, the request also uses param0 but this time
without any problem.
ns2:getGigsIn
xmlns:ns2=http://NicksGigs.nsteel.qis.qualcomm.com;ns2:param0London/ns2:param0/ns2:getGigsIn

You can in fact substitute param0 for anything you want and it still works. 
Why is this behaviour different between GET and POST?  Is there a solution
to my problem?

Thanks,
Nick


Nick Steel wrote:
 
 As you can see from my previously attached wsdls (which are generated
 using Maven java2wsdl) the getGigsIn element has one parameter called
 param0 so it wouldn't be surprising to find the stub using this
 parameter name.  However, the wsdl generated at runtime by visiting
 ...NicksGigs-war-Axis2/services/GigListingsService?wsdl (
 http://www.nabble.com/file/p19288850/GigListingsService-generated_at_runtime.wsdl
 GigListingsService-generated_at_runtime.wsdl ) correctly describes the
 parameter as being called city.  As far as I can tell debug is enabled
 by default when using Maven
 (http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html)
 but perhaps it is using a different source to wsdl generated at runtime? 
 The source class being used is an interface, could this be a problem?
 
 Since my wsdl is generated by Maven, and then client stubs from that to do
 testing, during build the idea of having to manually modify the wsdl to
 change operations to GET/PUT whatever is a little awkward.  Is it possible
 to annotate the Java service class interface used by java2wsdl so that it
 can automatically detect which http method is needed for an operation?
 
 I didn't have any experience with web services before I started using
 Axis2 a couple of months ago so maybe I am missing something here but it
 would be handy if in the stubs there was a way to easily change between
 GET, POST, PUT and DELETE.  This would then set all the properties you
 needed for it to work.  Would this be something possible in the future?
 
 Nick
 
 
 keith chapman wrote:
 
 Hi Nick,
 
 Looking through the WSDLs I don't see any reason for the input/output
 types
 in the stub to go missing when generated off a WSDL 1.1 doc. I may have
 to
 test this to make sure that this is the case though. On the subject of a
 particular operation not working when invoked via GET. In a previous mail
 you said that  I have now generated the httpbindings using wsdl2java
 with a
 version 2.0 wsdl and the operation has been added to the EPR as desired
 and
 I can do POST getGigsIn(London), POST getMostActiveArtist() and GET
 getMostActiveArtist() without any problems which is great. 
 
 How did you send a GET to getMostActiveArtist()? I assume that you set
 the
 httpmethod on the options object of the serviceClient to GET (cause the
 stub
 will send a POST by default according to the WSDL). Could you please
 explain
 a bit what you did to send that request. I just had a 

Re: Question on SOAPMonitor

2008-09-05 Thread Martin Wunderlich
Thanks a lot! So, it is port 5001 alright (in web.xml), but there is nothing 
using that port, even though the SoapMonitor is running. 
Strange...it must be something else then. 

Cheers, 

Martin


 Original-Nachricht 
 Datum: Fri, 5 Sep 2008 12:52:20 -0300
 Von: robert lazarski [EMAIL PROTECTED]
 An: axis-user@ws.apache.org
 Betreff: Re: Question on SOAPMonitor

 I just looked at the docs and its port 5001. I'm a linux guy so I
 suppose you'd open up a unix shell in a modern mac and type:
 
 netstat -anp | grep 5001
 
 HTH,
 Robert
 
 On Fri, Sep 5, 2008 at 12:34 PM, Martin Wunderlich
 [EMAIL PROTECTED] wrote:
  Hi Robert,
 
  Thanks a lot for the quick reply. Any idea on how can I check on Mac OS
 which ports are active?
 
  Cheers,
 
  Martin
 
   Original-Nachricht 
  Datum: Fri, 5 Sep 2008 10:11:27 -0300
  Von: robert lazarski [EMAIL PROTECTED]
  An: axis-user@ws.apache.org
  Betreff: Re: Question on SOAPMonitor
 
  This most often happens due to port issues. IIRC its 5401. Make sure
  nothing else is using the port. You can also try changing the port in
  web.xml.
 
  HTH,
  Robert
 
  On Fri, Sep 5, 2008 at 8:39 AM, Martin Wunderlich
  [EMAIL PROTECTED] wrote:
   Hi there,
  
   I am trying to use the Axis2 SOAPMonitor to take a close look at the
  SOAP messages to and from my existing web service. I installed the the
  SOAPMonitor on Tomcat as per the instructions and it works fine when I
 go to
  http://localhost:8080/axis2/SOAPMonitor. However, if I want to use the
 monitor
  on my own web service (e.g. on
  http://localhost:8080/MyWebService/SOAPMonitor), the applet doesn't
 start. I have added the servlet configuration of my
  service's web.xml and also included the classes in the service's root
  directory.
  
   The request fails with the following msg:
  
   message Servlet SOAPMonitorService is not available
   description The requested resource (Servlet SOAPMonitorService is not
  available) is not available.
  
  
   Am I incorrectly assuming that I could use the Axis2 SoapMonitor to
  monitor any SOAP web service that I am running?
  
   Cheers,
  
   Martin
   --
   GMX startet ShortView.de. Hier findest Du Leute mit Deinen
 Interessen!
   Jetzt dabei sein:
  http://www.shortview.de/[EMAIL PROTECTED]
  
   --
   GMX startet ShortView.de. Hier findest Du Leute mit Deinen
 Interessen!
   Jetzt dabei sein:
  http://www.shortview.de/[EMAIL PROTECTED]
  
   -
   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]
 
  --
  GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
  Jetzt dabei sein:
 http://www.shortview.de/[EMAIL PROTECTED]
 
  -
  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]

-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED]

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



Re: Question on SOAPMonitor

2008-09-05 Thread robert lazarski
Try looking at the axis2 logs ... there may be an exception. If
nothing jumps out, try putting axis2 in debug via the logging
propertes under WEB-INF/classes . Then look for clues. If you still
are stuck, post the logs around the soap monitor servlet setup and
I'll try to help.

- R

On Fri, Sep 5, 2008 at 2:32 PM, Martin Wunderlich
[EMAIL PROTECTED] wrote:
 Thanks a lot! So, it is port 5001 alright (in web.xml), but there is nothing 
 using that port, even though the SoapMonitor is running.
 Strange...it must be something else then.

 Cheers,

 Martin


  Original-Nachricht 
 Datum: Fri, 5 Sep 2008 12:52:20 -0300
 Von: robert lazarski [EMAIL PROTECTED]
 An: axis-user@ws.apache.org
 Betreff: Re: Question on SOAPMonitor

 I just looked at the docs and its port 5001. I'm a linux guy so I
 suppose you'd open up a unix shell in a modern mac and type:

 netstat -anp | grep 5001

 HTH,
 Robert

 On Fri, Sep 5, 2008 at 12:34 PM, Martin Wunderlich
 [EMAIL PROTECTED] wrote:
  Hi Robert,
 
  Thanks a lot for the quick reply. Any idea on how can I check on Mac OS
 which ports are active?
 
  Cheers,
 
  Martin
 
   Original-Nachricht 
  Datum: Fri, 5 Sep 2008 10:11:27 -0300
  Von: robert lazarski [EMAIL PROTECTED]
  An: axis-user@ws.apache.org
  Betreff: Re: Question on SOAPMonitor
 
  This most often happens due to port issues. IIRC its 5401. Make sure
  nothing else is using the port. You can also try changing the port in
  web.xml.
 
  HTH,
  Robert
 
  On Fri, Sep 5, 2008 at 8:39 AM, Martin Wunderlich
  [EMAIL PROTECTED] wrote:
   Hi there,
  
   I am trying to use the Axis2 SOAPMonitor to take a close look at the
  SOAP messages to and from my existing web service. I installed the the
  SOAPMonitor on Tomcat as per the instructions and it works fine when I
 go to
  http://localhost:8080/axis2/SOAPMonitor. However, if I want to use the
 monitor
  on my own web service (e.g. on
  http://localhost:8080/MyWebService/SOAPMonitor), the applet doesn't
 start. I have added the servlet configuration of my
  service's web.xml and also included the classes in the service's root
  directory.
  
   The request fails with the following msg:
  
   message Servlet SOAPMonitorService is not available
   description The requested resource (Servlet SOAPMonitorService is not
  available) is not available.
  
  
   Am I incorrectly assuming that I could use the Axis2 SoapMonitor to
  monitor any SOAP web service that I am running?
  
   Cheers,
  
   Martin
   --
   GMX startet ShortView.de. Hier findest Du Leute mit Deinen
 Interessen!
   Jetzt dabei sein:
  http://www.shortview.de/[EMAIL PROTECTED]
  
   --
   GMX startet ShortView.de. Hier findest Du Leute mit Deinen
 Interessen!
   Jetzt dabei sein:
  http://www.shortview.de/[EMAIL PROTECTED]
  
   -
   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]
 
  --
  GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
  Jetzt dabei sein:
 http://www.shortview.de/[EMAIL PROTECTED]
 
  -
  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]

 --
 GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
 Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED]

 -
 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: Axis 2 manage session not working - Cookies and axis not working

2008-09-05 Thread Martin Gainty

Deepal et al

I was able to generate the service from the service ( i have a zip with the 
entire service) which deployed
but in creating the client I discovered this problem with a hard reference to  
org.apache.axis2.soap.SOAPEnvelope

https://issues.apache.org/jira/browse/AXIS2-4014

Thanks,
Martin
__ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 


 Subject: RE: Axis 2 manage session not working - Cookies and axis not working
 Date: Fri, 5 Sep 2008 12:15:54 -0400
 From: [EMAIL PROTECTED]
 To: axis-user@ws.apache.org
 
 To clarify.  What I want to do in Axis 2 was accomplished in Axis 1 by
 going the following:  I need to create a signle cookie string and I need
 to create a configuration to use XMLStringProvider below.
 
 Thanks in advance.
 
   /*  change the cookie
 passing mechanisam of axis from
   Cookie: a=a1
Cookie: b=b2
Cookie: c=c3
to
Cookie: a=a1;b=b2;c=c3
 
*/
   
   
 DefaultHttpParams.getDefaultParams().setBooleanParameter(
 HttpMethodParams.SINGLE_COOKIE_HEADER,true);
   
   //Create a custom engine configuration
 for the custom cilent-wsdd file
   EngineConfiguration e =
 getEngineConfiguration();
   
   // get the panel data service locator
   locator = new ProjectDataLocator(e);
   
 locator.setProjectDataSoapEndpointAddress(http://efm.activant.com/ws/pr
 ojectdata.asmx);
   
   // maintain the session
   locator.setMaintainSession(true);
   
   //create the service for the paneldata
   pdService =
 locator.getProjectDataSoap();
   
   //set the session properties on service
 level
   ((Stub)
 pdService).setMaintainSession(true);
   ((Stub)
 pdService)._setProperty(Call.SESSION_MAINTAIN_PROPERTY, new
 Boolean(true));
 
 
   // method to set the custom engine configuration for axis 
   protected org.apache.axis.EngineConfiguration
 getEngineConfiguration() 
   {
   java.lang.StringBuffer sb = new
 java.lang.StringBuffer();
   sb.append(?xml version=\1.0\
 encoding=\UTF-8\?\r\n);
   sb.append(deployment
 name=\defaultClientConfig\\r\n);
   
 sb.append(xmlns=\http://xml.apache.org/axis/wsdd/\\r\n;);
   
 sb.append(xmlns:java=\http://xml.apache.org/axis/wsdd/providers/java\;
 \r\n);
   sb.append(transport name=\http\
 pivot=\java:org.apache.axis.transport.http.CommonsHTTPSender\
 /\r\n);
   sb.append(transport name=\local\
 pivot=\java:org.apache.axis.transport.local.LocalSender\ /\r\n);
   sb.append(transport name=\java\
 pivot=\java:org.apache.axis.transport.java.JavaSender\ /\r\n);
   sb.append(/deployment\r\n);
   org.apache.axis.configuration.XMLStringProvider
 config = 
   new
 org.apache.axis.configuration.XMLStringProvider(sb.toString());
   return config;
   } 
 
 -Original Message-
 From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] 
 Sent: Friday, September 05, 2008 10:09 AM
 To: axis-user@ws.apache.org
 Subject: Re: Axis 2 manage session not working - Cookies and axis not
 working
 
 hehe , no worries . If you get that working then thats what we want.
 
 Thank you!
 Deepal
 
 
 Deborah Wus wrote:
  Actually thank you very much I think I was identifying the wrong
  variable. When I changed the custom cookie to ASP.NET_Ses, it does
 work!
  Thank you all very much.
 
 
 
  *From:* Deborah Wus [mailto:[EMAIL PROTECTED]
  *Sent:* Friday, September 05, 2008 9:37 AM
  *To:* axis-user@ws.apache.org
  *Subject:* RE: Axis 2 manage session not working - Cookies and axis
  not working
 
  HTTP/1.1 200 OK
  Date: Fri, 05 Sep 2008 13:34:35 GMT
  Server: Microsoft-IIS/6.0
  X-Powered-By: ASP.NET
  X-AspNet-Version: 2.0.50727
  Set-Cookie: ASP.NET_SessionId=jmjmsh45enh2d5553vflpfbl; path=/;
 HttpOnly
  Cache-Control: private, max-age=0
  Content-Type: