Re: deploy of sample using axis2c

2008-10-06 Thread Samisa Abeysinghe
Where did you exactly changed localhost to ws.apache.org? Samisa... Sandro Javiel wrote: Somebody has any idea about this issue? Am I doing something wrong? Thank you so much for your help. 2008/10/1 Sandro Javiel [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Hi Rajika, 2008/10/1

Re: deploy of sample using axis2c

2008-10-06 Thread Sandro Javiel
Hi Samisa, I changed the address ws.apache.org to 192.168.0.11 (which is my dev server) in th wsdl file. Tks Sandro. 2008/10/6 Samisa Abeysinghe [EMAIL PROTECTED] Where did you exactly changed localhost to ws.apache.org? Samisa... Sandro Javiel wrote: Somebody has any idea about this

Re: deploy of sample using axis2c

2008-10-06 Thread Samisa Abeysinghe
Sandro Javiel wrote: Hi Samisa, I changed the address ws.apache.org http://ws.apache.org to 192.168.0.11 http://192.168.0.11 (which is my dev server) in th wsdl file. All places, or only the service element? Samisa... Tks Sandro. 2008/10/6 Samisa Abeysinghe [EMAIL PROTECTED]

Re: signature verification failing

2008-10-06 Thread Uthaiyashankar
Hi Raghu, Can you attach the following to investigate the issue? (1) Request (2) Reply (3) Client Log file (4) Server Log file (5) Client policy file (6) Server policy file Regards, Shankar Raghu Udupa wrote: Hi, I am using axis2_http_server distributed with axis2c release as the server.

Re: signature verification failing

2008-10-06 Thread Uthaiyashankar
Samisa Abeysinghe wrote: Uthaiyashankar wrote: (5) Client policy file (6) Server policy file Should not those two be the same? Ideally, it has to be. However, Rampart specific configurations will be different. I wanted to make sure those two files are having same assertions. Regards,

Re: wsld2java and ws-policy

2008-10-06 Thread Mary Thompson
I created jira AXIS2-4065. My WSDL is manually created. The policy was attached after reading the Web Services Policy 1.2 - Attachment (WS-PolicyAttachment), so I may have done it incorrectly. There seem to be several places where it could be placed. I did try by reference, and using a

Re: Axis2 - Inbuilt thread support

2008-10-06 Thread Samisa Abeysinghe
Martin Gainty wrote: took a quick look at the Axis distros and was only able to see tcp_receiver.c stub function which creates a thread ( but I cannot determine where this is called or referenced..? ) the call is axis2_status_t AXIS2_CALL axis2_tcp_server_start(axis2_transport_receiver_t *

Re: Axis vs Axis2

2008-10-06 Thread Janne Rantala
Silly me...looks like it only needs maxOccurs and minOccurs defined. Regards, Janne 2008/10/6 Janne Rantala [EMAIL PROTECTED] Well I could try to fix it manually, but is there any reference on how to define an array of my own object as a parameter? Regards, Janne 2008/10/4 keith

Re: Axis vs Axis2

2008-10-06 Thread Janne Rantala
Well I could try to fix it manually, but is there any reference on how to define an array of my own object as a parameter? Regards, Janne 2008/10/4 keith chapman [EMAIL PROTECTED] There is no tool, you will have to do it Manually. You could use the links that Nadun provided as a guide.

Re: Axis2 - Inbuilt thread support

2008-10-06 Thread Samisa Abeysinghe
Martin Gainty wrote: Good Morning Samisa- i did'nt see any documentation for either TCPServer or axis2_tcp_server_start i do see this configuration for TCPServer in axis2.xml displayed as !--Uncomment if you want to have TCP transport support-- !--transportReceiver name=tcp

Re: Using an asynchronous message exchange

2008-10-06 Thread Dmitriy Frolov
I am using dual channel. I do not want to stop listener itself as it is being reused by multiple sessions, but I am trying to figure out how to invalidate a particular session on the client side. According to http://ws.apache.org/axis2/1_4_1/jaxws-guide.html - Using an asynchronous message

RE: Error HTTP :unsupported content-encoding of 'identity' found

2008-10-06 Thread Sangita_Pandit
I found out what is the issue here. I downloaded the nighlty build and here is what I found out. The nightly build is packaged differently than the release builds. In the release builds, it appears as if the 2 jars from the nightly builds axis2-kernel-SNAPSHOT.jar and

Re: Error HTTP :unsupported content-encoding of 'identity' found

2008-10-06 Thread keith chapman
Yes. The code for transports is now in commons so its constitutes to a separate jar. This move was made after the 1,4 release. The next release will have the transports as a separate jar. Thanks, Keith. On Mon, Oct 6, 2008 at 10:02 PM, [EMAIL PROTECTED] wrote: I found out what is the issue

Axis2 in Weblogic 8.1

2008-10-06 Thread Rajesh, Peter (CLAIMS, WIP)
Hi, To configure Axis2 in Weblogic, why the exploded deployment of Axis2 war is recommended? If we deploy the Axis2.war file in Weblogic will it work as the exploded format? Due to some constraints we need to deploy only the Axis2.war. Thanks Regards, Peter Rajesh

RE: Axis2 in Weblogic 8.1

2008-10-06 Thread Martin Gainty
trying to figure out the statementDue to some constraints we need to deploy only the Axis2.war. if you are prohibited from deploying aar with mar then yes you wont be able to use Axis2Could you explain please?Martin __ Disclaimer and confidentiality

Rampart Username and signed certificate

2008-10-06 Thread RonnieMJ
I'm pretty new to WS, and especially the security piece, but I'm using rampart 1.4 using policy files to try to function as a client to an existing (external to my company) web service. I know that I need to send both a usernameToken and sign the header with a certificate. I've been able to do

Adding custom fields to the Username Token

2008-10-06 Thread Jason Clark
Hello all, I'm trying to add an addtional element to the UsernameToken field using Rampart 1.3 Below is how I need the username token to look in order to successfully process the request: wsse:UsernameToken

listServices returns a blank page instead of a list of services

2008-10-06 Thread nate roe
I'm using Axis2 v1.4.1. Axis2 is deployed on JBoss 4.0.5, embedded in a WAR named my_service.war. When I hit this URL: http://localhost:8080/my_service/services/listServices I receive a 200 OK with a content-length of 0. Axis2 appears to respond with an entirely blank page. I expect instead a

Re: Parsing request with axiom

2008-10-06 Thread Eran Chinthaka
Do you use databinding or not. Whatever way if you have access to the OMElement containing the request do the following. OMElement reqElement; Iterator iter = reqElement.getChildren(); // iterate thru children and get only the OMElements // add the name of the element as the key using

Tired of aar problem

2008-10-06 Thread ibrahim demir
Hi All; I have been trying to generate an aar file and deploy it within my war file.Everthing deploys well and when I use the axis2 web interface I can see my service. But when I send a request from .NET Wweb Service Studio: System.Reflection.TargetInvocationException: Exception has been thrown

Re: Tired of aar problem

2008-10-06 Thread Moni
Do you see the web service listed in the list of Available Services when going in as admin in the axis2 console?  The class should load when creating the archive file.  Usually pointing all the way to the bin folder causes the class to load successfully.  When creating the aar itself you can

Please help - wsdl2Java doesn't compile valid WSDL

2008-10-06 Thread Maik Hassel
Hello everyone, I have a given wsdl and need to generate a service for it. The WSDL passes several validators, but when invoking WSDL2java on it I get the exception below. The WSDL can be downloaded here: http://projects.simplyefficient.com:8085/cedric/service.wsdl Grateful for any

RE: Tired of aar problem

2008-10-06 Thread Martin Gainty
please post wsdl Martin Gainty __ 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

RE: listServices returns a blank page instead of a list of services

2008-10-06 Thread Martin Gainty
hi nate to disable: in axis2-web/index.jsp comment out a href=services/listServicesServices/a ren /axis2-web/listServices.jsp anythingElse to enable: ren anythingElse /axis2-web/listServices.jsp take out comments in axis2-web/index.jsp a href=services/listServicesServices/a does this help ?

Re: listServices returns a blank page instead of a list of services

2008-10-06 Thread nate roe
I think you've touched on my problem a little bit -- I am not actually deploying any axis2 JSPs. I don't understand, though, why I'm getting a blank page instead of a 404 when I try to access services/listServices when the JSP doesn't exist. Thanks, Nate On Mon, Oct 6, 2008 at 3:10 PM, Martin

Re: When do cleanup functions need to be called?

2008-10-06 Thread Mel T
I have the same problem as described here. Upgrading to 1.4.1 has reduced the leak. I am now going to try the pool of stubs as well for the remaining. Dave, is your client running in Tomcat ? My problem only occurs when I am accessing the WS using a stub from within the same tomcat

Re: When do cleanup functions need to be called?

2008-10-06 Thread David Rees
On Mon, Oct 6, 2008 at 5:27 PM, Mel T [EMAIL PROTECTED] wrote: I have the same problem as described here. Upgrading to 1.4.1 has reduced the leak. I am now going to try the pool of stubs as well for the remaining. Dave, is your client running in Tomcat ? My problem only occurs when I am

Re: Please help - wsdl2Java doesn't compile valid WSDL

2008-10-06 Thread Samisa Abeysinghe
Maik Hassel wrote: Hello everyone, I have a given wsdl and need to generate a service for it. The WSDL passes several validators, What are the validators you used? but when invoking WSDL2java on it I get the exception below. Obviously, WSDL2Java validation checks failed. The error is

Re: listServices returns a blank page instead of a list of services

2008-10-06 Thread Samisa Abeysinghe
nate roe wrote: I think you've touched on my problem a little bit -- I am not actually deploying any axis2 JSPs. I don't understand, though, why I'm getting a blank page instead of a 404 when I try to access services/listServices when the JSP doesn't exist. Try using TCPMon and capture

Re: Rampart Username and signed certificate

2008-10-06 Thread Samisa Abeysinghe
What is the exception that you get? Samisa... RonnieMJ wrote: I'm pretty new to WS, and especially the security piece, but I'm using rampart 1.4 using policy files to try to function as a client to an existing (external to my company) web service. I know that I need to send both a

Re: listServices returns a blank page instead of a list of services

2008-10-06 Thread Deepal jayasinghe
nate roe wrote: I'm using Axis2 v1.4.1. Axis2 is deployed on JBoss 4.0.5, embedded in a WAR named my_service.war. When I hit this URL: http://localhost:8080/my_service/services/listServices I receive a 200 OK with a content-length of 0. Axis2 appears to respond with an entirely blank

RE: Rampart Username and signed certificate

2008-10-06 Thread Martin Gainty
take a look at Rampart configuration parameters available at http://ws.apache.org/rampart/rampartconfig-guide.html specifically these 2 attributes need to be specified userThe user's nameSet username of UsernameToken to be used user bob/user userCertAliasThe user's cert

Re: When do cleanup functions need to be called?

2008-10-06 Thread Mel T
I have the same problem as described here. Upgrading to 1.4.1 has reduced the leak. I am now going to try the pool of stubs as well for the remaining. Dave, is your client running in Tomcat ? My problem only occurs when I am accessing the WS using a stub from within the same tomcat

Re: Tired of aar problem

2008-10-06 Thread keith chapman
On Tue, Oct 7, 2008 at 3:04 AM, ibrahim demir [EMAIL PROTECTED]wrote: Hi All; I have been trying to generate an aar file and deploy it within my war file.Everthing deploys well and when I use the axis2 web interface I can see my service. But when I send a request from .NET Wweb Service

Re: Please help - wsdl2Java doesn't compile valid WSDL

2008-10-06 Thread keith chapman
Cannot access the WSDL, I get a 404. But the wsdl2java stack trace clearly shows the error, [ERROR] There are no parts for fault message : { http://schemas.xmlsoap.org/wsdl/ }XYZFault Can you check the message element used for XYZFault. Looks like there is a problem with that. Thanks, Keith.

Re: Rampart Username and signed certificate

2008-10-06 Thread RonnieMJ
I don't actually get an exception (well I do get a soap fault for not having all of the right headers from their server). The message usually gets sent out simply without the username token. If I DO get the username token to go, it's as a signedsupportingtoken (which is not what they want).

Re: Rampart Username and signed certificate

2008-10-06 Thread Samisa Abeysinghe
1. What is your server side? 2. Did you author this policy, or did you get it from the service? 3. What is the fault that you get? Thanks, Samisa... RonnieMJ wrote: I don't actually get an exception (well I do get a soap fault for not having all of the right headers from their server). The

Re: Rampart Username and signed certificate

2008-10-06 Thread Nandana Mihindukulasooriya
Hi Ronnie, Please change the policy as given below. wsp:Policy ... sp:AsymmetricBinding ... /sp:AsymmetricBinding sp:SupportingTokens wsp:Policy sp:UsernameToken/ /sp:SupportingTokens sp:Wss10 .../ sp:SignedParts .../ ramp:RampartConfig/ /wsp:Policy Just the

Re: Rampart Username and signed certificate

2008-10-06 Thread Samisa Abeysinghe
Nandana Mihindukulasooriya wrote: Hi Ronnie, Please change the policy as given below. But should not this policy come from the service? Samisa... wsp:Policy ... sp:AsymmetricBinding ... /sp:AsymmetricBinding sp:SupportingTokens wsp:Policy sp:UsernameToken/

Re: Rampart Username and signed certificate

2008-10-06 Thread keith chapman
On Tue, Oct 7, 2008 at 8:50 AM, Samisa Abeysinghe [EMAIL PROTECTED] wrote: Nandana Mihindukulasooriya wrote: Hi Ronnie, Please change the policy as given below. But should not this policy come from the service? Ideally yes. ;) Thanks, Keith. Samisa... wsp:Policy ...

Re: Rampart Username and signed certificate

2008-10-06 Thread Nandana Mihindukulasooriya
On Tue, Oct 7, 2008 at 9:34 AM, keith chapman [EMAIL PROTECTED]wrote: On Tue, Oct 7, 2008 at 8:50 AM, Samisa Abeysinghe [EMAIL PROTECTED] wrote: Nandana Mihindukulasooriya wrote: Hi Ronnie, Please change the policy as given below. But should not this policy come from the

Re: wsld2java and ws-policy

2008-10-06 Thread Nandana Mihindukulasooriya
Hi Mary, This tutorial [1] shows how to apply policies at binding / binding operation / binding message levels with Axis2 1.4.1 . Hope that helps. thanks, nandana [1] - http://wso2.org/library/3786 On Mon, Oct 6, 2008 at 1:55 PM, Mary Thompson [EMAIL PROTECTED] wrote: I created jira

WS call returns Can't decode apache map

2008-10-06 Thread thusa gihan
Hi, This is my first post to the group. I have generated client side Java classes using a WSDL2Java tool, and when I call the WS, it returns the following error message. SOAP-ENV:Server SOAP-ERROR: Encoding: Can't decode apache map, only Strings or Longs are allowd as keys I don't have access